Home
last modified time | relevance | path

Searched refs:IPSET_ATTR_CIDR (Results 1 – 12 of 12) sorted by relevance

/linux/net/netfilter/ipset/
H A Dip_set_hash_net.c91 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_net4_data_list()
161 if (tb[IPSET_ATTR_CIDR]) { in hash_net4_uadt()
162 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net4_uadt()
262 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_net6_data_list()
335 if (tb[IPSET_ATTR_CIDR]) { in hash_net6_uadt()
336 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net6_uadt()
378 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
H A Dip_set_hash_ipmark.c128 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR])) { in hash_ipmark4_uadt()
143 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipmark4_uadt()
144 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark4_uadt()
249 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipmark6_uadt()
250 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark6_uadt()
303 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
H A Dip_set_hash_ip.c142 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ip4_uadt()
143 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip4_uadt()
250 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ip6_uadt()
251 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip6_uadt()
298 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
H A Dip_set_hash_netiface.c117 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_netiface4_data_list()
224 if (tb[IPSET_ATTR_CIDR]) { in hash_netiface4_uadt()
225 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netiface4_uadt()
351 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_netiface6_data_list()
443 if (tb[IPSET_ATTR_CIDR]) { in hash_netiface6_uadt()
444 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netiface6_uadt()
497 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
H A Dip_set_hash_netport.c105 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) || in hash_netport4_data_list()
183 if (tb[IPSET_ATTR_CIDR]) { in hash_netport4_uadt()
184 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netport4_uadt()
322 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) || in hash_netport6_data_list()
405 if (tb[IPSET_ATTR_CIDR]) { in hash_netport6_uadt()
406 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netport6_uadt()
486 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
H A Dip_set_hash_ipportip.c155 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipportip4_uadt()
168 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipportip4_uadt()
169 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportip4_uadt()
298 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipportip6_uadt()
299 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportip6_uadt()
381 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
H A Dip_set_hash_ipport.c159 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt()
172 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipport4_uadt()
173 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipport4_uadt()
303 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipport6_uadt()
304 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipport6_uadt()
388 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
H A Dip_set_hash_netnet.c113 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netnet4_data_list()
197 if (tb[IPSET_ATTR_CIDR]) { in hash_netnet4_uadt()
198 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netnet4_uadt()
349 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netnet6_data_list()
441 if (tb[IPSET_ATTR_CIDR]) { in hash_netnet6_uadt()
442 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netnet6_uadt()
500 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
H A Dip_set_hash_netportnet.c119 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netportnet4_data_list()
222 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet4_uadt()
223 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netportnet4_uadt()
411 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netportnet6_data_list()
508 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet6_uadt()
509 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netportnet6_uadt()
597 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
H A Dip_set_hash_ipportnet.c225 !(tb[IPSET_ATTR_CIDR] || tb[IPSET_ATTR_IP_TO] || with_ports || in hash_ipportnet4_uadt()
241 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipportnet4_uadt()
242 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportnet4_uadt()
439 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipportnet6_uadt()
440 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportnet6_uadt()
541 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
H A Dip_set_bitmap_ipmac.c341 } else if (tb[IPSET_ATTR_CIDR]) { in bitmap_ipmac_create()
342 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in bitmap_ipmac_create()
388 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
/linux/include/uapi/linux/netfilter/ipset/
H A Dip_set.h78 IPSET_ATTR_CIDR, /* 3 */ enumerator