]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfrm: add generic iptfs defines and functionality
authorChristian Hopps <chopps@labn.net>
Thu, 14 Nov 2024 07:07:02 +0000 (02:07 -0500)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 5 Dec 2024 09:01:28 +0000 (10:01 +0100)
commitd1716d5a44c37e5743bf6ea4e5cdbdab37727f27
treef0acee1586e60852300c49b1eb16577a89ea01d9
parent7ac64f4598b4daa3f955f82759760666e047bdf8
xfrm: add generic iptfs defines and functionality

Define `XFRM_MODE_IPTFS` and `IPSEC_MODE_IPTFS` constants, and add these to
switch case and conditionals adjacent with the existing TUNNEL modes.

Signed-off-by: Christian Hopps <chopps@labn.net>
Tested-by: Antony Antony <antony.antony@secunet.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
12 files changed:
include/net/xfrm.h
include/uapi/linux/ipsec.h
include/uapi/linux/snmp.h
net/ipv4/esp4.c
net/ipv6/esp6.c
net/netfilter/nft_xfrm.c
net/xfrm/xfrm_device.c
net/xfrm/xfrm_output.c
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_proc.c
net/xfrm/xfrm_state.c
net/xfrm/xfrm_user.c