about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-09-15 02:42:29 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-09-15 02:42:29 +0000
commit2607e39a04b50b8072227db1e08542d6659b927f (patch)
tree1a2568ca9cf6f3294166cf7db1aad1ecd859a578
parent0dc630ec95414c6e64429222c9d688d180e2a4bc (diff)
downloadmusl-2607e39a04b50b8072227db1e08542d6659b927f.tar.gz
musl-2607e39a04b50b8072227db1e08542d6659b927f.tar.xz
musl-2607e39a04b50b8072227db1e08542d6659b927f.zip
net/if_arp.h: add missing ARP hardware identifiers from linux uapi headers
the removed ARPHRD_IEEE802154_PHY was only present in the kernel api
in v2.6.31 (by accident), but it got into the glibc headers (in 2009)
and remained there since this header was not updated since then.
-rw-r--r--include/net/if_arp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/net/if_arp.h b/include/net/if_arp.h
index 371ab104..18d5dcf9 100644
--- a/include/net/if_arp.h
+++ b/include/net/if_arp.h
@@ -52,6 +52,7 @@ struct arphdr {
 #define ARPHRD_ROSE	270
 #define ARPHRD_X25	271
 #define ARPHRD_HWX25	272
+#define ARPHRD_CAN	280
 #define ARPHRD_PPP	512
 #define ARPHRD_CISCO	513
 #define ARPHRD_HDLC	ARPHRD_CISCO
@@ -84,7 +85,12 @@ struct arphdr {
 #define ARPHRD_IEEE80211_PRISM 802
 #define ARPHRD_IEEE80211_RADIOTAP 803
 #define ARPHRD_IEEE802154 804
-#define ARPHRD_IEEE802154_PHY 805
+#define ARPHRD_IEEE802154_MONITOR 805
+#define ARPHRD_PHONET 820
+#define ARPHRD_PHONET_PIPE 821
+#define ARPHRD_CAIF 822
+#define ARPHRD_IP6GRE 823
+#define ARPHRD_NETLINK 824
 
 #define ARPHRD_VOID	  0xFFFF
 #define ARPHRD_NONE	  0xFFFE