Home
last modified time | relevance | path

Searched refs:lo_addr (Results 1 – 2 of 2) sorted by relevance

/third_party/libuv/test/
Dtest-udp-connect.c35 static struct sockaddr_in lo_addr; variable
75 (const struct sockaddr*) &lo_addr, in cl_send_cb()
111 ASSERT(0 == uv_ip4_addr("0.0.0.0", TEST_PORT, &lo_addr)); in TEST_IMPL()
116 r = uv_udp_bind(&server, (const struct sockaddr*) &lo_addr, 0); in TEST_IMPL()
139 ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &lo_addr)); in TEST_IMPL()
141 r = uv_udp_connect(&client, (const struct sockaddr*) &lo_addr); in TEST_IMPL()
151 r = uv_udp_try_send(&client, &buf, 1, (const struct sockaddr*) &lo_addr); in TEST_IMPL()
168 r = uv_udp_try_send(&client, &buf, 1, (const struct sockaddr*) &lo_addr); in TEST_IMPL()
174 r = uv_udp_connect(&client, (const struct sockaddr*) &lo_addr); in TEST_IMPL()
180 (const struct sockaddr*) &lo_addr, in TEST_IMPL()
Dtest-udp-connect6.c35 static struct sockaddr_in6 lo_addr; variable
75 (const struct sockaddr*) &lo_addr, in cl_send_cb()
114 ASSERT_EQ(0, uv_ip6_addr("::", TEST_PORT, &lo_addr)); in TEST_IMPL()
119 r = uv_udp_bind(&server, (const struct sockaddr*) &lo_addr, 0); in TEST_IMPL()
142 ASSERT_EQ(0, uv_ip6_addr("::1", TEST_PORT, &lo_addr)); in TEST_IMPL()
144 r = uv_udp_connect(&client, (const struct sockaddr*) &lo_addr); in TEST_IMPL()
154 r = uv_udp_try_send(&client, &buf, 1, (const struct sockaddr*) &lo_addr); in TEST_IMPL()
171 r = uv_udp_try_send(&client, &buf, 1, (const struct sockaddr*) &lo_addr); in TEST_IMPL()
177 r = uv_udp_connect(&client, (const struct sockaddr*) &lo_addr); in TEST_IMPL()
183 (const struct sockaddr*) &lo_addr, in TEST_IMPL()