Searched refs:ips (Results 1 – 10 of 10) sorted by relevance
| /webrtc/ice/src/util/ |
| H A D | util_test.rs | 7 let ips = local_interfaces(&vnet, &None, &None, &[NetworkType::Udp4, NetworkType::Udp6]).await; in test_local_interfaces() localVariable 8 log::info!("interfaces: {:?}, ips: {:?}", interfaces, ips); in test_local_interfaces()
|
| H A D | mod.rs | 96 let mut ips = HashSet::new(); in local_interfaces() localVariable 126 ips.insert(ipaddr); in local_interfaces() 131 ips in local_interfaces()
|
| /webrtc/util/src/vnet/router/ |
| H A D | router_test.rs | 200 let mut ips = vec![]; in test_router_standalone_routing() localVariable 237 let c = Box::new(ChunkUdp::new(ips[0], ips[1])); in test_router_standalone_routing() 284 let mut ips = vec![]; in test_router_standalone_add_chunk_filter() localVariable 341 let mut c = ChunkUdp::new(ips[0], ips[1]); in test_router_standalone_add_chunk_filter() 380 let mut ips = vec![]; in delay_sub_test() localVariable 424 let c = Box::new(ChunkUdp::new(ips[0], ips[1])); in delay_sub_test() 524 let mut ips = vec![]; in test_router_one_child() localVariable 561 ips.push(ip); in test_router_one_child() 586 SocketAddr::new(ips[1], 1234), //lanIP in test_router_one_child() 587 SocketAddr::new(ips[0], 5678), //wanIP in test_router_one_child() [all …]
|
| /webrtc/ice/src/external_ip_mapper/ |
| H A D | mod.rs | 72 pub(crate) fn new(mut candidate_type: CandidateType, ips: &[String]) -> Result<Option<Self>> { in new() 73 if ips.is_empty() { in new() 90 for ext_ip_str in ips { in new()
|
| /webrtc/util/src/vnet/ |
| H A D | net.rs | 185 let mut ips = vec![]; in get_all_ipaddrs() localVariable 190 ips.push(ipnet.addr()); in get_all_ipaddrs() 195 ips in get_all_ipaddrs() 230 let mut ips = vec![]; in allocate_local_addr() localVariable 232 ips = self.get_all_ipaddrs(ip.is_ipv6()); in allocate_local_addr() 234 ips.push(ip); in allocate_local_addr() 237 if ips.is_empty() { in allocate_local_addr() 242 for ip2 in ips { in allocate_local_addr()
|
| H A D | router.rs | 529 let mut ips = { in add_nic() localVariable 534 if ips.is_empty() { in add_nic() 538 ips.push(ip); in add_nic() 542 for ip in &ips { in add_nic()
|
| /webrtc/webrtc/src/api/setting_engine/ |
| H A D | setting_engine_test.rs | 66 let ips = vec!["1.2.3.4".to_owned()]; in test_set_nat_1to1_ips() localVariable 68 s.set_nat_1to1_ips(ips, typ); in test_set_nat_1to1_ips()
|
| 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() 197 self.candidates.nat_1to1_ips = ips; in set_nat_1to1_ips()
|
| /webrtc/util/src/vnet/net/ |
| H A D | net_test.rs | 260 let ips = net.get_all_ipaddrs(false); in test_net_virtual_get_all_ipaddrs() localVariable 261 assert_eq!(ips.len(), 2, "ips should match size {} == 2", ips.len()) in test_net_virtual_get_all_ipaddrs()
|
| /webrtc/ice/src/agent/ |
| H A D | agent_gather.rs | 228 let ips = local_interfaces(&net, &interface_filter, &ip_filter, &network_types).await; in gather_candidates_local() localVariable 229 for ip in ips { in gather_candidates_local()
|