Menu

Tree [def34d] master develop /
 History

HTTPS access


File Date Author Commit
 Simulator 2017-09-15 adigostin adigostin [fe3805] Bug fix: Trying to open a new window for a VLAN...
 TestAppLPC2387+IP175D 2017-05-19 adigostin adigostin [860e94] STP callbacks now receive a _const_ STP_BRIDGE;...
 _help 2017-07-27 adigostin adigostin [c08874] The library now calculates path costs based on ...
 mstp-lib 2017-09-15 adigostin adigostin [bc8728] Fix in the Bridge Detection state machine.
 .gitattributes 2017-02-14 adigostin adigostin [1ca938] Add .gitignore and .gitattributes.
 .gitignore 2017-05-18 adigostin adigostin [75219b] Updated documentation for STP_GetMstConfigId an...
 LICENSE 2017-09-14 adigostin adigostin [1442c4] Create LICENSE
 README.md 2017-09-15 adigostin adigostin [7075ae] Updated the readme file.
 Screenshot-v2.1.png 2017-09-15 adigostin adigostin [cf000e] New screenshot for v2.1.
 Simulator.sln 2017-05-19 adigostin adigostin [98f759] The Simulator now runs on Windows 7 SP1.
 mstp-lib.vcxproj 2017-09-14 adigostin adigostin [d1193b] - Removed com_exception and win32_exception (th...
 mstp-lib.vcxproj.filters 2017-05-11 adigostin adigostin [8798e9] WIP

Read Me

mstp-lib

A library that implements the Multiple / Rapid Spanning Tree
Protocol as defined in 802.1Q-2011.

It's written in C++03 and is callable from C.

I integrated the library myself in devices with RSTP used
in ship automation, military equipment, avionics --
bare-bones as well as Linux-based.
I'm aware of it being used in other products as well.

Simulator

A Simulator application for Windows is provided - both
sources and binaries. The Simulator lets you create
networks and see the library in action.
See the screenshot below. This is a project for
Visual Studio 2017 version 15.3.

Embedded Application Example

The repository includes sources for a sample RSTP implementation
on an embedded device. This highlights the platform-specific
code needed by the library -- mostly code that writes to
the hardware registers of the switch chip. This is typically
a few dozen lines of code spread over several functions.

This example is a project for IAR Embedded Workbench 6.50, for a
device with an LPC2000 microcontroller and an IP175C
switch chip.

You're going to have to write the platform-specific code
for your particular switch IC. Drop me a message at
adigostin@gmail.com
and I'll try to help.

API Help

The repository also includes
help files
for most of the library APIs -
some
quite
extensive.

Screenshot of the Windows Simulator

screenshot

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.