modulepackage
0.0.0-20230227104929-05380e330e6e
Repository: https://github.com/jsimonetti/lldpd.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Adapt creates a Logger backed from a logrus Entry.
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.
PortLookup allows a user to use a different port description lookup mechanism.
ReplyUnicast instructs the daemon to send lldp PDU's to the src mac address, instead of the lldp broadcast address.
SourceAddress sets the ethernet source address to use for LLDP PDU's.
# Interfaces
Logger is a logging adapter interface.
# Type aliases
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.