xfrm: add IPv6 support for espintcp
authorSabrina Dubroca <sd@queasysnail.net>
Mon, 27 Apr 2020 15:59:35 +0000 (17:59 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 28 Apr 2020 09:28:36 +0000 (11:28 +0200)
commit26333c37fc285e7372f1b9461f3ae0ba3dc699c9
tree65da80af1cc53537a3da44ac591cc8b61336b62d
parent0146dca70b877b73c5fd9c67912b8a0ca8a7bac7
xfrm: add IPv6 support for espintcp

This extends espintcp to support IPv6, building on the existing code
and the new UDPv6 encapsulation support. Most of the code is either
reused directly (stream parser, ULP) or very similar to the IPv4
variant (net/ipv6/esp6.c changes).

The separation of config options for IPv4 and IPv6 espintcp requires a
bit of Kconfig gymnastics to enable the core code.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/ipv6_stubs.h
net/ipv4/Kconfig
net/ipv6/Kconfig
net/ipv6/af_inet6.c
net/ipv6/esp6.c
net/xfrm/Kconfig
net/xfrm/Makefile
net/xfrm/espintcp.c