Home | History | Annotate | Download | only in resolv

Lines Matching refs:servers

124  * most high-level websites use lots of media/ad servers with different names
1807 /* return 1 if the provided list of name servers differs from the list of name servers
1810 const char** servers, int numservers);
1952 _resolv_set_nameservers_for_net(unsigned netid, const char** servers, unsigned numservers,
1975 int rt = getaddrinfo(servers[i], sbuf, &hints, &nsaddrinfo[i]);
1981 XLOG("%s: getaddrinfo(%s)=%s", __FUNCTION__, servers[i], gai_strerror(rt));
2002 if (!_resolv_is_nameservers_equal_locked(cache_info, servers, numservers)) {
2008 cache_info->nameservers[i] = strdup(servers[i]);
2009 XLOG("%s: netid = %u, addr = %s\n", __FUNCTION__, netid, servers[i]);
2017 // servers change; in theory it would suffice to do so only if the servers or
2026 // which servers are considered usable.
2065 const char** servers, int numservers)
2071 // Compare each name server against current name servers.
2082 if (strcmp(cache_info->nameservers[i], servers[j]) == 0) {
2191 struct sockaddr_storage servers[MAXNS], int* dcount, char domains[MAXDNSRCH][MAXDNSRCHPATH],
2212 addrlen > (int) sizeof(servers[0])) {
2233 memcpy(&servers[i], info->nsaddrinfo[i]->ai_addr, info->nsaddrinfo[i]->ai_addrlen);