Home
last modified time | relevance | path

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

/external/c-ares/
Dares_init.c86 static int config_nameserver(struct server_state **servers, int *nservers,
107 x->nservers > -1 && \
162 channel->nservers = -1; in ares_init_options()
256 if ((channel->flags & ARES_FLAG_PRIMARY) && channel->nservers > 1) in ares_init_options()
257 channel->nservers = 1; in ares_init_options()
301 for (i = 0; i < src->nservers; i++) in ares_dup()
357 if (channel->nservers) { in ares_save_options()
358 for (i = 0; i < channel->nservers; i++) in ares_save_options()
367 for (i = j = 0; i < channel->nservers; i++) in ares_save_options()
376 options->nservers = ipv4_nservers; in ares_save_options()
[all …]
Dares_send.c69 query->server_info = malloc(channel->nservers * in ares_send()
105 channel->last_server = (channel->last_server + 1) % channel->nservers; in ares_send()
107 for (i = 0; i < channel->nservers; i++) in ares_send()
Dares_destroy.c95 for (i = 0; i < channel->nservers; i++) in ares__destroy_servers_state()
104 channel->nservers = -1; in ares__destroy_servers_state()
Dares_process.c223 for (i = 0; i < channel->nservers; i++) in write_tcp_data()
342 for (i = 0; i < channel->nservers; i++) in read_tcp_data()
447 for (i = 0; i < channel->nservers; i++) in read_udp_packets()
619 for (i = 0; i < channel->nservers; i++) in process_broken_connections()
675 if (channel->nservers > 1) in skip_server()
688 while (++(query->try_count) < (channel->nservers * channel->tries)) in next_server()
693 query->server = (query->server + 1) % channel->nservers; in next_server()
793 timeplus = channel->timeout << (query->try_count / channel->nservers); in ares__send_query()
1215 for (i = 0; i < channel->nservers; i++) in end_query()
1276 for (i = 0; i < channel->nservers; i++) in end_query()
Dares_options.c43 for (i = 0; i < channel->nservers; i++) in ares_get_servers()
115 channel->nservers = num_srvrs; in ares_set_servers()
Dares_fds.c37 for (i = 0; i < channel->nservers; i++) in ares_fds()
Dares_getsock.c38 (i < channel->nservers) && (sockindex < ARES_GETSOCK_MAXNUM); in ares_getsock()
Dares_cancel.c59 for (i = 0; i < channel->nservers; i++) in ares_cancel()
Dares_private.h275 int nservers; member
Dares.h260 int nservers; member
Dadig.c223 options.nservers = 0; in main()
/external/tcpdump/
Dprint-rx.c1741 { unsigned long nservers, j; in vldb_reply_print() local
1747 nservers = EXTRACT_32BITS(bp); in vldb_reply_print()
1749 ND_PRINT((ndo, " %lu", nservers)); in vldb_reply_print()
1753 if (i < nservers) in vldb_reply_print()
1762 if (i < nservers && j <= 26) in vldb_reply_print()
1764 else if (i < nservers) in vldb_reply_print()
1790 { unsigned long nservers, j; in vldb_reply_print() local
1794 nservers = EXTRACT_32BITS(bp); in vldb_reply_print()
1796 ND_PRINT((ndo, " %lu", nservers)); in vldb_reply_print()
1800 if (i < nservers) in vldb_reply_print()
[all …]