INET Framework for OMNeT++/OMNEST
EthernetIIFrame Class Reference

#include <EtherFrame_m.h>

Inheritance diagram for EthernetIIFrame:
EtherFrame AnsaEtherFrame

List of all members.

Public Member Functions

 EthernetIIFrame (const char *name=NULL, int kind=0)
 EthernetIIFrame (const EthernetIIFrame &other)
virtual ~EthernetIIFrame ()
EthernetIIFrameoperator= (const EthernetIIFrame &other)
virtual EthernetIIFramedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual int getEtherType () const
virtual void setEtherType (int etherType)

Protected Member Functions

bool operator== (const EthernetIIFrame &)

Protected Attributes

int etherType_var

Private Member Functions

void copy (const EthernetIIFrame &other)

Detailed Description

Class generated from linklayer/ethernet/EtherFrame.msg by opp_msgc.

 packet EthernetIIFrame extends EtherFrame
 {
     int etherType;
 }
 

Definition at line 112 of file EtherFrame_m.h.


Constructor & Destructor Documentation

EthernetIIFrame::EthernetIIFrame ( const char *  name = NULL,
int  kind = 0 
)

Referenced by dup().

virtual EthernetIIFrame::~EthernetIIFrame ( ) [virtual]

Member Function Documentation

void EthernetIIFrame::copy ( const EthernetIIFrame other) [private]
virtual EthernetIIFrame* EthernetIIFrame::dup ( ) const [inline, virtual]

Reimplemented from EtherFrame.

Reimplemented in AnsaEtherFrame.

Definition at line 129 of file EtherFrame_m.h.

Referenced by ANSASwitchCore::broadcastFrame(), ANSASwitchCore::dispatch(), and ANSASwitchCore::handleAndDispatchFrame().

{return new EthernetIIFrame(*this);}
EthernetIIFrame& EthernetIIFrame::operator= ( const EthernetIIFrame other)
bool EthernetIIFrame::operator== ( const EthernetIIFrame ) [protected]
virtual void EthernetIIFrame::parsimPack ( cCommBuffer *  b) [virtual]

Reimplemented from EtherFrame.

Reimplemented in AnsaEtherFrame.

Referenced by doPacking().

virtual void EthernetIIFrame::parsimUnpack ( cCommBuffer *  b) [virtual]

Reimplemented from EtherFrame.

Reimplemented in AnsaEtherFrame.

Referenced by doUnpacking().


Member Data Documentation

Definition at line 115 of file EtherFrame_m.h.


The documentation for this class was generated from the following file: