Lines Matching refs:proto
48 u8 proto; member
61 ip1->proto == ip2->proto; in hash_ipport4_data_equal()
70 nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto)) in hash_ipport4_data_list()
101 &e.port, &e.proto)) in hash_ipport4_kadt()
146 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipport4_uadt()
147 with_ports = ip_set_proto_with_ports(e.proto); in hash_ipport4_uadt()
149 if (e.proto == 0) in hash_ipport4_uadt()
155 if (!(with_ports || e.proto == IPPROTO_ICMP)) in hash_ipport4_uadt()
215 u8 proto; member
228 ip1->proto == ip2->proto; in hash_ipport6_data_equal()
237 nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto)) in hash_ipport6_data_list()
271 &e.port, &e.proto)) in hash_ipport6_kadt()
325 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipport6_uadt()
326 with_ports = ip_set_proto_with_ports(e.proto); in hash_ipport6_uadt()
328 if (e.proto == 0) in hash_ipport6_uadt()
334 if (!(with_ports || e.proto == IPPROTO_ICMPV6)) in hash_ipport6_uadt()