add if_ether.h constants ETH_P_802_3_MIN and ETH_P_BATMAN
authorSzabolcs Nagy <nsz@port70.net>
Wed, 24 Jul 2013 21:41:43 +0000 (21:41 +0000)
committerSzabolcs Nagy <nsz@port70.net>
Wed, 24 Jul 2013 22:17:24 +0000 (22:17 +0000)
see linux commits 4f99ad51292078cc47343c17d3870764588cff73 and
e5c5d22e8dcf7c2d430336cbf8e180bd38e8daf1

include/netinet/if_ether.h

index 27d53876f13e2d9855b9e9e8fe9c9e6fd015ef95..17d5dabd6ba3ffbd426ae3b25d56185d1c046397 100644 (file)
@@ -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