Lines Matching refs:l_msghdr
87 static int linux_sendmsg_common(struct thread *, l_int, struct l_msghdr *,
89 static int linux_recvmsg_common(struct thread *, l_int, struct l_msghdr *,
699 linux_to_bsd_msghdr(struct msghdr *bhdr, const struct l_msghdr *lhdr) in linux_to_bsd_msghdr()
724 bsd_to_linux_msghdr(const struct msghdr *bhdr, struct l_msghdr *lhdr) in bsd_to_linux_msghdr()
1354 linux_sendmsg_common(struct thread *td, l_int s, struct l_msghdr *msghdr, in linux_sendmsg_common()
1362 struct l_msghdr linux_msghdr; in linux_sendmsg_common()
1773 linux_recvmsg_common(struct thread *td, l_int s, struct l_msghdr *msghdr, in linux_recvmsg_common()
1780 struct l_msghdr l_msghdr; in linux_recvmsg_common() local
1789 error = copyin(msghdr, &l_msghdr, sizeof(l_msghdr)); in linux_recvmsg_common()
1797 l_msghdr.msg_flags = flags; in linux_recvmsg_common()
1799 error = linux_to_bsd_msghdr(msg, &l_msghdr); in linux_recvmsg_common()
1833 msg->msg_name = PTRIN(l_msghdr.msg_name); in linux_recvmsg_common()
1840 error = bsd_to_linux_msghdr(msg, &l_msghdr); in linux_recvmsg_common()
1845 maxlen = l_msghdr.msg_controllen; in linux_recvmsg_common()
1852 outbuf = PTRIN(l_msghdr.msg_control); in linux_recvmsg_common()
1893 l_msghdr.msg_flags |= LINUX_MSG_CTRUNC; in linux_recvmsg_common()
1920 l_msghdr.msg_controllen = outlen; in linux_recvmsg_common()
1921 error = copyout(&l_msghdr, msghdr, sizeof(l_msghdr)); in linux_recvmsg_common()