Categorygithub.com/extrame/lldpd
modulepackage
0.0.0-20210512035410-fb4eb5d2940a
Repository: https://github.com/extrame/lldpd.git
Documentation: pkg.go.dev

# README

lldpd GoDoc Go Report Card

Package lldpd attempts to create an opinionated LLDP daemon.

MIT Licensed.

This package is still unfinished. The API is highly unstable.

# Packages

No description provided by the author

# Functions

PortLookup allows a user to use a different port description lookup mechanism.
InterfaceFilter allows a user to filter interfaces.
New will return a new LLDPD server with the optional options configured.
NewNLListener listens on rtnetlink for addition and removal of interfaces and inform users on the Messages channel.
No description provided by the author
No description provided by the author
PortLookup allows a user to use a different port description lookup mechanism.
No description provided by the author
SourceAddress sets the ethernet source address to use for LLDP PDU's.

# Constants

No description provided by the author
No description provided by the author

# Variables

sudo ip maddr add 01:80:c2:00:00:0e dev eth0 .

# Structs

LLDPD is the server for LLDP PDU's It will always listen passively.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
InterfaceFilterFn is the function used to filter interface This function is called once for every interface the daemon can potentially listen on.
Option is a functional option handler for LLDPD.
PortLookupFn is the function used to respond with a different port description.
No description provided by the author
No description provided by the author