|
INET Framework for OMNeT++/OMNEST
|
Represents the Label Information Base (LIB) for MPLS. More...
#include <LibTable.h>
Classes | |
| struct | LibEntry |
Public Member Functions | |
| virtual bool | resolveLabel (std::string inInterface, int inLabel, LabelOpVector &outLabel, std::string &outInterface, int &color) |
| virtual int | installLibEntry (int inLabel, std::string inInterface, const LabelOpVector &outLabel, std::string outInterface, int color) |
| virtual void | removeLibEntry (int inLabel) |
Static Public Member Functions | |
| static LabelOpVector | pushLabel (int label) |
| static LabelOpVector | swapLabel (int label) |
| static LabelOpVector | popLabel () |
Protected Member Functions | |
| virtual void | initialize (int stage) override |
| virtual int | numInitStages () const override |
| virtual void | handleMessage (cMessage *msg) override |
| virtual void | readTableFromXML (const cXMLElement *libtable) |
Protected Attributes | |
| int | maxLabel |
| std::vector< LibEntry > | lib |
Represents the Label Information Base (LIB) for MPLS.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
virtual |
|
inlineoverrideprotectedvirtual |
|
static |
Referenced by inet::Ldp::processLABEL_REQUEST(), and inet::Ldp::updateFecListEntry().
|
static |
Referenced by inet::Ldp::lookupLabel().
|
protectedvirtual |
Referenced by initialize().
|
virtual |
|
virtual |
|
static |
|
protected |
Referenced by initialize(), installLibEntry(), inet::operator<<(), readTableFromXML(), removeLibEntry(), and resolveLabel().
|
protected |
Referenced by initialize(), installLibEntry(), and readTableFromXML().