Home
last modified time | relevance | path

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

/external/rust/crates/nix/test/sys/
Dtest_socket.rs77 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/
Dlib.rs29 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/
Dunix.rs31 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/
Dmod.rs291 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/
DCHANGELOG.md811 - Added `MSG_WAITALL` to `MsgFlags` in `sys::socket`.
1489 - Added `MSG_CMSG_CLOEXEC` to `MsgFlags` in `::nix::sys::socket` for _linux_ only.