]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add Linux 4.14 ARPHRD_RAWIP to net/if_arp.h.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 16 Nov 2017 17:52:43 +0000 (17:52 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 16 Nov 2017 17:52:43 +0000 (17:52 +0000)
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.

ChangeLog
sysdeps/unix/sysv/linux/net/if_arp.h

index b0d0e70291b80ee4236e3005ba16858f386e59b7..0d5998f67c7f7e5c918c13279b7d47c0ba028771 100644 (file)
--- 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.
 
index 9b00644c9d5dafadb33064f58bf935a35db23035..95a770835999debeede480e0fad62736ca464010 100644 (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.  */