Module nix::ifaddrs

source ·
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

Describes a single address for an interface as returned by getifaddrs.
Holds the results of getifaddrs.

Functions

Get interface addresses using libc’s getifaddrs