|
INET Framework for OMNeT++/OMNEST
|
#include <EtherFrame_m.h>
Public Member Functions | |
| EtherFrame (const char *name=NULL, int kind=0) | |
| EtherFrame (const EtherFrame &other) | |
| virtual | ~EtherFrame () |
| EtherFrame & | operator= (const EtherFrame &other) |
| virtual EtherFrame * | dup () const |
| virtual void | parsimPack (cCommBuffer *b) |
| virtual void | parsimUnpack (cCommBuffer *b) |
| virtual MACAddress & | getDest () |
| virtual const MACAddress & | getDest () const |
| virtual void | setDest (const MACAddress &dest) |
| virtual MACAddress & | getSrc () |
| virtual const MACAddress & | getSrc () const |
| virtual void | setSrc (const MACAddress &src) |
Protected Member Functions | |
| bool | operator== (const EtherFrame &) |
Protected Attributes | |
| MACAddress | dest_var |
| MACAddress | src_var |
Private Member Functions | |
| void | copy (const EtherFrame &other) |
Class generated from linklayer/ethernet/EtherFrame.msg by opp_msgc.
packet EtherFrame { MACAddress dest; MACAddress src;
}
Definition at line 69 of file EtherFrame_m.h.
| EtherFrame::EtherFrame | ( | const char * | name = NULL, |
| int | kind = 0 |
||
| ) |
Referenced by dup().
| EtherFrame::EtherFrame | ( | const EtherFrame & | other | ) |
| virtual EtherFrame::~EtherFrame | ( | ) | [virtual] |
| void EtherFrame::copy | ( | const EtherFrame & | other | ) | [private] |
| virtual EtherFrame* EtherFrame::dup | ( | ) | const [inline, virtual] |
Reimplemented in EtherPauseFrame, EtherFrameWithSNAP, EtherFrameWithLLC, EthernetIIFrame, and AnsaEtherFrame.
Definition at line 87 of file EtherFrame_m.h.
Referenced by MACRelayUnitBase::broadcastFrame(), and EtherMAC2::startFrameTransmission().
{return new EtherFrame(*this);}
| virtual MACAddress& EtherFrame::getDest | ( | ) | [virtual] |
Referenced by EtherMACBase::checkDestinationAddress(), AnsaEtherMACBase::checkDestinationAddress(), Ieee80211MgmtAPBase::convertFromEtherFrame(), MACRelayUnitBase::handleAndDispatchFrame(), ANSASwitchCore::handleAndDispatchFrame(), Ieee80211MgmtAP::handleUpperMessage(), ANSASwitchCore::ingress(), EtherEncap::processFrameFromMAC(), EtherLLC::processFrameFromMAC(), EtherMACBase::processFrameFromUpperLayer(), AnsaEtherMACBase::processFrameFromUpperLayer(), ANSASwitchCore::tagMsg(), and ANSASwitchCore::untagMsg().
| virtual const MACAddress& EtherFrame::getDest | ( | ) | const [inline, virtual] |
Definition at line 93 of file EtherFrame_m.h.
Referenced by getDest().
{return const_cast<EtherFrame*>(this)->getDest();}
| virtual MACAddress& EtherFrame::getSrc | ( | ) | [virtual] |
Referenced by Ieee80211MgmtAPBase::convertFromEtherFrame(), MACRelayUnitBase::handleAndDispatchFrame(), ANSASwitchCore::handleAndDispatchFrame(), ANSASwitchCore::ingress(), EtherEncap::processFrameFromMAC(), EtherLLC::processFrameFromMAC(), EtherMACBase::processFrameFromUpperLayer(), AnsaEtherMACBase::processFrameFromUpperLayer(), EtherMAC2::startFrameTransmission(), ANSASwitchCore::tagMsg(), and ANSASwitchCore::untagMsg().
| virtual const MACAddress& EtherFrame::getSrc | ( | ) | const [inline, virtual] |
Definition at line 96 of file EtherFrame_m.h.
Referenced by getSrc().
{return const_cast<EtherFrame*>(this)->getSrc();}
| EtherFrame& EtherFrame::operator= | ( | const EtherFrame & | other | ) |
| bool EtherFrame::operator== | ( | const EtherFrame & | ) | [protected] |
| virtual void EtherFrame::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented in EtherPauseFrame, EtherFrameWithSNAP, EtherFrameWithLLC, EthernetIIFrame, and AnsaEtherFrame.
Referenced by doPacking().
| virtual void EtherFrame::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented in EtherPauseFrame, EtherFrameWithSNAP, EtherFrameWithLLC, EthernetIIFrame, and AnsaEtherFrame.
Referenced by doUnpacking().
| virtual void EtherFrame::setDest | ( | const MACAddress & | dest | ) | [virtual] |
| virtual void EtherFrame::setSrc | ( | const MACAddress & | src | ) | [virtual] |
Referenced by Ieee80211MgmtAPBase::convertToEtherFrame(), ANSASwitchCore::dispatch(), ANSASwitchCore::dispatchBPDU(), EtherMACBase::processFrameFromUpperLayer(), AnsaEtherMACBase::processFrameFromUpperLayer(), EtherEncap::processPacketFromHigherLayer(), EtherMAC2::startFrameTransmission(), ANSASwitchCore::tagMsg(), and ANSASwitchCore::untagMsg().
MACAddress EtherFrame::dest_var [protected] |
Definition at line 72 of file EtherFrame_m.h.
MACAddress EtherFrame::src_var [protected] |
Definition at line 73 of file EtherFrame_m.h.