Lines Matching defs:ss
235 struct sockaddr_storage ss;
253 if (uap->namelen > sizeof (ss)) {
256 error = getsockaddr_s(so, &ss, uap->name, uap->namelen, TRUE);
258 sa = (struct sockaddr *)&ss;
592 struct sockaddr_storage ss;
616 if (uap->namelen > sizeof (ss)) {
619 error = getsockaddr_s(so, &ss, uap->name, uap->namelen, !dgram);
621 sa = (struct sockaddr *)&ss;
816 struct sockaddr_storage ss;
835 if (mp->msg_namelen > sizeof (ss)) {
839 error = getsockaddr_s(so, &ss, mp->msg_name,
842 to = (struct sockaddr *)&ss;
1887 getsockaddr_s(struct socket *so, struct sockaddr_storage *ss,
1892 if (ss == NULL || uaddr == USER_ADDR_NULL ||
1900 if (len > sizeof (*ss))
1903 bzero(ss, sizeof (*ss));
1904 error = copyin(uaddr, (caddr_t)ss, len);
1912 if (translate_unspec && ss->ss_family == AF_UNSPEC &&
1915 ss->ss_family = AF_INET;
1917 ss->ss_len = len;