Home
last modified time | relevance | path

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

/external/rust/crates/nix/src/sys/socket/
Dmod.rs1028 pub enum ControlMessage<'a> {
1177 impl<'a> ControlMessage<'a> { impl
1201 ControlMessage::ScmRights(fds) => {
1205 ControlMessage::ScmCredentials(creds) => {
1209 ControlMessage::ScmCreds => {
1216 ControlMessage::AlgSetIv(iv) => {
1241 ControlMessage::AlgSetOp(op) => {
1245 ControlMessage::AlgSetAeadAssoclen(len) => {
1250 ControlMessage::UdpGsoSegments(gso_size) => {
1257 ControlMessage::Ipv4PacketInfo(info) => info as *const _ as *const u8,
[all …]
/external/rust/crates/nix/test/sys/
Dtest_socket.rs442 let cmsg = ControlMessage::UdpGsoSegments(&segment_size); in gso()
772 recvmsg, sendmsg, socketpair, AddressFamily, ControlMessage, in test_scm_rights()
791 let cmsg = ControlMessage::ScmRights(&fds); in test_scm_rights()
847 ControlMessage, MsgFlags, SockFlag, SockType, in test_af_alg_cipher()
886 ControlMessage::AlgSetOp(&libc::ALG_OP_ENCRYPT), in test_af_alg_cipher()
887 ControlMessage::AlgSetIv(iv.as_slice()), in test_af_alg_cipher()
903 ControlMessage::AlgSetOp(&libc::ALG_OP_DECRYPT), in test_af_alg_cipher()
904 ControlMessage::AlgSetIv(iv.as_slice()), in test_af_alg_cipher()
928 ControlMessage, MsgFlags, SockFlag, SockType, in test_af_alg_aead()
980 ControlMessage::AlgSetOp(&ALG_OP_ENCRYPT), in test_af_alg_aead()
[all …]
/external/crosvm/rutabaga_gfx/src/cross_domain/sys/
Dunix.rs29 use nix::sys::socket::ControlMessage;
98 let cmsg = ControlMessage::ScmRights(descriptors); in send_msg()
/external/rust/crates/nix/
DCHANGELOG.md623 - Added support for `Ipv4PacketInfo` and `Ipv6PacketInfo` to `ControlMessage`.
629 - Added support for `Ipv4PacketInfo` and `Ipv6PacketInfo` to `ControlMessage` for iOS and Android.
753 - `sys::socket::ControlMessage::ScmCredentials` and
894 than `ControlMessage` objects. This is sadly not backwards-compatible. Fix
897 if let ControlMessage::ScmRights(&fds) = cmsg {
1158 `nix::sys::socket::ControlMessage::ScmTimestamp`