Home
last modified time | relevance | path

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

/external/crosvm/sys_util/src/
Dsock_ctrl_msg.rs72 enum CmsgBuffer { enum
77 impl CmsgBuffer { implementation
78 fn with_capacity(capacity: usize) -> CmsgBuffer { in with_capacity() argument
82 CmsgBuffer::Inline([0u64; (CMSG_BUFFER_INLINE_CAPACITY + 7) / 8]) in with_capacity()
84 CmsgBuffer::Heap( in with_capacity()
100 CmsgBuffer::Inline(a) => a.as_mut_ptr() as *mut cmsghdr, in as_mut_ptr()
101 CmsgBuffer::Heap(a) => a.as_mut_ptr(), in as_mut_ptr()
108 let mut cmsg_buffer = CmsgBuffer::with_capacity(cmsg_capacity); in raw_sendmsg()
160 let mut cmsg_buffer = CmsgBuffer::with_capacity(cmsg_capacity); in raw_recvmsg()