Home
last modified time | relevance | path

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

/bionic/libc/dns/include/
Dresolv_netid.h98 extern int _resolv_set_nameservers_for_net(unsigned netid, const char** servers,
Dresolv_stats.h73 struct sockaddr_storage servers[MAXNS], int* dcount, char domains[MAXDNSRCH][MAXDNSRCHPATH],
/bionic/libc/dns/resolv/
Dres_cache.c1866 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()
[all …]