Searched refs:IPSET_ATTR_IP_TO (Results 1 – 13 of 13) sorted by relevance
| /Linux-v5.4/net/netfilter/ipset/ |
| D | ip_set_bitmap_ip.c | 104 nla_put_ipaddr4(skb, IPSET_ATTR_IP_TO, htonl(map->last_ip)) || in bitmap_ip_do_head() 162 if (tb[IPSET_ATTR_IP_TO]) { in bitmap_ip_uadt() 163 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in bitmap_ip_uadt() 259 if (tb[IPSET_ATTR_IP_TO]) { in bitmap_ip_create() 260 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &last_ip); in bitmap_ip_create() 338 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED }, 346 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| D | ip_set_hash_ipmark.c | 125 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR])) { in hash_ipmark4_uadt() 131 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipmark4_uadt() 132 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipmark4_uadt() 237 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipmark6_uadt() 289 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| D | ip_set_hash_ipport.c | 147 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt() 154 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipport4_uadt() 155 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipport4_uadt() 280 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipport6_uadt() 356 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| D | ip_set_hash_net.c | 173 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_net4_uadt() 181 if (tb[IPSET_ATTR_IP_TO]) { in hash_net4_uadt() 182 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_net4_uadt() 317 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_net6_uadt() 368 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| D | ip_set_hash_ip.c | 130 if (tb[IPSET_ATTR_IP_TO]) { in hash_ip4_uadt() 131 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ip4_uadt() 246 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ip6_uadt() 292 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| D | ip_set_hash_ipportip.c | 154 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipportip4_uadt() 161 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportip4_uadt() 162 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipportip4_uadt() 291 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportip6_uadt() 370 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| D | ip_set_hash_netiface.c | 233 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_netiface4_uadt() 240 if (tb[IPSET_ATTR_IP_TO]) { in hash_netiface4_uadt() 241 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netiface4_uadt() 415 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_netiface6_uadt() 472 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| D | ip_set_hash_netnet.c | 212 if (adt == IPSET_TEST || !(tb[IPSET_ATTR_IP_TO] || in hash_netnet4_uadt() 222 if (tb[IPSET_ATTR_IP_TO]) { in hash_netnet4_uadt() 223 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netnet4_uadt() 411 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netnet6_uadt() 473 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| D | ip_set_hash_netport.c | 213 if (adt == IPSET_TEST || !(with_ports || tb[IPSET_ATTR_IP_TO])) { in hash_netport4_uadt() 226 if (tb[IPSET_ATTR_IP_TO]) { in hash_netport4_uadt() 227 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netport4_uadt() 389 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_netport6_uadt() 475 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| D | ip_set_bitmap_ipmac.c | 204 nla_put_ipaddr4(skb, IPSET_ATTR_IP_TO, htonl(map->last_ip)); in bitmap_ipmac_do_head() 335 if (tb[IPSET_ATTR_IP_TO]) { in bitmap_ipmac_create() 336 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &last_ip); in bitmap_ipmac_create() 387 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| D | ip_set_hash_ipportnet.c | 224 !(tb[IPSET_ATTR_CIDR] || tb[IPSET_ATTR_IP_TO] || with_ports || in hash_ipportnet4_uadt() 234 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportnet4_uadt() 235 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipportnet4_uadt() 430 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportnet6_uadt() 527 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| D | ip_set_hash_netportnet.c | 246 !(tb[IPSET_ATTR_IP_TO] || with_ports || tb[IPSET_ATTR_IP2_TO])) { in hash_netportnet4_uadt() 255 if (tb[IPSET_ATTR_IP_TO]) { in hash_netportnet4_uadt() 256 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netportnet4_uadt() 475 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netportnet6_uadt() 572 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
|
| /Linux-v5.4/include/uapi/linux/netfilter/ipset/ |
| D | ip_set.h | 81 IPSET_ATTR_IP_TO, /* 2 */ enumerator
|