Home
last modified time | relevance | path

Searched refs:Router (Results 1 – 9 of 9) sorted by relevance

/webrtc/util/src/vnet/router/
H A Drouter_test.rs118 let r = Router::new(RouterConfig { in test_router_standalone_cidr_parsing()
135 let r = Router::new(RouterConfig { in test_router_standalone_assign_ip_address()
160 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_router_standalone_add_net()
191 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_router_standalone_routing()
278 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_router_standalone_add_chunk_filter()
607 let lan = Router::new(RouterConfig { in test_router_static_ips_more_than_one()
627 let lan = Router::new(RouterConfig { in test_router_static_ips_static_ip_local_ip_mapping()
655 let result = Router::new(RouterConfig { in test_router_static_ips_static_ip_local_ip_mapping()
666 let result = Router::new(RouterConfig { in test_router_static_ips_static_ip_local_ip_mapping()
677 let result = Router::new(RouterConfig { in test_router_static_ips_static_ip_local_ip_mapping()
[all …]
/webrtc/util/src/vnet/
H A Drouter.rs69 async fn set_router(&self, r: Arc<Mutex<Router>>) -> Result<()>; in set_router()
80 pub(crate) parent: Option<Arc<Mutex<Router>>>, // read-only
89 pub struct Router { struct
98 children: Vec<Arc<Mutex<Router>>>, // read-only argument
106 impl Nic for Router { argument
155 async fn set_router(&self, parent: Arc<Mutex<Router>>) -> Result<()> { in set_router()
214 impl Router { implementation
279 Ok(Router { in new()
318 while let Ok(d) = Router::process_chunks( in start()
346 Box::pin(async move { Router::start_childen(children).await }) in start()
[all …]
H A Dnet.rs41 pub(crate) router: Option<Arc<Mutex<Router>>>, // read-only
153 async fn set_router(&self, r: Arc<Mutex<Router>>) -> Result<()> { in set_router()
/webrtc/ice/src/agent/
H A Dagent_gather_test.rs40 let r = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_dynamic_ip_address()
74 let r = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_listen_udp()
122 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_nat_1to1_as_host_candidates()
127 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_nat_1to1_as_host_candidates()
238 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_nat_1to1_as_srflx_candidates()
243 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_nat_1to1_as_srflx_candidates()
323 let r = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_with_interface_filter()
430 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_vnet_gather_muxed_udp()
H A Dagent_vnet_test.rs44 pub(crate) wan: Arc<Mutex<router::Router>>,
73 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_simple_vnet()
86 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_simple_vnet()
122 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet()
135 let lan0 = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet()
155 let lan1 = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet()
416 router: &Arc<Mutex<router::Router>>, in connect_net2router() argument
433 child: &Arc<Mutex<router::Router>>, in connect_router2router() argument
434 parent: &Arc<Mutex<router::Router>>, in connect_router2router() argument
762 let wan = router::Router::new(router::RouterConfig { in test_disconnected_to_connected()
[all …]
H A Dagent_test.rs404 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_connectivity_on_startup()
/webrtc/turn/src/server/
H A Dserver_test.rs98 wan: Arc<Mutex<router::Router>>,
107 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet()
140 let lan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet()
/webrtc/webrtc/src/peer_connection/
H A Dpeer_connection_test.rs14 use util::vnet::router::{Router, RouterConfig};
18 ) -> Result<(RTCPeerConnection, RTCPeerConnection, Arc<Mutex<Router>>)> { in create_vnet_pair() argument
20 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in create_vnet_pair()
/webrtc/util/src/vnet/net/
H A Dnet_test.rs465 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_net_virtual_dail_eth0()
497 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_net_virtual_resolver()
649 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_net_virtual_end2end()
792 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in test_net_virtual_two_ips_on_a_nic()