Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/netfilter/ipset/
Dip_set.h273 u32 cadt_flags = 0; in ip_set_put_flags() local
280 cadt_flags |= IPSET_FLAG_WITH_COUNTERS; in ip_set_put_flags()
282 cadt_flags |= IPSET_FLAG_WITH_COMMENT; in ip_set_put_flags()
284 cadt_flags |= IPSET_FLAG_WITH_SKBINFO; in ip_set_put_flags()
286 cadt_flags |= IPSET_FLAG_WITH_FORCEADD; in ip_set_put_flags()
288 if (!cadt_flags) in ip_set_put_flags()
290 return nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(cadt_flags)); in ip_set_put_flags()
/linux-4.4.14/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()
446 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netiface6_uadt() local
448 if (cadt_flags & IPSET_FLAG_PHYSDEV) in hash_netiface6_uadt()
450 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()
342 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_net6_uadt() local
344 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()
427 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netport6_uadt() local
429 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()
524 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netportnet6_uadt() local
526 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netportnet6_uadt()
Dip_set_core.c371 u32 cadt_flags = 0; in ip_set_elem_len() local
374 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in ip_set_elem_len()
375 if (cadt_flags & IPSET_FLAG_WITH_FORCEADD) in ip_set_elem_len()
380 if (!add_extension(id, cadt_flags, tb)) in ip_set_elem_len()