ndp

package
v1.43.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SearchIP

func SearchIP(mac net.HardwareAddr) net.IP

func SearchMAC

func SearchMAC(ip net.IP) net.HardwareAddr

Types

type Entry

type Entry struct {
	IP  net.IP
	MAC net.HardwareAddr
}

type Table

type Table []Entry

func Get

func Get() (t Table, err error)

func (Table) SearchIP

func (t Table) SearchIP(mac net.HardwareAddr) net.IP

func (Table) SearchMAC

func (t Table) SearchMAC(ip net.IP) net.HardwareAddr

Jump to

Keyboard shortcuts

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