reth_net_nat::net_if

Function resolve_net_if_ip

Source
pub fn resolve_net_if_ip(if_name: &str) -> Result<IpAddr, NetInterfaceError>
Expand description

Reads IP of OS interface with given name, if exists.