Lines Matching refs:nsaddrinfo
1294 struct addrinfo* nsaddrinfo[MAXNS]; member
2008 struct addrinfo* nsaddrinfo[MAXNS]; in _resolv_set_nameservers_for_net() local
2025 int rt = getaddrinfo(servers[i], sbuf, &hints, &nsaddrinfo[i]); in _resolv_set_nameservers_for_net()
2028 freeaddrinfo(nsaddrinfo[j]); in _resolv_set_nameservers_for_net()
2029 nsaddrinfo[j] = NULL; in _resolv_set_nameservers_for_net()
2057 cache_info->nsaddrinfo[i] = nsaddrinfo[i]; in _resolv_set_nameservers_for_net()
2082 freeaddrinfo(nsaddrinfo[j]); in _resolv_set_nameservers_for_net()
2153 if (cache_info->nsaddrinfo[i] != NULL) { in _free_nameservers_locked()
2154 freeaddrinfo(cache_info->nsaddrinfo[i]); in _free_nameservers_locked()
2155 cache_info->nsaddrinfo[i] = NULL; in _free_nameservers_locked()
2181 ai = info->nsaddrinfo[nserv]; in _resolv_populate_res_for_net()
2265 int addrlen = info->nsaddrinfo[i]->ai_addrlen; in android_net_res_stats_get_info_for_net()
2273 if (info->nsaddrinfo[i]->ai_addr == NULL) { in android_net_res_stats_get_info_for_net()
2279 if (info->nsaddrinfo[i]->ai_next != NULL) { in android_net_res_stats_get_info_for_net()
2288 memcpy(&servers[i], info->nsaddrinfo[i]->ai_addr, info->nsaddrinfo[i]->ai_addrlen); in android_net_res_stats_get_info_for_net()