History

IB/uverbs: Introduce ESP steering match filter

Adding a new ESP steering match filter that could match against spi and seq used in IPSec protocol.

Matan Barak committed 8 years ago

Commit 56ab0b31 parent 7d12f8d4 files · +46 −0Browse files

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

Unified · Split

include/uapi/rdma/ib_user_verbs.h+18−0
@@ -1014,6 +1014,24 @@ struct ib_uverbs_flow_spec_tunnel { · 1013 unmodified lines
10141014 struct ib_uverbs_flow_tunnel_filter mask;
10151015 };
10161016
1017+struct ib_uverbs_flow_spec_esp_filter {
1018+ __u32 spi;
1019+ __u32 seq;
1020+};
1021+
1022+struct ib_uverbs_flow_spec_esp {
1023+ union {
1024+ struct ib_uverbs_flow_spec_hdr hdr;
1025+ struct {
1026+ __u32 type;
1027+ __u16 size;
1028+ __u16 reserved;
1029+ };
1030+ };
1031+ struct ib_uverbs_flow_spec_esp_filter val;
1032+ struct ib_uverbs_flow_spec_esp_filter mask;
1033+};
1034+
10171035 struct ib_uverbs_flow_attr {
10181036 __u32 type;
10191037 __u16 size;

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