OSDN Git Service

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)
commit0146dca70b877b73c5fd9c67912b8a0ca8a7bac7
treeb28c8271da42b8a5eddfc26a40dd93685cc0d24b
parente62905ae34eaf5fe2cfb254be5e0c097b3b1f798
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