Operation of the protocol. More...
#include "stp/stp.h"
Go to the source code of this file.
Functions | |
void | stpReceivedConfigBpdu (StpBridgePort *port, const StpBpdu *bpdu) |
Received Configuration BPDU (8.7.1) More... | |
void | stpReceivedTcnBpdu (StpBridgePort *port, const StpBpdu *bpdu) |
Received Topology Change Notification BPDU (8.7.2) More... | |
void | stpHelloTimerExpiry (StpBridgeContext *context) |
Hello Timer expiry (8.7.3) More... | |
void | stpMessageAgeTimerExpiry (StpBridgePort *port) |
Message Age Timer expiry (8.7.4) More... | |
void | stpForwardDelayTimerExpiry (StpBridgePort *port) |
Forward Delay Timer expiry (8.7.5) More... | |
void | stpTcnTimerExpiry (StpBridgeContext *context) |
Topology Change Notification Timer expiry (8.7.6) More... | |
void | stpTopologyChangeTimerExpiry (StpBridgeContext *context) |
Topology Change Timer expiry (8.7.7) More... | |
void | stpHoldTimerExpiry (StpBridgePort *port) |
Hold Timer expiry (8.7.8) More... | |
Detailed Description
Operation of the protocol.
License
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2019-2024 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneSTP 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 stp_operation.h.
Function Documentation
◆ stpForwardDelayTimerExpiry()
void stpForwardDelayTimerExpiry | ( | StpBridgePort * | port | ) |
Forward Delay Timer expiry (8.7.5)
- Parameters
-
[in] port Pointer to the bridge port context
Definition at line 218 of file stp_operation.c.
◆ stpHelloTimerExpiry()
void stpHelloTimerExpiry | ( | StpBridgeContext * | context | ) |
Hello Timer expiry (8.7.3)
- Parameters
-
[in] context Pointer to the STP bridge context
Definition at line 156 of file stp_operation.c.
◆ stpHoldTimerExpiry()
void stpHoldTimerExpiry | ( | StpBridgePort * | port | ) |
Hold Timer expiry (8.7.8)
- Parameters
-
[in] port Pointer to the bridge port context
Definition at line 290 of file stp_operation.c.
◆ stpMessageAgeTimerExpiry()
void stpMessageAgeTimerExpiry | ( | StpBridgePort * | port | ) |
Message Age Timer expiry (8.7.4)
- Parameters
-
[in] port Pointer to the bridge port context
Definition at line 170 of file stp_operation.c.
◆ stpReceivedConfigBpdu()
void stpReceivedConfigBpdu | ( | StpBridgePort * | port, |
const StpBpdu * | bpdu | ||
) |
Received Configuration BPDU (8.7.1)
- Parameters
-
[in] port Pointer to the bridge port context [in] bpdu Pointer to the received Configuration BPDU
Definition at line 52 of file stp_operation.c.
◆ stpReceivedTcnBpdu()
void stpReceivedTcnBpdu | ( | StpBridgePort * | port, |
const StpBpdu * | bpdu | ||
) |
Received Topology Change Notification BPDU (8.7.2)
- Parameters
-
[in] port Pointer to the bridge port context [in] bpdu Pointer to the received TCN BPDU
Definition at line 133 of file stp_operation.c.
◆ stpTcnTimerExpiry()
void stpTcnTimerExpiry | ( | StpBridgeContext * | context | ) |
Topology Change Notification Timer expiry (8.7.6)
- Parameters
-
[in] context Pointer to the STP bridge context
Definition at line 262 of file stp_operation.c.
◆ stpTopologyChangeTimerExpiry()
void stpTopologyChangeTimerExpiry | ( | StpBridgeContext * | context | ) |
Topology Change Timer expiry (8.7.7)
- Parameters
-
[in] context Pointer to the STP bridge context
Definition at line 276 of file stp_operation.c.