Home | History | Annotate | Download | only in openbsd-compat

Lines Matching refs:sa

53 bindresvport_sa(int sd, struct sockaddr *sa)
64 if (sa == NULL) {
66 sa = (struct sockaddr *)&myaddr;
68 if (getsockname(sd, sa, &salen) == -1)
71 af = sa->sa_family;
74 af = sa->sa_family;
77 in = (struct sockaddr_in *)sa;
81 in6 = (struct sockaddr_in6 *)sa;
88 sa->sa_family = af;
100 error = bind(sd, sa, salen);