Home
last modified time | relevance | path

Searched refs:any_ip (Results 1 – 2 of 2) sorted by relevance

/webrtc/util/src/vnet/net/
H A Dnet_test.rs340 let any_ip = IpAddr::from_str("0.0.0.0")?; in test_net_virtual_determine_source_ip() localVariable
345 let src_ip = vi.determine_source_ip(any_ip, dst_ip); in test_net_virtual_determine_source_ip()
346 log::debug!("any_ip: {} => {:?}", any_ip, src_ip); in test_net_virtual_determine_source_ip()
354 let any_ip = IpAddr::from_str("0.0.0.0")?; in test_net_virtual_determine_source_ip() localVariable
359 let src_ip = vi.determine_source_ip(any_ip, dst_ip); in test_net_virtual_determine_source_ip()
360 log::debug!("any_ip: {} => {:?}", any_ip, src_ip); in test_net_virtual_determine_source_ip()
368 let any_ip = IpAddr::from_str(DEMO_IP)?; in test_net_virtual_determine_source_ip() localVariable
373 let src_ip = vi.determine_source_ip(any_ip, dst_ip); in test_net_virtual_determine_source_ip()
374 log::debug!("any_ip: {} => {:?}", any_ip, src_ip); in test_net_virtual_determine_source_ip()
377 assert_eq!(src_ip, any_ip, "IP change"); in test_net_virtual_determine_source_ip()
/webrtc/util/src/vnet/
H A Dnet.rs363 let any_ip = if use_ipv4 { in dail() localVariable
368 if let Some(src_ip) = vi.determine_source_ip(any_ip, rem_addr.ip()) { in dail()
371 any_ip in dail()
543 let any_ip = if use_ipv4 { in dail() localVariable
548 let local_addr = SocketAddr::new(any_ip, 0); in dail()