Searched refs:lo_addr (Results 1 – 2 of 2) sorted by relevance
/libuv/test/ |
H A D | test-udp-connect.c | 35 static struct sockaddr_in lo_addr; variable 75 (const struct sockaddr*) &lo_addr, in cl_send_cb() 110 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &lo_addr)); in TEST_IMPL() 115 r = uv_udp_bind(&server, (const struct sockaddr*) &lo_addr, 0); in TEST_IMPL() 138 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &lo_addr)); in TEST_IMPL() 140 r = uv_udp_connect(&client, (const struct sockaddr*) &lo_addr); in TEST_IMPL() 150 r = uv_udp_try_send(&client, &buf, 1, (const struct sockaddr*) &lo_addr); in TEST_IMPL() 167 r = uv_udp_try_send(&client, &buf, 1, (const struct sockaddr*) &lo_addr); in TEST_IMPL() 173 r = uv_udp_connect(&client, (const struct sockaddr*) &lo_addr); in TEST_IMPL() 179 (const struct sockaddr*) &lo_addr, in TEST_IMPL()
|
H A D | test-udp-connect6.c | 35 static struct sockaddr_in6 lo_addr; variable 75 (const struct sockaddr*) &lo_addr, in cl_send_cb() 113 ASSERT_OK(uv_ip6_addr("::", TEST_PORT, &lo_addr)); in TEST_IMPL() 118 r = uv_udp_bind(&server, (const struct sockaddr*) &lo_addr, 0); in TEST_IMPL() 141 ASSERT_OK(uv_ip6_addr("::1", TEST_PORT, &lo_addr)); in TEST_IMPL() 143 r = uv_udp_connect(&client, (const struct sockaddr*) &lo_addr); in TEST_IMPL() 153 r = uv_udp_try_send(&client, &buf, 1, (const struct sockaddr*) &lo_addr); in TEST_IMPL() 170 r = uv_udp_try_send(&client, &buf, 1, (const struct sockaddr*) &lo_addr); in TEST_IMPL() 176 r = uv_udp_connect(&client, (const struct sockaddr*) &lo_addr); in TEST_IMPL() 182 (const struct sockaddr*) &lo_addr, in TEST_IMPL()
|
Completed in 5 milliseconds