Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resolve ¶
func Resolve(ctx context.Context, link netlink.Link, srcAddr *tcpip.FullAddress, ip tcpip.Address) (tcpip.LinkAddress, error)
Resolve resolves the MAC address for the given IP address using the provided link. If the IP is not directly reachable, it resolves the MAC of the next-hop gateway.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.