IB/core: Add more fields to IPv6 flow specification
[cascardo/linux.git] / include / uapi / rdma / ib_user_verbs.h
index a9ebb47..25225eb 100644 (file)
@@ -848,6 +848,10 @@ struct ib_uverbs_flow_spec_eth {
 struct ib_uverbs_flow_ipv4_filter {
        __be32 src_ip;
        __be32 dst_ip;
+       __u8    proto;
+       __u8    tos;
+       __u8    ttl;
+       __u8    flags;
 };
 
 struct ib_uverbs_flow_spec_ipv4 {
@@ -882,8 +886,13 @@ struct ib_uverbs_flow_spec_tcp_udp {
 };
 
 struct ib_uverbs_flow_ipv6_filter {
-       __u8 src_ip[16];
-       __u8 dst_ip[16];
+       __u8    src_ip[16];
+       __u8    dst_ip[16];
+       __be32  flow_label;
+       __u8    next_hdr;
+       __u8    traffic_class;
+       __u8    hop_limit;
+       __u8    reserved;
 };
 
 struct ib_uverbs_flow_spec_ipv6 {