Lines Matching refs:Unspecified
22 let m = ExternalIpMapper::new(CandidateType::Unspecified, &[])?; in test_external_ip_mapper_new_external_ip_mapper()
26 let m = ExternalIpMapper::new(CandidateType::Unspecified, &["1.2.3.4".to_owned()])?.unwrap(); in test_external_ip_mapper_new_external_ip_mapper()
47 let m = ExternalIpMapper::new(CandidateType::Unspecified, &["2601:4567::5678".to_owned()])? in test_external_ip_mapper_new_external_ip_mapper()
57 CandidateType::Unspecified, in test_external_ip_mapper_new_external_ip_mapper()
106 let m = ExternalIpMapper::new(CandidateType::Unspecified, &["1.2.3.4/10.0.0.1".to_owned()])? in test_external_ip_mapper_new_external_ip_mapper_with_explicit_local_ip()
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()
133 ExternalIpMapper::new(CandidateType::Unspecified, &["2200::1/10.0.0.1".to_owned()]); in test_external_ip_mapper_new_external_ip_mapper_with_explicit_local_ip()
137 let result = ExternalIpMapper::new(CandidateType::Unspecified, &["1.2.3.4/fe80::1".to_owned()]); 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()
199 CandidateType::Unspecified, in test_external_ip_mapper_find_external_ip_with_explicit_local_ip()
238 let m = ExternalIpMapper::new(CandidateType::Unspecified, &["1.2.3.4".to_owned()])?.unwrap(); in test_external_ip_mapper_find_external_ip_with_empty_map()
244 let m = ExternalIpMapper::new(CandidateType::Unspecified, &["2200::1".to_owned()])?.unwrap(); in test_external_ip_mapper_find_external_ip_with_empty_map()