diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2020-04-27 17:59:35 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2020-04-28 11:28:36 +0200 |
commit | 26333c37fc285e7372f1b9461f3ae0ba3dc699c9 (patch) | |
tree | 65da80af1cc53537a3da44ac591cc8b61336b62d /net/ipv6/af_inet6.c | |
parent | 0146dca70b877b73c5fd9c67912b8a0ca8a7bac7 (diff) | |
download | linux-26333c37fc285e7372f1b9461f3ae0ba3dc699c9.tar.gz linux-26333c37fc285e7372f1b9461f3ae0ba3dc699c9.tar.bz2 linux-26333c37fc285e7372f1b9461f3ae0ba3dc699c9.zip |
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>
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r-- | net/ipv6/af_inet6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index b0b99c08350a..cbbb00bad20e 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c @@ -964,6 +964,7 @@ static const struct ipv6_stub ipv6_stub_impl = { .ndisc_send_na = ndisc_send_na, #if IS_ENABLED(CONFIG_XFRM) .xfrm6_udp_encap_rcv = xfrm6_udp_encap_rcv, + .xfrm6_rcv_encap = xfrm6_rcv_encap, #endif .nd_tbl = &nd_tbl, }; |