Home
last modified time | relevance | path

Searched refs:nat_type (Results 1 – 8 of 8) sorted by relevance

/webrtc/util/src/vnet/
H A Dnat.rs63 pub(crate) nat_type: NatType, field
94 pub(crate) nat_type: NatType, field
104 let mut nat_type = config.nat_type; in new() localVariable
106 if nat_type.mode == NatMode::Nat1To1 { in new()
110 nat_type.port_preservation = true; in new()
111 nat_type.mapping_life_time = Duration::from_secs(0); in new()
121 nat_type.mode = NatMode::Normal; in new()
129 nat_type, in new()
163 if self.nat_type.mode == NatMode::Nat1To1 { in translate_outbound()
294 if self.nat_type.mode == NatMode::Nat1To1 { in translate_inbound()
[all …]
H A Drouter.rs55 pub nat_type: Option<NatType>, field
78 pub(crate) nat_type: Option<NatType>, // read-only field
191 if router_internal.nat_type.is_none() { in set_router()
192 router_internal.nat_type = Some(NatType { in set_router()
204 nat_type: router_internal.nat_type.unwrap(), in set_router()
273 nat_type: config.nat_type, in new()
/webrtc/util/src/vnet/nat/
H A Dnat_test.rs43 nat_type: NatType { in test_nat_mapping_behavior_full_cone_nat()
104 nat_type: NatType { in test_nat_mapping_behavior_addr_restricted_cone_nat()
183 nat_type: NatType { in test_nat_mapping_behavior_port_restricted_cone_nat()
262 nat_type: NatType { in test_nat_mapping_behavior_symmetric_nat_addr_dependent_mapping()
314 nat_type: NatType { in test_nat_mapping_behavior_symmetric_nat_port_dependent_mapping()
366 nat_type: NatType { in test_nat_mapping_timeout_refresh_on_outbound()
431 nat_type: NatType { in test_nat_mapping_timeout_outbound_detects_timeout()
475 nat_type: NatType { in test_nat1to1_bahavior_one_mapping()
521 nat_type: NatType { in test_nat1to1_bahavior_more_mapping()
589 nat_type: NatType { in test_nat1to1_bahavior_failure()
[all …]
/webrtc/ice/src/agent/
H A Dagent_vnet_test.rs142 nat_type: Some(nat_type0), in build_vnet()
162 nat_type: Some(nat_type1), in build_vnet()
475 let nat_type = nat::NatType { in test_connectivity_simple_vnet_full_cone_nats_on_both_ends() localVariable
481 let v = build_simple_vnet(nat_type, nat_type).await?; in test_connectivity_simple_vnet_full_cone_nats_on_both_ends()
537 let nat_type = nat::NatType { in test_connectivity_vnet_full_cone_nats_on_both_ends() localVariable
543 let v = build_vnet(nat_type, nat_type).await?; in test_connectivity_vnet_full_cone_nats_on_both_ends()
599 let nat_type = nat::NatType { in test_connectivity_vnet_symmetric_nats_on_both_ends() localVariable
605 let v = build_vnet(nat_type, nat_type).await?; in test_connectivity_vnet_symmetric_nats_on_both_ends()
H A Dagent_gather_test.rs130 nat_type: Some(nat::NatType { in test_vnet_gather_with_nat_1to1_as_host_candidates()
246 nat_type: Some(nat::NatType { in test_vnet_gather_with_nat_1to1_as_srflx_candidates()
389 let nat_type = nat::NatType { in test_vnet_gather_turn_connection_leak() localVariable
395 let v = build_vnet(nat_type, nat_type).await?; in test_vnet_gather_turn_connection_leak()
432 nat_type: Some(nat::NatType { in test_vnet_gather_muxed_udp()
H A Dagent_test.rs526 let nat_type = nat::NatType { in test_connectivity_lite() localVariable
532 let v = build_vnet(nat_type, nat_type).await?; in test_connectivity_lite()
/webrtc/turn/src/server/
H A Dserver_test.rs143 nat_type: Some(nat::NatType { in build_vnet()
/webrtc/util/src/vnet/router/
H A Drouter_test.rs704 nat_type: Some(NatType { in test_router_static_ips_1to1_nat()