Home
last modified time | relevance | path

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

/external/libevent/include/event2/
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 …]
Ddns_compat.h73 struct evdns_base;
82 struct evdns_base *evdns_get_global_base(void);
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,
Dbufferevent.h214 struct evdns_base;
243 struct evdns_base *, int, const char *, int);
/external/libevent/sample/
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()
/external/libevent/
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 …]
Dutil-internal.h400 struct evdns_base;
403 struct evdns_base *base,
427 struct evdns_base *dns_base,
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()
Dhttp-internal.h103 struct evdns_base *dns_base;
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()
Devutil.c1614 struct evdns_base *dns_base, in evutil_getaddrinfo_async_()
Dwhatsnew-2.0.txt552 Like an event base, evdns operations are now supposed to use an evdns_base
Dwhatsnew-2.1.txt373 flag, which tells the evdns_base that it should not prevent Libevent from
DChangeLog-2.0753 o Free evdns_base->req_heads on evdns_base_free (859af67)
1025 o Avoid segfault during failed allocation of locked evdns_base. (Found by Rocco Carbone.)
DChangeLog36 o evdns: fix a crash when evdns_base with waiting requests is freed (6f8e0e97 ayuseleznev)
446 o evdns: evdns_base_free(): fix UAF of evdns_base with @fail_requests (00313c5 Azat Khuzhin)
/external/libevent/test/
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 …]
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()