aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-11-16 17:52:43 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-11-16 17:52:43 +0000
commit6a6aa1f38959a5d17ff776b252604bece45864dc (patch)
tree1f0e32fbf16387d05949cafdcf50fd7695c79dbd
parentf97773d1e7cf65bbbfd8fa173096eb6144d9e47e (diff)
downloadglibc-6a6aa1f38959a5d17ff776b252604bece45864dc.zip
glibc-6a6aa1f38959a5d17ff776b252604bece45864dc.tar.gz
glibc-6a6aa1f38959a5d17ff776b252604bece45864dc.tar.bz2
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.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/sysv/linux/net/if_arp.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b0d0e70..0d5998f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/sysdeps/unix/sysv/linux/net/if_arp.h b/sysdeps/unix/sysv/linux/net/if_arp.h
index 9b00644..95a7708 100644
--- a/sysdeps/unix/sysv/linux/net/if_arp.h
+++ b/sysdeps/unix/sysv/linux/net/if_arp.h
@@ -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. */