diff options
author | Tom Herbert <tom@herbertland.com> | 2016-05-18 19:06:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-21 01:03:16 +0300 |
commit | 5f914b681253966612e052df364c3b8e4a3d5f63 (patch) | |
tree | 57a7f54ecae08c2f4ea6c630bce5f9160c89b225 /net/ipv4/ip_tunnel_core.c | |
parent | dc969b81ebb37d6ec3d7659763bf017ee03f3ac1 (diff) | |
download | linux-5f914b681253966612e052df364c3b8e4a3d5f63.tar.xz |
fou: Support IPv6 in fou
This patch adds receive path support for IPv6 with fou.
- Add address family to fou structure for open sockets. This supports
AF_INET and AF_INET6. Lookups for fou ports are performed on both the
port number and family.
- In fou and gue receive adjust tot_len in IPv4 header or payload_len
based on address family.
- Allow AF_INET6 in FOU_ATTR_AF netlink attribute.
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_tunnel_core.c')
0 files changed, 0 insertions, 0 deletions