LLDP state machine procedures. More...
Go to the source code of this file.
Functions | |
void | lldpMibConstrInfoLldpdu (LldpPortEntry *port) |
Construct an information LLDPDU (10.5.4.2.1) More... | |
void | lldpMibConstrShutdownLldpdu (LldpPortEntry *port) |
Construct a shutdown LLDPDU (10.5.4.2.2) More... | |
void | lldpTxFrame (LldpPortEntry *port) |
Send an LLDPDU to the MAC for transmission (10.5.4.2.3) More... | |
void | lldpTxInitializeLLDP (LldpPortEntry *port) |
Initialize the LLDP transmit module (10.5.4.2.3) More... | |
void | lldpMibDeleteObjects (LldpPortEntry *port) |
Delete aged entries from the remote systems MIB (10.5.5.2.1) More... | |
void | lldpMibUpdateObjects (LldpPortEntry *port) |
Update MIB objects with TLVs contained in the received LLDPDU (10.5.5.2.2) More... | |
void | lldpRxInitializeLLDP (LldpPortEntry *port) |
Initialize the LLDP receive module (10.5.5.2.3) More... | |
void | lldpRxProcessFrame (LldpPortEntry *port) |
Process incoming LLDP frame (10.5.5.2.4) More... | |
Detailed Description
LLDP state machine procedures.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version
- 2.4.4
Definition in file lldp_procedures.h.
Function Documentation
◆ lldpMibConstrInfoLldpdu()
void lldpMibConstrInfoLldpdu | ( | LldpPortEntry * | port | ) |
Construct an information LLDPDU (10.5.4.2.1)
- Parameters
-
[in] port Pointer to the port context
Definition at line 52 of file lldp_procedures.c.
◆ lldpMibConstrShutdownLldpdu()
void lldpMibConstrShutdownLldpdu | ( | LldpPortEntry * | port | ) |
Construct a shutdown LLDPDU (10.5.4.2.2)
- Parameters
-
[in] port Pointer to the port context
Definition at line 163 of file lldp_procedures.c.
◆ lldpMibDeleteObjects()
void lldpMibDeleteObjects | ( | LldpPortEntry * | port | ) |
Delete aged entries from the remote systems MIB (10.5.5.2.1)
- Parameters
-
[in] port Pointer to the port context
Definition at line 288 of file lldp_procedures.c.
◆ lldpMibUpdateObjects()
void lldpMibUpdateObjects | ( | LldpPortEntry * | port | ) |
Update MIB objects with TLVs contained in the received LLDPDU (10.5.5.2.2)
- Parameters
-
[in] port Pointer to the port context
Definition at line 344 of file lldp_procedures.c.
◆ lldpRxInitializeLLDP()
void lldpRxInitializeLLDP | ( | LldpPortEntry * | port | ) |
Initialize the LLDP receive module (10.5.5.2.3)
- Parameters
-
[in] port Pointer to the port context
Definition at line 428 of file lldp_procedures.c.
◆ lldpRxProcessFrame()
void lldpRxProcessFrame | ( | LldpPortEntry * | port | ) |
Process incoming LLDP frame (10.5.5.2.4)
- Parameters
-
[in] port Pointer to the port context
Definition at line 475 of file lldp_procedures.c.
◆ lldpTxFrame()
void lldpTxFrame | ( | LldpPortEntry * | port | ) |
Send an LLDPDU to the MAC for transmission (10.5.4.2.3)
- Parameters
-
[in] port Pointer to the port context
Definition at line 217 of file lldp_procedures.c.
◆ lldpTxInitializeLLDP()
void lldpTxInitializeLLDP | ( | LldpPortEntry * | port | ) |
Initialize the LLDP transmit module (10.5.4.2.3)
- Parameters
-
[in] port Pointer to the port context
Definition at line 274 of file lldp_procedures.c.