Lines Matching refs:addr
42 struct sockaddr_in6 addr; in TEST_IMPL() local
107 ASSERT_OK(uv_ip6_addr(scoped_addr, TEST_PORT, &addr)); in TEST_IMPL()
108 fprintf(stderr, "Got scope_id 0x%2x\n", (unsigned)addr.sin6_scope_id); in TEST_IMPL()
110 ASSERT_EQ(iface_index, addr.sin6_scope_id); in TEST_IMPL()
144 ASSERT_OK(uv_inet_pton(AF_INET6, ADDR, &addr)); \
145 ASSERT_OK(uv_inet_pton(AF_INET6, ADDR "%en1", &addr)); \
146 ASSERT_OK(uv_inet_pton(AF_INET6, ADDR "%%%%", &addr)); \
147 ASSERT_OK(uv_inet_pton(AF_INET6, ADDR "%en1:1.2.3.4", &addr)); \
150 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR, &addr)); \
151 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR "%en1", &addr)); \
152 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR "%%%%", &addr)); \
153 ASSERT_NE(0, uv_inet_pton(AF_INET6, ADDR "%en1:1.2.3.4", &addr)); \
156 struct in6_addr addr; in TEST_IMPL() local