about summary refs log tree commit diff
path: root/include/netinet
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-07-24 21:41:43 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-07-24 22:17:24 +0000
commitb5c07e45fc40f4486f9c3441765ea2ae649cf99c (patch)
tree7928427ed3af2f0eeb22570ae8e23cac1fdf80c7 /include/netinet
parentd74e462a76d37ce10a048d3794ca89ca7d480ddb (diff)
downloadmusl-b5c07e45fc40f4486f9c3441765ea2ae649cf99c.tar.gz
musl-b5c07e45fc40f4486f9c3441765ea2ae649cf99c.tar.xz
musl-b5c07e45fc40f4486f9c3441765ea2ae649cf99c.zip
add if_ether.h constants ETH_P_802_3_MIN and ETH_P_BATMAN
see linux commits 4f99ad51292078cc47343c17d3870764588cff73 and
e5c5d22e8dcf7c2d430336cbf8e180bd38e8daf1
Diffstat (limited to 'include/netinet')
-rw-r--r--include/netinet/if_ether.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/netinet/if_ether.h b/include/netinet/if_ether.h
index 27d53876..17d5dabd 100644
--- a/include/netinet/if_ether.h
+++ b/include/netinet/if_ether.h
@@ -20,6 +20,7 @@
 #define	ETH_P_BPQ	0x08FF
 #define ETH_P_IEEEPUP	0x0a00
 #define ETH_P_IEEEPUPAT	0x0a01
+#define ETH_P_BATMAN	0x4305
 #define ETH_P_DEC       0x6000
 #define ETH_P_DNA_DL    0x6001
 #define ETH_P_DNA_RC    0x6002
@@ -62,6 +63,8 @@
 #define ETH_P_EDSA	0xDADA
 #define ETH_P_AF_IUCV	0xFBFB
 
+#define ETH_P_802_3_MIN	0x0600
+
 #define ETH_P_802_3	0x0001
 #define ETH_P_AX25	0x0002
 #define ETH_P_ALL	0x0003