Home
last modified time | relevance | path

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

/Linux-v5.15/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()
457 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netiface6_uadt() local
459 if (cadt_flags & IPSET_FLAG_PHYSDEV) in hash_netiface6_uadt()
461 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netiface6_uadt()
463 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()
347 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_net6_uadt() local
349 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_net6_uadt()
Dip_set_hash_netport.c209 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netport4_uadt() local
211 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netport4_uadt()
434 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netport6_uadt() local
436 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netport6_uadt()
Dip_set_hash_netnet.c208 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netnet4_uadt() local
210 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netnet4_uadt()
457 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netnet6_uadt() local
459 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()
480 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_ipportnet6_uadt() local
482 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_ipportnet6_uadt()
Dip_set_hash_netportnet.c240 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netportnet4_uadt() local
242 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netportnet4_uadt()
536 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netportnet6_uadt() local
538 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netportnet6_uadt()
Dip_set_core.c436 u32 cadt_flags = 0; in ip_set_elem_len() local
439 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in ip_set_elem_len()
440 if (cadt_flags & IPSET_FLAG_WITH_FORCEADD) in ip_set_elem_len()
445 if (!add_extension(id, cadt_flags, tb)) in ip_set_elem_len()
1410 u32 cadt_flags = 0; in ip_set_put_flags() local
1417 cadt_flags |= IPSET_FLAG_WITH_COUNTERS; in ip_set_put_flags()
1419 cadt_flags |= IPSET_FLAG_WITH_COMMENT; in ip_set_put_flags()
1421 cadt_flags |= IPSET_FLAG_WITH_SKBINFO; in ip_set_put_flags()
1423 cadt_flags |= IPSET_FLAG_WITH_FORCEADD; in ip_set_put_flags()
1425 if (!cadt_flags) in ip_set_put_flags()
[all …]