INET Framework for OMNeT++/OMNEST
|
Class generated from inet/linklayer/ethernet/EtherFrame.msg:87
by nedtool.
More...
#include <EtherFrame_m.h>
Public Member Functions | |
EtherFrame (const char *name=nullptr, short kind=0) | |
EtherFrame (const EtherFrame &other) | |
virtual | ~EtherFrame () |
EtherFrame & | operator= (const EtherFrame &other) |
virtual EtherFrame * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
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 |
MACAddress | src |
Private Member Functions | |
void | copy (const EtherFrame &other) |
Class generated from inet/linklayer/ethernet/EtherFrame.msg:87
by nedtool.
// // Common base class for classes representing Ethernet II and 802.3 frame types, // containing their common header fields. // // This class should never be instantiated by the models, only specific // subclasses: ~EthernetIIFrame, ~EtherFrameWithLLC and ~EtherFrameWithSNAP. // // Source and destination MAC address are stored in data members. // Packet length includes Etherner header, payload, padding and FCS. // Payload length can be accessed as getEncapsulatedPacket()->getByteLength(). // packet EtherFrame { MACAddress dest; MACAddress src; }
inet::EtherFrame::EtherFrame | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::EtherFrame::EtherFrame | ( | const EtherFrame & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented in inet::EtherPauseFrame, inet::EtherFrameWithSNAP, inet::EtherFrameWithLLC, and inet::EthernetIIFrame.
Referenced by inet::Ieee8021dRelay::broadcast(), inet::MACRelayUnit::broadcastFrame(), inet::EtherMACFullDuplex::startFrameTransmission(), and inet::EtherMAC::startFrameTransmission().
|
virtual |
Referenced by inet::ieee80211::Ieee80211MgmtAPBase::convertFromEtherFrame(), inet::Ieee8021dRelay::deliverBPDU(), inet::Ieee8021dRelay::dispatch(), inet::Ieee8021dRelay::dispatchBPDU(), inet::EtherMACBase::dropFrameNotForUs(), inet::MACRelayUnit::handleAndDispatchFrame(), inet::Ieee8021dRelay::handleAndDispatchFrame(), inet::InetPacketPrinter2::printMessage(), inet::EtherEncap::processFrameFromMAC(), inet::EtherLLC::processFrameFromMAC(), inet::EtherMACFullDuplex::processFrameFromUpperLayer(), and inet::EtherMAC::processFrameFromUpperLayer().
|
inlinevirtual |
Referenced by getDest().
|
virtual |
Referenced by inet::ieee80211::Ieee80211MgmtAPBase::convertFromEtherFrame(), inet::Ieee8021dRelay::deliverBPDU(), inet::MACRelayUnit::handleAndDispatchFrame(), inet::Ieee8021dRelay::learn(), inet::InetPacketPrinter2::printMessage(), inet::EtherEncap::processFrameFromMAC(), inet::EtherLLC::processFrameFromMAC(), inet::EtherMACFullDuplex::processFrameFromUpperLayer(), inet::EtherMAC::processFrameFromUpperLayer(), inet::EtherMACFullDuplex::startFrameTransmission(), and inet::EtherMAC::startFrameTransmission().
|
inlinevirtual |
Referenced by getSrc().
EtherFrame& inet::EtherFrame::operator= | ( | const EtherFrame & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented in inet::EtherPauseFrame, inet::EtherFrameWithSNAP, inet::EtherFrameWithLLC, and inet::EthernetIIFrame.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented in inet::EtherPauseFrame, inet::EtherFrameWithSNAP, inet::EtherFrameWithLLC, and inet::EthernetIIFrame.
Referenced by inet::doParsimUnpacking().
|
virtual |
|
virtual |
Referenced by inet::Ieee8021dRelay::dispatchBPDU(), inet::EtherMACFullDuplex::processFrameFromUpperLayer(), inet::EtherMAC::processFrameFromUpperLayer(), inet::EtherEncap::processPacketFromHigherLayer(), inet::EtherMACFullDuplex::startFrameTransmission(), and inet::EtherMAC::startFrameTransmission().
|
protected |
|
protected |