| /webrtc/ice/src/candidate/ |
| H A D | candidate_test.rs | 10 candidate_type: CandidateType::Host, in test_candidate_priority() 18 candidate_type: CandidateType::Host, in test_candidate_priority() 28 candidate_type: CandidateType::Host, in test_candidate_priority() 38 candidate_type: CandidateType::Host, in test_candidate_priority() 144 candidate_type: CandidateType::Host, in test_candidate_foundation() 151 candidate_type: CandidateType::Host, in test_candidate_foundation() 162 candidate_type: CandidateType::Host, in test_candidate_foundation() 169 candidate_type: CandidateType::Host, in test_candidate_foundation() 180 candidate_type: CandidateType::Host, in test_candidate_foundation() 187 candidate_type: CandidateType::Host, in test_candidate_foundation() [all …]
|
| H A D | candidate_base.rs | 39 pub(crate) candidate_type: CandidateType, field 69 candidate_type: CandidateType::default(), in default() 101 self.candidate_type(), in fmt() 111 self.candidate_type(), in fmt() 127 buf.extend_from_slice(self.candidate_type().to_string().as_bytes()); in foundation() 189 (1 << 24) * u32::from(self.candidate_type().preference()) in priority() 200 fn candidate_type(&self) -> CandidateType { in candidate_type() method 201 self.candidate_type in candidate_type() 218 self.candidate_type() in marshal() 287 && self.candidate_type() == other.candidate_type() in equal() [all …]
|
| H A D | mod.rs | 72 fn candidate_type(&self) -> CandidateType; in candidate_type() method 143 candidate_type: CandidateType, in contains_candidate_type() 150 if *ct == candidate_type { in contains_candidate_type()
|
| H A D | candidate_host.rs | 26 candidate_type: CandidateType::Host, in new_candidate_host()
|
| H A D | candidate_peer_reflexive.rs | 36 candidate_type: CandidateType::PeerReflexive, in new_candidate_peer_reflexive()
|
| H A D | candidate_server_reflexive.rs | 35 candidate_type: CandidateType::ServerReflexive, in new_candidate_server_reflexive()
|
| H A D | candidate_relay.rs | 39 candidate_type: CandidateType::Relay, in new_candidate_relay()
|
| /webrtc/ice/src/external_ip_mapper/ |
| H A D | mod.rs | 68 pub(crate) candidate_type: CandidateType, field 72 pub(crate) fn new(mut candidate_type: CandidateType, ips: &[String]) -> Result<Option<Self>> { in new() 76 if candidate_type == CandidateType::Unspecified { in new() 77 candidate_type = CandidateType::Host; // defaults to host in new() 78 } else if candidate_type != CandidateType::Host in new() 79 && candidate_type != CandidateType::ServerReflexive in new() 87 candidate_type, in new()
|
| H A D | external_ip_mapper_test.rs | 27 assert_eq!(m.candidate_type, CandidateType::Host, "should match"); in test_external_ip_mapper_new_external_ip_mapper() 38 m.candidate_type, in test_external_ip_mapper_new_external_ip_mapper() 49 assert_eq!(m.candidate_type, CandidateType::Host, "should match"); in test_external_ip_mapper_new_external_ip_mapper() 61 assert_eq!(m.candidate_type, CandidateType::Host, "should match"); in test_external_ip_mapper_new_external_ip_mapper() 108 assert_eq!(m.candidate_type, CandidateType::Host, "should match"); in test_external_ip_mapper_new_external_ip_mapper_with_explicit_local_ip()
|
| /webrtc/ice/src/agent/ |
| H A D | agent_stats.rs | 176 pub candidate_type: CandidateType, field 205 candidate_type: CandidateType::default(), in default() 245 candidate_type: c.candidate_type(), in get_local_candidates_stats() 270 candidate_type: c.candidate_type(), in get_remote_candidates_stats()
|
| H A D | agent_config.rs | 223 if ext_ip_mapper.candidate_type == CandidateType::Host { in init_ext_ip_mapping() 237 } else if ext_ip_mapper.candidate_type == CandidateType::ServerReflexive { in init_ext_ip_mapping()
|
| H A D | agent_gather.rs | 133 if ext_ip_mapper.candidate_type == CandidateType::ServerReflexive { in gather_candidates_internal() 234 if ext_ip_mapper2.candidate_type == CandidateType::Host { in gather_candidates_local() 398 if mapper.candidate_type != CandidateType::Host { in gather_candidates_local_udp_mux()
|
| H A D | mod.rs | 268 if c.candidate_type() == CandidateType::Host && c.address().ends_with(".local") { in add_remote_candidate() 277 if c.candidate_type() != CandidateType::Host { in add_remote_candidate()
|
| H A D | agent_selector.rs | 66 match c.candidate_type() { in is_nominatable() 98 c.candidate_type() in is_nominatable()
|
| H A D | agent_test.rs | 304 c.candidate_type(), in test_handle_peer_reflexive_udp_pflx_candidate() 1271 stats.candidate_type, in test_local_candidate_stats() 1272 candidate.candidate_type(), in test_local_candidate_stats() 1408 stats.candidate_type, in test_remote_candidate_stats() 1409 candidate.candidate_type(), in test_remote_candidate_stats()
|
| H A D | agent_gather_test.rs | 298 match candidate.candidate_type() { in test_vnet_gather_with_nat_1to1_as_srflx_candidates()
|
| /webrtc/webrtc/src/ice_transport/ |
| H A D | ice_candidate_type.rs | 61 fn from(candidate_type: CandidateType) -> Self { in from() 62 match candidate_type { in from()
|
| H A D | ice_candidate.rs | 41 let typ: RTCIceCandidateType = c.candidate_type().into(); in from()
|
| /webrtc/ice/src/stats/ |
| H A D | mod.rs | 157 pub candidate_type: CandidateType, field
|
| /webrtc/webrtc/src/api/setting_engine/ |
| H A D | mod.rs | 196 pub fn set_nat_1to1_ips(&mut self, ips: Vec<String>, candidate_type: RTCIceCandidateType) { in set_nat_1to1_ips() 198 self.candidates.nat_1to1_ip_candidate_type = candidate_type; in set_nat_1to1_ips()
|
| /webrtc/webrtc/src/stats/ |
| H A D | mod.rs | 230 pub candidate_type: CandidateType, field 243 candidate_type: stats.candidate_type, in new()
|