Home
last modified time | relevance | path

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

/bionic/libc/dns/include/
Dresolv_stats.h73 struct sockaddr_storage servers[MAXNS], int* dcount, char domains[MAXDNSRCH][MAXDNSRCHPATH],
Dresolv_netid.h98 extern int _resolv_set_nameservers_for_net(unsigned netid, const char** servers,
/bionic/libc/dns/resolv/
Dres_cache.c1862 const char** servers, int numservers);
1998 _resolv_set_nameservers_for_net(unsigned netid, const char** servers, unsigned numservers, in _resolv_set_nameservers_for_net() argument
2021 int rt = getaddrinfo(servers[i], sbuf, &hints, &nsaddrinfo[i]); in _resolv_set_nameservers_for_net()
2027 XLOG("%s: getaddrinfo(%s)=%s", __FUNCTION__, servers[i], gai_strerror(rt)); in _resolv_set_nameservers_for_net()
2048 if (!_resolv_is_nameservers_equal_locked(cache_info, servers, numservers)) { in _resolv_set_nameservers_for_net()
2054 cache_info->nameservers[i] = strdup(servers[i]); in _resolv_set_nameservers_for_net()
2055 XLOG("%s: netid = %u, addr = %s\n", __FUNCTION__, netid, servers[i]); in _resolv_set_nameservers_for_net()
2116 const char** servers, int numservers) in _resolv_is_nameservers_equal_locked() argument
2133 if (strcmp(cache_info->nameservers[i], servers[j]) == 0) { in _resolv_is_nameservers_equal_locked()
2242 struct sockaddr_storage servers[MAXNS], int* dcount, char domains[MAXDNSRCH][MAXDNSRCHPATH], in android_net_res_stats_get_info_for_net()
[all …]