about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/net
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 /sysdeps/unix/sysv/linux/net
parentf97773d1e7cf65bbbfd8fa173096eb6144d9e47e (diff)
downloadglibc-6a6aa1f38959a5d17ff776b252604bece45864dc.tar.gz
glibc-6a6aa1f38959a5d17ff776b252604bece45864dc.tar.xz
glibc-6a6aa1f38959a5d17ff776b252604bece45864dc.zip
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/net')
-rw-r--r--sysdeps/unix/sysv/linux/net/if_arp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/net/if_arp.h b/sysdeps/unix/sysv/linux/net/if_arp.h
index 9b00644c9d..95a7708359 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.  */