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

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

#include <Ieee80211Frame_m.h>

Inheritance diagram for inet::ieee80211::Ieee80211DataOrMgmtFrame:
inet::ieee80211::Ieee80211TwoAddressFrame inet::ieee80211::Ieee80211OneAddressFrame inet::ieee80211::Ieee80211Frame inet::ieee80211::Ieee80211DataFrame inet::ieee80211::Ieee80211ManagementFrame inet::ieee80211::Ieee80211DataFrameWithSNAP inet::ieee80211::Ieee80211ActionFrame inet::ieee80211::Ieee80211AssociationRequestFrame inet::ieee80211::Ieee80211AssociationResponseFrame inet::ieee80211::Ieee80211AuthenticationFrame inet::ieee80211::Ieee80211BeaconFrame inet::ieee80211::Ieee80211DeauthenticationFrame inet::ieee80211::Ieee80211DisassociationFrame inet::ieee80211::Ieee80211ProbeRequestFrame inet::ieee80211::Ieee80211ProbeResponseFrame inet::ieee80211::Ieee80211ReassociationRequestFrame inet::ieee80211::Ieee80211ReassociationResponseFrame

Public Member Functions

 Ieee80211DataOrMgmtFrame (const char *name=nullptr, short kind=0)
 
 Ieee80211DataOrMgmtFrame (const Ieee80211DataOrMgmtFrame &other)
 
virtual ~Ieee80211DataOrMgmtFrame ()
 
Ieee80211DataOrMgmtFrameoperator= (const Ieee80211DataOrMgmtFrame &other)
 
virtual Ieee80211DataOrMgmtFramedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
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 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

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 Ieee80211DataOrMgmtFrame &other)
 

Detailed Description

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

//
// Common base class for 802.11 data and management frames
//
packet Ieee80211DataOrMgmtFrame extends Ieee80211TwoAddressFrame
{
    byteLength = LENGTH_MGMT / 8;
    MACAddress address3;
    short fragmentNumber;
    uint16 sequenceNumber;
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::ieee80211::Ieee80211DataOrMgmtFrame::copy ( const Ieee80211DataOrMgmtFrame other)
private
virtual const MACAddress& inet::ieee80211::Ieee80211DataOrMgmtFrame::getAddress3 ( ) const
inlinevirtual

Referenced by getAddress3().

463 {return const_cast<Ieee80211DataOrMgmtFrame*>(this)->getAddress3();}
Ieee80211DataOrMgmtFrame(const char *name=nullptr, short kind=0)
virtual uint16_t inet::ieee80211::Ieee80211DataOrMgmtFrame::getSequenceNumber ( ) const
virtual

Referenced by inet::ieee80211::NonQoSRecoveryProcedure::ackFrameReceived(), inet::ieee80211::QoSRecoveryProcedure::ackFrameReceived(), inet::ieee80211::BasicReassembly::addFragment(), inet::ieee80211::BlockAckRecord::blockAckPolicyFrameReceived(), inet::ieee80211::OriginatorQoSAckPolicy::checkAgreementPolicy(), inet::ieee80211::RecipientQoSMacDataService::dataFrameReceived(), inet::ieee80211::EdcaTransmitLifetimeHandler::frameGotInProgess(), inet::ieee80211::AckHandler::frameGotInProgress(), inet::ieee80211::QoSAckHandler::frameGotInProgress(), inet::ieee80211::DcfTransmitLifetimeHandler::frameTransmitted(), inet::ieee80211::AckHandler::getAckStatus(), inet::ieee80211::QoSAckHandler::getMgmtOrNonQoSAckStatus(), inet::ieee80211::QoSAckHandler::getQoSDataAckStatus(), inet::ieee80211::NonQoSRecoveryProcedure::getRc(), inet::ieee80211::QoSRecoveryProcedure::getRc(), inet::ieee80211::NonQoSRecoveryProcedure::incrementCounter(), inet::ieee80211::QoSRecoveryProcedure::incrementCounter(), inet::ieee80211::ReceiveBuffer::insertFrame(), inet::ieee80211::DcfTransmitLifetimeHandler::isLifetimeExpired(), inet::ieee80211::EdcaTransmitLifetimeHandler::isLifetimeExpired(), inet::ieee80211::AckHandler::processFailedFrame(), inet::ieee80211::QoSAckHandler::processFailedFrame(), inet::ieee80211::AckHandler::processReceivedAck(), inet::ieee80211::QoSAckHandler::processReceivedAck(), inet::ieee80211::OriginatorBlockAckAgreementHandler::processTransmittedDataFrame(), inet::ieee80211::AckHandler::processTransmittedDataOrMgmtFrame(), inet::ieee80211::QoSAckHandler::processTransmittedDataOrMgmtFrame(), inet::ieee80211::NonQoSRecoveryProcedure::retryLimitReached(), inet::ieee80211::QoSRecoveryProcedure::retryLimitReached(), and inet::serializer::Ieee80211Serializer::serialize().

Ieee80211DataOrMgmtFrame& inet::ieee80211::Ieee80211DataOrMgmtFrame::operator= ( const Ieee80211DataOrMgmtFrame other)
bool inet::ieee80211::Ieee80211DataOrMgmtFrame::operator== ( const Ieee80211DataOrMgmtFrame )
protected
virtual void inet::ieee80211::Ieee80211DataOrMgmtFrame::setFragmentNumber ( short  fragmentNumber)
virtual

Member Data Documentation

MACAddress inet::ieee80211::Ieee80211DataOrMgmtFrame::address3
protected
short inet::ieee80211::Ieee80211DataOrMgmtFrame::fragmentNumber
protected
uint16_t inet::ieee80211::Ieee80211DataOrMgmtFrame::sequenceNumber
protected

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