mbox series

[ipsec-next,v3,0/2] xfrm: add IPv6 encapsulation support for ESP over UDP and TCP

Message ID cover.1587569733.git.sd@queasysnail.net
Headers show
Series xfrm: add IPv6 encapsulation support for ESP over UDP and TCP | expand

Message

Sabrina Dubroca April 22, 2020, 3:43 p.m. UTC
This series adds IPv6 encapsulation of ESP over both UDP and TCP. In
both cases, the code is very similar to the existing IPv4
encapsulation implementation. The core espintcp code is almost
entirely version-independent.

v2: rebase on top of ipsec-next/master
v3: really rebase this time

Sabrina Dubroca (2):
  xfrm: add support for UDPv6 encapsulation of ESP
  xfrm: add IPv6 support for espintcp

 include/net/ipv6_stubs.h  |   5 +
 include/net/xfrm.h        |   5 +
 net/ipv4/Kconfig          |   1 +
 net/ipv4/udp.c            |  10 +-
 net/ipv6/Kconfig          |  12 ++
 net/ipv6/af_inet6.c       |   5 +
 net/ipv6/ah6.c            |   1 +
 net/ipv6/esp6.c           | 413 +++++++++++++++++++++++++++++++++++---
 net/ipv6/esp6_offload.c   |   7 +-
 net/ipv6/ip6_vti.c        |  18 +-
 net/ipv6/ipcomp6.c        |   1 +
 net/ipv6/xfrm6_input.c    | 106 +++++++++-
 net/ipv6/xfrm6_protocol.c |  48 +++++
 net/xfrm/Kconfig          |   3 +
 net/xfrm/Makefile         |   2 +-
 net/xfrm/espintcp.c       |  56 +++++-
 net/xfrm/xfrm_interface.c |   3 +
 17 files changed, 646 insertions(+), 50 deletions(-)