|
|
Log in / Subscribe / Register

ip_tunnel: add collect_md mode to IPv4/IPv6 tunnels

From:  Alexei Starovoitov <ast-AT-fb.com>
To:  "David S . Miller" <davem-AT-davemloft.net>
Subject:  [PATCH net-next 0/4] ip_tunnel: add collect_md mode to IPv4/IPv6 tunnels
Date:  Thu, 15 Sep 2016 13:00:28 -0700
Message-ID:  <1473969632-2408261-1-git-send-email-ast@fb.com>
Cc:  Daniel Borkmann <daniel-AT-iogearbox.net>, Thomas Graf <tgraf-AT-suug.ch>, <netdev-AT-vger.kernel.org>, <kernel-team-AT-fb.com>

Similar to geneve, vxlan, gre tunnels implement 'collect metadata' mode
in ipip, ipip6, ip6ip6 tunnels.

Alexei Starovoitov (4):
  ip_tunnel: add collect_md mode to IPIP tunnel
  ip6_tunnel: add collect_md mode to IPv6 tunnels
  samples/bpf: extend test_tunnel_bpf.sh with IPIP test
  samples/bpf: add comprehensive ipip, ipip6, ip6ip6 test

 include/net/ip6_tunnel.h       |   1 +
 include/net/ip_tunnels.h       |   2 +
 include/uapi/linux/if_tunnel.h |   1 +
 net/ipv4/ip_tunnel.c           |  76 +++++++++++++++++
 net/ipv4/ipip.c                |  35 ++++++--
 net/ipv6/ip6_tunnel.c          | 178 ++++++++++++++++++++++++++++----------
 samples/bpf/tcbpf2_kern.c      | 190 +++++++++++++++++++++++++++++++++++++++++
 samples/bpf/test_ipip.sh       | 178 ++++++++++++++++++++++++++++++++++++++
 samples/bpf/test_tunnel_bpf.sh |  56 ++++++++++--
 9 files changed, 658 insertions(+), 59 deletions(-)
 create mode 100755 samples/bpf/test_ipip.sh

-- 
2.8.0




Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds