Home
last modified time | relevance | path

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

/external/crosvm/msg_socket/src/
Dlib.rs12 use sys_util::{handle_eintr, net::UnixSeqpacket, Error as SysError, ScmSocket};
21 let (sock1, sock2) = UnixSeqpacket::pair()?; in pair()
37 sock: UnixSeqpacket,
44 pub fn new(s: UnixSeqpacket) -> MsgSocket<I, O> { in new()
54 type Target = UnixSeqpacket;
62 sock: UnixSeqpacket,
68 pub fn new(s: UnixSeqpacket) -> Sender<M> { in new()
78 sock: UnixSeqpacket,
84 pub fn new(s: UnixSeqpacket) -> Receiver<M> { in new()
92 impl<I: MsgOnSocket, O: MsgOnSocket> AsRef<UnixSeqpacket> for MsgSocket<I, O> {
[all …]
/external/crosvm/sys_util/src/
Dnet.rs70 pub struct UnixSeqpacket { struct
74 impl UnixSeqpacket { argument
103 Ok(UnixSeqpacket { fd }) in connect()
109 pub fn pair() -> io::Result<(UnixSeqpacket, UnixSeqpacket)> { in pair()
121 UnixSeqpacket::from_raw_fd(fds[0]), in pair()
122 UnixSeqpacket::from_raw_fd(fds[1]), in pair()
137 Ok(UnixSeqpacket { fd: new_fd }) in try_clone()
247 impl Drop for UnixSeqpacket { implementation
256 impl FromRawFd for UnixSeqpacket { implementation
263 impl AsRawFd for UnixSeqpacket { implementation
[all …]
Dsock_ctrl_msg.rs20 use crate::net::UnixSeqpacket;
298 impl ScmSocket for UnixSeqpacket { implementation
/external/adhd/cras/client/libcras/src/
Dcras_server_socket.rs7 use sys_util::{net::UnixSeqpacket, ScmSocket};
14 socket: UnixSeqpacket,
19 let socket = UnixSeqpacket::connect(CRAS_SERVER_SOCKET_PATH)?; in new()
/external/crosvm/devices/src/
Dproxy.rs16 use sys_util::{error, net::UnixSeqpacket};
69 fn child_proc(sock: UnixSeqpacket, device: &mut dyn BusDevice) { in child_proc() argument
143 let (child_sock, parent_sock) = UnixSeqpacket::pair().map_err(Error::Io)?; in new()
/external/crosvm/devices/src/usb/host_backend/
Dhost_backend_device_provider.rs19 use sys_util::net::UnixSeqpacket;
45 let (child_sock, control_sock) = UnixSeqpacket::pair().map_err(Error::CreateControlSock)?; in new()
/external/crosvm/src/
Dlinux.rs38 use sys_util::net::{UnixSeqpacket, UnixSeqpacketListener, UnlinkUnixSeqpacketListener};
257 impl AsRef<UnixSeqpacket> for TaggedControlSocket {
258 fn as_ref(&self) -> &UnixSeqpacket { in as_ref() argument
Dmain.rs28 debug, error, getpid, info, kill_process_group, net::UnixSeqpacket, reap_child, syslog,
954 match UnixSeqpacket::connect(&socket_path) { in handle_request()