Searched refs:nservers (Results 1 – 12 of 12) sorted by relevance
86 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 …]
69 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()
95 for (i = 0; i < channel->nservers; i++) in ares__destroy_servers_state()104 channel->nservers = -1; in ares__destroy_servers_state()
223 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()
43 for (i = 0; i < channel->nservers; i++) in ares_get_servers()115 channel->nservers = num_srvrs; in ares_set_servers()
37 for (i = 0; i < channel->nservers; i++) in ares_fds()
38 (i < channel->nservers) && (sockindex < ARES_GETSOCK_MAXNUM); in ares_getsock()
59 for (i = 0; i < channel->nservers; i++) in ares_cancel()
275 int nservers; member
260 int nservers; member
223 options.nservers = 0; in main()
1741 { unsigned long nservers, j; in vldb_reply_print() local1747 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() local1794 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 …]