History

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.

Craig Gallek committed 9 years ago

Commit 0a473b81 parent 8e6c1815 files · +41 −3Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/if_tunnel.h+3−0
@@ -75,6 +75,7 @@ enum { · 74 unmodified lines
7575 IFLA_IPTUN_ENCAP_SPORT,
7676 IFLA_IPTUN_ENCAP_DPORT,
7777 IFLA_IPTUN_COLLECT_METADATA,
78+ IFLA_IPTUN_FWMARK,
7879 __IFLA_IPTUN_MAX,
7980 };
8081 #define IFLA_IPTUN_MAX (__IFLA_IPTUN_MAX - 1)
@@ -132,6 +133,7 @@ enum { · 51 unmodified lines
132133 IFLA_GRE_ENCAP_DPORT,
133134 IFLA_GRE_COLLECT_METADATA,
134135 IFLA_GRE_IGNORE_DF,
136+ IFLA_GRE_FWMARK,
135137 __IFLA_GRE_MAX,
136138 };
137139
@@ -147,6 +149,7 @@ enum { · 9 unmodified lines
147149 IFLA_VTI_OKEY,
148150 IFLA_VTI_LOCAL,
149151 IFLA_VTI_REMOTE,
152+ IFLA_VTI_FWMARK,
150153 __IFLA_VTI_MAX,
151154 };
152155