Home
last modified time | relevance | path

Searched refs:network_type (Results 1 – 25 of 29) sorted by relevance

12

/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_peer_reflexive.rs26 let network_type = determine_network_type(&self.base_config.network, &ip)?; in new_candidate_peer_reflexive() localVariable
35 network_type: AtomicU8::new(network_type as u8), in new_candidate_peer_reflexive()
39 resolved_addr: SyncMutex::new(create_addr(network_type, ip, self.base_config.port)), in new_candidate_peer_reflexive()
H A Dcandidate_server_reflexive.rs25 let network_type = determine_network_type(&self.base_config.network, &ip)?; in new_candidate_server_reflexive() localVariable
34 network_type: AtomicU8::new(network_type as u8), in new_candidate_server_reflexive()
38 resolved_addr: SyncMutex::new(create_addr(network_type, ip, self.base_config.port)), in new_candidate_server_reflexive()
H A Dcandidate_base.rs38 pub(crate) network_type: AtomicU8, field
68 network_type: AtomicU8::new(0), in default()
100 self.network_type(), in fmt()
110 self.network_type(), in fmt()
163 fn network_type(&self) -> NetworkType { in network_type() method
214 self.network_type().network_short(), in marshal()
286 self.network_type() == other.network_type() in equal()
297 self.network_type in set_ip()
298 .store(network_type as u8, Ordering::SeqCst); in set_ip()
300 let addr = create_addr(network_type, *ip, self.port); in set_ip()
[all …]
H A Dcandidate_relay.rs34 let network_type = determine_network_type(&self.base_config.network, &ip)?; in new_candidate_relay() localVariable
38 network_type: AtomicU8::new(network_type as u8), in new_candidate_relay()
42 resolved_addr: SyncMutex::new(create_addr(network_type, ip, self.base_config.port)), in new_candidate_relay()
H A Dcandidate_host.rs33 network_type: AtomicU8::new(NetworkType::Udp4 as u8), in new_candidate_host()
H A Dmod.rs17 use crate::network_type::*;
62 fn network_type(&self) -> NetworkType; in network_type() method
/webrtc/ice/src/agent/
H A Dagent_stats.rs4 use crate::network_type::NetworkType;
166 pub network_type: NetworkType, field
202 network_type: NetworkType::default(), in default()
237 for (network_type, local_candidates) in &*local_candidates { in get_local_candidates_stats()
242 network_type: *network_type, in get_local_candidates_stats()
262 for (network_type, remote_candidates) in &*remote_candidates { in get_remote_candidates_stats()
267 network_type: *network_type, in get_remote_candidates_stats()
H A Dagent_internal.rs519 let network_type = c.network_type(); in add_remote_candidate() localVariable
523 if let Some(cands) = remote_candidates.get(&network_type) { in add_remote_candidate()
541 if let Some(cands) = local_candidates.get(&network_type) { in add_remote_candidate()
564 let network_type = c.network_type(); in add_candidate() localVariable
567 if let Some(cands) = local_candidates.get(&network_type) { in add_candidate()
586 local_candidates.insert(network_type, vec![c.clone()]); in add_candidate()
691 network_type: NetworkType, in find_remote_candidate()
697 if let Some(cands) = remote_candidates.get(&network_type) { in find_remote_candidate()
868 .find_remote_candidate(local.network_type(), remote) in handle_inbound()
927 network: network_type.to_string(), in handle_inbound()
[all …]
H A Dagent_gather.rs3 use crate::network_type::*;
464 for network_type in network_types { in gather_candidates_srflx_mapped()
465 if network_type.is_tcp() { in gather_candidates_srflx_mapped()
469 let network = network_type.to_string(); in gather_candidates_srflx_mapped()
482 if network_type.is_ipv4() { in gather_candidates_srflx_mapped()
590 for network_type in network_types { in gather_candidates_srflx()
591 if network_type.is_tcp() { in gather_candidates_srflx()
596 let network = network_type.to_string(); in gather_candidates_srflx()
597 let is_ipv4 = network_type.is_ipv4(); in gather_candidates_srflx()
H A Dagent_config.rs4 use crate::network_type::*;
/webrtc/ice/src/network_type/
H A Dnetwork_type_test.rs74 for (network_type, expected_string) in tests { in test_network_type_serialization()
77 serde_json::to_string(&network_type).unwrap() in test_network_type_serialization()
92 for (network_type, expected_string) in tests { in test_network_type_to_string()
93 assert_eq!(network_type.to_string(), expected_string); in test_network_type_to_string()
/webrtc/sdp/src/description/
H A Dcommon.rs11 pub network_type: String, field
19 write!(f, "{} {} {}", self.network_type, self.address_type, address,) in fmt()
21 write!(f, "{} {}", self.network_type, self.address_type,) in fmt()
H A Ddescription_test.rs54 network_type: "IN".to_string(), in test_marshal()
64 network_type: "IN".to_string(), in test_marshal()
135 network_type: "IN".to_string(), in test_marshal()
H A Dsession.rs51 pub network_type: String, field
64 self.network_type, in fmt()
77 network_type: "".to_owned(), in new()
254 network_type: "IN".to_string(), in new_jsep_session_description()
957 network_type: fields[3].to_owned(), in unmarshal_origin()
1044 network_type: fields[0].to_owned(), in unmarshal_connection_information()
H A Dmedia.rs92 network_type: "IN".to_string(), in new_jsep_media_description()
/webrtc/ice/src/stats/
H A Dmod.rs2 use crate::network_type::*;
147 pub network_type: NetworkType, field
/webrtc/ice/src/
H A Dlib.rs10 pub mod network_type; module
/webrtc/webrtc/src/stats/
H A Dmod.rs12 use ice::network_type::NetworkType;
233 pub network_type: NetworkType, field
247 network_type: stats.network_type, in new()
/webrtc/ice/src/mdns/
H A Dmdns_test.rs5 use crate::network_type::*;
/webrtc/webrtc/src/dtls_transport/
H A Ddtls_transport_test.rs12 use ice::network_type::NetworkType;
/webrtc/ice/src/util/
H A Dmod.rs6 use crate::network_type::*;
/webrtc/webrtc/src/ice_transport/
H A Dice_candidate.rs42 let protocol = RTCIceProtocol::from(c.network_type().network_short().as_str()); in from()
/webrtc/webrtc/src/api/setting_engine/
H A Dmod.rs9 use ice::network_type::NetworkType;
/webrtc/ice/examples/
H A Dping_pong.rs9 use ice::{network_type::*, udp_network::UDPNetwork};

12