• Home
  • Raw
  • Download

Lines Matching refs:dns_port

908 	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
1521 port = regress_get_dnsserver(data->base, &dns_port, NULL, in test_getaddrinfo_async()
1524 tt_int_op(dns_port, >=, 0); in test_getaddrinfo_async()
1526 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", dns_port); in test_getaddrinfo_async()
2037 struct evdns_server_port *dns_port = NULL; in dns_client_fail_requests_test() local
2044 dns_port = regress_get_dnsserver(base, &portnum, NULL, in dns_client_fail_requests_test()
2046 tt_assert(dns_port); in dns_client_fail_requests_test()
2068 evdns_close_server_port(dns_port); in dns_client_fail_requests_test()
2082 struct evdns_server_port *dns_port = NULL; in dns_client_fail_requests_getaddrinfo_test() local
2089 dns_port = regress_get_dnsserver(base, &portnum, NULL, in dns_client_fail_requests_getaddrinfo_test()
2091 tt_assert(dns_port); in dns_client_fail_requests_getaddrinfo_test()
2113 evdns_close_server_port(dns_port); in dns_client_fail_requests_getaddrinfo_test()