]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
uapi/if_ether: add definition of ether type field
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 2 Apr 2018 16:17:42 +0000 (09:17 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 2 Apr 2018 16:19:08 +0000 (09:19 -0700)
Part of upstream commit
4bbb3e0e8239 ("net: Fix vlan untag for bridge and vlan_dev with reorder_hdr off")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/uapi/linux/if_ether.h

index a34b152e3c19683f2acd70a9e3d750897382eb70..fc22aadb757df2dff000c0ffbf4f090121a395b2 100644 (file)
@@ -30,6 +30,7 @@
  */
 
 #define ETH_ALEN       6               /* Octets in one ethernet addr   */
+#define ETH_TLEN       2               /* Octets in ethernet type field */
 #define ETH_HLEN       14              /* Total octets in header.       */
 #define ETH_ZLEN       60              /* Min. octets in frame sans FCS */
 #define ETH_DATA_LEN   1500            /* Max. octets in payload        */