Searched refs:dst_ip (Results 1 – 5 of 5) sorted by relevance
341 let dst_ip = IpAddr::from_str("27.1.7.135")?; in test_net_virtual_determine_source_ip() localVariable345 let src_ip = vi.determine_source_ip(any_ip, dst_ip); in test_net_virtual_determine_source_ip()355 let dst_ip = IpAddr::from_str("127.0.0.2")?; in test_net_virtual_determine_source_ip() localVariable359 let src_ip = vi.determine_source_ip(any_ip, dst_ip); in test_net_virtual_determine_source_ip()369 let dst_ip = IpAddr::from_str("127.0.0.2")?; in test_net_virtual_determine_source_ip() localVariable373 let src_ip = vi.determine_source_ip(any_ip, dst_ip); in test_net_virtual_determine_source_ip()
488 let dst_ip = c.get_destination_ip(); in process_chunks() localVariable491 if ipv4net.contains(&dst_ip) { in process_chunks()493 if let Some(nic) = ri.nics.get(&dst_ip.to_string()) { in process_chunks()
23 fn determine_source_ip(&self, loc_ip: IpAddr, dst_ip: IpAddr) -> Option<IpAddr>; in determine_source_ip()
82 fn determine_source_ip(&self, loc_ip: IpAddr, dst_ip: IpAddr) -> Option<IpAddr> { in determine_source_ip()87 if dst_ip.is_loopback() { in determine_source_ip()
297 if let Some(dst_ip) = self.get_paired_local_ip(&dst_addr.ip()) { in translate_inbound()