Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_init.c76 static int config_nameserver(struct server_state **servers, int *nservers,
100 x->nservers > -1 && \
156 channel->nservers = -1; in ares_init_options()
253 if ((channel->flags & ARES_FLAG_PRIMARY) && channel->nservers > 1) in ares_init_options()
254 channel->nservers = 1; in ares_init_options()
306 for (i = 0; i < src->nservers; i++) in ares_dup()
373 if (channel->nservers) { in ares_save_options()
374 for (i = 0; i < channel->nservers; i++) in ares_save_options()
385 for (i = j = 0; i < channel->nservers; i++) in ares_save_options()
396 options->nservers = ipv4_nservers; in ares_save_options()
[all …]
Dares_send.c63 if (channel->nservers < 1) in ares_send()
69 query->server_info = ares_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_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.c222 for (i = 0; i < channel->nservers; i++) in write_tcp_data()
373 for (i = 0; i < channel->nservers; i++) in read_tcp_data()
480 for (i = 0; i < channel->nservers; i++) in read_udp_packets()
676 for (i = 0; i < channel->nservers; i++) in process_broken_connections()
757 if (channel->nservers > 1) in skip_server()
770 while (++(query->try_count) < (channel->nservers * channel->tries)) in next_server()
775 query->server = (query->server + 1) % channel->nservers; in next_server()
883 const int shift = query->try_count / channel->nservers; in ares__send_query()
1389 for (i = 0; i < channel->nservers; i++) in end_query()
1446 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.h290 int nservers; member
Dares.h265 int nservers; member
Dadig.c207 options.nservers = 0; in main()
/external/tcpdump/
Dprint-rx.c1722 { uint32_t nservers, j; in vldb_reply_print() local
1727 nservers = GET_BE_U_4(bp); in vldb_reply_print()
1729 ND_PRINT(" %u", nservers); in vldb_reply_print()
1733 if (i < nservers) in vldb_reply_print()
1741 if (i < nservers && j <= 26) in vldb_reply_print()
1743 else if (i < nservers) in vldb_reply_print()
1770 { uint32_t nservers, j; in vldb_reply_print() local
1773 nservers = GET_BE_U_4(bp); in vldb_reply_print()
1775 ND_PRINT(" %u", nservers); in vldb_reply_print()
1779 if (i < nservers) in vldb_reply_print()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-init.cc76 opts.nservers = 2; in TEST_F()
77 opts.servers = (struct in_addr *)malloc(opts.nservers * sizeof(struct in_addr)); in TEST_F()
111 EXPECT_EQ(1, opts2.nservers); // Truncated by ARES_FLAG_PRIMARY in TEST_F()
162 opts.nservers = 2; in TEST_F()
163 opts.servers = (struct in_addr *)malloc(opts.nservers * sizeof(struct in_addr)); in TEST_F()
Dares-test-internal.cc408 int saved = channel_->nservers; in TEST_F()
409 channel_->nservers = -1; in TEST_F()
413 channel_->nservers = saved; in TEST_F()
/external/bcc/libbpf-tools/x86/
Dvmlinux_505.h49981 unsigned int nservers; member
Dvmlinux.h49981 unsigned int nservers; member