Home
last modified time | relevance | path

Searched refs:server_addr (Results 1 – 10 of 10) sorted by relevance

/libuv/test/
H A Dbenchmark-ping-udp.c35 struct sockaddr_in server_addr; member
83 (const struct sockaddr*) &pinger->server_addr); in pinger_write_ping()
122 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &pinger->server_addr)); in udp_pinger_new()
129 r = uv_udp_bind(&pinger->udp, (const struct sockaddr*) &pinger->server_addr, 0); in udp_pinger_new()
H A Dtest-tcp-rst.c83 struct sockaddr_in server_addr; in TEST_IMPL() local
89 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in TEST_IMPL()
95 (const struct sockaddr*) &server_addr, in TEST_IMPL()
H A Dtest-connection-fail.c89 struct sockaddr_in client_addr, server_addr; in connection_fail() local
95 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in connection_fail()
107 (const struct sockaddr*) &server_addr, in connection_fail()
H A Dtest-getsockname.c213 struct sockaddr_in server_addr; in tcp_connector() local
217 ASSERT_OK(uv_ip4_addr("127.0.0.1", server_port, &server_addr)); in tcp_connector()
225 (const struct sockaddr*) &server_addr, in tcp_connector()
307 struct sockaddr_in server_addr; in udp_sender() local
315 ASSERT_OK(uv_ip4_addr("127.0.0.1", server_port, &server_addr)); in udp_sender()
321 (const struct sockaddr*) &server_addr, in udp_sender()
H A Dtest-shutdown-simultaneous.c110 struct sockaddr_in server_addr; in TEST_IMPL() local
116 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in TEST_IMPL()
122 (const struct sockaddr*) &server_addr, in TEST_IMPL()
H A Dtest-ping-pong.c217 struct sockaddr_in6 server_addr; in tcp_pinger_v6_new() local
221 ASSERT_OK(uv_ip6_addr("::1", TEST_PORT, &server_addr)); in tcp_pinger_v6_new()
238 (const struct sockaddr*) &server_addr, in tcp_pinger_v6_new()
249 struct sockaddr_in server_addr; in tcp_pinger_new() local
252 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in tcp_pinger_new()
269 (const struct sockaddr*) &server_addr, in tcp_pinger_new()
H A Dtest-shutdown-eof.c154 struct sockaddr_in server_addr; in TEST_IMPL() local
165 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in TEST_IMPL()
171 (const struct sockaddr*) &server_addr, in TEST_IMPL()
H A Dbenchmark-ping-pongs.c181 struct sockaddr_in server_addr; in pinger_new() local
186 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in pinger_new()
203 (const struct sockaddr*) &server_addr, in pinger_new()
H A Dtest-tcp-create-socket-early.c78 struct sockaddr_in server_addr; in tcp_connector() local
81 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr)); in tcp_connector()
88 (const struct sockaddr*) &server_addr, in tcp_connector()
H A Dtest-poll.c544 struct sockaddr_in server_addr; local
548 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &server_addr));
560 r = connect(sock, (struct sockaddr*) &server_addr, sizeof server_addr);

Completed in 15 milliseconds