|
INET Framework for OMNeT++/OMNEST
|
#include <STPBPDU_m.h>
Public Member Functions | |
| STPBPDU (const char *name=NULL, int kind=0) | |
| STPBPDU (const STPBPDU &other) | |
| virtual | ~STPBPDU () |
| STPBPDU & | operator= (const STPBPDU &other) |
| virtual STPBPDU * | dup () const |
| virtual void | parsimPack (cCommBuffer *b) |
| virtual void | parsimUnpack (cCommBuffer *b) |
| virtual unsigned int | getPortRole () const |
| virtual void | setPortRole (unsigned int portRole) |
| virtual bool | getTc () const |
| virtual void | setTc (bool tc) |
| virtual bool | getTca () const |
| virtual void | setTca (bool tca) |
| virtual unsigned int | getVlan () const |
| virtual void | setVlan (unsigned int vlan) |
| virtual MACAddress & | getBridgeID () |
| virtual const MACAddress & | getBridgeID () const |
| virtual void | setBridgeID (const MACAddress &bridgeID) |
| virtual unsigned int | getBridgePriority () const |
| virtual void | setBridgePriority (unsigned int bridgePriority) |
| virtual unsigned long | getRootPathCost () const |
| virtual void | setRootPathCost (unsigned long rootPathCost) |
| virtual MACAddress & | getRootID () |
| virtual const MACAddress & | getRootID () const |
| virtual void | setRootID (const MACAddress &rootID) |
| virtual unsigned int | getRootPriority () const |
| virtual void | setRootPriority (unsigned int rootPriority) |
| virtual unsigned int | getPortID () const |
| virtual void | setPortID (unsigned int portID) |
| virtual unsigned int | getPortPriority () const |
| virtual void | setPortPriority (unsigned int portPriority) |
| virtual unsigned int | getMsgAge () const |
| virtual void | setMsgAge (unsigned int msgAge) |
| virtual unsigned int | getMaxAge () const |
| virtual void | setMaxAge (unsigned int maxAge) |
| virtual unsigned int | getHelloTime () const |
| virtual void | setHelloTime (unsigned int helloTime) |
| virtual unsigned int | getFwdDelay () const |
| virtual void | setFwdDelay (unsigned int fwdDelay) |
Protected Member Functions | |
| bool | operator== (const STPBPDU &) |
Protected Attributes | |
| unsigned int | portRole_var |
| bool | tc_var |
| bool | tca_var |
| unsigned int | vlan_var |
| MACAddress | bridgeID_var |
| unsigned int | bridgePriority_var |
| unsigned long | rootPathCost_var |
| MACAddress | rootID_var |
| unsigned int | rootPriority_var |
| unsigned int | portID_var |
| unsigned int | portPriority_var |
| unsigned int | msgAge_var |
| unsigned int | maxAge_var |
| unsigned int | helloTime_var |
| unsigned int | fwdDelay_var |
Private Member Functions | |
| void | copy (const STPBPDU &other) |
Class generated from ansa/switch/stp/STPBPDU.msg by opp_msgc.
packet STPBPDU { unsigned int portRole;
bool tc; bool tca;
unsigned int vlan;
MACAddress bridgeID; unsigned int bridgePriority;
unsigned long rootPathCost;
MACAddress rootID; unsigned int rootPriority;
unsigned int portID; unsigned int portPriority;
unsigned int msgAge;
unsigned int maxAge;
unsigned int helloTime;
unsigned int fwdDelay;}
Definition at line 55 of file STPBPDU_m.h.
| STPBPDU::STPBPDU | ( | const char * | name = NULL, |
| int | kind = 0 |
||
| ) |
Referenced by dup().
| STPBPDU::STPBPDU | ( | const STPBPDU & | other | ) |
| virtual STPBPDU::~STPBPDU | ( | ) | [virtual] |
| void STPBPDU::copy | ( | const STPBPDU & | other | ) | [private] |
| virtual STPBPDU* STPBPDU::dup | ( | ) | const [inline, virtual] |
Definition at line 86 of file STPBPDU_m.h.
{return new STPBPDU(*this);}
| virtual MACAddress& STPBPDU::getBridgeID | ( | ) | [virtual] |
Referenced by stpi::setSuperiorBPDU(), and stpi::superiorBPDU().
| virtual const MACAddress& STPBPDU::getBridgeID | ( | ) | const [inline, virtual] |
Definition at line 100 of file STPBPDU_m.h.
Referenced by getBridgeID().
{return const_cast<STPBPDU*>(this)->getBridgeID();}
| virtual unsigned int STPBPDU::getBridgePriority | ( | ) | const [virtual] |
Referenced by stpi::setSuperiorBPDU(), and stpi::superiorBPDU().
| virtual unsigned int STPBPDU::getFwdDelay | ( | ) | const [virtual] |
Referenced by stpi::setSuperiorBPDU().
| virtual unsigned int STPBPDU::getHelloTime | ( | ) | const [virtual] |
Referenced by stpi::setSuperiorBPDU().
| virtual unsigned int STPBPDU::getMaxAge | ( | ) | const [virtual] |
Referenced by stpi::setSuperiorBPDU().
| virtual unsigned int STPBPDU::getMsgAge | ( | ) | const [virtual] |
Referenced by stpi::setSuperiorBPDU().
| virtual unsigned int STPBPDU::getPortID | ( | ) | const [virtual] |
Referenced by stpi::setSuperiorBPDU(), and stpi::superiorBPDU().
| virtual unsigned int STPBPDU::getPortPriority | ( | ) | const [virtual] |
Referenced by stpi::setSuperiorBPDU(), and stpi::superiorBPDU().
| virtual unsigned int STPBPDU::getPortRole | ( | ) | const [virtual] |
| virtual MACAddress& STPBPDU::getRootID | ( | ) | [virtual] |
Referenced by stpi::setSuperiorBPDU(), and stpi::superiorBPDU().
| virtual const MACAddress& STPBPDU::getRootID | ( | ) | const [inline, virtual] |
Definition at line 107 of file STPBPDU_m.h.
Referenced by getRootID().
| virtual unsigned long STPBPDU::getRootPathCost | ( | ) | const [virtual] |
Referenced by stpi::setSuperiorBPDU(), and stpi::superiorBPDU().
| virtual unsigned int STPBPDU::getRootPriority | ( | ) | const [virtual] |
Referenced by stpi::setSuperiorBPDU(), and stpi::superiorBPDU().
| virtual bool STPBPDU::getTc | ( | ) | const [virtual] |
Referenced by stpi::handleBPDU().
| virtual bool STPBPDU::getTca | ( | ) | const [virtual] |
Referenced by stpi::handleBPDU().
| virtual unsigned int STPBPDU::getVlan | ( | ) | const [virtual] |
Referenced by Stp::handleBPDU().
| bool STPBPDU::operator== | ( | const STPBPDU & | ) | [protected] |
| virtual void STPBPDU::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
Referenced by doPacking().
| virtual void STPBPDU::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Referenced by doUnpacking().
| virtual void STPBPDU::setBridgeID | ( | const MACAddress & | bridgeID | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setBridgePriority | ( | unsigned int | bridgePriority | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setFwdDelay | ( | unsigned int | fwdDelay | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setHelloTime | ( | unsigned int | helloTime | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setMaxAge | ( | unsigned int | maxAge | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setMsgAge | ( | unsigned int | msgAge | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setPortID | ( | unsigned int | portID | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setPortPriority | ( | unsigned int | portPriority | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setPortRole | ( | unsigned int | portRole | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setRootID | ( | const MACAddress & | rootID | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setRootPathCost | ( | unsigned long | rootPathCost | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setRootPriority | ( | unsigned int | rootPriority | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setTc | ( | bool | tc | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setTca | ( | bool | tca | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
| virtual void STPBPDU::setVlan | ( | unsigned int | vlan | ) | [virtual] |
Referenced by stpi::generateHelloBPDU().
MACAddress STPBPDU::bridgeID_var [protected] |
Definition at line 62 of file STPBPDU_m.h.
unsigned int STPBPDU::bridgePriority_var [protected] |
Definition at line 63 of file STPBPDU_m.h.
unsigned int STPBPDU::fwdDelay_var [protected] |
Definition at line 72 of file STPBPDU_m.h.
unsigned int STPBPDU::helloTime_var [protected] |
Definition at line 71 of file STPBPDU_m.h.
unsigned int STPBPDU::maxAge_var [protected] |
Definition at line 70 of file STPBPDU_m.h.
unsigned int STPBPDU::msgAge_var [protected] |
Definition at line 69 of file STPBPDU_m.h.
unsigned int STPBPDU::portID_var [protected] |
Definition at line 67 of file STPBPDU_m.h.
unsigned int STPBPDU::portPriority_var [protected] |
Definition at line 68 of file STPBPDU_m.h.
unsigned int STPBPDU::portRole_var [protected] |
Definition at line 58 of file STPBPDU_m.h.
MACAddress STPBPDU::rootID_var [protected] |
Definition at line 65 of file STPBPDU_m.h.
unsigned long STPBPDU::rootPathCost_var [protected] |
Definition at line 64 of file STPBPDU_m.h.
unsigned int STPBPDU::rootPriority_var [protected] |
Definition at line 66 of file STPBPDU_m.h.
bool STPBPDU::tc_var [protected] |
Definition at line 59 of file STPBPDU_m.h.
bool STPBPDU::tca_var [protected] |
Definition at line 60 of file STPBPDU_m.h.
unsigned int STPBPDU::vlan_var [protected] |
Definition at line 61 of file STPBPDU_m.h.