| /webrtc/ice/src/external_ip_mapper/ |
| H A D | external_ip_mapper_test.rs | 37 CandidateType::ServerReflexive, in test_external_ip_mapper_new_external_ip_mapper() 57 CandidateType::Unspecified, in test_external_ip_mapper_new_external_ip_mapper() 77 CandidateType::ServerReflexive, in test_external_ip_mapper_new_external_ip_mapper() 84 CandidateType::ServerReflexive, in test_external_ip_mapper_new_external_ip_mapper() 116 CandidateType::Unspecified, in test_external_ip_mapper_new_external_ip_mapper_with_explicit_local_ip() 123 CandidateType::Unspecified, in test_external_ip_mapper_new_external_ip_mapper_with_explicit_local_ip() 142 CandidateType::Unspecified, in test_external_ip_mapper_new_external_ip_mapper_with_explicit_local_ip() 154 CandidateType::Unspecified, in test_external_ip_mapper_new_external_ip_mapper_with_implicit_local_ip() 161 CandidateType::Unspecified, in test_external_ip_mapper_new_external_ip_mapper_with_implicit_local_ip() 173 CandidateType::Unspecified, in test_external_ip_mapper_find_external_ip_without_explicit_local_ip() [all …]
|
| H A D | mod.rs | 68 pub(crate) candidate_type: CandidateType, 72 pub(crate) fn new(mut candidate_type: CandidateType, ips: &[String]) -> Result<Option<Self>> { in new() argument 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()
|
| /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() 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() 273 (CandidateType::Host, "\"host\""), in test_candidate_type_serialization() 276 (CandidateType::Relay, "\"relay\""), in test_candidate_type_serialization() 291 (CandidateType::Host, "host"), in test_candidate_type_to_string() [all …]
|
| H A D | mod.rs | 72 fn candidate_type(&self) -> CandidateType; in candidate_type() argument 91 pub enum CandidateType { enum 105 impl fmt::Display for CandidateType { implementation 108 CandidateType::Host => "host", in fmt() 109 CandidateType::ServerReflexive => "srflx", in fmt() 110 CandidateType::PeerReflexive => "prflx", in fmt() 111 CandidateType::Relay => "relay", in fmt() 118 impl Default for CandidateType { implementation 124 impl CandidateType { implementation 143 candidate_type: CandidateType, in contains_candidate_type() argument [all …]
|
| H A D | candidate_base.rs | 39 pub(crate) candidate_type: CandidateType, 69 candidate_type: CandidateType::default(), in default() 200 fn candidate_type(&self) -> CandidateType { in candidate_type() argument 368 CandidateType::Host | CandidateType::Relay => match self.tcp_type() { in local_preference() 374 CandidateType::PeerReflexive | CandidateType::ServerReflexive => { in local_preference() 382 CandidateType::Unspecified => 0, in local_preference()
|
| H A D | candidate_server_reflexive_test.rs | 55 candidate_types: vec![CandidateType::ServerReflexive], in test_server_reflexive_only_connection() 71 candidate_types: vec![CandidateType::ServerReflexive], in test_server_reflexive_only_connection()
|
| H A D | candidate_relay_test.rs | 78 candidate_types: vec![CandidateType::Relay], in test_relay_only_connection() 96 candidate_types: vec![CandidateType::Relay], in test_relay_only_connection()
|
| 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/agent/ |
| H A D | agent_config.rs | 46 pub(crate) fn default_candidate_types() -> Vec<CandidateType> { in default_candidate_types() 48 CandidateType::Host, in default_candidate_types() 49 CandidateType::ServerReflexive, in default_candidate_types() 50 CandidateType::Relay, in default_candidate_types() 102 pub candidate_types: Vec<CandidateType>, 124 pub nat_1to1_ip_candidate_type: CandidateType, 218 candidate_types: &[CandidateType], in init_ext_ip_mapping() argument 223 if ext_ip_mapper.candidate_type == CandidateType::Host { in init_ext_ip_mapping() 229 if *candi_type == CandidateType::Host { in init_ext_ip_mapping() 237 } else if ext_ip_mapper.candidate_type == CandidateType::ServerReflexive { in init_ext_ip_mapping() [all …]
|
| H A D | agent_stats.rs | 1 use crate::candidate::{CandidatePairState, CandidateType}; 176 pub candidate_type: CandidateType, 205 candidate_type: CandidateType::default(), in default()
|
| H A D | mod.rs | 109 pub(crate) candidate_types: Vec<CandidateType>, 157 && (candidate_types.len() != 1 || candidate_types[0] != CandidateType::Host) in new() 164 && !contains_candidate_type(CandidateType::ServerReflexive, &candidate_types) in new() 165 && !contains_candidate_type(CandidateType::Relay, &candidate_types) in new() 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 | 67 CandidateType::Host => { in is_nominatable() 74 CandidateType::ServerReflexive => { in is_nominatable() 81 CandidateType::PeerReflexive => { in is_nominatable() 88 CandidateType::Relay => { in is_nominatable() 95 CandidateType::Unspecified => { in is_nominatable()
|
| H A D | agent_gather.rs | 24 pub(crate) candidate_types: Vec<CandidateType>, 91 CandidateType::Host => { in gather_candidates_internal() 111 CandidateType::ServerReflexive => { in gather_candidates_internal() 133 if ext_ip_mapper.candidate_type == CandidateType::ServerReflexive { in gather_candidates_internal() 151 CandidateType::Relay => { 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 | agent_gather_test.rs | 265 nat_1to1_ip_candidate_type: CandidateType::ServerReflexive, in test_vnet_gather_with_nat_1to1_as_srflx_candidates() 299 CandidateType::Host => { in test_vnet_gather_with_nat_1to1_as_srflx_candidates() 302 CandidateType::ServerReflexive => { in test_vnet_gather_with_nat_1to1_as_srflx_candidates()
|
| H A D | agent_vnet_test.rs | 283 pub(crate) nat_1to1_ip_candidate_type: CandidateType, 294 let nat_1to1_ips = if a0test_config.nat_1to1_ip_candidate_type != CandidateType::Unspecified { in pipe_with_vnet() 313 let nat_1to1_ips = if a1test_config.nat_1to1_ip_candidate_type != CandidateType::Unspecified { in pipe_with_vnet() 663 nat_1to1_ip_candidate_type: CandidateType::Host, // Use 1:1 NAT IP as a host candidate in test_connectivity_vnet_1to1_nat_with_host_candidate_vs_symmetric_nats() 716 … nat_1to1_ip_candidate_type: CandidateType::ServerReflexive, // Use 1:1 NAT IP as a srflx candidate in test_connectivity_vnet_1to1_nat_with_srflx_candidate_vs_symmetric_nats()
|
| H A D | agent_test.rs | 305 CandidateType::PeerReflexive, in test_handle_peer_reflexive_udp_pflx_candidate() 551 candidate_types: vec![CandidateType::Host], in test_connectivity_lite() 1459 nat_1to1_ip_candidate_type: CandidateType::Host, in test_init_ext_ip_mapping() 1473 nat_1to1_ip_candidate_type: CandidateType::Host, in test_init_ext_ip_mapping() 1474 candidate_types: vec![CandidateType::Relay], in test_init_ext_ip_mapping() 1492 nat_1to1_ip_candidate_type: CandidateType::ServerReflexive, in test_init_ext_ip_mapping() 1493 candidate_types: vec![CandidateType::Relay], in test_init_ext_ip_mapping() 1511 nat_1to1_ip_candidate_type: CandidateType::Host, in test_init_ext_ip_mapping() 1529 nat_1to1_ip_candidate_type: CandidateType::Host, in test_init_ext_ip_mapping() 2147 candidate_types: vec![CandidateType::Host], in test_lite_lifecycle()
|
| /webrtc/webrtc/src/ice_transport/ |
| H A D | ice_candidate_type.rs | 1 use ice::candidate::CandidateType; 60 impl From<CandidateType> for RTCIceCandidateType { 61 fn from(candidate_type: CandidateType) -> Self { in from() 63 CandidateType::Host => RTCIceCandidateType::Host, in from() 64 CandidateType::ServerReflexive => RTCIceCandidateType::Srflx, in from() 65 CandidateType::PeerReflexive => RTCIceCandidateType::Prflx, in from() 66 CandidateType::Relay => RTCIceCandidateType::Relay, in from()
|
| H A D | ice_gatherer.rs | 14 use ice::candidate::{Candidate, CandidateType}; 95 candidate_types.push(ice::candidate::CandidateType::Host); in create_agent() 97 candidate_types.push(ice::candidate::CandidateType::Relay); in create_agent() 101 RTCIceCandidateType::Host => CandidateType::Host, in create_agent() 102 RTCIceCandidateType::Srflx => CandidateType::ServerReflexive, in create_agent() 103 _ => CandidateType::Unspecified, in create_agent()
|
| /webrtc/ice/src/mdns/ |
| H A D | mdns_test.rs | 19 candidate_types: vec![CandidateType::Host], in test_multicast_dns_only_connection() 30 candidate_types: vec![CandidateType::Host], in test_multicast_dns_only_connection() 53 candidate_types: vec![CandidateType::Host], in test_multicast_dns_mixed_connection() 64 candidate_types: vec![CandidateType::Host], in test_multicast_dns_mixed_connection() 87 candidate_types: vec![CandidateType::Host], in test_multicast_dns_static_host_name() 100 candidate_types: vec![CandidateType::Host], in test_multicast_dns_static_host_name()
|
| /webrtc/ice/src/stats/ |
| H A D | mod.rs | 157 pub candidate_type: CandidateType,
|
| /webrtc/webrtc/src/stats/ |
| H A D | mod.rs | 11 use ice::candidate::{CandidatePairState, CandidateType}; 230 pub candidate_type: CandidateType,
|