Home
last modified time | relevance | path

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

/Linux-v6.1/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()
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()
271 if (tb[IPSET_ATTR_IP_TO]) { in bitmap_ip_create()
272 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &last_ip); in bitmap_ip_create()
350 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
358 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
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()
246 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipmark6_uadt()
300 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
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()
327 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_net6_uadt()
380 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ip.c131 if (tb[IPSET_ATTR_IP_TO]) { in hash_ip4_uadt()
132 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_ip4_uadt()
252 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ip6_uadt()
300 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_ipport.c148 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt()
155 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipport4_uadt()
156 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()
362 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
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()
295 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportip6_uadt()
376 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
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()
435 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_netiface6_uadt()
496 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
Dip_set_hash_netport.c215 if (adt == IPSET_TEST || !(with_ports || tb[IPSET_ATTR_IP_TO])) { in hash_netport4_uadt()
228 if (tb[IPSET_ATTR_IP_TO]) { in hash_netport4_uadt()
229 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP_TO], &ip_to); in hash_netport4_uadt()
399 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_netport6_uadt()
487 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
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 },
Dip_set_hash_netnet.c214 if (adt == IPSET_TEST || !(tb[IPSET_ATTR_IP_TO] || in hash_netnet4_uadt()
224 if (tb[IPSET_ATTR_IP_TO]) { in hash_netnet4_uadt()
225 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()
490 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
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()
434 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportnet6_uadt()
533 [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()
490 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netportnet6_uadt()
589 [IPSET_ATTR_IP_TO] = { .type = NLA_NESTED },
/Linux-v6.1/include/uapi/linux/netfilter/ipset/
Dip_set.h77 IPSET_ATTR_IP_TO, /* 2 */ enumerator