Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoInterface = errors.New("no such interface") ErrNoNextHop = errors.New("no next hop found") )
Functions ¶
func InterfaceForAddr ¶
InterfaceForAddr returns the interface with the given address if it exists.
func NextHopForAddr ¶
func NextHopForAddr(addr net.IP) (net.HardwareAddr, error)
NextHopForAddr returns the next hop for the given address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.