Lines Matching refs:resolver

174 CURLcode Curl_resolver_init(struct Curl_easy *easy, void **resolver)  in Curl_resolver_init()  argument
197 status = ares_init_options((ares_channel*)resolver, &options, optmask); in Curl_resolver_init()
216 void Curl_resolver_cleanup(void *resolver) in Curl_resolver_cleanup() argument
218 ares_destroy((ares_channel)resolver); in Curl_resolver_cleanup()
247 if(data->state.async.resolver) in Curl_resolver_cancel()
248 ares_cancel((ares_channel)data->state.async.resolver); in Curl_resolver_cancel()
295 int max = ares_getsock((ares_channel)data->state.async.resolver, in Curl_resolver_getsock()
298 ares_timeout((ares_channel)data->state.async.resolver, &maxtime, &timebuf); in Curl_resolver_getsock()
323 bitmask = ares_getsock((ares_channel)data->state.async.resolver, socks, in waitperform()
354 ares_process_fd((ares_channel)data->state.async.resolver, ARES_SOCKET_BAD, in waitperform()
359 ares_process_fd((ares_channel)data->state.async.resolver, in waitperform()
407 ares_cancel((ares_channel)data->state.async.resolver); in Curl_resolver_is_resolved()
474 tvp = ares_timeout((ares_channel)data->state.async.resolver, &store, &tv); in Curl_resolver_wait_resolv()
509 ares_cancel((ares_channel)data->state.async.resolver); in Curl_resolver_wait_resolv()
803 ares_getaddrinfo((ares_channel)data->state.async.resolver, hostname, in Curl_resolver_getaddrinfo()
814 ares_gethostbyname((ares_channel)data->state.async.resolver, hostname, in Curl_resolver_getaddrinfo()
816 ares_gethostbyname((ares_channel)data->state.async.resolver, hostname, in Curl_resolver_getaddrinfo()
825 ares_gethostbyname((ares_channel)data->state.async.resolver, in Curl_resolver_getaddrinfo()
852 ares_result = ares_set_servers_ports_csv(data->state.async.resolver, in Curl_set_dns_servers()
855 ares_result = ares_set_servers_csv(data->state.async.resolver, servers); in Curl_set_dns_servers()
886 ares_set_local_dev((ares_channel)data->state.async.resolver, interf); in Curl_set_dns_interface()
912 ares_set_local_ip4((ares_channel)data->state.async.resolver, in Curl_set_dns_local_ip4()
940 ares_set_local_ip6((ares_channel)data->state.async.resolver, a6); in Curl_set_dns_local_ip6()