Home
last modified time | relevance | path

Searched refs:slirp (Results 1 – 12 of 12) sorted by relevance

/external/crosvm/net_util/
DCargo.toml10 slirp = ["libslirp-sys", "pcap-file"]
11 slirp-debug = ["slirp"]
12 slirp-ring-capture = ["slirp"]
/external/crosvm/third_party/libslirp-rs/src/
Dcontext.rs55 use crate::slirp::SlirpError;
83 slirp: *mut Slirp, field
91 if !self.slirp.is_null() { in drop()
93 slirp_cleanup(self.slirp); in drop()
442 slirp: std::ptr::null_mut(), in new()
502 let slirp = unsafe { in new() localVariable
513 assert!(!slirp.is_null()); in new()
523 ret.slirp = slirp; in new()
536 self.slirp, in handle_guest_input()
578 str::from_utf8(unsafe { CStr::from_ptr(slirp_connection_info(self.slirp)) }.to_bytes()) in connection_info()
[all …]
/external/crosvm/net_util/src/
Dlib.rs39 pub mod slirp; module
41 pub use slirp::Slirp;
63 Slirp(slirp::SlirpError),
/external/crosvm/net_util/src/slirp/sys/windows/
Dhandler.rs59 use crate::slirp::context::CallbackHandler;
60 use crate::slirp::context::Context;
61 use crate::slirp::context::PollEvents;
63 use crate::slirp::packet_ring_buffer::PacketRingBuffer;
64 use crate::slirp::SlirpError;
65 use crate::slirp::ETHERNET_FRAME_SIZE;
525 'slirp: loop { in start_slirp()
581 break 'slirp; in start_slirp()
/external/crosvm/devices/
DCargo.toml37 slirp = ["net_util/slirp"]
/external/crosvm/
DCargo.toml122 …udio", "balloon", "config-file", "document-features", "gpu", "qcow", "usb", "libvda-stub", "slirp"]
252 slirp = ["devices/slirp", "net_util/slirp"]
332 "slirp",
374 "slirp",
/external/crosvm/devices/src/virtio/sys/windows/
Dnet.rs220 let slirp = net_util::Slirp::new( in new_slirp() localVariable
230 vec![slirp], in new_slirp()
/external/crosvm/net_util/src/slirp/sys/
Dwindows.rs33 use crate::slirp::SlirpError;
34 use crate::slirp::ETHERNET_FRAME_SIZE;
/external/crosvm/devices/src/virtio/vhost/user/device/net/sys/
Dwindows.rs69 let slirp = Slirp::new_for_multi_process(guest_pipe).map_err(NetError::SlirpCreateError)?; in new_slirp() localVariable
72 tap: slirp, in new_slirp()
/external/crosvm/third_party/libslirp-rs/
DREADME.md28 git clone https://gitlab.freedesktop.org/slirp/libslirp.git
/external/crosvm/src/sys/windows/
Dmain.rs28 use net_util::slirp::sys::windows::SlirpStartupConfig;
/external/crosvm/src/crosvm/sys/windows/
Dbroker.rs91 use net_util::slirp::sys::windows::SlirpStartupConfig;
93 use net_util::slirp::sys::windows::SLIRP_BUFFER_SIZE;