Home
last modified time | relevance | path

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

/external/crosvm/sys_util/src/
Dnet.rs336 pub struct UnixSeqpacket { struct
341 impl UnixSeqpacket { argument
370 Ok(UnixSeqpacket { fd }) in connect()
376 pub fn pair() -> io::Result<(UnixSeqpacket, UnixSeqpacket)> { in pair()
388 UnixSeqpacket::from_raw_fd(fds[0]), in pair()
389 UnixSeqpacket::from_raw_fd(fds[1]), in pair()
591 impl Drop for UnixSeqpacket { implementation
600 impl FromRawFd for UnixSeqpacket { implementation
607 impl AsRawFd for UnixSeqpacket { implementation
613 impl AsRawFd for &UnixSeqpacket { implementation
[all …]
Dsock_ctrl_msg.rs22 use crate::net::UnixSeqpacket;
354 impl ScmSocket for UnixSeqpacket { implementation
/external/adhd/cras/client/libcras/src/
Dcras_server_socket.rs8 use sys_util::{net::UnixSeqpacket, ScmSocket};
31 socket: UnixSeqpacket,
46 socket: UnixSeqpacket::connect(socket_type.sock_path())?, in with_type()
/external/crosvm/devices/src/virtio/snd/vios_backend/
Dshm_vios.rs9 error, net::UnixSeqpacket, Error as BaseError, Event, FromRawDescriptor, IntoRawDescriptor,
106 control_socket: Mutex<UnixSeqpacket>,
107 event_socket: Mutex<UnixSeqpacket>,
120 UnixSeqpacket::connect(server).map_err(|e| Error::ServerConnectionError(e))?; in try_new()
174 let rx_socket = pop::<UnixSeqpacket>(&mut safe_fds, NUM_FDS, fd_count)?; in try_new()
175 let tx_socket = pop::<UnixSeqpacket>(&mut safe_fds, NUM_FDS, fd_count)?; in try_new()
176 let event_socket = pop::<UnixSeqpacket>(&mut safe_fds, NUM_FDS, fd_count)?; in try_new()
481 rx_socket: UnixSeqpacket, in spawn_recv_thread() argument
554 socket: UnixSeqpacket,
562 fn new(socket: UnixSeqpacket, mut file: File) -> Result<IoBufferQueue> { in new() argument
[all …]
/external/crosvm/base/src/
Dtube.rs11 use crate::{net::UnixSeqpacket, FromRawDescriptor, SafeDescriptor, ScmSocket, UnsyncMarker};
44 socket: UnixSeqpacket,
52 let (socket1, socket2) = UnixSeqpacket::pair().map_err(Error::Pair)?; in pair()
59 pub fn new(socket: UnixSeqpacket) -> Tube { in new()
/external/crosvm/vm_control/src/
Dclient.rs5 use base::{info, net::UnixSeqpacket, validate_raw_descriptor, RawDescriptor, Tube};
185 match UnixSeqpacket::connect(&socket_path) { in handle_request()
/external/crosvm/cros_async/src/
Dio_ext.rs23 use sys_util::net::UnixSeqpacket;
119 impl IntoAsync for UnixSeqpacket {} implementation
120 impl IntoAsync for &UnixSeqpacket {} implementation