Lines Matching defs: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 *,
698 linux_to_bsd_msghdr(struct msghdr *bhdr, const struct l_msghdr *lhdr)
723 bsd_to_linux_msghdr(const struct msghdr *bhdr, struct l_msghdr *lhdr)
1356 linux_sendmsg_common(struct thread *td, l_int s, struct l_msghdr *msghdr,
1365 struct l_msghdr linux_msghdr;
1774 linux_recvmsg_common(struct thread *td, l_int s, struct l_msghdr *msghdr,
1781 struct l_msghdr l_msghdr;
1790 error = copyin(msghdr, &l_msghdr, sizeof(l_msghdr));
1798 l_msghdr.msg_flags = flags;
1800 error = linux_to_bsd_msghdr(msg, &l_msghdr);
1834 msg->msg_name = PTRIN(l_msghdr.msg_name);
1841 error = bsd_to_linux_msghdr(msg, &l_msghdr);
1846 maxlen = l_msghdr.msg_controllen;
1853 outbuf = PTRIN(l_msghdr.msg_control);
1894 l_msghdr.msg_flags |= LINUX_MSG_CTRUNC;
1921 l_msghdr.msg_controllen = outlen;
1922 error = copyout(&l_msghdr, msghdr, sizeof(l_msghdr));