summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/if_tunnel.h
diff options
context:
space:
mode:
authorCraig Gallek2017-04-19 18:30:53 +0200
committerDavid S. Miller2017-04-21 19:21:30 +0200
commit0a473b82cb23e7a35c4be6e9765c8487a65e8f55 (patch)
tree5568a1f040800160b0d9a9722d39f59403273199 /include/uapi/linux/if_tunnel.h
parentnet: dsa: Remove redundant NULL dst check (diff)
downloadkernel-qcow2-linux-0a473b82cb23e7a35c4be6e9765c8487a65e8f55.tar.gz
kernel-qcow2-linux-0a473b82cb23e7a35c4be6e9765c8487a65e8f55.tar.xz
kernel-qcow2-linux-0a473b82cb23e7a35c4be6e9765c8487a65e8f55.zip
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/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 92f3c8677523..6792d1967d31 100644
--- a/include/uapi/linux/if_tunnel.h
+++ b/include/uapi/linux/if_tunnel.h
@@ -75,6 +75,7 @@ enum {
IFLA_IPTUN_ENCAP_SPORT,
IFLA_IPTUN_ENCAP_DPORT,
IFLA_IPTUN_COLLECT_METADATA,
+ IFLA_IPTUN_FWMARK,
__IFLA_IPTUN_MAX,
};
#define IFLA_IPTUN_MAX (__IFLA_IPTUN_MAX - 1)
@@ -132,6 +133,7 @@ enum {
IFLA_GRE_ENCAP_DPORT,
IFLA_GRE_COLLECT_METADATA,
IFLA_GRE_IGNORE_DF,
+ IFLA_GRE_FWMARK,
__IFLA_GRE_MAX,
};
@@ -147,6 +149,7 @@ enum {
IFLA_VTI_OKEY,
IFLA_VTI_LOCAL,
IFLA_VTI_REMOTE,
+ IFLA_VTI_FWMARK,
__IFLA_VTI_MAX,
};