/external/c-ares/ |
D | ares.h | 275 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 …]
|
D | ares_process.c | 74 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 …]
|
D | ares_init.c | 79 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 …]
|
D | ares_private.h | 170 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);
|
D | ares_search.c | 33 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()
|
D | ares_query.c | 72 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()
|
D | ares_options.c | 31 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()
|
D | ares_destroy.c | 38 void ares_destroy(ares_channel channel) in ares_destroy() 88 void ares__destroy_servers_state(ares_channel channel) in ares__destroy_servers_state()
|
D | acountry.c | 94 static void wait_ares(ares_channel channel); 110 ares_channel channel; in main() 200 static void wait_ares(ares_channel channel) in wait_ares()
|
D | ares_gethostbyname.c | 60 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()
|
D | ares_fds.c | 27 int ares_fds(ares_channel channel, fd_set *read_fds, fd_set *write_fds) in ares_fds()
|
D | ares_getsock.c | 24 int ares_getsock(ares_channel channel, in ares_getsock()
|
D | ares_cancel.c | 26 void ares_cancel(ares_channel channel) in ares_cancel()
|
D | ares__close_sockets.c | 27 void ares__close_sockets(ares_channel channel, struct server_state *server) in ares__close_sockets()
|
D | ares_timeout.c | 33 struct timeval *ares_timeout(ares_channel channel, struct timeval *maxtv, in ares_timeout()
|
D | ares_gethostbyaddr.c | 54 ares_channel channel; 71 void ares_gethostbyaddr(ares_channel channel, const void *addr, int addrlen, in ares_gethostbyaddr()
|
D | ares_send.c | 41 void ares_send(ares_channel channel, const unsigned char *qbuf, int qlen, in ares_send()
|
D | ahost.c | 67 ares_channel channel; in main()
|
D | ares_getnameinfo.c | 94 void ares_getnameinfo(ares_channel channel, const struct sockaddr *sa, in ares_getnameinfo()
|
D | adig.c | 199 ares_channel channel; in main()
|
/external/curl/lib/ |
D | asyn-ares.c | 133 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/ |
D | curl-confopts.m4 | 505 ares_channel channel;
|