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.c908 struct evdns_server_port *dns_port = NULL; in dns_inflight_test_impl() local
916 dns_port = regress_get_dnsserver(base, &portnum, NULL, in dns_inflight_test_impl()
918 tt_assert(dns_port); in dns_inflight_test_impl()
920 exit_port = dns_port; in dns_inflight_test_impl()
951 evdns_close_server_port(dns_port); in dns_inflight_test_impl()
1204 ev_uint16_t dns_port=0; in test_bufferevent_connect_hostname() local
1223 port = regress_get_dnsserver(data->base, &dns_port, NULL, in test_bufferevent_connect_hostname()
1226 tt_int_op(dns_port, >=, 0); in test_bufferevent_connect_hostname()
1230 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)dns_port); in test_bufferevent_connect_hostname()
1359 ev_uint16_t dns_port = 0; in test_getaddrinfo_async() local
[all …]