summary refs log tree commit diff
path: root/include/net
diff options
context:
space:
mode:
authorCraig Gallek <kraig@google.com>2017-04-19 12:30:53 -0400
committerDavid S. Miller <davem@davemloft.net>2017-04-21 13:21:30 -0400
commit0a473b82cb23e7a35c4be6e9765c8487a65e8f55 (patch)
tree5568a1f040800160b0d9a9722d39f59403273199 /include/net
parent8e6c1812e632ae3b54a1a9da759cad762f633e11 (diff)
downloadlinux-0a473b82cb23e7a35c4be6e9765c8487a65e8f55.tar.gz
ip6_tunnel: Allow policy-based routing through tunnels
This feature allows the administrator to set an fwmark for
packets traversing a tunnel.  This allows the use of independent
routing tables for tunneled packets without the use of iptables.

Signed-off-by: Craig Gallek <kraig@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ip6_tunnel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ip6_tunnel.h b/include/net/ip6_tunnel.h
index 1b1cf33cbfb0..08fbc7f7d8d7 100644
--- a/include/net/ip6_tunnel.h
+++ b/include/net/ip6_tunnel.h
@@ -33,6 +33,8 @@ struct __ip6_tnl_parm {
 	__be16			o_flags;
 	__be32			i_key;
 	__be32			o_key;
+
+	__u32			fwmark;
 };
 
 /* IPv6 tunnel */