From: Stephen Hemminger Date: Wed, 23 Aug 2017 17:05:08 +0000 (-0700) Subject: add ERSPAN headers X-Git-Tag: v4.14.0~39^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb14560b76597480b570112077bf18d42f5fe87d;p=thirdparty%2Fiproute2.git add ERSPAN headers Signed-off-by: Stephen Hemminger --- diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h index b7d3beb50..aa2ba16eb 100644 --- a/include/linux/if_ether.h +++ b/include/linux/if_ether.h @@ -66,6 +66,7 @@ #define ETH_P_ATALK 0x809B /* Appletalk DDP */ #define ETH_P_AARP 0x80F3 /* Appletalk AARP */ #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ +#define ETH_P_ERSPAN 0x88BE /* ERSPAN type II */ #define ETH_P_IPX 0x8137 /* IPX over DIX */ #define ETH_P_IPV6 0x86DD /* IPv6 over bluebook */ #define ETH_P_PAUSE 0x8808 /* IEEE Pause frames. See 802.3 31B */ diff --git a/include/linux/if_tunnel.h b/include/linux/if_tunnel.h index 7375335a0..21834cac4 100644 --- a/include/linux/if_tunnel.h +++ b/include/linux/if_tunnel.h @@ -134,6 +134,7 @@ enum { IFLA_GRE_COLLECT_METADATA, IFLA_GRE_IGNORE_DF, IFLA_GRE_FWMARK, + IFLA_GRE_ERSPAN_INDEX, __IFLA_GRE_MAX, };