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

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

#include <Ieee80211Frame_m.h>

Inheritance diagram for inet::ieee80211::Ieee80211DataFrameWithSNAP:
inet::ieee80211::Ieee80211DataFrame inet::ieee80211::Ieee80211DataOrMgmtFrame inet::ieee80211::Ieee80211TwoAddressFrame inet::ieee80211::Ieee80211OneAddressFrame inet::ieee80211::Ieee80211Frame

Public Member Functions

 Ieee80211DataFrameWithSNAP (const char *name=nullptr, short kind=0)
 
 Ieee80211DataFrameWithSNAP (const Ieee80211DataFrameWithSNAP &other)
 
virtual ~Ieee80211DataFrameWithSNAP ()
 
Ieee80211DataFrameWithSNAPoperator= (const Ieee80211DataFrameWithSNAP &other)
 
virtual Ieee80211DataFrameWithSNAPdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getEtherType () const
 
virtual void setEtherType (int etherType)
 
- Public Member Functions inherited from inet::ieee80211::Ieee80211DataFrame
 Ieee80211DataFrame (const char *name=nullptr, short kind=0)
 
 Ieee80211DataFrame (const Ieee80211DataFrame &other)
 
virtual ~Ieee80211DataFrame ()
 
Ieee80211DataFrameoperator= (const Ieee80211DataFrame &other)
 
virtual MACAddressgetAddress4 ()
 
virtual const MACAddressgetAddress4 () const
 
virtual void setAddress4 (const MACAddress &address4)
 
virtual uint16_t getQos () const
 
virtual void setQos (uint16_t qos)
 
virtual int getAckPolicy () const
 
virtual void setAckPolicy (int ackPolicy)
 
virtual uint8_t getTid () const
 
virtual void setTid (uint8_t tid)
 
virtual bool getAMsduPresent () const
 
virtual void setAMsduPresent (bool aMsduPresent)
 
- Public Member Functions inherited from inet::ieee80211::Ieee80211DataOrMgmtFrame
 Ieee80211DataOrMgmtFrame (const char *name=nullptr, short kind=0)
 
 Ieee80211DataOrMgmtFrame (const Ieee80211DataOrMgmtFrame &other)
 
virtual ~Ieee80211DataOrMgmtFrame ()
 
Ieee80211DataOrMgmtFrameoperator= (const Ieee80211DataOrMgmtFrame &other)
 
virtual MACAddressgetAddress3 ()
 
virtual const MACAddressgetAddress3 () const
 
virtual void setAddress3 (const MACAddress &address3)
 
virtual short getFragmentNumber () const
 
virtual void setFragmentNumber (short fragmentNumber)
 
virtual uint16_t getSequenceNumber () const
 
virtual void setSequenceNumber (uint16_t sequenceNumber)
 
- Public Member Functions inherited from inet::ieee80211::Ieee80211TwoAddressFrame
 Ieee80211TwoAddressFrame (const char *name=nullptr, short kind=0)
 
 Ieee80211TwoAddressFrame (const Ieee80211TwoAddressFrame &other)
 
virtual ~Ieee80211TwoAddressFrame ()
 
Ieee80211TwoAddressFrameoperator= (const Ieee80211TwoAddressFrame &other)
 
virtual MACAddressgetTransmitterAddress ()
 
virtual const MACAddressgetTransmitterAddress () const
 
virtual void setTransmitterAddress (const MACAddress &transmitterAddress)
 
- Public Member Functions inherited from inet::ieee80211::Ieee80211OneAddressFrame
 Ieee80211OneAddressFrame (const char *name=nullptr, short kind=0)
 
 Ieee80211OneAddressFrame (const Ieee80211OneAddressFrame &other)
 
virtual ~Ieee80211OneAddressFrame ()
 
Ieee80211OneAddressFrameoperator= (const Ieee80211OneAddressFrame &other)
 
- Public Member Functions inherited from inet::ieee80211::Ieee80211Frame
 Ieee80211Frame (const char *name=nullptr, short kind=0)
 
 Ieee80211Frame (const Ieee80211Frame &other)
 
virtual ~Ieee80211Frame ()
 
Ieee80211Frameoperator= (const Ieee80211Frame &other)
 
virtual short getType () const
 
virtual void setType (short type)
 
virtual bool getToDS () const
 
virtual void setToDS (bool toDS)
 
virtual bool getFromDS () const
 
virtual void setFromDS (bool fromDS)
 
virtual bool getRetry () const
 
virtual void setRetry (bool retry)
 
virtual bool getMoreFragments () const
 
virtual void setMoreFragments (bool moreFragments)
 
virtual ::omnetpp::simtime_t getDuration () const
 
virtual void setDuration (::omnetpp::simtime_t duration)
 
virtual short getAID () const
 
virtual void setAID (short AID)
 
virtual MACAddressgetReceiverAddress ()
 
virtual const MACAddressgetReceiverAddress () const
 
virtual void setReceiverAddress (const MACAddress &receiverAddress)
 
virtual ::omnetpp::simtime_t getMACArrive () const
 
virtual void setMACArrive (::omnetpp::simtime_t MACArrive)
 

Protected Member Functions

bool operator== (const Ieee80211DataFrameWithSNAP &)
 
- Protected Member Functions inherited from inet::ieee80211::Ieee80211DataFrame
bool operator== (const Ieee80211DataFrame &)
 
- Protected Member Functions inherited from inet::ieee80211::Ieee80211DataOrMgmtFrame
bool operator== (const Ieee80211DataOrMgmtFrame &)
 
- Protected Member Functions inherited from inet::ieee80211::Ieee80211TwoAddressFrame
bool operator== (const Ieee80211TwoAddressFrame &)
 
- Protected Member Functions inherited from inet::ieee80211::Ieee80211OneAddressFrame
bool operator== (const Ieee80211OneAddressFrame &)
 
- Protected Member Functions inherited from inet::ieee80211::Ieee80211Frame
bool operator== (const Ieee80211Frame &)
 

Protected Attributes

int etherType
 
- Protected Attributes inherited from inet::ieee80211::Ieee80211DataFrame
MACAddress address4
 
uint16_t qos
 
int ackPolicy
 
uint8_t tid
 
bool aMsduPresent
 
- Protected Attributes inherited from inet::ieee80211::Ieee80211DataOrMgmtFrame
MACAddress address3
 
short fragmentNumber
 
uint16_t sequenceNumber
 
- Protected Attributes inherited from inet::ieee80211::Ieee80211TwoAddressFrame
MACAddress transmitterAddress
 
- Protected Attributes inherited from inet::ieee80211::Ieee80211Frame
short type
 
bool toDS
 
bool fromDS
 
bool retry
 
bool moreFragments
 
::omnetpp::simtime_t duration
 
short AID
 
MACAddress receiverAddress
 
::omnetpp::simtime_t MACArrive
 

Private Member Functions

void copy (const Ieee80211DataFrameWithSNAP &other)
 

Detailed Description

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

//
// 802.11 data frame with the 8-byte SNAP header (AA AA 03, 00 00 00, <2-byte ~EtherType>)
//
packet Ieee80211DataFrameWithSNAP extends Ieee80211DataFrame
{
    byteLength = DATAFRAME_HEADER_MINLENGTH / 8 + SNAP_HEADER_BYTES; // TODO: LLC(SNAP) headers should be in a separate packet
    int etherType @enum(EtherType);
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::ieee80211::Ieee80211DataFrameWithSNAP::copy ( const Ieee80211DataFrameWithSNAP other)
private
virtual Ieee80211DataFrameWithSNAP* inet::ieee80211::Ieee80211DataFrameWithSNAP::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::ieee80211::Ieee80211DataFrame.

581 {return new Ieee80211DataFrameWithSNAP(*this);}
Ieee80211DataFrameWithSNAP(const char *name=nullptr, short kind=0)
Ieee80211DataFrameWithSNAP& inet::ieee80211::Ieee80211DataFrameWithSNAP::operator= ( const Ieee80211DataFrameWithSNAP other)
bool inet::ieee80211::Ieee80211DataFrameWithSNAP::operator== ( const Ieee80211DataFrameWithSNAP )
protected
virtual void inet::ieee80211::Ieee80211DataFrameWithSNAP::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::ieee80211::Ieee80211DataFrameWithSNAP::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Member Data Documentation

int inet::ieee80211::Ieee80211DataFrameWithSNAP::etherType
protected

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