Lines Matching refs:dst
90 char dst[256]; in is_from_client() local
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()
102 if (r != 0 || strcmp(dst, "::ffff:127.0.0.1")) in is_from_client()
151 char dst[256]; in do_test() local
168 dst, in do_test()
169 sizeof(dst))); in do_test()
170 printf("on [%.*s]:%d\n", (int) sizeof(dst), dst, addr6.sin6_port); in do_test()
179 ASSERT_OK(uv_inet_ntop(addr.sin_family, &addr.sin_addr, dst, sizeof(dst))); in do_test()
180 printf("to [%.*s]:%d\n", (int) sizeof(dst), dst, addr.sin_port); in do_test()
200 ASSERT_OK(uv_inet_ntop(addr.sin_family, &addr.sin_addr, dst, sizeof(dst))); in do_test()
201 printf("from [%.*s]:%d\n", (int) sizeof(dst), dst, addr.sin_port); in do_test()