Searched refs:IPSET_ATTR_CIDR (Results 1 – 13 of 13) sorted by relevance
| /linux/net/netfilter/ipset/ |
| A D | ip_set_hash_net.c | 91 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() 265 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_net6_data_list() 338 if (tb[IPSET_ATTR_CIDR]) { in hash_net6_uadt() 339 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net6_uadt() 381 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| A D | ip_set_hash_ipmark.c | 128 !(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() 248 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipmark6_uadt() 249 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark6_uadt() 302 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| A D | ip_set_bitmap_ip.c | 171 } else if (tb[IPSET_ATTR_CIDR]) { in bitmap_ip_uadt() 172 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() 351 [IPSET_ATTR_CIDR] = { .type = NLA_U8 }, 359 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| A D | ip_set_hash_ip.c | 140 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ip4_uadt() 141 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip4_uadt() 256 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ip6_uadt() 257 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip6_uadt() 303 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| A D | ip_set_hash_ipport.c | 148 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt() 161 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipport4_uadt() 162 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipport4_uadt() 286 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipport6_uadt() 287 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipport6_uadt() 365 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| A D | ip_set_hash_netiface.c | 117 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() 354 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_netiface6_data_list() 446 if (tb[IPSET_ATTR_CIDR]) { in hash_netiface6_uadt() 447 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netiface6_uadt() 500 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| A D | ip_set_hash_netport.c | 105 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) || in hash_netport4_data_list() 184 if (tb[IPSET_ATTR_CIDR]) { in hash_netport4_uadt() 185 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netport4_uadt() 327 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) || in hash_netport6_data_list() 410 if (tb[IPSET_ATTR_CIDR]) { in hash_netport6_uadt() 411 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netport6_uadt() 491 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| A D | ip_set_hash_ipportip.c | 155 !(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() 297 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipportip6_uadt() 298 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportip6_uadt() 380 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| A D | ip_set_hash_netnet.c | 110 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netnet4_data_list() 195 if (tb[IPSET_ATTR_CIDR]) { in hash_netnet4_uadt() 196 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netnet4_uadt() 355 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() 493 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| A D | ip_set_hash_netportnet.c | 118 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netportnet4_data_list() 212 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet4_uadt() 213 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netportnet4_uadt() 408 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netportnet6_data_list() 505 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet6_uadt() 506 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netportnet6_uadt() 594 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| A D | ip_set_hash_ipportnet.c | 225 !(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() 436 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipportnet6_uadt() 437 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportnet6_uadt() 538 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| A D | ip_set_bitmap_ipmac.c | 341 } 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/ |
| A D | ip_set.h | 82 IPSET_ATTR_CIDR, /* 3 */ enumerator
|
Completed in 20 milliseconds