Lines Matching refs:proto
58 u8 proto; member
72 ip1->proto == ip2->proto; in hash_ipportnet4_data_equal()
110 nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto) || in hash_ipportnet4_data_list()
149 &e.port, &e.proto)) in hash_ipportnet4_kadt()
204 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipportnet4_uadt()
205 with_ports = ip_set_proto_with_ports(e.proto); in hash_ipportnet4_uadt()
207 if (e.proto == 0) in hash_ipportnet4_uadt()
213 if (!(with_ports || e.proto == IPPROTO_ICMP)) in hash_ipportnet4_uadt()
313 u8 proto; member
327 ip1->proto == ip2->proto; in hash_ipportnet6_data_equal()
365 nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto) || in hash_ipportnet6_data_list()
406 &e.port, &e.proto)) in hash_ipportnet6_kadt()
470 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipportnet6_uadt()
471 with_ports = ip_set_proto_with_ports(e.proto); in hash_ipportnet6_uadt()
473 if (e.proto == 0) in hash_ipportnet6_uadt()
479 if (!(with_ports || e.proto == IPPROTO_ICMPV6)) in hash_ipportnet6_uadt()