Home
last modified time | relevance | path

Searched refs:linux_cmsg (Results 1 – 1 of 1) sorted by relevance

/freebsd-14.2/sys/compat/linux/
H A Dlinux_socket.c1359 struct l_cmsghdr linux_cmsg; in linux_sendmsg_common() local
1435 error = copyin(ptr_cmsg, &linux_cmsg, in linux_sendmsg_common()
1441 if (linux_cmsg.cmsg_len < sizeof(struct l_cmsghdr) || in linux_sendmsg_common()
1442 linux_cmsg.cmsg_len > clen) in linux_sendmsg_common()
1454 linux_to_bsd_cmsg_type(linux_cmsg.cmsg_type); in linux_sendmsg_common()
1456 linux_to_bsd_sockopt_level(linux_cmsg.cmsg_level); in linux_sendmsg_common()
1461 linux_cmsg.cmsg_level, linux_cmsg.cmsg_type); in linux_sendmsg_common()
1484 len = linux_cmsg.cmsg_len - L_CMSG_HDRSZ; in linux_sendmsg_common()
1500 if (clen <= LINUX_CMSG_ALIGN(linux_cmsg.cmsg_len)) in linux_sendmsg_common()
1503 clen -= LINUX_CMSG_ALIGN(linux_cmsg.cmsg_len); in linux_sendmsg_common()
[all …]