Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-udp-bind.c33 uv_udp_t h1, h2; in TEST_IMPL() local
43 r = uv_udp_init(loop, &h2); in TEST_IMPL()
49 r = uv_udp_bind(&h2, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
53 uv_close((uv_handle_t*) &h2, NULL); in TEST_IMPL()
66 uv_udp_t h1, h2; in TEST_IMPL() local
76 r = uv_udp_init(loop, &h2); in TEST_IMPL()
82 r = uv_udp_bind(&h2, (const struct sockaddr*) &addr, UV_UDP_REUSEADDR); in TEST_IMPL()
86 uv_close((uv_handle_t*) &h2, NULL); in TEST_IMPL()
H A Dtest-udp-options.c117 uv_udp_t h2; in TEST_IMPL() local
140 ASSERT_OK(uv_udp_init_ex(loop, &h2, AF_INET | UV_UDP_RECVMMSG)); in TEST_IMPL()
141 ASSERT_OK(uv_udp_set_multicast_ttl(&h2, 32)); in TEST_IMPL()
142 ASSERT_OK(uv_udp_set_broadcast(&h2, 1)); in TEST_IMPL()
146 ASSERT_EQ(UV_ENOTSUP, uv_udp_set_ttl(&h2, 1)); in TEST_IMPL()
148 ASSERT_OK(uv_udp_set_ttl(&h2, 1)); in TEST_IMPL()
151 ASSERT_OK(uv_udp_set_multicast_loop(&h2, 1)); in TEST_IMPL()
152 ASSERT_OK(uv_udp_set_multicast_interface(&h2, "0.0.0.0")); in TEST_IMPL()
154 uv_close((uv_handle_t*) &h2, NULL); in TEST_IMPL()

Completed in 5 milliseconds