Home
last modified time | relevance | path

Searched refs:dns_port (Results 1 – 2 of 2) sorted by relevance

/external/libevent/test/
Dregress_testutils.c73 static struct evdns_server_port *dns_port; variable
132 if (dns_port) { in regress_clean_dnsserver()
133 evdns_close_server_port(dns_port); in regress_clean_dnsserver()
134 dns_port = NULL; in regress_clean_dnsserver()
220 dns_port = regress_get_dnsserver(base, port, &dns_sock, in regress_dnsserver()
222 return dns_port != NULL; in regress_dnsserver()
Dregress_dns.c907 struct evdns_server_port *dns_port = NULL; in dns_inflight_test_impl() local
915 dns_port = regress_get_dnsserver(base, &portnum, NULL, in dns_inflight_test_impl()
917 tt_assert(dns_port); in dns_inflight_test_impl()
919 exit_port = dns_port; in dns_inflight_test_impl()
950 evdns_close_server_port(dns_port); in dns_inflight_test_impl()
1264 ev_uint16_t dns_port=0; in test_bufferevent_connect_hostname() local
1286 port = regress_get_dnsserver(data->base, &dns_port, NULL, in test_bufferevent_connect_hostname()
1289 tt_int_op(dns_port, >=, 0); in test_bufferevent_connect_hostname()
1293 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)dns_port); in test_bufferevent_connect_hostname()
1436 ev_uint16_t dns_port = 0; in test_getaddrinfo_async() local
[all …]