]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: add support for UDPv6 encapsulation of ESP
authorSabrina Dubroca <sd@queasysnail.net>
Mon, 27 Apr 2020 15:59:34 +0000 (17:59 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 28 Apr 2020 09:28:36 +0000 (11:28 +0200)
commit7cb6b764292293c241a8e6d02ebe57e6cebe417a
treeb28c8271da42b8a5eddfc26a40dd93685cc0d24b
parent02e9d0747ef21acf6e53c2f5eb2398d3ab31162a
xfrm: add support for UDPv6 encapsulation of ESP

This patch adds support for encapsulation of ESP over UDPv6. The code
is very similar to the IPv4 encapsulation implementation, and allows
to easily add espintcp on IPv6 as a follow-up.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
12 files changed:
include/net/ipv6_stubs.h
include/net/xfrm.h
net/ipv4/udp.c
net/ipv6/af_inet6.c
net/ipv6/ah6.c
net/ipv6/esp6.c
net/ipv6/esp6_offload.c
net/ipv6/ip6_vti.c
net/ipv6/ipcomp6.c
net/ipv6/xfrm6_input.c
net/ipv6/xfrm6_protocol.c
net/xfrm/xfrm_interface.c