Home
last modified time | relevance | path

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

/external/c-ares/
Dares.h275 typedef struct ares_channeldata *ares_channel; typedef
304 CARES_EXTERN int ares_init(ares_channel *channelptr);
306 CARES_EXTERN int ares_init_options(ares_channel *channelptr,
310 CARES_EXTERN int ares_save_options(ares_channel channel,
316 CARES_EXTERN int ares_dup(ares_channel *dest,
317 ares_channel src);
319 CARES_EXTERN void ares_destroy(ares_channel channel);
321 CARES_EXTERN void ares_cancel(ares_channel channel);
327 CARES_EXTERN void ares_set_local_ip4(ares_channel channel, unsigned int local_ip);
330 CARES_EXTERN void ares_set_local_ip6(ares_channel channel,
[all …]
Dares_process.c74 static void write_tcp_data(ares_channel channel, fd_set *write_fds,
76 static void read_tcp_data(ares_channel channel, fd_set *read_fds,
78 static void read_udp_packets(ares_channel channel, fd_set *read_fds,
80 static void advance_tcp_send_queue(ares_channel channel, int whichserver,
82 static void process_timeouts(ares_channel channel, struct timeval *now);
83 static void process_broken_connections(ares_channel channel,
85 static void process_answer(ares_channel channel, unsigned char *abuf,
88 static void handle_error(ares_channel channel, int whichserver,
90 static void skip_server(ares_channel channel, struct query *query,
92 static void next_server(ares_channel channel, struct query *query,
[all …]
Dares_init.c79 static int init_by_options(ares_channel channel, const struct ares_options *options,
81 static int init_by_environment(ares_channel channel);
82 static int init_by_resolv_conf(ares_channel channel);
83 static int init_by_defaults(ares_channel channel);
89 static int set_search(ares_channel channel, const char *str);
90 static int set_options(ares_channel channel, const char *str);
98 static int config_domain(ares_channel channel, char *str);
99 static int config_lookup(ares_channel channel, const char *str,
112 int ares_init(ares_channel *channelptr) in ares_init()
117 int ares_init_options(ares_channel *channelptr, struct ares_options *options, in ares_init_options()
[all …]
Dares_private.h170 ares_channel channel;
321 void ares__send_query(ares_channel channel, struct query *query,
323 void ares__close_sockets(ares_channel channel, struct server_state *server);
332 void ares__init_servers_state(ares_channel channel);
333 void ares__destroy_servers_state(ares_channel channel);
Dares_search.c33 ares_channel channel;
52 static int single_domain(ares_channel channel, const char *name, char **s);
54 void ares_search(ares_channel channel, const char *name, int dnsclass, in ares_search()
147 ares_channel channel = squery->channel; in search_callback()
233 static int single_domain(ares_channel channel, const char *name, char **s) in single_domain()
Dares_query.c72 static struct query* find_query_by_id(ares_channel channel, unsigned short id) in find_query_by_id()
97 static unsigned short generate_unique_id(ares_channel channel) in generate_unique_id()
108 void ares_query(ares_channel channel, const char *name, int dnsclass, in ares_query()
Dares_options.c31 int ares_get_servers(ares_channel channel, in ares_get_servers()
87 int ares_set_servers(ares_channel channel, in ares_set_servers()
135 int ares_set_servers_csv(ares_channel channel, in ares_set_servers_csv()
Dares_destroy.c38 void ares_destroy(ares_channel channel) in ares_destroy()
88 void ares__destroy_servers_state(ares_channel channel) in ares__destroy_servers_state()
Dacountry.c94 static void wait_ares(ares_channel channel);
110 ares_channel channel; in main()
200 static void wait_ares(ares_channel channel) in wait_ares()
Dares_gethostbyname.c60 ares_channel channel;
87 void ares_gethostbyname(ares_channel channel, const char *name, int family, in ares_gethostbyname()
182 ares_channel channel = hquery->channel; in host_callback()
312 int ares_gethostbyname_file(ares_channel channel, const char *name, in ares_gethostbyname_file()
Dares_fds.c27 int ares_fds(ares_channel channel, fd_set *read_fds, fd_set *write_fds) in ares_fds()
Dares_getsock.c24 int ares_getsock(ares_channel channel, in ares_getsock()
Dares_cancel.c26 void ares_cancel(ares_channel channel) in ares_cancel()
Dares__close_sockets.c27 void ares__close_sockets(ares_channel channel, struct server_state *server) in ares__close_sockets()
Dares_timeout.c33 struct timeval *ares_timeout(ares_channel channel, struct timeval *maxtv, in ares_timeout()
Dares_gethostbyaddr.c54 ares_channel channel;
71 void ares_gethostbyaddr(ares_channel channel, const void *addr, int addrlen, in ares_gethostbyaddr()
Dares_send.c41 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send()
Dahost.c67 ares_channel channel; in main()
Dares_getnameinfo.c94 void ares_getnameinfo(ares_channel channel, const struct sockaddr *sa, in ares_getnameinfo()
Dadig.c199 ares_channel channel; in main()
/external/curl/lib/
Dasyn-ares.c133 int status = ares_init((ares_channel*)resolver); in Curl_resolver_init()
154 ares_destroy((ares_channel)resolver); in Curl_resolver_cleanup()
167 if(ARES_SUCCESS != ares_dup((ares_channel*)to, (ares_channel)from)) in Curl_resolver_duphandle()
180 ares_cancel((ares_channel)conn->data->state.resolver); in Curl_resolver_cancel()
224 int max = ares_getsock((ares_channel)conn->data->state.resolver, in Curl_resolver_getsock()
230 timeout = ares_timeout((ares_channel)conn->data->state.resolver, &maxtime, in Curl_resolver_getsock()
260 bitmask = ares_getsock((ares_channel)data->state.resolver, socks, in waitperform()
288 ares_process_fd((ares_channel)data->state.resolver, ARES_SOCKET_BAD, in waitperform()
293 ares_process_fd((ares_channel)data->state.resolver, in waitperform()
377 tvp = ares_timeout((ares_channel)data->state.resolver, &store, &tv); in Curl_resolver_wait_resolv()
[all …]
/external/curl/m4/
Dcurl-confopts.m4505 ares_channel channel;