INET Framework for OMNeT++/OMNEST
inet::ieee80211::Ieee80211MsduSubframe Class Reference

Class generated from inet/linklayer/ieee80211/mac/Ieee80211Frame.msg:230 by nedtool. More...

#include <Ieee80211Frame_m.h>

Inheritance diagram for inet::ieee80211::Ieee80211MsduSubframe:

Public Member Functions

 Ieee80211MsduSubframe (const char *name=nullptr, short kind=0)
 
 Ieee80211MsduSubframe (const Ieee80211MsduSubframe &other)
 
virtual ~Ieee80211MsduSubframe ()
 
Ieee80211MsduSubframeoperator= (const Ieee80211MsduSubframe &other)
 
virtual Ieee80211MsduSubframedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual MACAddressgetSa ()
 
virtual const MACAddressgetSa () const
 
virtual void setSa (const MACAddress &sa)
 
virtual MACAddressgetDa ()
 
virtual const MACAddressgetDa () const
 
virtual void setDa (const MACAddress &da)
 
virtual int getLength () const
 
virtual void setLength (int length)
 
virtual int getEtherType () const
 
virtual void setEtherType (int etherType)
 

Protected Member Functions

bool operator== (const Ieee80211MsduSubframe &)
 

Protected Attributes

MACAddress sa
 
MACAddress da
 
int length
 
int etherType
 

Private Member Functions

void copy (const Ieee80211MsduSubframe &other)
 

Detailed Description

Class generated from inet/linklayer/ieee80211/mac/Ieee80211Frame.msg:230 by nedtool.

packet Ieee80211MsduSubframe
{
    bitLength = LENGTH_A_MSDU_SUBFRAME_HEADER; // + snap header if necessary
    MACAddress sa; // source addr.
    MACAddress da; // destination addr.
    int length;
    int etherType @enum(EtherType); // TODO: review optional snap header (the standard does not define it: Figure 8-32—A-MSDU subframe structure) 
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::ieee80211::Ieee80211MsduSubframe::copy ( const Ieee80211MsduSubframe other)
private
virtual Ieee80211MsduSubframe* inet::ieee80211::Ieee80211MsduSubframe::dup ( ) const
inlineoverridevirtual
705 {return new Ieee80211MsduSubframe(*this);}
Ieee80211MsduSubframe(const char *name=nullptr, short kind=0)
virtual MACAddress& inet::ieee80211::Ieee80211MsduSubframe::getDa ( )
virtual
virtual const MACAddress& inet::ieee80211::Ieee80211MsduSubframe::getDa ( ) const
inlinevirtual

Referenced by getDa().

714 {return const_cast<Ieee80211MsduSubframe*>(this)->getDa();}
Ieee80211MsduSubframe(const char *name=nullptr, short kind=0)
virtual int inet::ieee80211::Ieee80211MsduSubframe::getEtherType ( ) const
virtual
virtual int inet::ieee80211::Ieee80211MsduSubframe::getLength ( ) const
virtual
virtual MACAddress& inet::ieee80211::Ieee80211MsduSubframe::getSa ( )
virtual
virtual const MACAddress& inet::ieee80211::Ieee80211MsduSubframe::getSa ( ) const
inlinevirtual

Referenced by getSa().

711 {return const_cast<Ieee80211MsduSubframe*>(this)->getSa();}
Ieee80211MsduSubframe(const char *name=nullptr, short kind=0)
Ieee80211MsduSubframe& inet::ieee80211::Ieee80211MsduSubframe::operator= ( const Ieee80211MsduSubframe other)
bool inet::ieee80211::Ieee80211MsduSubframe::operator== ( const Ieee80211MsduSubframe )
protected
virtual void inet::ieee80211::Ieee80211MsduSubframe::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::ieee80211::Ieee80211MsduSubframe::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::ieee80211::Ieee80211MsduSubframe::setDa ( const MACAddress da)
virtual
virtual void inet::ieee80211::Ieee80211MsduSubframe::setEtherType ( int  etherType)
virtual
virtual void inet::ieee80211::Ieee80211MsduSubframe::setLength ( int  length)
virtual
virtual void inet::ieee80211::Ieee80211MsduSubframe::setSa ( const MACAddress sa)
virtual

Member Data Documentation

MACAddress inet::ieee80211::Ieee80211MsduSubframe::da
protected
int inet::ieee80211::Ieee80211MsduSubframe::etherType
protected
int inet::ieee80211::Ieee80211MsduSubframe::length
protected
MACAddress inet::ieee80211::Ieee80211MsduSubframe::sa
protected

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