func interfaceTable(ifindex int) ([]Interface, error) { … }
const sysARPHardwareIPv4IPv4 …
const sysARPHardwareIPv6IPv6 …
const sysARPHardwareIPv6IPv4 …
const sysARPHardwareGREIPv4 …
const sysARPHardwareGREIPv6 …
func newLink(ifim *syscall.IfInfomsg, attrs []syscall.NetlinkRouteAttr) *Interface { … }
func linkFlags(rawFlags uint32) Flags { … }
func interfaceAddrTable(ifi *Interface) ([]Addr, error) { … }
func addrTable(ift []Interface, ifi *Interface, msgs []syscall.NetlinkMessage) ([]Addr, error) { … }
func newAddr(ifam *syscall.IfAddrmsg, attrs []syscall.NetlinkRouteAttr) Addr { … }
func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) { … }
func parseProcNetIGMP(path string, ifi *Interface) []Addr { … }
func parseProcNetIGMP6(path string, ifi *Interface) []Addr { … }