Home
last modified time | relevance | path

Searched refs:NetworkType (Results 1 – 22 of 22) sorted by relevance

/webrtc/ice/src/network_type/
H A Dnetwork_type_test.rs46 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 Dmod.rs16 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 Dcandidate_test.rs20 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 Dcandidate_server_reflexive_test.rs48 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 Dcandidate_host.rs33 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in new_candidate_host()
H A Dcandidate_base.rs163 fn network_type(&self) -> NetworkType { in network_type() argument
164 NetworkType::from(self.network_type.load(Ordering::SeqCst)) in network_type()
H A Dmod.rs62 fn network_type(&self) -> NetworkType; in network_type() argument
/webrtc/ice/src/mdns/
H A Dmdns_test.rs18 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 Dutil_test.rs7 let ips = local_interfaces(&vnet, &None, &None, &[NetworkType::Udp4, NetworkType::Udp6]).await; in test_local_interfaces()
H A Dmod.rs15 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 Dagent_gather_test.rs25 &[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 Dagent_stats.rs4 use crate::network_type::NetworkType;
166 pub network_type: NetworkType,
202 network_type: NetworkType::default(), in default()
H A Dagent_gather.rs26 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 Dagent_config.rs99 pub network_types: Vec<NetworkType>,
H A Dagent_internal.rs55 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 Dmod.rs111 pub(crate) network_types: Vec<NetworkType>,
H A Dagent_test.rs1244 NetworkType::Udp4, in test_local_candidate_stats()
1366 NetworkType::Udp4, in test_remote_candidate_stats()
/webrtc/webrtc/src/dtls_transport/
H A Ddtls_transport_test.rs12 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 Dmod.rs9 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 Dmod.rs147 pub network_type: NetworkType,
/webrtc/webrtc/src/stats/
H A Dmod.rs12 use ice::network_type::NetworkType;
233 pub network_type: NetworkType,
/webrtc/ice/examples/
H A Dping_pong.rs193 network_types: vec![NetworkType::Udp4], in main()