Lines Matching refs:servers
1866 const char** servers, int numservers);
2002 _resolv_set_nameservers_for_net(unsigned netid, const char** servers, unsigned numservers, in _resolv_set_nameservers_for_net() argument
2025 int rt = getaddrinfo(servers[i], sbuf, &hints, &nsaddrinfo[i]); in _resolv_set_nameservers_for_net()
2031 XLOG("%s: getaddrinfo(%s)=%s", __FUNCTION__, servers[i], gai_strerror(rt)); in _resolv_set_nameservers_for_net()
2052 if (!_resolv_is_nameservers_equal_locked(cache_info, servers, numservers)) { in _resolv_set_nameservers_for_net()
2058 cache_info->nameservers[i] = strdup(servers[i]); in _resolv_set_nameservers_for_net()
2059 XLOG("%s: netid = %u, addr = %s\n", __FUNCTION__, netid, servers[i]); in _resolv_set_nameservers_for_net()
2120 const char** servers, int numservers) in _resolv_is_nameservers_equal_locked() argument
2137 if (strcmp(cache_info->nameservers[i], servers[j]) == 0) { in _resolv_is_nameservers_equal_locked()
2246 struct sockaddr_storage servers[MAXNS], int* dcount, char domains[MAXDNSRCH][MAXDNSRCHPATH], in android_net_res_stats_get_info_for_net()
2267 addrlen > (int) sizeof(servers[0])) { 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()