From: Stephen Hemminger Date: Mon, 2 Apr 2018 16:17:42 +0000 (-0700) Subject: uapi/if_ether: add definition of ether type field X-Git-Tag: v4.16.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=200e9d19615636096fe849a96f9bf0b15df43704;p=thirdparty%2Fiproute2.git uapi/if_ether: add definition of ether type field Part of upstream commit 4bbb3e0e8239 ("net: Fix vlan untag for bridge and vlan_dev with reorder_hdr off") Signed-off-by: Stephen Hemminger --- diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h index a34b152e3..fc22aadb7 100644 --- a/include/uapi/linux/if_ether.h +++ b/include/uapi/linux/if_ether.h @@ -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 */