diff options
author | Craig Gallek <kraig@google.com> | 2017-04-19 12:30:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-21 13:21:31 -0400 |
commit | 9830ad4c6a7f8db18d3b0933875937e36470987d (patch) | |
tree | 3b2affaea677fa909c286e43a5fab7dd156b76a0 /include/crypto/vmac.h | |
parent | 0a473b82cb23e7a35c4be6e9765c8487a65e8f55 (diff) | |
download | linux-9830ad4c6a7f8db18d3b0933875937e36470987d.tar.gz linux-9830ad4c6a7f8db18d3b0933875937e36470987d.tar.bz2 linux-9830ad4c6a7f8db18d3b0933875937e36470987d.zip |
ip_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.
There is no concept of per-packet routing decisions through IPv4
tunnels, so this implementation does not need to work with
per-packet route lookups as the v6 implementation may
(with IP6_TNL_F_USE_ORIG_FWMARK).
Further, since the v4 tunnel ioctls share datastructures
(which can not be trivially modified) with the kernel's internal
tunnel configuration structures, the mark attribute must be stored
in the tunnel structure itself and passed as a parameter when
creating or changing tunnel attributes.
Signed-off-by: Craig Gallek <kraig@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/crypto/vmac.h')
0 files changed, 0 insertions, 0 deletions