Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/netfilter/ipset/
Dip_set.h283 u32 cadt_flags = 0; in ip_set_put_flags() local
290 cadt_flags |= IPSET_FLAG_WITH_COUNTERS; in ip_set_put_flags()
292 cadt_flags |= IPSET_FLAG_WITH_COMMENT; in ip_set_put_flags()
294 cadt_flags |= IPSET_FLAG_WITH_SKBINFO; in ip_set_put_flags()
296 cadt_flags |= IPSET_FLAG_WITH_FORCEADD; in ip_set_put_flags()
298 if (!cadt_flags) in ip_set_put_flags()
300 return nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(cadt_flags)); in ip_set_put_flags()
/Linux-v4.19/net/netfilter/ipset/
Dip_set_hash_netiface.c230 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netiface4_uadt() local
232 if (cadt_flags & IPSET_FLAG_PHYSDEV) in hash_netiface4_uadt()
234 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netiface4_uadt()
441 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netiface6_uadt() local
443 if (cadt_flags & IPSET_FLAG_PHYSDEV) in hash_netiface6_uadt()
445 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netiface6_uadt()
Dip_set_hash_net.c171 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_net4_uadt() local
173 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_net4_uadt()
341 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_net6_uadt() local
343 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_net6_uadt()
Dip_set_hash_netnet.c209 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netnet4_uadt() local
211 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netnet4_uadt()
445 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netnet6_uadt() local
447 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netnet6_uadt()
Dip_set_hash_netport.c211 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netport4_uadt() local
213 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netport4_uadt()
428 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netport6_uadt() local
430 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netport6_uadt()
Dip_set_hash_ipportnet.c220 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_ipportnet4_uadt() local
222 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.c242 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netportnet4_uadt() local
244 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netportnet4_uadt()
525 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netportnet6_uadt() local
527 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netportnet6_uadt()
Dip_set_core.c373 u32 cadt_flags = 0; in ip_set_elem_len() local
376 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in ip_set_elem_len()
377 if (cadt_flags & IPSET_FLAG_WITH_FORCEADD) in ip_set_elem_len()
382 if (!add_extension(id, cadt_flags, tb)) in ip_set_elem_len()