Home
last modified time | relevance | path

Searched refs:dns_servers (Results 1 – 2 of 2) sorted by relevance

/third_party/lwip/src/core/
Ddns.c306 static ip_addr_t dns_servers[DNS_MAX_SERVERS]; variable
374 dns_servers[numdns] = (*dnsserver); in dns_setserver()
376 dns_servers[numdns] = *IP_ADDR_ANY; in dns_setserver()
393 return &dns_servers[numdns]; in dns_getserver()
797 if (ip_addr_isany_val(dns_servers[entry->server_idx]) in dns_send()
835 dst = &dns_servers[entry->server_idx]; in dns_send()
921 dst = &dns_servers[entry->server_idx]; in dns_send()
1122 …if ((pentry->server_idx + 1 < DNS_MAX_SERVERS) && !ip_addr_isany_val(dns_servers[pentry->server_id… in dns_backupserver_available()
1327 if (!ip_addr_cmp(addr, &dns_servers[entry->server_idx])) { in dns_recv()
1332 if (!ip_addr_cmp(addr, &dns_servers[entry->server_idx])) { in dns_recv()
[all …]
/third_party/node/deps/cares/src/lib/
Dares_init.c1576 char **dns_servers; in init_by_resolv_conf() local
1586 dns_servers = ares_get_android_server_list(MAX_DNS_PROPERTIES, &num_servers); in init_by_resolv_conf()
1587 if (dns_servers != NULL) in init_by_resolv_conf()
1591 status = config_nameserver(&servers, &nservers, dns_servers[i]); in init_by_resolv_conf()
1598 ares_free(dns_servers[i]); in init_by_resolv_conf()
1600 ares_free(dns_servers); in init_by_resolv_conf()