Lines Matching refs:addr6
89 const struct sockaddr_in6* addr6; in is_from_client() local
96 addr6 = (struct sockaddr_in6*) addr; in is_from_client()
97 r = uv_inet_ntop(addr->sa_family, &addr6->sin6_addr, dst, sizeof(dst)); in is_from_client()
99 printf("from [%.*s]:%d\n", (int) sizeof(dst), dst, addr6->sin6_port); in is_from_client()
100 if (addr6->sin6_port != client_port) in is_from_client()
146 struct sockaddr_in6 addr6; in do_test() local
154 ASSERT_OK(uv_ip6_addr("::0", TEST_PORT, &addr6)); in do_test()
159 r = uv_udp_bind(&server, (const struct sockaddr*) &addr6, bind_flags); in do_test()
162 addr6_len = sizeof(addr6); in do_test()
164 (struct sockaddr*) &addr6, in do_test()
166 ASSERT_OK(uv_inet_ntop(addr6.sin6_family, in do_test()
167 &addr6.sin6_addr, in do_test()
170 printf("on [%.*s]:%d\n", (int) sizeof(dst), dst, addr6.sin6_port); in do_test()