Searched refs:MsgFlags (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/nix/test/sys/ |
D | test_socket.rs | 77 ControlMessageOwned, MsgFlags, SockFlag, SockType, SockaddrIn, in test_timestamping() 105 let flags = MsgFlags::empty(); in test_timestamping() 329 Fs: Fn(RawFd, &[u8], MsgFlags) -> Result<usize> + Send + 'static, in sendrecv() 339 l += f_send(ssock, &MSG[l..], MsgFlags::empty()).unwrap(); in sendrecv() 560 use nix::sys::socket::{recvmmsg, MsgFlags}; in udp_recvmmsg() 587 sendto(ssock, &DATA[..], &sock_addr, MsgFlags::empty()) in udp_recvmmsg() 606 recvmmsg(rsock, &mut data, msgs.iter(), MsgFlags::empty(), None) in udp_recvmmsg() 631 use nix::sys::socket::{recvmmsg, MsgFlags}; in udp_recvmmsg_dontwait_short_read() 658 sendto(ssock, &DATA[..], &sock_addr, MsgFlags::empty()) in udp_recvmmsg_dontwait_short_read() 687 MsgFlags::MSG_DONTWAIT, in udp_recvmmsg_dontwait_short_read() [all …]
|
/external/rust/crates/vsock/src/ |
D | lib.rs | 29 AddressFamily, GetSockOpt, MsgFlags, SetSockOpt, SockFlag, SockType, 322 Ok(recv(self.socket, buf, MsgFlags::empty())?) in read() 328 Ok(send(self.socket, buf, MsgFlags::MSG_NOSIGNAL)?) in write()
|
/external/crosvm/rutabaga_gfx/src/cross_domain/sys/ |
D | unix.rs | 31 use nix::sys::socket::MsgFlags; 104 MsgFlags::empty(), in send_msg() 118 let flags = MsgFlags::empty(); in receive_msg()
|
/external/rust/crates/nix/src/sys/socket/ |
D | mod.rs | 291 pub struct MsgFlags: c_int { 608 pub flags: MsgFlags, 1476 flags: MsgFlags, addr: Option<&S>) -> Result<usize> 1524 flags: MsgFlags 1683 flags: MsgFlags, 1827 sendmsg, setsockopt, socket, sockopt::Timestamping, MsgFlags, SockFlag, SockType, 1868 let flags = MsgFlags::empty(); 1939 flags: MsgFlags::from_bits_truncate(mhdr.msg_flags), 2049 flags: MsgFlags) -> Result<RecvMsg<'a, 'inner, S>> 2201 pub fn recv(sockfd: RawFd, buf: &mut [u8], flags: MsgFlags) -> Result<usize> { in recv() [all …]
|
/external/rust/crates/nix/ |
D | CHANGELOG.md | 811 - Added `MSG_WAITALL` to `MsgFlags` in `sys::socket`. 1489 - Added `MSG_CMSG_CLOEXEC` to `MsgFlags` in `::nix::sys::socket` for _linux_ only.
|