Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/netfilter/ipset/
Dip_set.h265 u32 cadt_flags = 0; in ip_set_put_flags() local
272 cadt_flags |= IPSET_FLAG_WITH_COUNTERS; in ip_set_put_flags()
274 cadt_flags |= IPSET_FLAG_WITH_COMMENT; in ip_set_put_flags()
276 cadt_flags |= IPSET_FLAG_WITH_SKBINFO; in ip_set_put_flags()
278 cadt_flags |= IPSET_FLAG_WITH_FORCEADD; in ip_set_put_flags()
280 if (!cadt_flags) in ip_set_put_flags()
282 return nla_put_net32(skb, IPSET_ATTR_CADT_FLAGS, htonl(cadt_flags)); in ip_set_put_flags()
/linux-4.1.27/net/netfilter/ipset/
Dip_set_hash_netiface.c335 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netiface4_uadt() local
336 if (cadt_flags & IPSET_FLAG_PHYSDEV) in hash_netiface4_uadt()
338 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netiface4_uadt()
573 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netiface6_uadt() local
574 if (cadt_flags & IPSET_FLAG_PHYSDEV) in hash_netiface6_uadt()
576 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netiface6_uadt()
Dip_set_hash_net.c175 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_net4_uadt() local
176 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_net4_uadt()
350 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_net6_uadt() local
351 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_net6_uadt()
Dip_set_hash_netnet.c206 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netnet4_uadt() local
207 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netnet4_uadt()
434 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netnet6_uadt() local
435 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netnet6_uadt()
Dip_set_hash_netport.c217 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netport4_uadt() local
218 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netport4_uadt()
438 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netport6_uadt() local
439 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netport6_uadt()
Dip_set_hash_ipportnet.c226 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_ipportnet4_uadt() local
227 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_ipportnet4_uadt()
487 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_ipportnet6_uadt() local
488 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_ipportnet6_uadt()
Dip_set_hash_netportnet.c241 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()
517 u32 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in hash_netportnet6_uadt() local
518 if (cadt_flags & IPSET_FLAG_NOMATCH) in hash_netportnet6_uadt()
Dip_set_core.c369 u32 cadt_flags = 0; in ip_set_elem_len() local
372 cadt_flags = ip_set_get_h32(tb[IPSET_ATTR_CADT_FLAGS]); in ip_set_elem_len()
373 if (cadt_flags & IPSET_FLAG_WITH_FORCEADD) in ip_set_elem_len()
376 if (!add_extension(id, cadt_flags, tb)) in ip_set_elem_len()