/linux-6.1.9/net/netfilter/ipset/ |
D | ip_set_hash_ipmark.c | 59 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) || in hash_ipmark4_data_list() 110 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipmark4_uadt() 114 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip); in hash_ipmark4_uadt() 191 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in hash_ipmark6_data_list() 244 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipmark6_uadt() 256 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip); in hash_ipmark6_uadt() 300 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_hash_ip.c | 59 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, e->ip)) in hash_ip4_data_list() 111 if (unlikely(!tb[IPSET_ATTR_IP])) in hash_ip4_uadt() 114 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip); in hash_ip4_uadt() 197 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &e->ip.in6)) in hash_ip6_data_list() 250 if (unlikely(!tb[IPSET_ATTR_IP])) in hash_ip6_uadt() 261 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip); in hash_ip6_uadt() 299 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_hash_ipmac.c | 61 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, e->ip) || in hash_ipmac4_data_list() 118 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipmac4_uadt() 132 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip) || in hash_ipmac4_uadt() 169 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &e->ip.in6) || in hash_ipmac6_data_list() 237 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipmac6_uadt() 251 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip) || in hash_ipmac6_uadt() 283 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_bitmap_ip.c | 96 return nla_put_ipaddr4(skb, IPSET_ATTR_IP, in bitmap_ip_do_list() 103 return nla_put_ipaddr4(skb, IPSET_ATTR_IP, htonl(map->first_ip)) || in bitmap_ip_do_head() 143 if (unlikely(!tb[IPSET_ATTR_IP])) in bitmap_ip_uadt() 146 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip); in bitmap_ip_uadt() 262 if (unlikely(!tb[IPSET_ATTR_IP] || in bitmap_ip_create() 267 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &first_ip); in bitmap_ip_create() 349 [IPSET_ATTR_IP] = { .type = NLA_NESTED }, 357 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_bitmap_ipmac.c | 194 return nla_put_ipaddr4(skb, IPSET_ATTR_IP, in bitmap_ipmac_do_list() 203 return nla_put_ipaddr4(skb, IPSET_ATTR_IP, htonl(map->first_ip)) || in bitmap_ipmac_do_head() 254 if (unlikely(!tb[IPSET_ATTR_IP])) in bitmap_ipmac_uadt() 257 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip); in bitmap_ipmac_uadt() 326 if (unlikely(!tb[IPSET_ATTR_IP] || in bitmap_ipmac_create() 331 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &first_ip); in bitmap_ipmac_create() 386 [IPSET_ATTR_IP] = { .type = NLA_NESTED }, 393 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_hash_net.c | 90 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) || in hash_net4_data_list() 149 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_net4_uadt() 153 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip); in hash_net4_uadt() 261 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in hash_net6_data_list() 321 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_net6_uadt() 327 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip); in hash_net6_uadt() 376 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_hash_ipport.c | 65 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) || in hash_ipport4_data_list() 119 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipport4_uadt() 124 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip); in hash_ipport4_uadt() 224 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in hash_ipport6_data_list() 281 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipport6_uadt() 294 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip); in hash_ipport6_uadt() 362 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_hash_ipportip.c | 65 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) || in hash_ipportip4_data_list() 122 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportip4_uadt() 127 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip); in hash_ipportip4_uadt() 233 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in hash_ipportip6_data_list() 292 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportip6_uadt() 305 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip); in hash_ipportip6_uadt() 376 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_hash_netiface.c | 116 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) || in hash_netiface4_data_list() 211 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_netiface4_uadt() 216 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip); in hash_netiface4_uadt() 350 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in hash_netiface6_data_list() 428 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_netiface6_uadt() 435 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip); in hash_netiface6_uadt() 492 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_hash_netnet.c | 108 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip[0]) || in hash_netnet4_data_list() 178 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netnet4_uadt() 182 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip); in hash_netnet4_uadt() 344 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip[0].in6) || in hash_netnet6_data_list() 414 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netnet6_uadt() 420 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip[0]); in hash_netnet6_uadt() 480 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_hash_netport.c | 103 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) || in hash_netport4_data_list() 169 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_netport4_uadt() 175 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip); in hash_netport4_uadt() 320 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in hash_netport6_data_list() 389 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_netport6_uadt() 397 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip); in hash_netport6_uadt() 481 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_hash_ipportnet.c | 106 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip) || in hash_ipportnet4_data_list() 176 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportnet4_uadt() 182 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip); in hash_ipportnet4_uadt() 361 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip.in6) || in hash_ipportnet6_data_list() 432 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportnet6_uadt() 446 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip); in hash_ipportnet6_uadt() 535 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
D | ip_set_hash_netportnet.c | 115 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip[0]) || in hash_netportnet4_data_list() 203 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netportnet4_uadt() 209 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip); in hash_netportnet4_uadt() 407 if (nla_put_ipaddr6(skb, IPSET_ATTR_IP, &data->ip[0].in6) || in hash_netportnet6_data_list() 487 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netportnet6_uadt() 495 ret = ip_set_get_ipaddr6(tb[IPSET_ATTR_IP], &e.ip[0]); in hash_netportnet6_uadt() 590 [IPSET_ATTR_IP] = { .type = NLA_NESTED },
|
/linux-6.1.9/include/uapi/linux/netfilter/ipset/ |
D | ip_set.h | 75 IPSET_ATTR_IP = IPSET_ATTR_UNSPEC + 1, enumerator 76 IPSET_ATTR_IP_FROM = IPSET_ATTR_IP,
|