From 6a6aa1f38959a5d17ff776b252604bece45864dc Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 16 Nov 2017 17:52:43 +0000 Subject: [PATCH] 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. --- ChangeLog | 2 ++ sysdeps/unix/sysv/linux/net/if_arp.h | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index b0d0e70291..0d5998f67c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2017-11-16 Joseph Myers + * 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 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. */ -- 2.11.4.GIT