Searched refs:cmsg_ptr (Results 1 – 2 of 2) sorted by relevance
59 fn get_next_cmsg(msghdr: &msghdr, cmsg: &cmsghdr, cmsg_ptr: *mut cmsghdr) -> *mut cmsghdr { in get_next_cmsg()60 let next_cmsg = (cmsg_ptr as *mut u8).wrapping_add(CMSG_ALIGN!(cmsg.cmsg_len)) as *mut cmsghdr; in get_next_cmsg()200 let mut cmsg_ptr = msg.msg_control as *mut cmsghdr; in raw_recvmsg_iovecs() localVariable202 while !cmsg_ptr.is_null() { in raw_recvmsg_iovecs()205 let cmsg = unsafe { (cmsg_ptr as *mut cmsghdr).read_unaligned() }; in raw_recvmsg_iovecs()211 CMSG_DATA(cmsg_ptr), in raw_recvmsg_iovecs()219 cmsg_ptr = get_next_cmsg(&msg, &cmsg, cmsg_ptr); in raw_recvmsg_iovecs()
1329 let cmsg_ptr = if capacity > 0 { in pack_mhdr_to_send() localVariable1346 (*p).msg_control = cmsg_ptr; in pack_mhdr_to_send()