Lines Matching refs:proto
56 u8 proto; member
69 ip1->proto == ip2->proto; in hash_netportnet4_data_equal()
121 nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto) || in hash_netportnet4_data_list()
166 &e.port, &e.proto)) in hash_netportnet4_kadt()
237 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_netportnet4_uadt()
238 with_ports = ip_set_proto_with_ports(e.proto); in hash_netportnet4_uadt()
240 if (e.proto == 0) in hash_netportnet4_uadt()
246 if (!(with_ports || e.proto == IPPROTO_ICMP)) in hash_netportnet4_uadt()
347 u8 proto; member
361 ip1->proto == ip2->proto; in hash_netportnet6_data_equal()
413 nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto) || in hash_netportnet6_data_list()
461 &e.port, &e.proto)) in hash_netportnet6_kadt()
526 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_netportnet6_uadt()
527 with_ports = ip_set_proto_with_ports(e.proto); in hash_netportnet6_uadt()
529 if (e.proto == 0) in hash_netportnet6_uadt()
535 if (!(with_ports || e.proto == IPPROTO_ICMPV6)) in hash_netportnet6_uadt()