Lines Matching refs:linux_cmsg
1364 struct l_cmsghdr linux_cmsg; in linux_sendmsg_common() local
1438 error = copyin(ptr_cmsg, &linux_cmsg, in linux_sendmsg_common()
1444 if (linux_cmsg.cmsg_len < sizeof(struct l_cmsghdr) || in linux_sendmsg_common()
1445 linux_cmsg.cmsg_len > clen) in linux_sendmsg_common()
1457 linux_to_bsd_cmsg_type(linux_cmsg.cmsg_type); in linux_sendmsg_common()
1459 linux_to_bsd_sockopt_level(linux_cmsg.cmsg_level); in linux_sendmsg_common()
1464 linux_cmsg.cmsg_level, linux_cmsg.cmsg_type); in linux_sendmsg_common()
1487 len = linux_cmsg.cmsg_len - L_CMSG_HDRSZ; in linux_sendmsg_common()
1503 if (clen <= LINUX_CMSG_ALIGN(linux_cmsg.cmsg_len)) in linux_sendmsg_common()
1506 clen -= LINUX_CMSG_ALIGN(linux_cmsg.cmsg_len); in linux_sendmsg_common()
1508 LINUX_CMSG_ALIGN(linux_cmsg.cmsg_len)); in linux_sendmsg_common()