Browse Source

add if_ether.h constants ETH_P_802_3_MIN and ETH_P_BATMAN
see linux commits 4f99ad51292078cc47343c17d3870764588cff73 and
e5c5d22e8dcf7c2d430336cbf8e180bd38e8daf1

Szabolcs Nagy 11 years ago
parent
commit
b5c07e45fc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      include/netinet/if_ether.h

+ 3 - 0
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