about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-07-20 16:02:15 +0200
committerSzabolcs Nagy <nsz@port70.net>2014-07-20 18:42:21 +0200
commit4a142db74f128011e7afafd19607234243f908ff (patch)
tree9f86215ba77bab17587e18b851d063548370c70a /include
parent002e8d84c5fec47636606aef5d2f16914c6097f3 (diff)
downloadmusl-4a142db74f128011e7afafd19607234243f908ff.tar.gz
musl-4a142db74f128011e7afafd19607234243f908ff.tar.xz
musl-4a142db74f128011e7afafd19607234243f908ff.zip
add new ethernet packet types ETH_P_80221, ETH_P_LOOPBACK
ETH_P_80221 is ethertype for IEEE Std 802.21 - Media Independent Handover Protocol
introduced in linux 3.15 commit b62faf3cdc875a1ac5a10696cf6ea0b12bab1596

ETH_P_LOOPBACK is the correct packet type for loopback in IEEE 802.3*
introduced in linux 3.15 commit 61ccbb684421d374fdcd7cf5d6b024b06f03ce4e

some defines were shuffled to be in ascending order and match the kernel header
Diffstat (limited to 'include')
-rw-r--r--include/netinet/if_ether.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/netinet/if_ether.h b/include/netinet/if_ether.h
index 34f9be55..4802f09f 100644
--- a/include/netinet/if_ether.h
+++ b/include/netinet/if_ether.h
@@ -39,11 +39,11 @@
 #define ETH_P_PAUSE	0x8808
 #define ETH_P_SLOW	0x8809
 #define ETH_P_WCCP	0x883E
-#define ETH_P_PPP_DISC	0x8863
-#define ETH_P_PPP_SES	0x8864
 #define ETH_P_MPLS_UC	0x8847
 #define ETH_P_MPLS_MC	0x8848
 #define ETH_P_ATMMPOA	0x884c
+#define ETH_P_PPP_DISC	0x8863
+#define ETH_P_PPP_SES	0x8864
 #define ETH_P_LINK_CTL	0x886c
 #define ETH_P_ATMFATE	0x8884
 #define ETH_P_PAE	0x888E
@@ -58,6 +58,8 @@
 #define ETH_P_FCOE	0x8906
 #define ETH_P_TDLS	0x890D
 #define ETH_P_FIP	0x8914
+#define ETH_P_80221	0x8917
+#define ETH_P_LOOPBACK	0x9000
 #define ETH_P_QINQ1	0x9100
 #define ETH_P_QINQ2	0x9200
 #define ETH_P_QINQ3	0x9300