Home
last modified time | relevance | path

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

/webrtc/util/src/vnet/router/
H A Drouter_test.rs609 static_ips: vec![ in test_router_static_ips_more_than_one()
617 assert_eq!(lan.static_ips.len(), 3, "should be 3"); in test_router_static_ips_more_than_one()
618 assert_eq!(lan.static_ips[0].to_string(), "1.2.3.1", "should match"); in test_router_static_ips_more_than_one()
629 static_ips: vec![ in test_router_static_ips_static_ip_local_ip_mapping()
637 assert_eq!(lan.static_ips.len(), 3, "should be 3"); in test_router_static_ips_static_ip_local_ip_mapping()
657 static_ips: vec![ in test_router_static_ips_static_ip_local_ip_mapping()
668 static_ips: vec![ in test_router_static_ips_static_ip_local_ip_mapping()
679 static_ips: vec![ in test_router_static_ips_static_ip_local_ip_mapping()
699 static_ips: vec![ in test_router_static_ips_1to1_nat()
771 static_ips: vec![ in test_router_failures_add_net()
[all …]
/webrtc/util/src/vnet/
H A Drouter.rs49 pub static_ips: Vec<String>, field
96 static_ips: Vec<IpAddr>, // read-only field
151 self.static_ips.clone() in get_static_ips()
245 let mut static_ips = vec![]; in new() localVariable
247 for ip_str in &config.static_ips { in new()
257 static_ips.push(ip); in new()
263 static_ips.push(ip); in new()
268 if n_static_local > 0 && n_static_local != static_ips.len() { in new()
283 static_ips, in new()
H A Dnet.rs113 pub(crate) static_ips: Vec<IpAddr>, // read-only field
174 self.static_ips.clone() in get_static_ips()
390 pub static_ips: Vec<String>, field
422 let mut static_ips = vec![]; in new() localVariable
423 for ip_str in &config.static_ips { in new()
425 static_ips.push(ip); in new()
430 static_ips.push(ip); in new()
436 static_ips, in new()
/webrtc/ice/src/agent/
H A Dagent_vnet_test.rs92 static_ips: vec!["192.168.0.1".to_owned()], in build_simple_vnet()
96 static_ips: vec!["192.168.0.2".to_owned()], in build_simple_vnet()
136 static_ips: if nat_type0.mode == nat::NatMode::Nat1To1 { in build_vnet()
147 static_ips: vec![VNET_LOCAL_IPA.to_owned()], in build_vnet()
156 static_ips: if nat_type1.mode == nat::NatMode::Nat1To1 { in build_vnet()
167 static_ips: vec![VNET_LOCAL_IPB.to_owned()], in build_vnet()
776 static_ips: vec!["192.168.0.1".to_owned()], in test_disconnected_to_connected()
780 static_ips: vec!["192.168.0.2".to_owned()], in test_disconnected_to_connected()
926 static_ips: vec!["192.168.0.1".to_owned()], in test_write_use_valid_pair()
930 static_ips: vec!["192.168.0.2".to_owned()], in test_write_use_valid_pair()
H A Dagent_gather_test.rs129 static_ips: vec![map0.clone(), map1.clone()], in test_vnet_gather_with_nat_1to1_as_host_candidates()
140 static_ips: vec![local_ip0.to_owned(), local_ip1.to_owned()], in test_vnet_gather_with_nat_1to1_as_host_candidates()
245 static_ips: vec!["1.2.3.4/10.0.0.1".to_owned()], in test_vnet_gather_with_nat_1to1_as_srflx_candidates()
256 static_ips: vec!["10.0.0.1".to_owned()], in test_vnet_gather_with_nat_1to1_as_srflx_candidates()
440 static_ips: vec!["10.0.0.1".to_owned()], in test_vnet_gather_muxed_udp()
H A Dagent_test.rs410 static_ips: vec!["192.168.0.1".to_owned()], in test_connectivity_on_startup()
414 static_ips: vec!["192.168.0.2".to_owned()], in test_connectivity_on_startup()
/webrtc/webrtc/src/peer_connection/
H A Dpeer_connection_test.rs27 static_ips: vec!["1.2.3.4".to_owned()], in create_vnet_pair()
52 static_ips: vec!["1.2.3.5".to_owned()], in create_vnet_pair()
/webrtc/util/src/vnet/net/
H A Dnet_test.rs798 static_ips: vec![DEMO_IP.to_owned(), "1.2.3.5".to_owned()], in test_net_virtual_two_ips_on_a_nic()