Browse Source

netinet/if_ether.h: add ETH_TLEN from linux v4.16

octets in ethernet type field
added in linux commit 4bbb3e0e8239f9079bf1fe20b3c0cb598714ae61
Szabolcs Nagy 6 years ago
parent
commit
3a81cbe643
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/netinet/if_ether.h

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