Home
last modified time | relevance | path

Searched refs:evdns_base (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Ddns.h231 struct evdns_base;
258 struct evdns_base * evdns_base_new(struct event_base *event_base, int initialize_nameservers);
274 void evdns_base_free(struct evdns_base *base, int fail_requests);
283 void evdns_base_clear_host_addresses(struct evdns_base *base);
307 int evdns_base_nameserver_add(struct evdns_base *base,
323 int evdns_base_count_nameservers(struct evdns_base *base);
335 int evdns_base_clear_nameservers_and_suspend(struct evdns_base *base);
349 int evdns_base_resume(struct evdns_base *base);
369 int evdns_base_nameserver_ip_add(struct evdns_base *base,
377 evdns_base_nameserver_sockaddr_add(struct evdns_base *base,
[all …]
H A Ddns_compat.h73 struct evdns_base;
82 struct evdns_base *evdns_get_global_base(void);
H A Dhttp.h75 struct evdns_base;
525 …struct event_base *base, struct evdns_base *dnsbase, struct bufferevent* bev, const char *address,…
646 struct event_base *base, struct evdns_base *dnsbase,
H A Dbufferevent.h214 struct evdns_base;
243 struct evdns_base *, int, const char *, int);
/freebsd/contrib/libevent/include/event2/
H A Ddns.h231 struct evdns_base;
258 struct evdns_base * evdns_base_new(struct event_base *event_base, int initialize_nameservers);
274 void evdns_base_free(struct evdns_base *base, int fail_requests);
283 void evdns_base_clear_host_addresses(struct evdns_base *base);
307 int evdns_base_nameserver_add(struct evdns_base *base,
323 int evdns_base_count_nameservers(struct evdns_base *base);
335 int evdns_base_clear_nameservers_and_suspend(struct evdns_base *base);
349 int evdns_base_resume(struct evdns_base *base);
369 int evdns_base_nameserver_ip_add(struct evdns_base *base,
377 evdns_base_nameserver_sockaddr_add(struct evdns_base *base,
[all …]
H A Ddns_compat.h73 struct evdns_base;
82 struct evdns_base *evdns_get_global_base(void);
H A Dhttp.h75 struct evdns_base;
525 …struct event_base *base, struct evdns_base *dnsbase, struct bufferevent* bev, const char *address,…
646 struct event_base *base, struct evdns_base *dnsbase,
H A Dbufferevent.h214 struct evdns_base;
243 struct evdns_base *, int, const char *, int);
/freebsd/contrib/ntp/sntp/libevent/sample/
H A Ddns-example.c164 struct evdns_base *evdns_base = NULL; in main() local
194 evdns_base = evdns_base_new(event_base, EVDNS_BASE_DISABLE_WHEN_INACTIVE); in main()
219 res = evdns_base_config_windows_nameservers(evdns_base); in main()
223 res = evdns_base_nameserver_ip_add(evdns_base, o.ns); in main()
225 res = evdns_base_resolv_conf_parse(evdns_base, in main()
243 evdns_base_resolve_reverse(evdns_base, &addr, 0, main_callback, v[optind]); in main()
251 evdns_getaddrinfo(evdns_base, v[optind], NULL, &hints, in main()
255 evdns_base_resolve_ipv4(evdns_base, v[optind], 0, main_callback, v[optind]); in main()
260 evdns_base_free(evdns_base, 1); in main()
/freebsd/contrib/libevent/sample/
H A Ddns-example.c164 struct evdns_base *evdns_base = NULL; in main() local
194 evdns_base = evdns_base_new(event_base, EVDNS_BASE_DISABLE_WHEN_INACTIVE); in main()
219 res = evdns_base_config_windows_nameservers(evdns_base); in main()
223 res = evdns_base_nameserver_ip_add(evdns_base, o.ns); in main()
225 res = evdns_base_resolv_conf_parse(evdns_base, in main()
243 evdns_base_resolve_reverse(evdns_base, &addr, 0, main_callback, v[optind]); in main()
251 evdns_getaddrinfo(evdns_base, v[optind], NULL, &hints, in main()
255 evdns_base_resolve_ipv4(evdns_base, v[optind], 0, main_callback, v[optind]); in main()
260 evdns_base_free(evdns_base, 1); in main()
/freebsd/contrib/ntp/sntp/libevent/
H A Devdns.c160 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);
[all …]
H A Dutil-internal.h400 struct evdns_base;
403 struct evdns_base *base,
427 struct evdns_base *dns_base,
H A Dbufferevent_sock.c495 struct evdns_base *evdns_base, int family, const char *hostname, int port) in bufferevent_socket_connect_hostname() argument
520 bev_p->dns_request = evutil_getaddrinfo_async_(evdns_base, hostname, in bufferevent_socket_connect_hostname()
H A Dhttp-internal.h103 struct evdns_base *dns_base;
H A Dhttp.c2379 evhttp_connection_base_bufferevent_new(struct event_base *base, struct evdns_base *dnsbase, struct … in evhttp_connection_base_bufferevent_new()
2455 evhttp_connection_base_new(struct event_base *base, struct evdns_base *dnsbase, in evhttp_connection_base_new()
H A Devutil.c1614 struct evdns_base *dns_base, in evutil_getaddrinfo_async_()
/freebsd/contrib/libevent/
H A Devdns.c160 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);
[all …]
H A Dutil-internal.h400 struct evdns_base;
403 struct evdns_base *base,
427 struct evdns_base *dns_base,
H A Dbufferevent_sock.c495 struct evdns_base *evdns_base, int family, const char *hostname, int port) in bufferevent_socket_connect_hostname() argument
520 bev_p->dns_request = evutil_getaddrinfo_async_(evdns_base, hostname, in bufferevent_socket_connect_hostname()
H A Dhttp-internal.h103 struct evdns_base *dns_base;
H A Dhttp.c2379 evhttp_connection_base_bufferevent_new(struct event_base *base, struct evdns_base *dnsbase, struct … in evhttp_connection_base_bufferevent_new()
2455 evhttp_connection_base_new(struct event_base *base, struct evdns_base *dnsbase, in evhttp_connection_base_new()
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c207 struct evdns_base *dns = evdns_base_new(base, EVDNS_BASE_INITIALIZE_NAMESERVERS); in dns_resolve_reverse()
385 struct evdns_base *base=NULL; in dns_server()
544 struct evdns_base *dns = NULL; in dns_search_test_impl()
607 struct evdns_base *dns = NULL; in dns_search_empty_test()
656 struct evdns_base *dns = NULL; in dns_search_cancel_test()
732 struct evdns_base *dns = NULL; in dns_retry_test_impl()
831 struct evdns_base *dns = NULL; in dns_reissue_test_impl()
906 struct evdns_base *dns = NULL; in dns_inflight_test_impl()
971 struct evdns_base *dns = NULL; in dns_disable_when_inactive_no_ns_test()
1012 struct evdns_base *dns = NULL; in dns_initialize_nameservers_test()
[all …]
H A Dregress_http.c1061 const char *address, struct evdns_base *dnsbase, int ipv6, int family, in http_connection_test_()
1193 struct evdns_base *dns_base = NULL; in http_connection_async_test()
1459 struct evdns_base *dns_base = NULL; in http_cancel_test()
3714 http_connection_retry_test_basic(void *arg, const char *addr, struct evdns_base *dns_base, int ssl) in http_connection_retry_test_basic()
3848 struct evdns_base *dns_base = NULL; in http_connection_retry_conn_address_test_impl()
4384 struct evdns_base *dns_base = NULL; in http_ipv6_for_domain_test_impl()
/freebsd/contrib/libevent/test/
H A Dregress_dns.c207 struct evdns_base *dns = evdns_base_new(base, EVDNS_BASE_INITIALIZE_NAMESERVERS); in dns_resolve_reverse()
385 struct evdns_base *base=NULL; in dns_server()
544 struct evdns_base *dns = NULL; in dns_search_test_impl()
607 struct evdns_base *dns = NULL; in dns_search_empty_test()
656 struct evdns_base *dns = NULL; in dns_search_cancel_test()
732 struct evdns_base *dns = NULL; in dns_retry_test_impl()
831 struct evdns_base *dns = NULL; in dns_reissue_test_impl()
906 struct evdns_base *dns = NULL; in dns_inflight_test_impl()
971 struct evdns_base *dns = NULL; in dns_disable_when_inactive_no_ns_test()
1012 struct evdns_base *dns = NULL; in dns_initialize_nameservers_test()
[all …]
H A Dregress_http.c1061 const char *address, struct evdns_base *dnsbase, int ipv6, int family, in http_connection_test_()
1193 struct evdns_base *dns_base = NULL; in http_connection_async_test()
1459 struct evdns_base *dns_base = NULL; in http_cancel_test()
3714 http_connection_retry_test_basic(void *arg, const char *addr, struct evdns_base *dns_base, int ssl) in http_connection_retry_test_basic()
3848 struct evdns_base *dns_base = NULL; in http_connection_retry_conn_address_test_impl()
4384 struct evdns_base *dns_base = NULL; in http_ipv6_for_domain_test_impl()

12