Searched refs:fromsa (Results 1 - 3 of 3) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kpi_socket.c | 681 struct sockaddr *fromsa; local 707 error = sock->so_proto->pr_usrreqs->pru_soreceive(sock, &fromsa, auio, 720 if (msg->msg_namelen > 0 && fromsa != 0) 722 salen = MIN(salen, fromsa->sa_len); 723 memcpy(msg->msg_name, fromsa, 724 msg->msg_namelen > fromsa->sa_len ? fromsa->sa_len : msg->msg_namelen); 758 if (fromsa) FREE(fromsa, M_SONAME);
|
H A D | uipc_syscalls.c | 1117 struct sockaddr *fromsa = 0; local 1160 error = so->so_proto->pr_usrreqs->pru_soreceive(so, &fromsa, uiop, 1163 if (fromsa) 1165 fromsa); 1180 if (len <= 0 || fromsa == 0) { 1186 sa_len = fromsa->sa_len; 1188 error = copyout(fromsa, mp->msg_name, (unsigned)len); 1287 if (fromsa) 1288 FREE(fromsa, M_SONAME);
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | udp6_usrreq.c | 216 struct sockaddr_in6 fromsa; local 277 init_sin6(&fromsa, m); 278 fromsa.sin6_port = uh->uh_sport; 369 (struct sockaddr *)&fromsa);
|
Completed in 34 milliseconds