Home
last modified time | relevance | path

Searched refs:lan (Results 1 – 4 of 4) sorted by relevance

/webrtc/util/src/vnet/router/
H A Drouter_test.rs575 let lan = rs[1].lock().await; in test_router_one_child() localVariable
576 lan.set_router(parent).await?; in test_router_one_child()
590 let lan = rs[1].lock().await; in test_router_one_child() localVariable
591 lan.push(c).await; in test_router_one_child()
607 let lan = Router::new(RouterConfig { in test_router_static_ips_more_than_one() localVariable
617 assert_eq!(lan.static_ips.len(), 3, "should be 3"); in test_router_static_ips_more_than_one()
627 let lan = Router::new(RouterConfig { in test_router_static_ips_static_ip_local_ip_mapping() localVariable
637 assert_eq!(lan.static_ips.len(), 3, "should be 3"); in test_router_static_ips_static_ip_local_ip_mapping()
713 w.add_router(Arc::clone(&lan)).await?; in test_router_static_ips_1to1_nat()
716 let n = lan.lock().await; in test_router_static_ips_1to1_nat()
[all …]
/webrtc/ice/src/agent/
H A Dagent_gather_test.rs127 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_nat_1to1_as_host_candidates() localVariable
137 connect_router2router(&lan, &wan).await?; in test_vnet_gather_with_nat_1to1_as_host_candidates()
144 connect_net2router(&nw, &lan).await?; in test_vnet_gather_with_nat_1to1_as_host_candidates()
243 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_nat_1to1_as_srflx_candidates() localVariable
253 connect_router2router(&lan, &wan).await?; in test_vnet_gather_with_nat_1to1_as_srflx_candidates()
260 connect_net2router(&nw, &lan).await?; in test_vnet_gather_with_nat_1to1_as_srflx_candidates()
430 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_muxed_udp() localVariable
444 connect_net2router(&nw, &lan).await?; in test_vnet_gather_muxed_udp()
H A Dagent_vnet_test.rs86 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_simple_vnet() localVariable
100 connect_net2router(&net0, &lan).await?; in build_simple_vnet()
101 connect_net2router(&net1, &lan).await?; in build_simple_vnet()
102 connect_router2router(&lan, &wan).await?; in build_simple_vnet()
/webrtc/turn/src/server/
H A Dserver_test.rs140 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet() localVariable
157 let mut l = lan.lock().await; in build_vnet()
162 n.set_router(Arc::clone(&lan)).await?; in build_vnet()
168 w.add_router(Arc::clone(&lan)).await?; in build_vnet()
172 let l = lan.lock().await; in build_vnet()