Home
last modified time | relevance | path

Searched refs:IPSET_ATTR_IP2 (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/net/netfilter/ipset/
Dip_set_hash_ipportip.c65 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip2) || in hash_ipportip4_data_list()
121 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportip4_uadt()
134 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP2], &e.ip2); in hash_ipportip4_uadt()
229 nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip2.in6) || in hash_ipportip6_data_list()
287 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportip6_uadt()
308 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP2], &e.ip2); in hash_ipportip6_uadt()
371 [IPSET_ATTR_IP2] = { .type = NLA_NESTED },
Dip_set_hash_netnet.c108 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) || in hash_netnet4_data_list()
177 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netnet4_uadt()
185 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP2], &ip2_from); in hash_netnet4_uadt()
339 nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip[1].in6) || in hash_netnet6_data_list()
408 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netnet6_uadt()
418 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP2], &e.ip[1]); in hash_netnet6_uadt()
474 [IPSET_ATTR_IP2] = { .type = NLA_NESTED },
Dip_set_hash_ipportnet.c106 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip2) || in hash_ipportnet4_data_list()
175 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportnet4_uadt()
189 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP2], &ip2_from); in hash_ipportnet4_uadt()
355 nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip2.in6) || in hash_ipportnet6_data_list()
425 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportnet6_uadt()
447 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP2], &e.ip2); in hash_ipportnet6_uadt()
528 [IPSET_ATTR_IP2] = { .type = NLA_NESTED },
Dip_set_hash_netportnet.c115 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) || in hash_netportnet4_data_list()
192 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netportnet4_uadt()
202 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP2], &ip2_from); in hash_netportnet4_uadt()
391 nla_put_ipaddr6(skb, IPSET_ATTR_IP2, &data->ip[1].in6) || in hash_netportnet6_data_list()
470 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netportnet6_uadt()
482 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP2], &e.ip[1]); in hash_netportnet6_uadt()
573 [IPSET_ATTR_IP2] = { .type = NLA_NESTED },
/Linux-v5.4/include/uapi/linux/netfilter/ipset/
Dip_set.h116 IPSET_ATTR_IP2, enumerator