_LldpAgentContext Struct Reference
LLDP agent context. More...
#include <lldp.h>
Data Fields | |
NetInterface * | interface |
Underlying network interface. More... | |
uint_t | numPorts |
Number of ports. More... | |
LldpPortEntry * | ports |
Port table. More... | |
uint_t | numNeighbors |
Maximum number of entries in the neighbor table. More... | |
LldpNeighborEntry * | neighbors |
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... | |
OsTaskId | taskId |
Task identifier. More... | |
OsTaskTcb | taskTcb |
Task control block. More... | |
OsStackType | taskStack [LLDP_TASK_STACK_SIZE] |
Task stack. More... | |
Socket * | socket |
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
Field Documentation
◆ badFrame
bool_t badFrame |
◆ busy
◆ event
OsEvent event |
◆ index
uint32_t index |
◆ interface
NetInterface* interface |
◆ lldpdu
LldpDataUnit lldpdu |
◆ mgmtAddrMap
uint32_t mgmtAddrMap |
◆ msgTxHold
◆ msgTxInterval
uint_t msgTxInterval |
◆ mutex
OsMutex mutex |
◆ neighbors
LldpNeighborEntry* neighbors |
◆ notificationInterval
◆ numNeighbors
uint_t numNeighbors |
◆ numPorts
◆ ports
LldpPortEntry* ports |
◆ receiveCallback
LldpReceiveCallback receiveCallback |
◆ reinitDelay
uint_t reinitDelay |
◆ running
bool_t running |
◆ rxChanges
bool_t rxChanges |
◆ rxTTL
◆ sendCallback
LldpSendCallback sendCallback |
◆ socket
◆ somethingChangedRemote
bool_t somethingChangedRemote |
◆ statsRemTablesAgeouts
◆ statsRemTablesDeletes
◆ statsRemTablesDrops
◆ statsRemTablesInserts
◆ statsRemTablesLastChangeTime
◆ stop
◆ taskId
◆ taskStack
OsStackType taskStack[LLDP_TASK_STACK_SIZE] |
◆ taskTcb
◆ tickCallback
LldpTickCallback tickCallback |
◆ timestamp
◆ tooManyNeighbors
bool_t tooManyNeighbors |
◆ tooManyNeighborsTimer
◆ txDelay
uint_t txDelay |
◆ txInfo
LldpDataUnit txInfo |
The documentation for this struct was generated from the following file:
- cyclone_tcp/lldp/lldp.h