Home
last modified time | relevance | path

Searched refs:arc_capture (Results 1 – 2 of 2) sorted by relevance

/tools/netsim/rust/daemon/src/captures/
Dcapture.rs222 let arc_capture = Arc::new(Mutex::new(capture)); in insert() localVariable
223 self.chip_id_to_capture.insert(chip_id, arc_capture.clone()); in insert()
240 if let Some(arc_capture) = self.chip_id_to_capture.get(key) { in remove()
241 let mut capture = arc_capture.lock().expect("Failed to acquire lock on CaptureInfo"); in remove()
Dcaptures_handler.rs152 .map(|arc_capture| arc_capture.lock().expect("Failed to acquire lock on CaptureInfo")) in handle_capture_patch()
250 .map(|arc_capture| arc_capture.lock().expect("Failed to acquire lock on CaptureInfo")) in handle_packet()