Lines Matching refs:evdns_base

160 	struct evdns_base *base;
195 struct evdns_base *base;
235 struct evdns_base *base;
305 struct evdns_base { struct
380 static struct evdns_base *current_base = NULL; argument
382 struct evdns_base *
396 static struct nameserver *nameserver_pick(struct evdns_base *base);
400 static int evdns_transmit(struct evdns_base *base);
405 static struct request *search_request_new(struct evdns_base *base, struct evdns_request *handle, in…
406 static void evdns_requests_pump_waiting_queue(struct evdns_base *base);
407 static u16 transaction_id_pick(struct evdns_base *base);
408 static struct request *request_new(struct evdns_base *base, struct evdns_request *handle, int type,…
415 static int evdns_base_resolv_conf_parse_impl(struct evdns_base *base, int flags, const char *const …
416 static int evdns_base_set_option_impl(struct evdns_base *base,
418 static void evdns_base_free_and_unlock(struct evdns_base *base, int fail_requests);
473 request_find_from_trans_id(struct evdns_base *base, u16 trans_id) { in request_find_from_trans_id()
564 struct evdns_base *base = ns->base; in nameserver_failed()
654 struct evdns_base *base = req->base; in request_finished()
747 evdns_requests_pump_waiting_queue(struct evdns_base *base) { in evdns_requests_pump_waiting_queue()
1034 reply_parse(struct evdns_base *base, u8 *packet, int length) { in reply_parse()
1333 transaction_id_pick(struct evdns_base *base) { in transaction_id_pick()
1350 nameserver_pick(struct evdns_base *base) { in nameserver_pick()
2179 struct evdns_base *base = req->base; in evdns_request_timeout_callback()
2362 evdns_transmit(struct evdns_base *base) { in evdns_transmit()
2387 evdns_base_count_nameservers(struct evdns_base *base) in evdns_base_count_nameservers()
2413 evdns_base_clear_nameservers_and_suspend(struct evdns_base *base) in evdns_base_clear_nameservers_and_suspend()
2486 evdns_base_resume(struct evdns_base *base) in evdns_base_resume()
2502 evdns_nameserver_add_impl_(struct evdns_base *base, const struct sockaddr *address, int addrlen) { in evdns_nameserver_add_impl_()
2602 evdns_base_nameserver_add(struct evdns_base *base, unsigned long int address) in evdns_base_nameserver_add()
2647 evdns_base_nameserver_ip_add(struct evdns_base *base, const char *ip_as_string) { in evdns_base_nameserver_ip_add()
2676 evdns_base_nameserver_sockaddr_add(struct evdns_base *base, in evdns_base_nameserver_sockaddr_add()
2688 evdns_base_get_nameserver_addr(struct evdns_base *base, int idx, in evdns_base_get_nameserver_addr()
2781 request_new(struct evdns_base *base, struct evdns_request *handle, int type, in request_new()
2859 struct evdns_base *base = req->base; in request_submit()
2879 evdns_cancel_request(struct evdns_base *base, struct evdns_request *handle) in evdns_cancel_request()
2915 evdns_base_resolve_ipv4(struct evdns_base *base, const char *name, int flags, in evdns_base_resolve_ipv4()
2952 evdns_base_resolve_ipv6(struct evdns_base *base, in evdns_base_resolve_ipv6()
2987 evdns_base_resolve_reverse(struct evdns_base *base, const struct in_addr *in, int flags, evdns_call… in evdns_base_resolve_reverse()
3021 evdns_base_resolve_reverse_ipv6(struct evdns_base *base, const struct in6_addr *in, int flags, evdn… in evdns_base_resolve_reverse_ipv6()
3112 search_postfix_clear(struct evdns_base *base) { in search_postfix_clear()
3120 evdns_base_search_clear(struct evdns_base *base) in evdns_base_search_clear()
3133 search_postfix_add(struct evdns_base *base, const char *domain) { in search_postfix_add()
3156 search_reverse(struct evdns_base *base) { in search_reverse()
3172 evdns_base_search_add(struct evdns_base *base, const char *domain) { in evdns_base_search_add()
3184 evdns_base_search_ndots_set(struct evdns_base *base, const int ndots) { in evdns_base_search_ndots_set()
3197 search_set_from_hostname(struct evdns_base *base) { in search_set_from_hostname()
3240 search_request_new(struct evdns_base *base, struct evdns_request *handle, in search_request_new()
3292 struct evdns_base *base = req->base; in search_try_next()
3349 evdns_resolv_set_defaults(struct evdns_base *base, int flags) { in evdns_resolv_set_defaults()
3426 evdns_base_set_max_requests_inflight(struct evdns_base *base, int maxinflight) in evdns_base_set_max_requests_inflight()
3458 evdns_base_set_option(struct evdns_base *base, in evdns_base_set_option()
3485 evdns_base_set_option_impl(struct evdns_base *base, in evdns_base_set_option_impl()
3581 resolv_conf_parse_line(struct evdns_base *base, char *const start, int flags) { in resolv_conf_parse_line()
3629 evdns_base_resolv_conf_parse(struct evdns_base *base, int flags, const char *const filename) { in evdns_base_resolv_conf_parse()
3663 evdns_base_resolv_conf_parse_impl(struct evdns_base *base, int flags, const char *const filename) { in evdns_base_resolv_conf_parse_impl()
3735 evdns_nameserver_ip_add_line(struct evdns_base *base, const char *ips) { in evdns_nameserver_ip_add_line()
3763 load_nameservers_with_getnetworkparams(struct evdns_base *base) in load_nameservers_with_getnetworkparams()
3842 config_nameserver_from_reg_key(struct evdns_base *base, HKEY key, const TCHAR *subkey) in config_nameserver_from_reg_key()
3869 load_nameservers_from_registry(struct evdns_base *base) in load_nameservers_from_registry()
3925 evdns_base_config_windows_nameservers(struct evdns_base *base) in evdns_base_config_windows_nameservers()
3962 struct evdns_base *
3965 struct evdns_base *base; in evdns_base_new()
3979 base = mm_malloc(sizeof(struct evdns_base)); in evdns_base_new()
3982 memset(base, 0, sizeof(struct evdns_base)); in evdns_base_new()
4054 struct evdns_base *base = evdns_base_new(NULL, 1); in evdns_init()
4102 evdns_base_free_and_unlock(struct evdns_base *base, int fail_requests) in evdns_base_free_and_unlock()
4163 evdns_base_free(struct evdns_base *base, int fail_requests) in evdns_base_free()
4170 evdns_base_clear_host_addresses(struct evdns_base *base) in evdns_base_clear_host_addresses()
4185 struct evdns_base *b = current_base; in evdns_shutdown()
4193 evdns_base_parse_hosts_line(struct evdns_base *base, char *line) in evdns_base_parse_hosts_line()
4247 evdns_base_load_hosts_impl(struct evdns_base *base, const char *hosts_fname) in evdns_base_load_hosts_impl()
4286 evdns_base_load_hosts(struct evdns_base *base, const char *hosts_fname) in evdns_base_load_hosts()
4305 struct evdns_base *evdns_base; member
4403 EVDNS_LOCK(data->evdns_base); in evdns_getaddrinfo_timeout_cb()
4404 ++data->evdns_base->getaddrinfo_ipv4_timeouts; in evdns_getaddrinfo_timeout_cb()
4405 EVDNS_UNLOCK(data->evdns_base); in evdns_getaddrinfo_timeout_cb()
4412 EVDNS_LOCK(data->evdns_base); in evdns_getaddrinfo_timeout_cb()
4413 ++data->evdns_base->getaddrinfo_ipv6_timeouts; in evdns_getaddrinfo_timeout_cb()
4414 EVDNS_UNLOCK(data->evdns_base); in evdns_getaddrinfo_timeout_cb()
4444 evdns_getaddrinfo_set_timeout(struct evdns_base *evdns_base, in evdns_getaddrinfo_set_timeout() argument
4447 return event_add(&data->timeout, &evdns_base->global_getaddrinfo_allow_skew); in evdns_getaddrinfo_set_timeout()
4487 EVDNS_LOCK(data->evdns_base); in evdns_getaddrinfo_gotresolve()
4490 ++data->evdns_base->getaddrinfo_ipv4_answered; in evdns_getaddrinfo_gotresolve()
4492 ++data->evdns_base->getaddrinfo_ipv6_answered; in evdns_getaddrinfo_gotresolve()
4497 EVDNS_UNLOCK(data->evdns_base); in evdns_getaddrinfo_gotresolve()
4499 data->evdns_base = NULL; in evdns_getaddrinfo_gotresolve()
4536 evdns_getaddrinfo_set_timeout(data->evdns_base, data); in evdns_getaddrinfo_gotresolve()
4617 evdns_getaddrinfo_set_timeout(data->evdns_base, data); in evdns_getaddrinfo_gotresolve()
4643 find_hosts_entry(struct evdns_base *base, const char *hostname, in find_hosts_entry()
4661 evdns_getaddrinfo_fromhosts(struct evdns_base *base, in evdns_getaddrinfo_fromhosts()
4701 evdns_getaddrinfo(struct evdns_base *dns_base, in evdns_getaddrinfo()
4774 data->evdns_base = dns_base; in evdns_getaddrinfo()
4835 EVDNS_LOCK(data->evdns_base); in evdns_getaddrinfo_cancel()
4837 EVDNS_UNLOCK(data->evdns_base); in evdns_getaddrinfo_cancel()
4843 evdns_cancel_request(data->evdns_base, data->ipv4_request.r); in evdns_getaddrinfo_cancel()
4845 evdns_cancel_request(data->evdns_base, data->ipv6_request.r); in evdns_getaddrinfo_cancel()
4846 EVDNS_UNLOCK(data->evdns_base); in evdns_getaddrinfo_cancel()