Home
last modified time | relevance | path

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

/webrtc/util/src/vnet/router/
H A Drouter_test.rs170 let mut w = wan.lock().await; in test_router_standalone_add_net()
239 let mut r = wan.lock().await; in test_router_standalone_routing()
247 let mut r = wan.lock().await; in test_router_standalone_routing()
332 let mut r = wan.lock().await; in test_router_standalone_add_chunk_filter()
350 let mut r = wan.lock().await; in test_router_standalone_add_chunk_filter()
420 let mut r = wan.lock().await; in delay_sub_test()
433 let mut r = wan.lock().await; in delay_sub_test()
571 wan.add_router(child).await?; in test_router_one_child()
581 wan.start().await?; in test_router_one_child()
599 wan.stop().await?; in test_router_one_child()
[all …]
/webrtc/ice/src/agent/
H A Dagent_vnet_test.rs53 let mut w = self.wan.lock().await; in close()
105 start_router(&wan).await?; in build_simple_vnet()
110 wan, in build_simple_vnet()
175 start_router(&wan).await?; in build_vnet()
180 wan, in build_vnet()
773 let wan = Arc::new(Mutex::new(wan)); in test_disconnected_to_connected() localVariable
786 start_router(&wan).await?; in test_disconnected_to_connected()
871 let mut w = wan.lock().await; in test_disconnected_to_connected()
923 let wan = Arc::new(Mutex::new(wan)); in test_write_use_valid_pair() localVariable
936 start_router(&wan).await?; in test_write_use_valid_pair()
[all …]
H A Dagent_gather_test.rs122 let wan = 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()
238 let wan = 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()
H A Dagent_test.rs404 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in test_connectivity_on_startup() localVariable
418 connect_net2router(&net0, &wan).await?; in test_connectivity_on_startup()
419 connect_net2router(&net1, &wan).await?; in test_connectivity_on_startup()
420 start_router(&wan).await?; in test_connectivity_on_startup()
494 let mut w = wan.lock().await; in test_connectivity_on_startup()
/webrtc/turn/src/server/
H A Dserver_test.rs98 wan: Arc<Mutex<router::Router>>, field
107 let wan = Arc::new(Mutex::new(router::Router::new(router::RouterConfig { in build_vnet() localVariable
127 let mut w = wan.lock().await; in build_vnet()
133 n0.set_router(Arc::clone(&wan)).await?; in build_vnet()
136 n1.set_router(Arc::clone(&wan)).await?; in build_vnet()
167 let mut w = wan.lock().await; in build_vnet()
173 l.set_router(Arc::clone(&wan)).await?; in build_vnet()
178 let mut w = wan.lock().await; in build_vnet()
202 let mut w = wan.lock().await; in build_vnet()
212 wan, in build_vnet()
/webrtc/webrtc/src/peer_connection/
H A Dpeer_connection_test.rs20 let wan = Arc::new(Mutex::new(Router::new(RouterConfig { in create_vnet_pair() localVariable
34 let mut w = wan.lock().await; in create_vnet_pair()
39 n.set_router(Arc::clone(&wan)).await?; in create_vnet_pair()
59 let mut w = wan.lock().await; in create_vnet_pair()
64 n.set_router(Arc::clone(&wan)).await?; in create_vnet_pair()
77 let mut w = wan.lock().await; in create_vnet_pair()
99 Ok((offer_peer_connection, answer_peer_connection, wan)) in create_vnet_pair()
/webrtc/util/src/vnet/net/
H A Dnet_test.rs475 let mut w = wan.lock().await; in test_net_virtual_dail_eth0()
479 n.set_router(Arc::clone(&wan)).await?; in test_net_virtual_dail_eth0()
513 let mut w = wan.lock().await; in test_net_virtual_resolver()
519 n.set_router(Arc::clone(&wan)).await?; in test_net_virtual_resolver()
658 let mut w = wan.lock().await; in test_net_virtual_end2end()
663 n.set_router(Arc::clone(&wan)).await?; in test_net_virtual_end2end()
673 let mut w = wan.lock().await; in test_net_virtual_end2end()
688 let mut w = wan.lock().await; in test_net_virtual_end2end()
804 let mut w = wan.lock().await; in test_net_virtual_two_ips_on_a_nic()
808 n.set_router(Arc::clone(&wan)).await?; in test_net_virtual_two_ips_on_a_nic()
[all …]
/webrtc/webrtc/src/rtp_transceiver/rtp_receiver/
H A Drtp_receiver_test.rs71 let (mut sender, mut receiver, wan) = create_vnet_pair().await?; in test_set_rtp_parameters()
153 let mut w = wan.lock().await; in test_set_rtp_parameters()
165 let (mut sender, mut receiver, wan) = create_vnet_pair().await?; in test_rtp_receiver_set_read_deadline()
224 let mut w = wan.lock().await; in test_rtp_receiver_set_read_deadline()
/webrtc/webrtc/src/rtp_transceiver/rtp_sender/
H A Drtp_sender_test.rs148 let (mut sender, mut receiver, wan) = create_vnet_pair().await?; in test_rtp_sender_set_read_deadline()
185 let mut w = wan.lock().await; in test_rtp_sender_set_read_deadline()