| /webrtc/ice/src/network_type/ |
| H A D | network_type_test.rs | 46 assert!(NetworkType::Udp4.is_udp()); in test_network_type_is_udp() 47 assert!(NetworkType::Udp6.is_udp()); in test_network_type_is_udp() 56 assert!(NetworkType::Tcp4.is_tcp()); in test_network_type_is_tcp() 57 assert!(NetworkType::Tcp6.is_tcp()); in test_network_type_is_tcp() 67 (NetworkType::Tcp4, "\"tcp4\""), in test_network_type_serialization() 68 (NetworkType::Tcp6, "\"tcp6\""), in test_network_type_serialization() 69 (NetworkType::Udp4, "\"udp4\""), in test_network_type_serialization() 85 (NetworkType::Tcp4, "tcp4"), in test_network_type_to_string() 86 (NetworkType::Tcp6, "tcp6"), in test_network_type_to_string() 87 (NetworkType::Udp4, "udp4"), in test_network_type_to_string() [all …]
|
| H A D | mod.rs | 16 NetworkType::Udp4, in supported_network_types() 17 NetworkType::Udp6, in supported_network_types() 25 pub enum NetworkType { enum 46 impl From<u8> for NetworkType { implementation 58 impl fmt::Display for NetworkType { implementation 71 impl Default for NetworkType { implementation 77 impl NetworkType { implementation 134 Ok(NetworkType::Udp4) in determine_network_type() 136 Ok(NetworkType::Udp6) in determine_network_type() 140 Ok(NetworkType::Tcp4) in determine_network_type() [all …]
|
| /webrtc/ice/src/candidate/ |
| H A D | candidate_test.rs | 20 network_type: AtomicU8::new(NetworkType::Tcp4 as u8), in test_candidate_priority() 30 network_type: AtomicU8::new(NetworkType::Tcp4 as u8), in test_candidate_priority() 40 network_type: AtomicU8::new(NetworkType::Tcp4 as u8), in test_candidate_priority() 145 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 152 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 163 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 170 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 181 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() 188 network_type: AtomicU8::new(NetworkType::Udp6 as u8), in test_candidate_foundation() 199 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in test_candidate_foundation() [all …]
|
| H A D | candidate_server_reflexive_test.rs | 48 network_types: vec![NetworkType::Udp4], in test_server_reflexive_only_connection() 64 network_types: vec![NetworkType::Udp4], in test_server_reflexive_only_connection()
|
| H A D | candidate_host.rs | 33 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in new_candidate_host()
|
| H A D | candidate_base.rs | 163 fn network_type(&self) -> NetworkType { in network_type() argument 164 NetworkType::from(self.network_type.load(Ordering::SeqCst)) in network_type()
|
| H A D | mod.rs | 62 fn network_type(&self) -> NetworkType; in network_type() argument
|
| /webrtc/ice/src/mdns/ |
| H A D | mdns_test.rs | 18 network_types: vec![NetworkType::Udp4], in test_multicast_dns_only_connection() 29 network_types: vec![NetworkType::Udp4], in test_multicast_dns_only_connection() 52 network_types: vec![NetworkType::Udp4], in test_multicast_dns_mixed_connection() 63 network_types: vec![NetworkType::Udp4], in test_multicast_dns_mixed_connection() 86 network_types: vec![NetworkType::Udp4], in test_multicast_dns_static_host_name() 99 network_types: vec![NetworkType::Udp4], in test_multicast_dns_static_host_name()
|
| /webrtc/ice/src/util/ |
| H A D | util_test.rs | 7 let ips = local_interfaces(&vnet, &None, &None, &[NetworkType::Udp4, NetworkType::Udp6]).await; in test_local_interfaces()
|
| H A D | mod.rs | 15 pub fn create_addr(_network: NetworkType, ip: IpAddr, port: u16) -> SocketAddr { in create_addr() argument 94 network_types: &[NetworkType], in local_interfaces() argument
|
| /webrtc/ice/src/agent/ |
| H A D | agent_gather_test.rs | 25 &[NetworkType::Udp4], in test_vnet_gather_no_local_ip_address() 54 local_interfaces(&nw, &a.interface_filter, &a.ip_filter, &[NetworkType::Udp4]).await; in test_vnet_gather_dynamic_ip_address() 88 local_interfaces(&nw, &a.interface_filter, &a.ip_filter, &[NetworkType::Udp4]).await; in test_vnet_gather_listen_udp() 147 network_types: vec![NetworkType::Udp4], in test_vnet_gather_with_nat_1to1_as_host_candidates() 263 network_types: vec![NetworkType::Udp4], in test_vnet_gather_with_nat_1to1_as_srflx_candidates() 343 local_interfaces(&nw, &a.interface_filter, &a.ip_filter, &[NetworkType::Udp4]).await; in test_vnet_gather_with_interface_filter() 364 local_interfaces(&nw, &a.interface_filter, &a.ip_filter, &[NetworkType::Udp4]).await; in test_vnet_gather_with_interface_filter() 447 network_types: vec![NetworkType::Udp4], in test_vnet_gather_muxed_udp()
|
| H A D | agent_stats.rs | 4 use crate::network_type::NetworkType; 166 pub network_type: NetworkType, 202 network_type: NetworkType::default(), in default()
|
| H A D | agent_gather.rs | 26 pub(crate) network_types: Vec<NetworkType>, 40 network_types: Vec<NetworkType>, 51 network_types: Vec<NetworkType>, 61 network_types: Vec<NetworkType>, 71 network_types: Vec<NetworkType>, 744 let network = NetworkType::Udp4.to_string(); in gather_candidates_relay()
|
| H A D | agent_config.rs | 99 pub network_types: Vec<NetworkType>,
|
| H A D | agent_internal.rs | 55 pub(crate) local_candidates: Mutex<HashMap<NetworkType, Vec<Arc<dyn Candidate + Send + Sync>>>>, 57 Mutex<HashMap<NetworkType, Vec<Arc<dyn Candidate + Send + Sync>>>>, 691 network_type: NetworkType, in find_remote_candidate() argument 923 let (ip, port, network_type) = (remote.ip(), remote.port(), NetworkType::Udp4); in handle_inbound()
|
| H A D | mod.rs | 111 pub(crate) network_types: Vec<NetworkType>,
|
| H A D | agent_test.rs | 1244 NetworkType::Udp4, in test_local_candidate_stats() 1366 NetworkType::Udp4, in test_remote_candidate_stats()
|
| /webrtc/webrtc/src/dtls_transport/ |
| H A D | dtls_transport_test.rs | 12 use ice::network_type::NetworkType; 137 offer_s.set_network_types(vec![NetworkType::Udp4]); in run_test() 147 answer_s.set_network_types(vec![NetworkType::Udp4]); in run_test()
|
| /webrtc/webrtc/src/api/setting_engine/ |
| H A D | mod.rs | 9 use ice::network_type::NetworkType; 38 pub ice_network_types: Vec<NetworkType>, 153 pub fn set_network_types(&mut self, candidate_types: Vec<NetworkType>) { in set_network_types() argument
|
| /webrtc/ice/src/stats/ |
| H A D | mod.rs | 147 pub network_type: NetworkType,
|
| /webrtc/webrtc/src/stats/ |
| H A D | mod.rs | 12 use ice::network_type::NetworkType; 233 pub network_type: NetworkType,
|
| /webrtc/ice/examples/ |
| H A D | ping_pong.rs | 193 network_types: vec![NetworkType::Udp4], in main()
|