Lines Matching refs:addr
87 struct sockaddr_in6 addr; in do_send() local
91 ASSERT_OK(uv_ip6_addr(MULTICAST_ADDR, TEST_PORT, &addr)); in do_send()
98 (const struct sockaddr*) &addr, in do_send()
106 const struct sockaddr* addr, in cl_recv_cb() argument
117 ASSERT_NULL(addr); in cl_recv_cb()
121 ASSERT_NOT_NULL(addr); in cl_recv_cb()
134 r = uv_ip6_name((const struct sockaddr_in6*)addr, source_addr, sizeof(source_addr)); in cl_recv_cb()
150 uv_interface_address_t* addr; in can_ipv6_external() local
155 if (uv_interface_addresses(&addr, &count)) in can_ipv6_external()
160 supported = (AF_INET6 == addr[i].address.address6.sin6_family && in can_ipv6_external()
161 !addr[i].is_internal); in can_ipv6_external()
163 uv_free_interface_addresses(addr, count); in can_ipv6_external()
170 struct sockaddr_in6 addr; in TEST_IMPL() local
175 ASSERT_OK(uv_ip6_addr("::", TEST_PORT, &addr)); in TEST_IMPL()
184 r = uv_udp_bind(&server, (const struct sockaddr*) &addr, 0); in TEST_IMPL()