about summary refs log tree commit diff
path: root/include/netinet
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2018-04-28 16:16:12 +0000
committerRich Felker <dalias@aerifal.cx>2018-06-19 13:25:25 -0400
commit3a81cbe64320795d69f11fd2300947d2b56b2e17 (patch)
treee5760b0fd1bce9edacdbb9ae6a1bbc942f4deb11 /include/netinet
parent833df8675cbb51da193636828bb9a16c9c2ec5ad (diff)
downloadmusl-3a81cbe64320795d69f11fd2300947d2b56b2e17.tar.gz
musl-3a81cbe64320795d69f11fd2300947d2b56b2e17.tar.xz
musl-3a81cbe64320795d69f11fd2300947d2b56b2e17.zip
netinet/if_ether.h: add ETH_TLEN from linux v4.16
octets in ethernet type field
added in linux commit 4bbb3e0e8239f9079bf1fe20b3c0cb598714ae61
Diffstat (limited to 'include/netinet')
-rw-r--r--include/netinet/if_ether.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netinet/if_ether.h b/include/netinet/if_ether.h
index 33f08a31..f7df5f7f 100644
--- a/include/netinet/if_ether.h
+++ b/include/netinet/if_ether.h
@@ -5,6 +5,7 @@
 #include <sys/types.h>
 
 #define ETH_ALEN	6
+#define ETH_TLEN	2
 #define ETH_HLEN	14
 #define ETH_ZLEN	60
 #define ETH_DATA_LEN	1500