summaryrefslogtreecommitdiff
path: root/include/uapi/linux/if_tunnel.h
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2017-12-14 03:38:56 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-15 20:34:00 +0300
commitf551c91de262ba36b20c3ac19538afb4f4507441 (patch)
treeb8f61c416c07b251d64e0780999243482b2b7b99 /include/uapi/linux/if_tunnel.h
parent1d7e2ed22f8d9171fa8b629754022f22115b3f03 (diff)
downloadlinux-f551c91de262ba36b20c3ac19538afb4f4507441.tar.xz
net: erspan: introduce erspan v2 for ip_gre
The patch adds support for erspan version 2. Not all features are supported in this patch. The SGT (security group tag), GRA (timestamp granularity), FT (frame type) are set to fixed value. Only hardware ID and direction are configurable. Optional subheader is also not supported. Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/if_tunnel.h')
-rw-r--r--include/uapi/linux/if_tunnel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux/if_tunnel.h
index e68dadbd6d45..1b3d148c4560 100644
--- a/include/uapi/linux/if_tunnel.h
+++ b/include/uapi/linux/if_tunnel.h
@@ -137,6 +137,9 @@ enum {
IFLA_GRE_IGNORE_DF,
IFLA_GRE_FWMARK,
IFLA_GRE_ERSPAN_INDEX,
+ IFLA_GRE_ERSPAN_VER,
+ IFLA_GRE_ERSPAN_DIR,
+ IFLA_GRE_ERSPAN_HWID,
__IFLA_GRE_MAX,
};