core.sys.linux.ifaddrs
D binding for the interface addresses querying
Defines functions getifaddrs/freeifaddrs and the structure they operate on.
getifaddrs(3) get interface addresses freeifaddrs(3) deallocates the structure returned from getifaddrs
Copyright
Copyright (c) 2016 Sociomantic Labs. All rights reserved.
struct ifaddrs
Types 1
structifaddrs
Fields
ifaddrs * ifa_nextNext item in the listchar * ifa_nameName of the interfaceuint ifa_flagsFlags from SIOCGIFFLAGSsockaddr * ifa_addrAddress of interfacesockaddr * ifa_netmaskNetmask of interfacevoid * ifa_dataAddress specific data