neigh

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearStaleAddFailedNeighEntries added in v0.3.1

func ClearStaleAddFailedNeighEntries(linkIndex int, family int) error

func ClearStaleNeighEntryByIP

func ClearStaleNeighEntryByIP(linkIndex int, ip net.IP) error

If neigh entry not exist, return nil

Types

type IPMap

type IPMap map[string]net.IP

type Manager

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

func CreateNeighManager

func CreateNeighManager(family int) *Manager

func (*Manager) AddPodInfo

func (m *Manager) AddPodInfo(podIP net.IP, forwardNodeIfName string)

func (*Manager) ResetInfos

func (m *Manager) ResetInfos()

func (*Manager) SyncNeighs

func (m *Manager) SyncNeighs() error

Jump to

Keyboard shortcuts

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