[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170419163054.31173-1-kraigatgoog@gmail.com>
Date: Wed, 19 Apr 2017 12:30:52 -0400
From: Craig Gallek <kraigatgoog@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: [PATCH net-next 0/2] ip_tunnel: Allow policy-based routing through tunnels
From: Craig Gallek <kraig@...gle.com>
iproute2 changes to follow. Example usage:
ip link add gre-test type gre local 10.0.0.1 remote 10.0.0.2 fwmark 0x4
ip -detail link show gre-test
...
ip link set gre-test type gre fwmark 0
Craig Gallek (2):
ip6_tunnel: Allow policy-based routing through tunnels
ip_tunnel: Allow policy-based routing through tunnels
include/net/ip6_tunnel.h | 2 ++
include/net/ip_tunnels.h | 5 +++--
include/uapi/linux/if_tunnel.h | 3 +++
net/ipv4/ip_gre.c | 24 +++++++++++++++++-------
net/ipv4/ip_tunnel.c | 27 +++++++++++++++++----------
net/ipv4/ip_vti.c | 20 +++++++++++++++-----
net/ipv4/ipip.c | 24 +++++++++++++++++-------
net/ipv6/ip6_gre.c | 14 +++++++++++++-
net/ipv6/ip6_tunnel.c | 15 ++++++++++++++-
net/ipv6/ip6_vti.c | 10 +++++++++-
net/ipv6/sit.c | 37 ++++++++++++++++++++++++-------------
11 files changed, 134 insertions(+), 47 deletions(-)
--
2.12.2.816.g2cccc81164-goog
Powered by blists - more mailing lists