lldp_procedures.c
Go to the documentation of this file.
Debugging facilities.
LLDP (Link Layer Discovery Protocol)
Data logging functions for debugging purpose (LLDP)
void lldpDeleteNeighborEntry(LldpNeighborEntry *entry)
Remove an entry from the remote systems MIB.
Definition: lldp_misc.c:528
LldpNeighborEntry * lldpFindNeighborEntry(LldpAgentContext *context, LldpDataUnit *lldpdu)
Search the remote systems MIB for a matching MSAP identifier.
Definition: lldp_misc.c:476
error_t lldpCheckDataUnit(LldpPortEntry *port, LldpDataUnit *lldpdu)
LLDP data unit validation.
Definition: lldp_misc.c:242
LldpNeighborEntry * lldpCreateNeighborEntry(LldpAgentContext *context)
Create a new entry in the remote systems MIB.
Definition: lldp_misc.c:444
Helper functions for LLDP.
void lldpRxInitializeLLDP(LldpPortEntry *port)
Initialize the LLDP receive module (10.5.5.2.3)
Definition: lldp_procedures.c:428
void lldpMibConstrInfoLldpdu(LldpPortEntry *port)
Construct an information LLDPDU (10.5.4.2.1)
Definition: lldp_procedures.c:52
void lldpTxFrame(LldpPortEntry *port)
Send an LLDPDU to the MAC for transmission (10.5.4.2.3)
Definition: lldp_procedures.c:217
void lldpRxProcessFrame(LldpPortEntry *port)
Process incoming LLDP frame (10.5.5.2.4)
Definition: lldp_procedures.c:475
void lldpTxInitializeLLDP(LldpPortEntry *port)
Initialize the LLDP transmit module (10.5.4.2.3)
Definition: lldp_procedures.c:274
void lldpMibConstrShutdownLldpdu(LldpPortEntry *port)
Construct a shutdown LLDPDU (10.5.4.2.2)
Definition: lldp_procedures.c:163
void lldpMibDeleteObjects(LldpPortEntry *port)
Delete aged entries from the remote systems MIB (10.5.5.2.1)
Definition: lldp_procedures.c:288
void lldpMibUpdateObjects(LldpPortEntry *port)
Update MIB objects with TLVs contained in the received LLDPDU (10.5.5.2.2)
Definition: lldp_procedures.c:344
LLDP state machine procedures.
error_t lldpGetNextTlv(LldpDataUnit *lldpdu, LldpTlv *tlv)
Extract the next TLV from an LLDPDU.
Definition: lldp_tlv.c:264
error_t lldpSetTlv(LldpDataUnit *lldpdu, uint8_t type, uint_t index, const uint8_t *value, size_t length, bool_t replace)
Add or replace a TLV.
Definition: lldp_tlv.c:56
error_t lldpDeleteTlv(LldpDataUnit *lldpdu, uint8_t type, uint_t index)
Remove a TLV from a LLDPDU.
Definition: lldp_tlv.c:320
error_t lldpGetTlv(LldpDataUnit *lldpdu, uint8_t type, uint_t index, const uint8_t **value, size_t *length)
Search a LLDPDU for a given TLV.
Definition: lldp_tlv.c:200
error_t lldpGetFirstTlv(LldpDataUnit *lldpdu, LldpTlv *tlv)
Extract the first TLV from an LLDPDU.
Definition: lldp_tlv.c:247
TCP/IP stack core.
error_t socketSendMsg(Socket *socket, const SocketMsg *message, uint_t flags)
Send a message to a connectionless socket.
Definition: socket.c:1094