readme

来自「stp代码」· 代码 · 共 25 行

TXT
25
字号
------------------------------------------------------------------------------
		       Sample Spanning Tree Code
------------------------------------------------------------------------------

The Spanning Tree code in this directory implements IEEE 802.1D
and 802.1s multiple spanning tree protocol, also known as
Per Vlan Spanning Tree (PVST).

 - stp_process.c is the core protocol implementation
 - stp_api.c provides APIs for creating STP instances,
   and STP port structures, APIs for changing spanning tree
   paramaters etc.
 - stp_appl.c is a sample implementation of STP running on Broadcom
   StrataSwitch SDKs, it is based on the APIs provided by the above
   files.  Customers intended to use these code on their platforms
   may need some porting.  The functions provided in stp_process.c
   and stp_api.c are generic and need little porting.

All spanning tree instances share one thread which is created when
the first spanning tree instance is created, and tears down after the last
instance is deactivated.  By not using multiple threads, it is
expected that STP would not create serious performance issues.

Rapid Spanning Tree is not implemented here.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?