Lines Matching refs:sa
98 const struct sockaddr_in6 *sa, in check_ai() argument
101 if (memcmp (addr, &sa->sin6_addr, sizeof (*addr)) != 0) in check_ai()
107 if (sa->sin6_scope_id != scope) in check_ai()
113 what, addr_string, scope_string, scope, sa->sin6_scope_id); in check_ai()
138 struct sockaddr_in6 sa; in expect_failure() local
139 if (call_gai (AF_UNSPEC, address, scope, &sa)) in expect_failure()
145 if (call_gai (AF_INET6, address, scope, &sa)) in expect_failure()
176 struct sockaddr_in6 sa; in expect_success() local
177 memset (&sa, 0xc0, sizeof (sa)); in expect_success()
178 if (call_gai (AF_UNSPEC, address, scope, &sa)) in expect_success()
179 check_ai ("AF_UNSPEC", address, scope, &sa, &addr, expected); in expect_success()
186 memset (&sa, 0xc0, sizeof (sa)); in expect_success()
187 if (call_gai (AF_INET6, address, scope, &sa)) in expect_success()
188 check_ai ("AF_INET6", address, scope, &sa, &addr, expected); in expect_success()