netinet/if_ether.h: add ETH_TLEN from linux v4.16
authorSzabolcs Nagy <nsz@port70.net>
Sat, 28 Apr 2018 16:16:12 +0000 (16:16 +0000)
committerRich Felker <dalias@aerifal.cx>
Tue, 19 Jun 2018 17:25:25 +0000 (13:25 -0400)
octets in ethernet type field
added in linux commit 4bbb3e0e8239f9079bf1fe20b3c0cb598714ae61

include/netinet/if_ether.h

index 33f08a31318c2f65e3272085333ec2e56cd7a0b7..f7df5f7f6b1c4f283b4bfe0bbb3893fa099aead1 100644 (file)
@@ -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