Searched refs:ControlMessageOwned (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/nix/src/sys/socket/ |
D | mod.rs | 632 type Item = ControlMessageOwned; 634 fn next(&mut self) -> Option<ControlMessageOwned> { 640 let cm = unsafe { Some(ControlMessageOwned::decode_from(hdr))}; 665 pub enum ControlMessageOwned { 850 impl ControlMessageOwned { impl 860 unsafe fn decode_from(header: &cmsghdr) -> ControlMessageOwned 875 ControlMessageOwned::ScmRights(fds) 880 ControlMessageOwned::ScmCredentials(cred.into()) 885 ControlMessageOwned::ScmCreds(cred.into()) 890 ControlMessageOwned::ScmTimestamp(TimeVal::from(tv)) [all …]
|
/external/rust/crates/nix/test/sys/ |
D | test_socket.rs | 77 ControlMessageOwned, MsgFlags, SockFlag, SockType, SockaddrIn, in test_timestamping() 115 if let ControlMessageOwned::ScmTimestampsns(timestamps) = c { in test_timestamping() 773 ControlMessageOwned, MsgFlags, SockFlag, SockType, in test_scm_rights() 814 if let ControlMessageOwned::ScmRights(fd) = cmsg { in test_scm_rights() 1203 recvmsg, sendmsg, ControlMessage, ControlMessageOwned, MsgFlags, in test_scm_rights_single_cmsg_multiple_fds() 1229 Some(ControlMessageOwned::ScmRights(fds)) => { in test_scm_rights_single_cmsg_multiple_fds() 1318 ControlMessageOwned, MsgFlags, SockFlag, SockType, UnixCredentials, in test_scm_credentials() 1368 ControlMessageOwned::ScmCredentials(cred) => cred, in test_scm_credentials() 1370 ControlMessageOwned::ScmCreds(cred) => cred, in test_scm_credentials() 1418 ControlMessageOwned, MsgFlags, SockFlag, SockType, in test_impl_scm_credentials_and_rights() [all …]
|
/external/crosvm/rutabaga_gfx/src/cross_domain/sys/ |
D | unix.rs | 30 use nix::sys::socket::ControlMessageOwned; 130 Some(ControlMessageOwned::ScmRights(fds)) => { in receive_msg()
|
/external/rust/crates/nix/ |
D | CHANGELOG.md | 754 `sys::socket::ControlMessageOwned::ScmCredentials` now wrap `UnixCredentials` 893 - `recvmsg` now returns an Iterator over `ControlMessageOwned` objects rather 902 if let ControlMessageOwned::ScmRights(fds) = cmsg {
|