Lines Matching refs:addr
51 struct in6_addr addr; in from_string() local
52 if (inet_pton (AF_INET6, address, &addr) != 1) in from_string()
54 return addr; in from_string()
99 const struct in6_addr *addr, uint32_t scope) in check_ai() argument
101 if (memcmp (addr, &sa->sin6_addr, sizeof (*addr)) != 0) in check_ai()
123 struct in6_addr addr = from_string (address); in expect_failure() local
125 if (__inet6_scopeid_pton (&addr, scope, &result) == 0) in expect_failure()
159 struct in6_addr addr = from_string (address); in expect_success() local
161 if (__inet6_scopeid_pton (&addr, scope, &actual) != 0) in expect_success()
179 check_ai ("AF_UNSPEC", address, scope, &sa, &addr, expected); in expect_success()
188 check_ai ("AF_INET6", address, scope, &sa, &addr, expected); in expect_success()