Home
last modified time | relevance | path

Searched refs:ares_channel (Results 1 – 25 of 36) sorted by relevance

12

/third_party/node/deps/cares/include/
Dares.h289 typedef struct ares_channeldata *ares_channel; typedef
340 CARES_EXTERN int ares_init(ares_channel *channelptr);
342 CARES_EXTERN int ares_init_options(ares_channel *channelptr,
346 CARES_EXTERN int ares_save_options(ares_channel channel,
352 CARES_EXTERN int ares_dup(ares_channel *dest,
353 ares_channel src);
355 CARES_EXTERN void ares_destroy(ares_channel channel);
357 CARES_EXTERN void ares_cancel(ares_channel channel);
363 CARES_EXTERN void ares_set_local_ip4(ares_channel channel, unsigned int local_ip);
366 CARES_EXTERN void ares_set_local_ip6(ares_channel channel,
[all …]
/third_party/curl/lib/
Dasyn-ares.c160 status = ares_init_options((ares_channel*)resolver, &options, optmask); in Curl_resolver_init()
181 ares_destroy((ares_channel)resolver); in Curl_resolver_cleanup()
211 ares_cancel((ares_channel)data->state.async.resolver); in Curl_resolver_cancel()
264 int max = ares_getsock((ares_channel)data->state.async.resolver, in Curl_resolver_getsock()
270 timeout = ares_timeout((ares_channel)data->state.async.resolver, &maxtime, in Curl_resolver_getsock()
299 bitmask = ares_getsock((ares_channel)data->state.async.resolver, socks, in waitperform()
327 ares_process_fd((ares_channel)data->state.async.resolver, ARES_SOCKET_BAD, in waitperform()
332 ares_process_fd((ares_channel)data->state.async.resolver, in waitperform()
378 ares_cancel((ares_channel)data->state.async.resolver); in Curl_resolver_is_resolved()
444 tvp = ares_timeout((ares_channel)data->state.async.resolver, &store, &tv); in Curl_resolver_wait_resolv()
[all …]
/third_party/node/deps/cares/src/lib/
Dares_process.c59 static void write_tcp_data(ares_channel channel, fd_set *write_fds,
61 static void read_tcp_data(ares_channel channel, fd_set *read_fds,
63 static void read_udp_packets(ares_channel channel, fd_set *read_fds,
65 static void advance_tcp_send_queue(ares_channel channel, int whichserver,
67 static void process_timeouts(ares_channel channel, struct timeval *now);
68 static void process_broken_connections(ares_channel channel,
70 static void process_answer(ares_channel channel, unsigned char *abuf,
73 static void handle_error(ares_channel channel, int whichserver,
75 static void skip_server(ares_channel channel, struct query *query,
77 static void next_server(ares_channel channel, struct query *query,
[all …]
Dares_private.h195 ares_channel channel;
356 void ares__send_query(ares_channel channel, struct query *query,
358 void ares__close_sockets(ares_channel channel, struct server_state *server);
371 void ares__init_servers_state(ares_channel channel);
372 void ares__destroy_servers_state(ares_channel channel);
374 int ares__single_domain(ares_channel channel, const char *name, char **s);
376 int ares__sortaddrinfo(ares_channel channel, struct ares_addrinfo_node *ai_node);
420 ares_socket_t ares__open_socket(ares_channel channel,
422 void ares__close_socket(ares_channel, ares_socket_t);
423 int ares__connect_socket(ares_channel channel,
Dares_options.c31 int ares_get_servers(ares_channel channel, in ares_get_servers()
86 int ares_get_servers_ports(ares_channel channel, in ares_get_servers_ports()
143 int ares_set_servers(ares_channel channel, in ares_set_servers()
195 int ares_set_servers_ports(ares_channel channel, in ares_set_servers_ports()
249 static int set_servers_csv(ares_channel channel, in set_servers_csv()
395 int ares_set_servers_csv(ares_channel channel, in ares_set_servers_csv()
401 int ares_set_servers_ports_csv(ares_channel channel, in ares_set_servers_ports_csv()
Dares_init.c61 static int init_by_options(ares_channel channel,
64 static int init_by_environment(ares_channel channel);
65 static int init_by_resolv_conf(ares_channel channel);
66 static int init_by_defaults(ares_channel channel);
72 static int set_search(ares_channel channel, const char *str);
73 static int set_options(ares_channel channel, const char *str);
85 static int config_domain(ares_channel channel, char *str);
86 static int config_lookup(ares_channel channel, const char *str,
98 int ares_init(ares_channel *channelptr) in ares_init()
103 int ares_init_options(ares_channel *channelptr, struct ares_options *options, in ares_init_options()
[all …]
Dares_query.c62 static struct query* find_query_by_id(ares_channel channel, unsigned short id) in find_query_by_id()
87 static unsigned short generate_unique_id(ares_channel channel) in generate_unique_id()
105 void ares_query(ares_channel channel, const char *name, int dnsclass, in ares_query()
Dares_search.c28 ares_channel channel;
47 void ares_search(ares_channel channel, const char *name, int dnsclass, in ares_search()
147 ares_channel channel = squery->channel; in search_callback()
233 int ares__single_domain(ares_channel channel, const char *name, char **s) in ares__single_domain()
Dares_destroy.c43 void ares_destroy(ares_channel channel) in ares_destroy()
96 void ares__destroy_servers_state(ares_channel channel) in ares__destroy_servers_state()
Dares_gethostbyname.c53 ares_channel channel;
93 void ares_gethostbyname(ares_channel channel, const char *name, int family, in ares_gethostbyname()
226 int ares_gethostbyname_file(ares_channel channel, const char *name, in ares_gethostbyname_file()
Dares_fds.c23 int ares_fds(ares_channel channel, fd_set *read_fds, fd_set *write_fds) in ares_fds()
Dares_getsock.c20 int ares_getsock(ares_channel channel, in ares_getsock()
Dares__close_sockets.c22 void ares__close_sockets(ares_channel channel, struct server_state *server) in ares__close_sockets()
Dares_cancel.c26 void ares_cancel(ares_channel channel) in ares_cancel()
Dares_timeout.c38 struct timeval *ares_timeout(ares_channel channel, struct timeval *maxtv, in ares_timeout()
Dares_gethostbyaddr.c41 ares_channel channel;
58 void ares_gethostbyaddr(ares_channel channel, const void *addr, int addrlen, in ares_gethostbyaddr()
Dares__sortaddrinfo.c392 static int find_src_addr(ares_channel channel, in find_src_addr()
451 int ares__sortaddrinfo(ares_channel channel, struct ares_addrinfo_node *list_sentinel) in ares__sortaddrinfo()
Dares_send.c29 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send()
/third_party/node/deps/cares/src/tools/
Dacountry.c88 static void wait_ares(ares_channel channel);
105 ares_channel channel; in main()
199 static void wait_ares(ares_channel channel) in wait_ares()
/third_party/grpc/test/build/
Dc-ares.c26 ares_channel channelptr; in main()
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver.cc64 ares_channel channel;
142 static void noop_inject_channel_config(ares_channel /*channel*/) {} in noop_inject_channel_config() argument
144 void (*grpc_ares_test_only_inject_config)(ares_channel channel) =
369 ares_channel* grpc_ares_ev_driver_get_channel_locked( in grpc_ares_ev_driver_get_channel_locked()
Dgrpc_ares_ev_driver.h64 virtual void ConfigureAresChannelLocked(ares_channel channel) = 0;
Dgrpc_ares_wrapper.h99 extern void (*grpc_ares_test_only_inject_config)(ares_channel channel);
Dgrpc_ares_ev_driver_posix.cc98 void ConfigureAresChannelLocked(ares_channel /*channel*/) override {} in ConfigureAresChannelLocked() argument
/third_party/nghttp2/src/
Dshrpx_dns_resolver.h109 ares_channel channel_;

12