Lines Matching refs:addr
61 struct sockaddr_in addr; in tcp_listener() local
64 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in tcp_listener()
69 r = uv_tcp_bind(server, (const struct sockaddr*) &addr, 0); in tcp_listener()
95 struct sockaddr_in addr; in TEST_IMPL() local
101 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
120 r = uv_tcp_bind(&client, (const struct sockaddr*) &addr, 0); in TEST_IMPL()
126 ASSERT_OK(memcmp(&addr.sin_addr, in TEST_IMPL()
128 sizeof(addr.sin_addr))); in TEST_IMPL()
139 struct sockaddr_in addr; in TEST_IMPL() local
147 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
170 r = uv_tcp_bind(&client, (const struct sockaddr*) &addr, 0); in TEST_IMPL()