Searched refs:server_addr (Results 1 – 10 of 10) sorted by relevance
/libuv/test/ |
H A D | benchmark-ping-udp.c | 35 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 D | test-tcp-rst.c | 83 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 D | test-connection-fail.c | 89 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 D | test-getsockname.c | 213 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 D | test-shutdown-simultaneous.c | 110 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 D | test-ping-pong.c | 217 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 D | test-shutdown-eof.c | 154 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 D | benchmark-ping-pongs.c | 181 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 D | test-tcp-create-socket-early.c | 78 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 D | test-poll.c | 544 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 32 milliseconds