INET Framework for OMNeT++/OMNEST
inet::EtherFrameWithLLC Class Reference

Class generated from inet/linklayer/ethernet/EtherFrame.msg:112 by nedtool. More...

#include <EtherFrame_m.h>

Inheritance diagram for inet::EtherFrameWithLLC:
inet::EtherFrame inet::EtherFrameWithSNAP

Public Member Functions

 EtherFrameWithLLC (const char *name=nullptr, short kind=0)
 
 EtherFrameWithLLC (const EtherFrameWithLLC &other)
 
virtual ~EtherFrameWithLLC ()
 
EtherFrameWithLLC & operator= (const EtherFrameWithLLC &other)
 
virtual EtherFrameWithLLC * dup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getDsap () const
 
virtual void setDsap (int dsap)
 
virtual int getSsap () const
 
virtual void setSsap (int ssap)
 
virtual int getControl () const
 
virtual void setControl (int control)
 
- Public Member Functions inherited from inet::EtherFrame
 EtherFrame (const char *name=nullptr, short kind=0)
 
 EtherFrame (const EtherFrame &other)
 
virtual ~EtherFrame ()
 
EtherFrame & operator= (const EtherFrame &other)
 
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 EtherFrameWithLLC &)
 
- Protected Member Functions inherited from inet::EtherFrame
bool operator== (const EtherFrame &)
 

Protected Attributes

int dsap
 
int ssap
 
int control
 
- Protected Attributes inherited from inet::EtherFrame
MACAddress dest
 
MACAddress src
 

Private Member Functions

void copy (const EtherFrameWithLLC &other)
 

Detailed Description

Class generated from inet/linklayer/ethernet/EtherFrame.msg:112 by nedtool.

//
// Ethernet frame with 802.3 LLC header.
//
// Header length: src(6)+dest(6)+length(2)+ssap(1)+dsap(1)+control(1) + FCS(4) = 21 bytes
//
packet EtherFrameWithLLC extends EtherFrame
{
    byteLength = ETHER_MAC_FRAME_BYTES + ETHER_LLC_HEADER_LENGTH;
    int dsap;
    int ssap;
    int control;
}

Constructor & Destructor Documentation

inet::EtherFrameWithLLC::EtherFrameWithLLC ( const char *  name = nullptr,
short  kind = 0 
)
inet::EtherFrameWithLLC::EtherFrameWithLLC ( const EtherFrameWithLLC &  other)
virtual inet::EtherFrameWithLLC::~EtherFrameWithLLC ( )
virtual

Member Function Documentation

void inet::EtherFrameWithLLC::copy ( const EtherFrameWithLLC &  other)
private
virtual EtherFrameWithLLC* inet::EtherFrameWithLLC::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::EtherFrame.

Reimplemented in inet::EtherFrameWithSNAP.

364 {return new EtherFrameWithLLC(*this);}
EtherFrameWithLLC(const char *name=nullptr, short kind=0)
virtual int inet::EtherFrameWithLLC::getControl ( ) const
virtual
virtual int inet::EtherFrameWithLLC::getDsap ( ) const
virtual
virtual int inet::EtherFrameWithLLC::getSsap ( ) const
virtual
EtherFrameWithLLC& inet::EtherFrameWithLLC::operator= ( const EtherFrameWithLLC &  other)
bool inet::EtherFrameWithLLC::operator== ( const EtherFrameWithLLC &  )
protected
virtual void inet::EtherFrameWithLLC::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::EtherFrame.

Reimplemented in inet::EtherFrameWithSNAP.

Referenced by inet::doParsimPacking().

virtual void inet::EtherFrameWithLLC::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::EtherFrame.

Reimplemented in inet::EtherFrameWithSNAP.

Referenced by inet::doParsimUnpacking().

virtual void inet::EtherFrameWithLLC::setControl ( int  control)
virtual
virtual void inet::EtherFrameWithLLC::setDsap ( int  dsap)
virtual
virtual void inet::EtherFrameWithLLC::setSsap ( int  ssap)
virtual

Member Data Documentation

int inet::EtherFrameWithLLC::control
protected
int inet::EtherFrameWithLLC::dsap
protected
int inet::EtherFrameWithLLC::ssap
protected

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