Searched refs:IPSET_ATTR_CIDR (Results 1 – 13 of 13) sorted by relevance
| /Linux-v5.4/net/netfilter/ipset/ |
| D | ip_set_hash_ipmark.c | 125 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR])) { in hash_ipmark4_uadt() 137 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipmark4_uadt() 138 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark4_uadt() 239 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipmark6_uadt() 240 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark6_uadt() 291 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| D | ip_set_hash_net.c | 90 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_net4_data_list() 160 if (tb[IPSET_ATTR_CIDR]) { in hash_net4_uadt() 161 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net4_uadt() 255 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_net6_data_list() 328 if (tb[IPSET_ATTR_CIDR]) { in hash_net6_uadt() 329 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net6_uadt() 369 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| 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() 265 } else if (tb[IPSET_ATTR_CIDR]) { in bitmap_ip_create() 266 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in bitmap_ip_create() 339 [IPSET_ATTR_CIDR] = { .type = NLA_U8 }, 347 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| D | ip_set_hash_ipport.c | 147 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt() 160 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipport4_uadt() 161 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipport4_uadt() 282 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipport6_uadt() 283 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipport6_uadt() 359 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| D | ip_set_hash_ip.c | 136 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ip4_uadt() 137 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip4_uadt() 248 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ip6_uadt() 249 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip6_uadt() 293 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| D | ip_set_hash_netiface.c | 111 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_netiface4_data_list() 218 if (tb[IPSET_ATTR_CIDR]) { in hash_netiface4_uadt() 219 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netiface4_uadt() 334 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_netiface6_data_list() 426 if (tb[IPSET_ATTR_CIDR]) { in hash_netiface6_uadt() 427 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netiface6_uadt() 476 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| D | ip_set_hash_ipportip.c | 154 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipportip4_uadt() 167 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipportip4_uadt() 168 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportip4_uadt() 293 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipportip6_uadt() 294 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportip6_uadt() 374 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| D | ip_set_hash_netnet.c | 109 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netnet4_data_list() 193 if (tb[IPSET_ATTR_CIDR]) { in hash_netnet4_uadt() 194 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netnet4_uadt() 340 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netnet6_data_list() 426 if (tb[IPSET_ATTR_CIDR]) { in hash_netnet6_uadt() 427 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netnet6_uadt() 476 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| D | ip_set_hash_netport.c | 104 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) || in hash_netport4_data_list() 182 if (tb[IPSET_ATTR_CIDR]) { in hash_netport4_uadt() 183 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netport4_uadt() 317 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) || in hash_netport6_data_list() 400 if (tb[IPSET_ATTR_CIDR]) { in hash_netport6_uadt() 401 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netport6_uadt() 479 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| D | ip_set_hash_netportnet.c | 117 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netportnet4_data_list() 210 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet4_uadt() 211 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netportnet4_uadt() 393 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netportnet6_data_list() 490 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet6_uadt() 491 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netportnet6_uadt() 577 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| D | ip_set_hash_ipportnet.c | 224 !(tb[IPSET_ATTR_CIDR] || tb[IPSET_ATTR_IP_TO] || with_ports || in hash_ipportnet4_uadt() 240 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipportnet4_uadt() 241 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportnet4_uadt() 432 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipportnet6_uadt() 433 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipportnet6_uadt() 532 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
| 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-v5.4/include/uapi/linux/netfilter/ipset/ |
| D | ip_set.h | 82 IPSET_ATTR_CIDR, /* 3 */ enumerator
|