]> git.baikalelectronics.ru Git - kernel.git/commit
net: Changes to ip_tunnel to support foo-over-udp encapsulation
authorTom Herbert <therbert@google.com>
Wed, 17 Sep 2014 19:25:58 +0000 (12:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2014 21:15:32 +0000 (17:15 -0400)
commite8a913304c7e272462e2791cc1533c33386e08a1
treefbfbf2ae1b1aa35fe2fc537d4f8f3fdcceb1f5c8
parent4c456db521a8a4e017f07d7e52c02fb4c0de3f25
net: Changes to ip_tunnel to support foo-over-udp encapsulation

This patch changes IP tunnel to support (secondary) encapsulation,
Foo-over-UDP. Changes include:

1) Adding tun_hlen as the tunnel header length, encap_hlen as the
   encapsulation header length, and hlen becomes the grand total
   of these.
2) Added common netlink define to support FOU encapsulation.
3) Routines to perform FOU encapsulation.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_tunnels.h
include/uapi/linux/if_tunnel.h
net/ipv4/ip_tunnel.c