Home
last modified time | relevance | path

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

/linux-4.1.27/net/netfilter/ipset/
Dip_set_hash_net.c94 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_net4_data_list()
168 if (tb[IPSET_ATTR_CIDR]) { in hash_net4_uadt()
169 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net4_uadt()
263 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_net6_data_list()
341 if (tb[IPSET_ATTR_CIDR]) in hash_net6_uadt()
342 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net6_uadt()
381 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
Dip_set_bitmap_ip.c174 } else if (tb[IPSET_ATTR_CIDR]) { in bitmap_ip_uadt()
175 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in bitmap_ip_uadt()
277 } else if (tb[IPSET_ATTR_CIDR]) { in bitmap_ip_create()
278 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in bitmap_ip_create()
350 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
358 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
Dip_set_hash_ipmark.c135 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR])) { in hash_ipmark4_uadt()
147 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipmark4_uadt()
148 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark4_uadt()
255 tb[IPSET_ATTR_CIDR])) in hash_ipmark6_uadt()
305 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
Dip_set_hash_netnet.c112 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netnet4_data_list()
191 if (tb[IPSET_ATTR_CIDR]) { in hash_netnet4_uadt()
192 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netnet4_uadt()
339 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netnet6_data_list()
420 if (tb[IPSET_ATTR_CIDR]) in hash_netnet6_uadt()
421 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netnet6_uadt()
467 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
Dip_set_hash_netport.c108 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) || in hash_netport4_data_list()
190 if (tb[IPSET_ATTR_CIDR]) { in hash_netport4_uadt()
191 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netport4_uadt()
324 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) || in hash_netport6_data_list()
412 if (tb[IPSET_ATTR_CIDR]) { in hash_netport6_uadt()
413 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netport6_uadt()
492 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
Dip_set_hash_netiface.c191 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_netiface4_data_list()
316 if (tb[IPSET_ATTR_CIDR]) { in hash_netiface4_uadt()
317 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netiface4_uadt()
442 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_netiface6_data_list()
554 if (tb[IPSET_ATTR_CIDR]) in hash_netiface6_uadt()
555 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netiface6_uadt()
611 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
Dip_set_hash_ip.c145 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ip4_uadt()
146 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip4_uadt()
258 tb[IPSET_ATTR_CIDR])) in hash_ip6_uadt()
299 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
Dip_set_hash_ipport.c158 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt()
171 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipport4_uadt()
172 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipport4_uadt()
298 tb[IPSET_ATTR_CIDR])) in hash_ipport6_uadt()
373 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
Dip_set_hash_netportnet.c121 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netportnet4_data_list()
209 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet4_uadt()
210 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netportnet4_uadt()
394 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netportnet6_data_list()
486 if (tb[IPSET_ATTR_CIDR]) in hash_netportnet6_uadt()
487 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netportnet6_uadt()
572 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
Dip_set_hash_ipportip.c164 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipportip4_uadt()
177 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipportip4_uadt()
178 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportip4_uadt()
306 tb[IPSET_ATTR_CIDR])) in hash_ipportip6_uadt()
385 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
Dip_set_hash_ipportnet.c233 !(tb[IPSET_ATTR_CIDR] || tb[IPSET_ATTR_IP_TO] || with_ports || in hash_ipportnet4_uadt()
249 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipportnet4_uadt()
250 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportnet4_uadt()
443 tb[IPSET_ATTR_CIDR])) in hash_ipportnet6_uadt()
542 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
Dip_set_bitmap_ipmac.c343 } else if (tb[IPSET_ATTR_CIDR]) { in bitmap_ipmac_create()
344 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in bitmap_ipmac_create()
388 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
/linux-4.1.27/include/uapi/linux/netfilter/ipset/
Dip_set.h77 IPSET_ATTR_CIDR, /* 3 */ enumerator