INET Framework for OMNeT++/OMNEST
EtherFrameWithSNAP Class Reference

#include <EtherFrame_m.h>

Inheritance diagram for EtherFrameWithSNAP:
EtherFrame

List of all members.

Public Member Functions

 EtherFrameWithSNAP (const char *name=NULL, int kind=0)
 EtherFrameWithSNAP (const EtherFrameWithSNAP &other)
virtual ~EtherFrameWithSNAP ()
EtherFrameWithSNAPoperator= (const EtherFrameWithSNAP &other)
virtual EtherFrameWithSNAPdup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual long getOrgCode () const
virtual void setOrgCode (long orgCode)
virtual int getLocalcode () const
virtual void setLocalcode (int localcode)

Protected Member Functions

bool operator== (const EtherFrameWithSNAP &)

Protected Attributes

long orgCode_var
int localcode_var

Private Member Functions

void copy (const EtherFrameWithSNAP &other)

Detailed Description

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

 packet EtherFrameWithSNAP extends EtherFrame
 {
     long orgCode;  
     int localcode; 
 }
 

Definition at line 197 of file EtherFrame_m.h.


Constructor & Destructor Documentation

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

Referenced by dup().


Member Function Documentation

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

Reimplemented from EtherFrame.

Definition at line 215 of file EtherFrame_m.h.

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

Reimplemented from EtherFrame.

Referenced by doPacking().

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

Reimplemented from EtherFrame.

Referenced by doUnpacking().

virtual void EtherFrameWithSNAP::setLocalcode ( int  localcode) [virtual]
virtual void EtherFrameWithSNAP::setOrgCode ( long  orgCode) [virtual]

Member Data Documentation

Definition at line 201 of file EtherFrame_m.h.

Definition at line 200 of file EtherFrame_m.h.


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