ndp

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNeighbourTable

func CheckNeighbourTable(ip net.IP, iface *net.Interface) (net.HardwareAddr, error)

func Get

func Get(ip net.IP, iface *net.Interface) (net.HardwareAddr, error)

Get checks both the kernel neighbor cache and performs active discovery if not found in cache (IPv6 only).

func PerformNeighborDiscovery

func PerformNeighborDiscovery(targetIP net.IP, iface *net.Interface, timeout time.Duration) (net.HardwareAddr, error)

PerformNeighborDiscovery performs an active IPv6 Neighbor Discovery for the given target IP on the specified interface. Returns the MAC address if found, or an error if not found or on failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL