Lines Matching refs:sa
165 struct sockaddr sa; member
203 if ( !bind( s, &u.sa, slen ) ) in random_bind()
214 return bind( s, &u.sa, slen ); in random_bind()
232 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { in res_ourserver_p() argument
237 switch (sa->sa_family) { in res_ourserver_p()
239 inp = (const struct sockaddr_in *)(const void *)sa; in res_ourserver_p()
252 in6p = (const struct sockaddr_in6 *)(const void *)sa; in res_ourserver_p()
688 get_salen(sa) in get_salen() argument
689 const struct sockaddr *sa; in get_salen()
694 if (sa->sa_len)
695 return (sa->sa_len);
698 if (sa->sa_family == AF_INET)
700 else if (sa->sa_family == AF_INET6)