summaryrefslogtreecommitdiff
path: root/include/net/ip6_tunnel.h
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2017-12-14 03:38:57 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-15 20:34:00 +0300
commit94d7d8f2928701ef9b82527f889e0220dba11fa2 (patch)
treece524333ec6ab377e0abbae1e30a14553bbef8cd /include/net/ip6_tunnel.h
parentf551c91de262ba36b20c3ac19538afb4f4507441 (diff)
downloadlinux-94d7d8f2928701ef9b82527f889e0220dba11fa2.tar.xz
ip6_gre: add erspan v2 support
Similar to support for ipv4 erspan, this patch adds erspan v2 to ip6erspan tunnel. Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_tunnel.h')
-rw-r--r--include/net/ip6_tunnel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/ip6_tunnel.h b/include/net/ip6_tunnel.h
index 109a5a8877ef..236e40ba06bf 100644
--- a/include/net/ip6_tunnel.h
+++ b/include/net/ip6_tunnel.h
@@ -37,6 +37,9 @@ struct __ip6_tnl_parm {
__u32 fwmark;
__u32 index; /* ERSPAN type II index */
+ __u8 erspan_ver; /* ERSPAN version */
+ __u8 dir; /* direction */
+ __u16 hwid; /* hwid */
};
/* IPv6 tunnel */