Lines Matching refs:lmsg

988 	struct nmsghdr lmsg;  in recv()  local
1008 lmsg.msg_namelen = 0; in recv()
1009 lmsg.msg_controllen = 0; in recv()
1010 lmsg.msg_flags = 0; in recv()
1011 return (recvit(sock, &lmsg, &auio, flags, NULL, NULL, NULL)); in recv()
1018 struct nmsghdr lmsg; in recvfrom() local
1038 lmsg.msg_name = (char *)name; in recvfrom()
1040 if (copyin(namelenp, &lmsg.msg_namelen, in recvfrom()
1041 sizeof (lmsg.msg_namelen))) in recvfrom()
1044 lmsg.msg_namelen = 0; in recvfrom()
1046 lmsg.msg_controllen = 0; in recvfrom()
1047 lmsg.msg_flags = 0; in recvfrom()
1049 return (recvit(sock, &lmsg, &auio, flags, namelenp, NULL, NULL)); in recvfrom()
1061 struct nmsghdr lmsg; in recvmsg() local
1099 lmsg.msg_name = STRUCT_FGETP(u_lmsg, msg_name); in recvmsg()
1100 lmsg.msg_namelen = STRUCT_FGET(u_lmsg, msg_namelen); in recvmsg()
1101 lmsg.msg_iov = STRUCT_FGETP(u_lmsg, msg_iov); in recvmsg()
1102 lmsg.msg_iovlen = STRUCT_FGET(u_lmsg, msg_iovlen); in recvmsg()
1103 lmsg.msg_control = STRUCT_FGETP(u_lmsg, msg_control); in recvmsg()
1104 lmsg.msg_controllen = STRUCT_FGET(u_lmsg, msg_controllen); in recvmsg()
1105 lmsg.msg_flags = STRUCT_FGET(u_lmsg, msg_flags); in recvmsg()
1107 iovcnt = lmsg.msg_iovlen; in recvmsg()
1132 if (copyin((struct iovec32 *)lmsg.msg_iov, aiov32, iov32size)) { in recvmsg()
1165 if (copyin(lmsg.msg_iov, aiov, iovcnt * sizeof (struct iovec))) { in recvmsg()
1189 if (lmsg.msg_control != NULL && in recvmsg()
1191 useracc(lmsg.msg_control, lmsg.msg_controllen, in recvmsg()
1199 rval = recvit(sock, &lmsg, &auio, flags, in recvmsg()
1303 struct nmsghdr lmsg; in send() local
1323 lmsg.msg_name = NULL; in send()
1324 lmsg.msg_control = NULL; in send()
1332 return (sendit(sock, &lmsg, &auio, flags)); in send()
1342 struct nmsghdr lmsg; in sendmsg() local
1381 lmsg.msg_name = STRUCT_FGETP(u_lmsg, msg_name); in sendmsg()
1382 lmsg.msg_namelen = STRUCT_FGET(u_lmsg, msg_namelen); in sendmsg()
1383 lmsg.msg_iov = STRUCT_FGETP(u_lmsg, msg_iov); in sendmsg()
1384 lmsg.msg_iovlen = STRUCT_FGET(u_lmsg, msg_iovlen); in sendmsg()
1385 lmsg.msg_control = STRUCT_FGETP(u_lmsg, msg_control); in sendmsg()
1386 lmsg.msg_controllen = STRUCT_FGET(u_lmsg, msg_controllen); in sendmsg()
1387 lmsg.msg_flags = STRUCT_FGET(u_lmsg, msg_flags); in sendmsg()
1389 iovcnt = lmsg.msg_iovlen; in sendmsg()
1420 copyin((struct iovec32 *)lmsg.msg_iov, aiov32, iov32size)) { in sendmsg()
1454 copyin(lmsg.msg_iov, aiov, in sendmsg()
1479 rval = sendit(sock, &lmsg, &auio, flags); in sendmsg()
1491 struct nmsghdr lmsg; in sendto() local
1511 lmsg.msg_name = (char *)name; in sendto()
1512 lmsg.msg_namelen = namelen; in sendto()
1513 lmsg.msg_control = NULL; in sendto()
1521 return (sendit(sock, &lmsg, &auio, flags)); in sendto()