Lines Matching refs:linux_cmsg
1360 struct l_cmsghdr linux_cmsg; in linux_sendmsg_common() local
1436 error = copyin(ptr_cmsg, &linux_cmsg, in linux_sendmsg_common()
1442 if (linux_cmsg.cmsg_len < sizeof(struct l_cmsghdr) || in linux_sendmsg_common()
1443 linux_cmsg.cmsg_len > clen) in linux_sendmsg_common()
1455 linux_to_bsd_cmsg_type(linux_cmsg.cmsg_type); in linux_sendmsg_common()
1457 linux_to_bsd_sockopt_level(linux_cmsg.cmsg_level); in linux_sendmsg_common()
1462 linux_cmsg.cmsg_level, linux_cmsg.cmsg_type); in linux_sendmsg_common()
1485 len = linux_cmsg.cmsg_len - L_CMSG_HDRSZ; in linux_sendmsg_common()
1501 if (clen <= LINUX_CMSG_ALIGN(linux_cmsg.cmsg_len)) in linux_sendmsg_common()
1504 clen -= LINUX_CMSG_ALIGN(linux_cmsg.cmsg_len); in linux_sendmsg_common()
1506 LINUX_CMSG_ALIGN(linux_cmsg.cmsg_len)); in linux_sendmsg_common()