diff options
author | William Tu | 2017-12-13 16:38:57 -0800 |
---|---|---|
committer | David S. Miller | 2017-12-15 12:34:00 -0500 |
commit | 94d7d8f2928701ef9b82527f889e0220dba11fa2 (patch) | |
tree | ce524333ec6ab377e0abbae1e30a14553bbef8cd /include/net/ip6_tunnel.h | |
parent | f551c91de262ba36b20c3ac19538afb4f4507441 (diff) |
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.h | 3 |
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 */ |