INET Framework for OMNeT++/OMNEST
|
#include <IMACAddressTable.h>
Public Member Functions | |
virtual int | getPortForAddress (MACAddress &address, unsigned int vid=0)=0 |
For a known arriving port, V-TAG and destination MAC. More... | |
virtual bool | updateTableWithAddress (int portno, MACAddress &address, unsigned int vid=0)=0 |
Register a new MAC address at AddressTable. More... | |
virtual void | flush (int portno)=0 |
Clears portno cache. More... | |
virtual void | printState ()=0 |
Prints cached data. More... | |
virtual void | copyTable (int portA, int portB)=0 |
Copy cache from portA to portB port. More... | |
virtual void | removeAgedEntriesFromVlan (unsigned int vid=0)=0 |
Remove aged entries from a specified VLAN. More... | |
virtual void | removeAgedEntriesFromAllVlans ()=0 |
Remove aged entries from all VLANs. More... | |
virtual void | removeAgedEntriesIfNeeded ()=0 |
virtual void | readAddressTable (const char *fileName)=0 |
Pre-reads in entries for Address Table during initialization. More... | |
virtual void | clearTable ()=0 |
For lifecycle: clears all entries from the vlanAddressTable. More... | |
virtual void | setAgingTime (simtime_t agingTime)=0 |
virtual void | resetDefaultAging ()=0 |
|
pure virtual |
For lifecycle: clears all entries from the vlanAddressTable.
Implemented in inet::MACAddressTable.
Referenced by inet::MACRelayUnit::start(), inet::Ieee8021dRelay::start(), inet::MACRelayUnit::stop(), and inet::Ieee8021dRelay::stop().
|
pure virtual |
Copy cache from portA to portB port.
Implemented in inet::MACAddressTable.
Referenced by inet::RSTP::handleHelloTime(), inet::RSTP::processBetterSource(), and inet::RSTP::processSameSource().
|
pure virtual |
Clears portno cache.
Implemented in inet::MACAddressTable.
Referenced by inet::RSTP::checkTC(), inet::RSTP::flushOtherPorts(), inet::RSTP::handleBackup(), inet::RSTP::initPorts(), inet::RSTP::processBetterSource(), and inet::RSTP::processSameSource().
|
pure virtual |
For a known arriving port, V-TAG and destination MAC.
It finds out the port where relay component should deliver the message
address | MAC destination |
vid | VLAN ID |
Implemented in inet::MACAddressTable.
Referenced by inet::MACRelayUnit::handleAndDispatchFrame(), and inet::Ieee8021dRelay::handleAndDispatchFrame().
|
pure virtual |
Prints cached data.
Implemented in inet::MACAddressTable.
|
pure virtual |
Pre-reads in entries for Address Table during initialization.
Implemented in inet::MACAddressTable.
|
pure virtual |
Remove aged entries from all VLANs.
Implemented in inet::MACAddressTable.
|
pure virtual |
Remove aged entries from a specified VLAN.
Implemented in inet::MACAddressTable.
|
pure virtual |
Implemented in inet::MACAddressTable.
|
pure virtual |
Implemented in inet::MACAddressTable.
Referenced by inet::STP::handleBPDU().
|
pure virtual |
Implemented in inet::MACAddressTable.
Referenced by inet::STP::handleBPDU().
|
pure virtual |
Register a new MAC address at AddressTable.
Implemented in inet::MACAddressTable.
Referenced by inet::MACRelayUnit::handleAndDispatchFrame(), and inet::Ieee8021dRelay::learn().