Function get_ipaddrs

Source
pub fn get_ipaddrs() -> Result<BTreeMap<String, Vec<IpInfo>>, Error>
Expand description

Get a list of all IP addresses on the system.

The return value is a map whose keys are data link names, and values are the addresses associated with those links.