Home
last modified time | relevance | path

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

/linux/net/netfilter/ipset/
H A Dip_set_hash_ipmark.c128 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR])) { in hash_ipmark4_uadt()
134 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipmark4_uadt()
135 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipmark4_uadt()
247 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipmark6_uadt()
301 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
H A Dip_set_hash_net.c174 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_net4_uadt()
182 if (tb[IPSET_ATTR_IP_TO]) { in hash_net4_uadt()
183 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_net4_uadt()
324 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_net6_uadt()
377 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
H A Dip_set_hash_ip.c133 if (tb[IPSET_ATTR_IP_TO]) { in hash_ip4_uadt()
134 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ip4_uadt()
248 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ip6_uadt()
297 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
H A Dip_set_hash_ipportip.c155 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipportip4_uadt()
162 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportip4_uadt()
163 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipportip4_uadt()
296 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportip6_uadt()
377 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
H A Dip_set_hash_ipport.c159 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt()
166 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipport4_uadt()
167 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipport4_uadt()
301 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipport6_uadt()
385 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
H A Dip_set_hash_netiface.c241 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_netiface4_uadt()
248 if (tb[IPSET_ATTR_IP_TO]) { in hash_netiface4_uadt()
249 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netiface4_uadt()
432 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_netiface6_uadt()
493 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
H A Dip_set_hash_netport.c214 if (adt == IPSET_TEST || !(with_ports || tb[IPSET_ATTR_IP_TO])) { in hash_netport4_uadt()
227 if (tb[IPSET_ATTR_IP_TO]) { in hash_netport4_uadt()
228 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netport4_uadt()
394 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_netport6_uadt()
482 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
H A Dip_set_bitmap_ipmac.c204 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 },
H A Dip_set_hash_netnet.c216 if (adt == IPSET_TEST || !(tb[IPSET_ATTR_IP_TO] || in hash_netnet4_uadt()
226 if (tb[IPSET_ATTR_IP_TO]) { in hash_netnet4_uadt()
227 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netnet4_uadt()
426 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netnet6_uadt()
497 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
H A Dip_set_hash_ipportnet.c225 !(tb[IPSET_ATTR_CIDR] || tb[IPSET_ATTR_IP_TO] || with_ports || in hash_ipportnet4_uadt()
235 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportnet4_uadt()
236 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipportnet4_uadt()
437 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportnet6_uadt()
536 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
H A Dip_set_hash_netportnet.c258 !(tb[IPSET_ATTR_IP_TO] || with_ports || tb[IPSET_ATTR_IP2_TO])) { in hash_netportnet4_uadt()
267 if (tb[IPSET_ATTR_IP_TO]) { in hash_netportnet4_uadt()
268 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netportnet4_uadt()
493 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netportnet6_uadt()
592 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
/linux/include/uapi/linux/netfilter/ipset/
H A Dip_set.h77 IPSET_ATTR_IP_TO, /* 2 */ enumerator