Home
last modified time | relevance | path

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

/webrtc/util/src/vnet/
H A Drouter.rs97 static_local_ips: HashMap<String, IpAddr>, // read-only, field
180 if let Some(loc_ip) = self.static_local_ips.get(&ip.to_string()) { in set_router()
246 let mut static_local_ips = HashMap::new(); in new() localVariable
255 static_local_ips.insert(ip.to_string(), loc_ip); in new()
267 let n_static_local = static_local_ips.len(); in new()
284 static_local_ips, in new()
/webrtc/util/src/vnet/router/
H A Drouter_test.rs642 assert_eq!(3, lan.static_local_ips.len(), "should be 3"); in test_router_static_ips_static_ip_local_ip_mapping()
647 if let Some(loc_ip) = lan.static_local_ips.get(ext_ipstr) { in test_router_static_ips_static_ip_local_ip_mapping()