Searched refs:nics (Results 1 – 2 of 2) sorted by relevance
199 let mut nics = vec![]; in test_router_standalone_routing() localVariable233 nics.push(nic); in test_router_standalone_routing()252 let n = nics[0].lock().await; in test_router_standalone_routing()283 let mut nics = vec![]; in test_router_standalone_add_chunk_filter() localVariable313 nics.push(nic); in test_router_standalone_add_chunk_filter()355 let n = nics[0].lock().await; in test_router_standalone_add_chunk_filter()360 let n = nics[1].lock().await; in test_router_standalone_add_chunk_filter()379 let mut nics = vec![]; in delay_sub_test() localVariable416 nics.push(nic); in delay_sub_test()523 let mut nics = vec![]; in test_router_one_child() localVariable[all …]
82 pub(crate) nics: HashMap<String, Arc<Mutex<dyn Nic + Send + Sync>>>, // read-only field275 nics: HashMap::new(), in new()493 if let Some(nic) = ri.nics.get(&dst_ip.to_string()) { in process_chunks()546 self.nics.insert(ip.to_string(), Arc::clone(&nic)); in add_nic()