intfmapper

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntfMapper

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

IntfMapper allows mapping interface IDs into Names and vice versa

func New

func New() *IntfMapper

New creates a new IntfMapper

func (*IntfMapper) AddDevice

func (im *IntfMapper) AddDevice(addr bnet.IP, community string) error

AddDevice adds a device

func (*IntfMapper) Resolve

func (im *IntfMapper) Resolve(agent bnet.IP, ifID uint32) string

Resolve resolves an agents interface ID into is' name

Jump to

Keyboard shortcuts

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