neighbor

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Neighbor

type Neighbor struct {
	// contains filtered or unexported fields
}

func (Neighbor) IsEmpty

func (n Neighbor) IsEmpty() bool

func (Neighbor) LinkIndexChanged

func (n Neighbor) LinkIndexChanged(linkIndex int) bool

type NeighborManager

type NeighborManager struct {
	// contains filtered or unexported fields
}

func NewNeighborManager

func NewNeighborManager(targetInterface string) (*NeighborManager, error)

func (*NeighborManager) AddNeighbor

func (nm *NeighborManager) AddNeighbor(ip net.IP, linkIndex int)

func (*NeighborManager) Cleanup

func (nm *NeighborManager) Cleanup()

func (*NeighborManager) InitializeNeighborTable

func (nm *NeighborManager) InitializeNeighborTable() error

func (*NeighborManager) MonitorNeighbors

func (nm *NeighborManager) MonitorNeighbors()

func (*NeighborManager) RemoveNeighbor

func (nm *NeighborManager) RemoveNeighbor(ip net.IP, linkIndex int)

func (*NeighborManager) SendARPRequests

func (nm *NeighborManager) SendARPRequests()

Jump to

Keyboard shortcuts

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