Home
last modified time | relevance | path

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

/linux-4.4.14/net/netfilter/ipset/
Dip_set_bitmap_ip.c106 nla_put_ipaddr4(skb, IPSET_ATTR_IP_TO, htonl(map->last_ip)) || in bitmap_ip_do_head()
164 if (tb[IPSET_ATTR_IP_TO]) { in bitmap_ip_uadt()
165 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in bitmap_ip_uadt()
260 if (tb[IPSET_ATTR_IP_TO]) { in bitmap_ip_create()
261 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &last_ip); in bitmap_ip_create()
343 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
351 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ipmark.c130 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR])) { in hash_ipmark4_uadt()
136 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipmark4_uadt()
137 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipmark4_uadt()
242 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipmark6_uadt()
294 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ipport.c151 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt()
158 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipport4_uadt()
159 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipport4_uadt()
284 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipport6_uadt()
360 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_net.c177 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_net4_uadt()
185 if (tb[IPSET_ATTR_IP_TO]) { in hash_net4_uadt()
186 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_net4_uadt()
322 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_net6_uadt()
373 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ip.c135 if (tb[IPSET_ATTR_IP_TO]) { in hash_ip4_uadt()
136 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()
294 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ipportip.c158 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipportip4_uadt()
165 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportip4_uadt()
166 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipportip4_uadt()
295 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportip6_uadt()
374 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_netnet.c215 if (adt == IPSET_TEST || !(tb[IPSET_ATTR_IP_TO] || in hash_netnet4_uadt()
225 if (tb[IPSET_ATTR_IP_TO]) { in hash_netnet4_uadt()
226 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netnet4_uadt()
414 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netnet6_uadt()
476 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_netport.c217 if (adt == IPSET_TEST || !(with_ports || tb[IPSET_ATTR_IP_TO])) { in hash_netport4_uadt()
230 if (tb[IPSET_ATTR_IP_TO]) { in hash_netport4_uadt()
231 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netport4_uadt()
392 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_netport6_uadt()
478 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_netiface.c239 if (adt == IPSET_TEST || !tb[IPSET_ATTR_IP_TO]) { in hash_netiface4_uadt()
246 if (tb[IPSET_ATTR_IP_TO]) { in hash_netiface4_uadt()
247 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netiface4_uadt()
424 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_netiface6_uadt()
481 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_bitmap_ipmac.c207 nla_put_ipaddr4(skb, IPSET_ATTR_IP_TO, htonl(map->last_ip)); in bitmap_ipmac_do_head()
332 if (tb[IPSET_ATTR_IP_TO]) { in bitmap_ipmac_create()
333 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &last_ip); in bitmap_ipmac_create()
388 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ipportnet.c228 !(tb[IPSET_ATTR_CIDR] || tb[IPSET_ATTR_IP_TO] || with_ports || in hash_ipportnet4_uadt()
238 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportnet4_uadt()
239 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ipportnet4_uadt()
434 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportnet6_uadt()
531 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_netportnet.c250 !(tb[IPSET_ATTR_IP_TO] || with_ports || tb[IPSET_ATTR_IP2_TO])) { in hash_netportnet4_uadt()
259 if (tb[IPSET_ATTR_IP_TO]) { in hash_netportnet4_uadt()
260 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netportnet4_uadt()
478 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netportnet6_uadt()
575 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
/linux-4.4.14/include/uapi/linux/netfilter/ipset/
Dip_set.h76 IPSET_ATTR_IP_TO, /* 2 */ enumerator