Home
last modified time | relevance | path

Searched refs:cadt_flags (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/net/netfilter/ipset/
Dip_set_hash_netiface.c232 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netiface4_uadt() local
234 if (cadt_flags & IPSET_FLAG_PHYSDEV) in hash_netiface4_uadt()
236 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netiface4_uadt()
238 if (cadt_flags & IPSET_FLAG_IFACE_WILDCARD) in hash_netiface4_uadt()
454 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netiface6_uadt() local
456 if (cadt_flags & IPSET_FLAG_PHYSDEV) in hash_netiface6_uadt()
458 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netiface6_uadt()
460 if (cadt_flags & IPSET_FLAG_IFACE_WILDCARD) in hash_netiface6_uadt()
Dip_set_hash_net.c168 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_net4_uadt() local
170 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_net4_uadt()
344 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_net6_uadt() local
346 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_net6_uadt()
Dip_set_hash_netport.c208 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netport4_uadt() local
210 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netport4_uadt()
429 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netport6_uadt() local
431 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netport6_uadt()
Dip_set_hash_netnet.c210 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netnet4_uadt() local
212 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netnet4_uadt()
462 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netnet6_uadt() local
464 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netnet6_uadt()
Dip_set_hash_ipportnet.c217 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_ipportnet4_uadt() local
219 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_ipportnet4_uadt()
483 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_ipportnet6_uadt() local
485 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_ipportnet6_uadt()
Dip_set_hash_netportnet.c250 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netportnet4_uadt() local
252 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netportnet4_uadt()
539 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netportnet6_uadt() local
541 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netportnet6_uadt()
Dip_set_core.c439 u32 cadt_flags = 0; in ip_set_elem_len() local
442 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in ip_set_elem_len()
443 if (cadt_flags & IPSET_FLAG_WITH_FORCEADD) in ip_set_elem_len()
448 if (!add_extension(id, cadt_flags, tb)) in ip_set_elem_len()
1450 u32 cadt_flags = 0; in ip_set_put_flags() local
1457 cadt_flags |= IPSET_FLAG_WITH_COUNTERS; in ip_set_put_flags()
1459 cadt_flags |= IPSET_FLAG_WITH_COMMENT; in ip_set_put_flags()
1461 cadt_flags |= IPSET_FLAG_WITH_SKBINFO; in ip_set_put_flags()
1463 cadt_flags |= IPSET_FLAG_WITH_FORCEADD; in ip_set_put_flags()
1465 if (!cadt_flags) in ip_set_put_flags()
[all …]