Module 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§

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

Functions§

getifaddrs
Get interface addresses using libc’s getifaddrs