⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 stp代码
💻
字号:
------------------------------------------------------------------------------
		       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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -