Home
last modified time | relevance | path

Searched defs:IpAddr (Results 1 – 12 of 12) sorted by relevance

/webrtc/ice/src/external_ip_mapper/
H A Dmod.rs10 pub(crate) fn validate_ip_string(ip_str: &str) -> Result<IpAddr> { in validate_ip_string()
35 pub(crate) fn add_ip_mapping(&mut self, loc_ip: IpAddr, ext_ip: IpAddr) -> Result<()> { in add_ip_mapping()
52 pub(crate) fn find_external_ip(&self, loc_ip: IpAddr) -> Result<IpAddr> { in find_external_ip()
124 pub(crate) fn find_external_ip(&self, local_ip_str: &str) -> Result<IpAddr> { in find_external_ip()
/webrtc/util/src/vnet/
H A Dchunk.rs96 fn get_source_ip(&self) -> IpAddr; // used by routee in get_source_ip()
97 fn get_destination_ip(&self) -> IpAddr; // used by router in get_destination_ip()
127 fn get_destination_ip(&self) -> IpAddr { in get_destination_ip()
131 fn get_source_ip(&self) -> IpAddr { in get_source_ip()
170 fn get_destination_ip(&self) -> IpAddr { in get_destination_ip()
174 fn get_source_ip(&self) -> IpAddr { in get_source_ip()
277 fn get_destination_ip(&self) -> IpAddr { in get_destination_ip()
281 fn get_source_ip(&self) -> IpAddr { in get_source_ip()
H A Dnet.rs82 fn determine_source_ip(&self, loc_ip: IpAddr, dst_ip: IpAddr) -> Option<IpAddr> { in determine_source_ip()
173 async fn get_static_ips(&self) -> Vec<IpAddr> { in get_static_ips()
184 pub(crate) fn get_all_ipaddrs(&self, ipv6: bool) -> Vec<IpAddr> { in get_all_ipaddrs()
228 pub(crate) async fn allocate_local_addr(&self, ip: IpAddr, port: u16) -> Result<()> { in allocate_local_addr()
254 pub(crate) async fn assign_port(&self, ip: IpAddr, start: u16, end: u16) -> Result<u16> { in assign_port()
H A Dconn.rs23 fn determine_source_ip(&self, loc_ip: IpAddr, dst_ip: IpAddr) -> Option<IpAddr>; in determine_source_ip()
H A Drouter.rs68 async fn get_static_ips(&self) -> Vec<IpAddr>; in get_static_ips()
150 async fn get_static_ips(&self) -> Vec<IpAddr> { in get_static_ips()
563 fn assign_ip_address(&mut self) -> Result<IpAddr> { in assign_ip_address()
H A Dnat.rs138 pub(crate) fn get_paired_mapped_ip(&self, loc_ip: &IpAddr) -> Option<&IpAddr> { in get_paired_mapped_ip()
147 pub(crate) fn get_paired_local_ip(&self, mapped_ip: &IpAddr) -> Option<&IpAddr> { in get_paired_local_ip()
/webrtc/util/src/vnet/conn/
H A Dconn_test.rs31 fn determine_source_ip(&self, loc_ip: IpAddr, _dst_ip: IpAddr) -> Option<IpAddr> { in determine_source_ip()
/webrtc/ice/src/util/
H A Dmod.rs15 pub fn create_addr(_network: NetworkType, ip: IpAddr, port: u16) -> SocketAddr { in create_addr()
95 ) -> HashSet<IpAddr> { in local_interfaces()
/webrtc/util/src/vnet/conn_map/
H A Dconn_map_test.rs20 fn determine_source_ip(&self, loc_ip: IpAddr, _dst_ip: IpAddr) -> Option<IpAddr> { in determine_source_ip()
/webrtc/util/src/vnet/net/
H A Dnet_test.rs19 fn determine_source_ip(&self, loc_ip: IpAddr, _dst_ip: IpAddr) -> Option<IpAddr> { in determine_source_ip()
619 async fn get_ipaddr(nic: &Arc<Mutex<dyn Nic + Send + Sync>>) -> Result<IpAddr> { in get_ipaddr()
/webrtc/util/src/vnet/router/
H A Drouter_test.rs95 async fn get_static_ips(&self) -> Vec<IpAddr> { in get_static_ips()
105 async fn get_ipaddr(nic: &Arc<Mutex<dyn Nic + Send + Sync>>) -> Result<IpAddr> { in get_ipaddr()
/webrtc/mdns/src/conn/
H A Dmod.rs386 dst: IpAddr, in send_answer()