Add Linux 4.14 ARPHRD_RAWIP to net/if_arp.h.

This patch adds ARPHRD_RAWIP from Linux 4.14 to the Linux
net/if_arp.h.

Tested for x86_64.

	* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
This commit is contained in:
Joseph Myers 2017-11-16 17:52:43 +00:00
parent f97773d1e7
commit 6a6aa1f389
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2017-11-16 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
* sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
version to 4.14.

View File

@ -101,6 +101,7 @@ struct arphdr
#define ARPHRD_LAPB 516 /* LAPB. */
#define ARPHRD_DDCMP 517 /* Digital's DDCMP. */
#define ARPHRD_RAWHDLC 518 /* Raw HDLC. */
#define ARPHRD_RAWIP 519 /* Raw IP. */
#define ARPHRD_TUNNEL 768 /* IPIP tunnel. */
#define ARPHRD_TUNNEL6 769 /* IPIP6 tunnel. */