Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/services/
H A Dlisten_dnsport.c1691 …fa_name(struct ifaddrs *ifas, const char *search_ifa, char ***ip_addresses, int *ip_addresses_size) in resolve_ifa_name() argument
1695 int last_ip_addresses_size = *ip_addresses_size; in resolve_ifa_name()
1759 tmpbuf = realloc(*ip_addresses, sizeof(char *) * (*ip_addresses_size + 1)); in resolve_ifa_name()
1766 (*ip_addresses)[*ip_addresses_size] = strdup(addr_buf); in resolve_ifa_name()
1767 if(!(*ip_addresses)[*ip_addresses_size]) { in resolve_ifa_name()
1771 (*ip_addresses_size)++; in resolve_ifa_name()
1774 if (*ip_addresses_size == last_ip_addresses_size) { in resolve_ifa_name()
1775 tmpbuf = realloc(*ip_addresses, sizeof(char *) * (*ip_addresses_size + 1)); in resolve_ifa_name()
1782 (*ip_addresses)[*ip_addresses_size] = strdup(search_ifa); in resolve_ifa_name()
1783 if(!(*ip_addresses)[*ip_addresses_size]) { in resolve_ifa_name()
[all …]