mstp-lib Icon


RSTP / MSTP Library and Simulator

5.0 Stars (1)
1 Download (This Week)
Last Update:
Browse All Files



A cross-platform implementation of the Multiple Spanning Tree Protocol as defined in 802.1Q-2011. It's written in C++ and has a C interface.

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

You're going to need some driver code for your particular switch IC. Drop me a message at and I'll try to help.

I also developed a Simulator application for Windows, with graphics showing how the STP algorithm reconfigures the network when cables are added/removed.

mstp-lib Web Site


Other Useful Business Software

Searching for Affordable Business Phone Service? Icon

If you're on the hunt for business phone service that is reliable and budget-friendly, Voice over Internet Protocol (VoIP) is your answer.

Searching for Affordable Business Phone Service? Icon
Today's small-to-medium-sized (SMB) businesses and large enterprises are saving on their monthly communications costs by making one simple decision: to switch to a VoIP service solution from their old, outdated Plain Old Telephone Service (POTS). By choosing a new VoIP service, these companies enjoy the flexibility, reliability, call features, and audio quality that only a VoIP service can provide. Plus, they cut their phone bill by up to 70%!

User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    We were successful in using this library in our embedded design and with the testing we've done with other switch manufacturers, so far so good. We are very pleased with the performance and operation of the library. I would recommend the library without hesitation, well done Adi and think you so much for sharing this library. You certainly made my job a lot easier.

    Posted 01/23/2015
Read more reviews

Additional Project Details

Intended Audience

Information Technology

Programming Language




Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks