Adding a new ESP steering match filter that could match against spi and seq used in IPSec protocol.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -1014,6 +1014,24 @@ struct ib_uverbs_flow_spec_tunnel { · 1013 unmodified lines | ||
| 1014 | 1014 | struct ib_uverbs_flow_tunnel_filter mask; |
| 1015 | 1015 | }; |
| 1016 | 1016 | |
| 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 | + | |
| 1017 | 1035 | struct ib_uverbs_flow_attr { |
| 1018 | 1036 | __u32 type; |
| 1019 | 1037 | __u16 size; |