Searched refs:IPSET_ATTR_CIDR (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/net/netfilter/ipset/ |
D | ip_set_hash_ipmark.c | 130 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR])) { in hash_ipmark4_uadt() 142 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipmark4_uadt() 143 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark4_uadt() 244 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ipmark6_uadt() 245 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ipmark6_uadt() 296 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
D | ip_set_hash_net.c | 94 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_net4_data_list() 164 if (tb[IPSET_ATTR_CIDR]) { in hash_net4_uadt() 165 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net4_uadt() 259 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_net6_data_list() 332 if (tb[IPSET_ATTR_CIDR]) { in hash_net6_uadt() 333 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net6_uadt() 373 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
D | ip_set_bitmap_ip.c | 174 } else if (tb[IPSET_ATTR_CIDR]) { in bitmap_ip_uadt() 175 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in bitmap_ip_uadt() 268 } else if (tb[IPSET_ATTR_CIDR]) { in bitmap_ip_create() 269 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in bitmap_ip_create() 342 [IPSET_ATTR_CIDR] = { .type = NLA_U8 }, 350 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
D | ip_set_hash_ipport.c | 151 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt() 164 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipport4_uadt() 165 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() 363 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
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() 252 if (unlikely(tb[IPSET_ATTR_CIDR])) { in hash_ip6_uadt() 253 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_ip6_uadt() 297 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
D | ip_set_hash_netiface.c | 115 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_netiface4_data_list() 222 if (tb[IPSET_ATTR_CIDR]) { in hash_netiface4_uadt() 223 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netiface4_uadt() 338 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr) || in hash_netiface6_data_list() 430 if (tb[IPSET_ATTR_CIDR]) { in hash_netiface6_uadt() 431 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netiface6_uadt() 480 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
D | ip_set_hash_ipportip.c | 158 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipportip4_uadt() 171 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipportip4_uadt() 172 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() 378 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
D | ip_set_hash_netnet.c | 112 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netnet4_data_list() 196 if (tb[IPSET_ATTR_CIDR]) { in hash_netnet4_uadt() 197 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netnet4_uadt() 343 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netnet6_data_list() 429 if (tb[IPSET_ATTR_CIDR]) { in hash_netnet6_uadt() 430 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netnet6_uadt() 479 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
D | ip_set_hash_netport.c | 108 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) || in hash_netport4_data_list() 186 if (tb[IPSET_ATTR_CIDR]) { in hash_netport4_uadt() 187 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netport4_uadt() 321 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) || in hash_netport6_data_list() 404 if (tb[IPSET_ATTR_CIDR]) { in hash_netport6_uadt() 405 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netport6_uadt() 483 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
D | ip_set_hash_netportnet.c | 121 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netportnet4_data_list() 214 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet4_uadt() 215 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netportnet4_uadt() 397 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || in hash_netportnet6_data_list() 494 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet6_uadt() 495 e.cidr[0] = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_netportnet6_uadt() 581 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
D | ip_set_hash_ipportnet.c | 228 !(tb[IPSET_ATTR_CIDR] || tb[IPSET_ATTR_IP_TO] || with_ports || in hash_ipportnet4_uadt() 244 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipportnet4_uadt() 245 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() 536 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
D | ip_set_bitmap_ipmac.c | 342 } else if (tb[IPSET_ATTR_CIDR]) { in bitmap_ipmac_create() 343 u8 cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in bitmap_ipmac_create() 389 [IPSET_ATTR_CIDR] = { .type = NLA_U8 },
|
/Linux-v4.19/include/uapi/linux/netfilter/ipset/ |
D | ip_set.h | 78 IPSET_ATTR_CIDR, /* 3 */ enumerator
|