_LldpAgentContext Struct Reference

LLDP agent context. More...

#include <lldp.h>

Data Fields

NetInterfaceinterface
 Underlying network interface. More...
 
uint_t numPorts
 Number of ports. More...
 
LldpPortEntryports
 Port table. More...
 
uint_t numNeighbors
 Maximum number of entries in the neighbor table. More...
 
LldpNeighborEntryneighbors
 Neighbor table. More...
 
LldpSendCallback sendCallback
 LLDP frame transmission callback function. More...
 
LldpReceiveCallback receiveCallback
 LLDP frame reception callback function. More...
 
LldpTickCallback tickCallback
 Tick callback function. More...
 
bool_t running
 This flag tells whether the LLDP agent is running or not. More...
 
bool_t stop
 Stop request. More...
 
OsMutex mutex
 Mutex preventing simultaneous access to LLDP agent context. More...
 
OsEvent event
 Event object used to poll the underlying socket. More...
 
OsTaskParameters taskParams
 Task parameters. More...
 
OsTaskId taskId
 Task identifier. More...
 
Socketsocket
 Underlying socket. More...
 
systime_t timestamp
 Timestamp to manage timeout. More...
 
LldpDataUnit lldpdu
 Incoming/outgoing LLDP data unit. More...
 
LldpDataUnit txInfo
 Local system information. More...
 
uint_t msgTxInterval
 Interval at which LLDP frames are transmitted. More...
 
uint_t msgTxHold
 Transmit hold multiplier. More...
 
uint_t reinitDelay
 Delay before re-initialization will be attempted. More...
 
uint_t txDelay
 Delay between successive LLDP frame transmissions. More...
 
uint32_t mgmtAddrMap
 Bit-map indicating the management addresses that are configured. More...
 
uint32_t index
 Monotonically increasing index used to identify entries. More...
 
uint_t notificationInterval
 Notification interval. More...
 
uint_t tooManyNeighborsTimer
 Too many neighbors timer. More...
 
bool_t badFrame
 Incoming failed validation and was discarded. More...
 
bool_t rxChanges
 The incoming LLDPDU has been received with different TLV values. More...
 
uint_t rxTTL
 The TTL extracted from the received LLDPDU. More...
 
bool_t somethingChangedRemote
 Per-MSAP variable set after all the information has been updated. More...
 
bool_t tooManyNeighbors
 Insufficient space to store information from all neighbors. More...
 
uint32_t statsRemTablesLastChangeTime
 
uint32_t statsRemTablesInserts
 
uint32_t statsRemTablesDeletes
 
uint32_t statsRemTablesDrops
 
uint32_t statsRemTablesAgeouts
 
bool_t busy
 Busy flag. More...
 

Detailed Description

LLDP agent context.

Definition at line 333 of file lldp.h.

Field Documentation

◆ badFrame

bool_t badFrame

Incoming failed validation and was discarded.

Definition at line 367 of file lldp.h.

◆ busy

bool_t busy

Busy flag.

Definition at line 379 of file lldp.h.

◆ event

OsEvent event

Event object used to poll the underlying socket.

Definition at line 347 of file lldp.h.

◆ index

uint32_t index

Monotonically increasing index used to identify entries.

Definition at line 364 of file lldp.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 335 of file lldp.h.

◆ lldpdu

LldpDataUnit lldpdu

Incoming/outgoing LLDP data unit.

Definition at line 352 of file lldp.h.

◆ mgmtAddrMap

uint32_t mgmtAddrMap

Bit-map indicating the management addresses that are configured.

Definition at line 360 of file lldp.h.

◆ msgTxHold

uint_t msgTxHold

Transmit hold multiplier.

Definition at line 357 of file lldp.h.

◆ msgTxInterval

uint_t msgTxInterval

Interval at which LLDP frames are transmitted.

Definition at line 356 of file lldp.h.

◆ mutex

OsMutex mutex

Mutex preventing simultaneous access to LLDP agent context.

Definition at line 346 of file lldp.h.

◆ neighbors

LldpNeighborEntry* neighbors

Neighbor table.

Definition at line 339 of file lldp.h.

◆ notificationInterval

uint_t notificationInterval

Notification interval.

Definition at line 365 of file lldp.h.

◆ numNeighbors

uint_t numNeighbors

Maximum number of entries in the neighbor table.

Definition at line 338 of file lldp.h.

◆ numPorts

uint_t numPorts

Number of ports.

Definition at line 336 of file lldp.h.

◆ ports

LldpPortEntry* ports

Port table.

Definition at line 337 of file lldp.h.

◆ receiveCallback

LldpReceiveCallback receiveCallback

LLDP frame reception callback function.

Definition at line 341 of file lldp.h.

◆ reinitDelay

uint_t reinitDelay

Delay before re-initialization will be attempted.

Definition at line 358 of file lldp.h.

◆ running

bool_t running

This flag tells whether the LLDP agent is running or not.

Definition at line 344 of file lldp.h.

◆ rxChanges

bool_t rxChanges

The incoming LLDPDU has been received with different TLV values.

Definition at line 368 of file lldp.h.

◆ rxTTL

uint_t rxTTL

The TTL extracted from the received LLDPDU.

Definition at line 369 of file lldp.h.

◆ sendCallback

LldpSendCallback sendCallback

LLDP frame transmission callback function.

Definition at line 340 of file lldp.h.

◆ socket

Socket* socket

Underlying socket.

Definition at line 350 of file lldp.h.

◆ somethingChangedRemote

bool_t somethingChangedRemote

Per-MSAP variable set after all the information has been updated.

Definition at line 370 of file lldp.h.

◆ statsRemTablesAgeouts

uint32_t statsRemTablesAgeouts

Definition at line 376 of file lldp.h.

◆ statsRemTablesDeletes

uint32_t statsRemTablesDeletes

Definition at line 374 of file lldp.h.

◆ statsRemTablesDrops

uint32_t statsRemTablesDrops

Definition at line 375 of file lldp.h.

◆ statsRemTablesInserts

uint32_t statsRemTablesInserts

Definition at line 373 of file lldp.h.

◆ statsRemTablesLastChangeTime

uint32_t statsRemTablesLastChangeTime

Definition at line 372 of file lldp.h.

◆ stop

bool_t stop

Stop request.

Definition at line 345 of file lldp.h.

◆ taskId

OsTaskId taskId

Task identifier.

Definition at line 349 of file lldp.h.

◆ taskParams

OsTaskParameters taskParams

Task parameters.

Definition at line 348 of file lldp.h.

◆ tickCallback

LldpTickCallback tickCallback

Tick callback function.

Definition at line 342 of file lldp.h.

◆ timestamp

systime_t timestamp

Timestamp to manage timeout.

Definition at line 351 of file lldp.h.

◆ tooManyNeighbors

bool_t tooManyNeighbors

Insufficient space to store information from all neighbors.

Definition at line 371 of file lldp.h.

◆ tooManyNeighborsTimer

uint_t tooManyNeighborsTimer

Too many neighbors timer.

Definition at line 366 of file lldp.h.

◆ txDelay

uint_t txDelay

Delay between successive LLDP frame transmissions.

Definition at line 359 of file lldp.h.

◆ txInfo

LldpDataUnit txInfo

Local system information.

Definition at line 355 of file lldp.h.


The documentation for this struct was generated from the following file: