From 200e9d19615636096fe849a96f9bf0b15df43704 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 2 Apr 2018 09:17:42 -0700 Subject: [PATCH] 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 --- include/uapi/linux/if_ether.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h index a34b152e..fc22aadb 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 */ -- 2.39.5