Add IPv6 flow specification support.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -867,6 +867,24 @@ struct ib_uverbs_flow_spec_tcp_udp { · 866 unmodified lines | ||
| 867 | 867 | struct ib_uverbs_flow_tcp_udp_filter mask; |
| 868 | 868 | }; |
| 869 | 869 | |
| 870 | +struct ib_uverbs_flow_ipv6_filter { | |
| 871 | + __u8 src_ip[16]; | |
| 872 | + __u8 dst_ip[16]; | |
| 873 | +}; | |
| 874 | + | |
| 875 | +struct ib_uverbs_flow_spec_ipv6 { | |
| 876 | + union { | |
| 877 | + struct ib_uverbs_flow_spec_hdr hdr; | |
| 878 | + struct { | |
| 879 | + __u32 type; | |
| 880 | + __u16 size; | |
| 881 | + __u16 reserved; | |
| 882 | + }; | |
| 883 | + }; | |
| 884 | + struct ib_uverbs_flow_ipv6_filter val; | |
| 885 | + struct ib_uverbs_flow_ipv6_filter mask; | |
| 886 | +}; | |
| 887 | + | |
| 870 | 888 | struct ib_uverbs_flow_attr { |
| 871 | 889 | __u32 type; |
| 872 | 890 | __u16 size; |