Home
last modified time | relevance | path

Searched defs:CallbackContext (Results 1 – 1 of 1) sorted by relevance

/tools/netsim/rust/libslirp-rs/src/
Dlibslirp.rs156 struct CallbackContext { struct
157 tx_bytes: mpsc::Sender<Bytes>,
158 tx_cmds: mpsc::Sender<SlirpCmd>,
159 poll_fds: Rc<RefCell<Vec<PollFd>>>,
160 proxy_manager: Option<Box<dyn ProxyManager>>,
161 tx_proxy_bytes: Option<mpsc::Sender<Bytes>>,
162 timer_manager: Rc<TimerManager>,
324 unsafe fn callback_context_from_raw(opaque: *mut c_void) -> ManuallyDrop<Box<CallbackContext>> { in callback_context_from_raw()
386 &*callback_context as *const CallbackContext as *mut c_void, in new() constant
566 &*self.callback_context as *const CallbackContext as *mut c_void, in pollfds_fill_and_send() constant
[all …]