about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2016-09-04 22:30:43 -0400
committerRich Felker <dalias@aerifal.cx>2016-10-20 16:55:57 -0400
commit71e83927654d1df0afa0d8f4f69391659321ddb0 (patch)
tree037f645076cd9530a23f5ec7bafdfe8223e7d12f /include
parent79c7ded0edaa0b3ab3fc95bf3b76a9e67683454a (diff)
downloadmusl-71e83927654d1df0afa0d8f4f69391659321ddb0.tar.gz
musl-71e83927654d1df0afa0d8f4f69391659321ddb0.tar.xz
musl-71e83927654d1df0afa0d8f4f69391659321ddb0.zip
add missing if_ether.h constants
ETH_P_HSR (IEC 62439-3 HSRv1) added in
linux 4.7 commit ee1c27977284907d40f7f72c2d078d709f15811f

ETH_P_TSN (IEEE 1722) added in
linux 4.3 commit 1ab1e895492d8084dfc1c854efacde219e56b8c1
this constant breaks the ascending order to match the kernel header

ETH_P_XDSA (Multiplexed DSA protocol) added in
linux 3.18 commit 3e8a72d1dae374cf6fc1dba97cec663585845ff9
Diffstat (limited to 'include')
-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 05462c44..11ee6582 100644
--- a/include/netinet/if_ether.h
+++ b/include/netinet/if_ether.h
@@ -14,6 +14,7 @@
 #define ETH_P_LOOP	0x0060
 #define ETH_P_PUP	0x0200
 #define ETH_P_PUPAT	0x0201
+#define ETH_P_TSN	0x22F0
 #define ETH_P_IP	0x0800
 #define ETH_P_X25	0x0805
 #define ETH_P_ARP	0x0806
@@ -61,6 +62,7 @@
 #define ETH_P_TDLS	0x890D
 #define ETH_P_FIP	0x8914
 #define ETH_P_80221	0x8917
+#define ETH_P_HSR	0x892F
 #define ETH_P_LOOPBACK	0x9000
 #define ETH_P_QINQ1	0x9100
 #define ETH_P_QINQ2	0x9200
@@ -94,6 +96,7 @@
 #define ETH_P_PHONET	0x00F5
 #define ETH_P_IEEE802154 0x00F6
 #define ETH_P_CAIF	0x00F7
+#define ETH_P_XDSA	0x00F8
 
 struct ethhdr {
 	uint8_t h_dest[ETH_ALEN];