Module nix::ifaddrs

source ·
Available on crate feature net only.
Expand description

Query network interface addresses

Uses the Linux and/or BSD specific function getifaddrs to query the list of interfaces and their associated addresses.

Structs§

Functions§

  • Get interface addresses using libc’s getifaddrs