Versions in this module Expand all Collapse all v1 v1.0.0 Nov 12, 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)