Lines Matching refs:dns_port
907 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
1598 port = regress_get_dnsserver(data->base, &dns_port, NULL, in test_getaddrinfo_async()
1601 tt_int_op(dns_port, >=, 0); in test_getaddrinfo_async()
1603 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", dns_port); in test_getaddrinfo_async()
2125 struct evdns_server_port *dns_port = NULL; in dns_client_fail_requests_test() local
2132 dns_port = regress_get_dnsserver(base, &portnum, NULL, in dns_client_fail_requests_test()
2134 tt_assert(dns_port); in dns_client_fail_requests_test()
2159 evdns_close_server_port(dns_port); in dns_client_fail_requests_test()
2173 struct evdns_server_port *dns_port = NULL; in dns_client_fail_requests_getaddrinfo_test() local
2180 dns_port = regress_get_dnsserver(base, &portnum, NULL, in dns_client_fail_requests_getaddrinfo_test()
2182 tt_assert(dns_port); in dns_client_fail_requests_getaddrinfo_test()
2204 evdns_close_server_port(dns_port); in dns_client_fail_requests_getaddrinfo_test()
2258 struct evdns_server_port *dns_port = NULL; in getaddrinfo_race_gotresolve_test() local
2282 dns_port = regress_get_dnsserver(rp.base, &portnum, NULL, in getaddrinfo_race_gotresolve_test()
2284 tt_assert(dns_port); in getaddrinfo_race_gotresolve_test()
2349 evdns_close_server_port(dns_port); in getaddrinfo_race_gotresolve_test()