Lines Matching refs:nsaddrinfo
1142 struct addrinfo* nsaddrinfo[MAXNS]; member
1726 struct addrinfo* nsaddrinfo[MAXNS]; in resolv_set_nameservers_for_net() local
1741 int rt = getaddrinfo_numeric(servers[i], sbuf, hints, &nsaddrinfo[i]); in resolv_set_nameservers_for_net()
1744 freeaddrinfo(nsaddrinfo[j]); in resolv_set_nameservers_for_net()
1769 cache_info->nsaddrinfo[i] = nsaddrinfo[i]; in resolv_set_nameservers_for_net()
1794 freeaddrinfo(nsaddrinfo[j]); in resolv_set_nameservers_for_net()
1858 if (cache_info->nsaddrinfo[i] != NULL) { in free_nameservers_locked()
1859 freeaddrinfo(cache_info->nsaddrinfo[i]); in free_nameservers_locked()
1860 cache_info->nsaddrinfo[i] = NULL; in free_nameservers_locked()
1881 ai = info->nsaddrinfo[nserv]; in _resolv_populate_res_for_net()
1960 int addrlen = info->nsaddrinfo[i]->ai_addrlen; in android_net_res_stats_get_info_for_net()
1966 if (info->nsaddrinfo[i]->ai_addr == NULL) { in android_net_res_stats_get_info_for_net()
1971 if (info->nsaddrinfo[i]->ai_next != NULL) { in android_net_res_stats_get_info_for_net()
1979 memcpy(&servers[i], info->nsaddrinfo[i]->ai_addr, info->nsaddrinfo[i]->ai_addrlen); in android_net_res_stats_get_info_for_net()