History

xfrm: Add a new lookup key to match xfrm interfaces.

This patch adds the xfrm interface id as a lookup key for xfrm states and policies. With this we can assign states and policies to virtual xfrm interfaces.

Steffen Klassert committed 8 years ago

Commit 7e652641 parent d159ce77 files · +96 −25Browse files

Showing the changes to include/uapi/linux (1 of 7 files). Show all

Unified · Split

include/uapi/linux/xfrm.h+1−0
@@ -307,6 +307,7 @@ enum xfrm_attr_type_t { · 306 unmodified lines
307 XFRMA_OFFLOAD_DEV, /* struct xfrm_state_offload */307 XFRMA_OFFLOAD_DEV, /* struct xfrm_state_offload */
308 XFRMA_SET_MARK, /* __u32 */308 XFRMA_SET_MARK, /* __u32 */
309 XFRMA_SET_MARK_MASK, /* __u32 */309 XFRMA_SET_MARK_MASK, /* __u32 */
310 XFRMA_IF_ID, /* __u32 */
310 __XFRMA_MAX311 __XFRMA_MAX
311 312
312#define XFRMA_OUTPUT_MARK XFRMA_SET_MARK /* Compatibility */313#define XFRMA_OUTPUT_MARK XFRMA_SET_MARK /* Compatibility */

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