History

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.

Christian Hopps committed 2 years ago

Commit d1716d51 parent 7ac64f412 files · +48 −6Browse files

Showing the changes to include/uapi (2 of 12 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/ipsec.h +2 −1
  2. include/uapi/linux/snmp.h +2 −0
include/uapi/linux/ipsec.h+2−1
@@ -14,7 +14,8 @@ enum { · 13 unmodified lines
1414 IPSEC_MODE_ANY = 0, /* We do not support this for SA */
1515 IPSEC_MODE_TRANSPORT = 1,
1616 IPSEC_MODE_TUNNEL = 2,
17− IPSEC_MODE_BEET = 3
17+ IPSEC_MODE_BEET = 3,
18+ IPSEC_MODE_IPTFS = 4
1819 };
1920
2021 enum {
include/uapi/linux/snmp.h+2−0
@@ -339,6 +339,8 @@ enum · 338 unmodified lines
339339 LINUX_MIB_XFRMACQUIREERROR, /* XfrmAcquireError */
340340 LINUX_MIB_XFRMOUTSTATEDIRERROR, /* XfrmOutStateDirError */
341341 LINUX_MIB_XFRMINSTATEDIRERROR, /* XfrmInStateDirError */
342+ LINUX_MIB_XFRMINIPTFSERROR, /* XfrmInIptfsError */
343+ LINUX_MIB_XFRMOUTNOQSPACE, /* XfrmOutNoQueueSpace */
342344 __LINUX_MIB_XFRMMAX
343345 };
344346

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t