Home
last modified time | relevance | path

Searched refs:nservers (Results 1 – 12 of 12) sorted by relevance

/third_party/node/deps/cares/src/lib/
Dares_init.c69 static int config_nameserver(struct server_state **servers, int *nservers,
93 x->nservers > -1 && \
135 channel->nservers = -1; in ares_init_options()
232 if ((channel->flags & ARES_FLAG_PRIMARY) && channel->nservers > 1) in ares_init_options()
233 channel->nservers = 1; in ares_init_options()
285 for (i = 0; i < src->nservers; i++) in ares_dup()
352 if (channel->nservers) { in ares_save_options()
353 for (i = 0; i < channel->nservers; i++) in ares_save_options()
364 for (i = j = 0; i < channel->nservers; i++) in ares_save_options()
375 options->nservers = ipv4_nservers; in ares_save_options()
[all …]
Dares_send.c57 if (channel->nservers < 1) in ares_send()
63 query->server_info = ares_malloc(channel->nservers * in ares_send()
99 channel->last_server = (channel->last_server + 1) % channel->nservers; in ares_send()
101 for (i = 0; i < channel->nservers; i++) in ares_send()
Dares_options.c43 for (i = 0; i < channel->nservers; i++) in ares_get_servers()
98 for (i = 0; i < channel->nservers; i++) in ares_get_servers_ports()
174 channel->nservers = num_srvrs; in ares_set_servers()
226 channel->nservers = num_srvrs; in ares_set_servers_ports()
Dares_destroy.c103 for (i = 0; i < channel->nservers; i++) in ares__destroy_servers_state()
112 channel->nservers = -1; in ares__destroy_servers_state()
Dares_process.c217 for (i = 0; i < channel->nservers; i++) in write_tcp_data()
368 for (i = 0; i < channel->nservers; i++) in read_tcp_data()
475 for (i = 0; i < channel->nservers; i++) in read_udp_packets()
670 for (i = 0; i < channel->nservers; i++) in process_broken_connections()
751 if (channel->nservers > 1) in skip_server()
764 while (++(query->try_count) < (channel->nservers * channel->tries)) in next_server()
769 query->server = (query->server + 1) % channel->nservers; in next_server()
877 const int shift = query->try_count / channel->nservers; in ares__send_query()
1438 for (i = 0; i < channel->nservers; i++) in end_query()
1495 for (i = 0; i < channel->nservers; i++) in end_query()
Dares_fds.c33 for (i = 0; i < channel->nservers; i++) in ares_fds()
Dares_getsock.c33 for (i = 0; i < channel->nservers; i++) in ares_getsock()
Dares_cancel.c59 for (i = 0; i < channel->nservers; i++) in ares_cancel()
Dares_private.h301 int nservers; member
/third_party/node/deps/cares/include/
Dares.h270 int nservers; member
/third_party/node/deps/cares/src/tools/
Dadig.c185 options.nservers = 0; in main()
/third_party/node/deps/cares/
DCHANGES1538 timeplus = channel->timeout << (query->try_count / channel->nservers);
1575 sanity check was added in ares_send() to ensure nservers >= 1 or