Home
last modified time | relevance | path

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

/linux-4.1.27/net/netfilter/ipset/
Dip_set_bitmap_ip.c104 nla_put_ipaddr4(skb, IPSET_ATTR_IP_TO, htonl(map->last_ip)) || in bitmap_ip_do_head()
165 if (tb[IPSET_ATTR_IP_TO]) { in bitmap_ip_uadt()
166 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in bitmap_ip_uadt()
267 if (tb[IPSET_ATTR_IP_TO]) { in bitmap_ip_create()
268 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &last_ip); in bitmap_ip_create()
349 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
357 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ipmark.c135 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR])) { in hash_ipmark4_uadt()
141 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipmark4_uadt()
142 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipmark4_uadt()
254 tb[IPSET_ATTR_IP_TO] || in hash_ipmark6_uadt()
303 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ip.c139 if (tb[IPSET_ATTR_IP_TO]) { in hash_ip4_uadt()
140 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ip4_uadt()
257 tb[IPSET_ATTR_IP_TO] || in hash_ip6_uadt()
298 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ipport.c158 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt()
165 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipport4_uadt()
166 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipport4_uadt()
297 tb[IPSET_ATTR_IP_TO] || in hash_ipport6_uadt()
370 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_net.c180 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_net4_uadt()
188 if (tb[IPSET_ATTR_IP_TO]) { in hash_net4_uadt()
189 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_net4_uadt()
330 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_net6_uadt()
380 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ipportip.c164 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipportip4_uadt()
171 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportip4_uadt()
172 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipportip4_uadt()
305 tb[IPSET_ATTR_IP_TO] || in hash_ipportip6_uadt()
381 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ipportnet.c233 !(tb[IPSET_ATTR_CIDR] || tb[IPSET_ATTR_IP_TO] || with_ports || in hash_ipportnet4_uadt()
243 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportnet4_uadt()
244 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipportnet4_uadt()
442 tb[IPSET_ATTR_IP_TO] || in hash_ipportnet6_uadt()
445 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportnet6_uadt()
537 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_bitmap_ipmac.c197 nla_put_ipaddr4(skb, IPSET_ATTR_IP_TO, htonl(map->last_ip)); in bitmap_ipmac_do_head()
333 if (tb[IPSET_ATTR_IP_TO]) { in bitmap_ipmac_create()
334 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &last_ip); in bitmap_ipmac_create()
387 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_netnet.c211 if (adt == IPSET_TEST || !(tb[IPSET_ATTR_IP_TO] || in hash_netnet4_uadt()
221 if (tb[IPSET_ATTR_IP_TO]) { in hash_netnet4_uadt()
222 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netnet4_uadt()
408 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netnet6_uadt()
464 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_netport.c222 if (adt == IPSET_TEST || !(with_ports || tb[IPSET_ATTR_IP_TO])) { in hash_netport4_uadt()
235 if (tb[IPSET_ATTR_IP_TO]) { in hash_netport4_uadt()
236 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netport4_uadt()
401 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_netport6_uadt()
488 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_netiface.c341 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_netiface4_uadt()
348 if (tb[IPSET_ATTR_IP_TO]) { in hash_netiface4_uadt()
349 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netiface4_uadt()
543 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_netiface6_uadt()
607 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_netportnet.c248 !(tb[IPSET_ATTR_IP_TO] || with_ports || tb[IPSET_ATTR_IP2_TO])) { in hash_netportnet4_uadt()
257 if (tb[IPSET_ATTR_IP_TO]) { in hash_netportnet4_uadt()
258 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netportnet4_uadt()
474 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netportnet6_uadt()
567 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
/linux-4.1.27/include/uapi/linux/netfilter/ipset/
Dip_set.h76 IPSET_ATTR_IP_TO, /* 2 */ enumerator