Versions in this module Expand all Collapse all v1 v1.31.1 Nov 1, 2023 v1.31.0 Oct 20, 2023 Changes in this version + var ErrAddrNotFound = errors.New("addr not found") + var ErrIfaceNotFound = errors.New("interface not found") + func FlushCache() + type Interface struct + Addrs []*netip.Prefix + HardwareAddr net.HardwareAddr + Index int + Name string + func ResolveInterface(name string) (*Interface, error) + func (iface *Interface) PickIPv4Addr(destination netip.Addr) (*netip.Prefix, error) + func (iface *Interface) PickIPv6Addr(destination netip.Addr) (*netip.Prefix, error)