]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit222ede66319451f9b4a74b5d680d859f666a39e7
tree65da80af1cc53537a3da44ac591cc8b61336b62d
parent7cb6b764292293c241a8e6d02ebe57e6cebe417a
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