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

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

#include <Ieee80211Frame_m.h>

Inheritance diagram for inet::ieee80211::Ieee80211TwoAddressFrame:
inet::ieee80211::Ieee80211OneAddressFrame inet::ieee80211::Ieee80211Frame inet::ieee80211::Ieee80211BlockAck inet::ieee80211::Ieee80211BlockAckReq inet::ieee80211::Ieee80211DataOrMgmtFrame inet::ieee80211::Ieee80211RTSFrame inet::ieee80211::Ieee80211BasicBlockAck inet::ieee80211::Ieee80211CompressedBlockAck inet::ieee80211::Ieee80211MultiTidBlockAck inet::ieee80211::Ieee80211BasicBlockAckReq inet::ieee80211::Ieee80211CompressedBlockAckReq inet::ieee80211::Ieee80211MultiTidBlockAckReq inet::ieee80211::Ieee80211DataFrame inet::ieee80211::Ieee80211ManagementFrame

Public Member Functions

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

Detailed Description

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

//
// Format of a 802.11 frame with address1 and address2 present
//
packet Ieee80211TwoAddressFrame extends Ieee80211OneAddressFrame
{
    byteLength = LENGTH_RTS / 8;
    MACAddress transmitterAddress; // aka address2
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::ieee80211::Ieee80211TwoAddressFrame::copy ( const Ieee80211TwoAddressFrame other)
private
virtual Ieee80211TwoAddressFrame* inet::ieee80211::Ieee80211TwoAddressFrame::dup ( ) const
inlineoverridevirtual
virtual MACAddress& inet::ieee80211::Ieee80211TwoAddressFrame::getTransmitterAddress ( )
virtual

Referenced by inet::ieee80211::RecipientBlockAckAgreementHandler::addAgreement(), inet::ieee80211::BasicReassembly::addFragment(), inet::ieee80211::RecipientAckProcedure::buildAck(), inet::ieee80211::RecipientBlockAckAgreementHandler::buildAddbaResponse(), inet::ieee80211::RecipientBlockAckProcedure::buildBlockAck(), inet::ieee80211::CtsProcedure::buildCts(), inet::ieee80211::Ieee80211MgmtAPBase::convertToEtherFrame(), inet::ieee80211::RecipientQoSMacDataService::dataFrameReceived(), inet::ieee80211::Ieee80211MgmtAdhoc::decapsulate(), inet::ieee80211::Ieee80211MgmtAPBase::distributeReceivedDataFrame(), inet::InetPacketPrinter2::formatIeee80211Frame(), inet::ieee80211::QoSSequenceNumberAssignment::getCacheType(), inet::ieee80211::Ieee80211MgmtAP::handleAssociationRequestFrame(), inet::ieee80211::Ieee80211MgmtSTA::handleAssociationResponseFrame(), inet::ieee80211::Ieee80211MgmtAP::handleAuthenticationFrame(), inet::ieee80211::Ieee80211MgmtSTA::handleAuthenticationFrame(), inet::ieee80211::Ieee80211MgmtSTA::handleBeaconFrame(), inet::ieee80211::Ieee80211MgmtAP::handleProbeRequestFrame(), inet::ieee80211::Ieee80211MgmtSTA::handleProbeResponseFrame(), inet::ieee80211::Ieee80211MgmtAP::handleReassociationRequestFrame(), inet::ieee80211::LegacyDuplicateRemoval::isDuplicate(), inet::ieee80211::QoSDuplicateRemoval::isDuplicate(), inet::ieee80211::BasicMsduAggregationPolicy::isEligible(), inet::ieee80211::Ieee80211MgmtAP::lookupSenderSTA(), inet::ieee80211::RecipientBlockAckAgreementHandler::processReceivedAddbaRequest(), inet::ieee80211::OriginatorBlockAckAgreementHandler::processReceivedAddbaResp(), inet::ieee80211::QoSAckHandler::processReceivedBlockAck(), inet::ieee80211::BlockAckReordering::processReceivedBlockAckReq(), inet::ieee80211::OriginatorBlockAckAgreementHandler::processReceivedDelba(), inet::ieee80211::BlockAckReordering::processReceivedDelba(), inet::ieee80211::RecipientBlockAckAgreementHandler::qosFrameReceived(), inet::ieee80211::Ieee80211MgmtSTA::receiveSignal(), inet::ieee80211::Ieee80211MgmtAPBase::sendToUpperLayer(), inet::serializer::Ieee80211Serializer::serialize(), inet::ieee80211::MsduDeaggregation::setExplodedFrameAddress(), and inet::ieee80211::MsduAggregation::setSubframeAddress().

virtual const MACAddress& inet::ieee80211::Ieee80211TwoAddressFrame::getTransmitterAddress ( ) const
inlinevirtual

Referenced by getTransmitterAddress().

338 {return const_cast<Ieee80211TwoAddressFrame*>(this)->getTransmitterAddress();}
virtual MACAddress & getTransmitterAddress()
Ieee80211TwoAddressFrame(const char *name=nullptr, short kind=0)
Ieee80211TwoAddressFrame& inet::ieee80211::Ieee80211TwoAddressFrame::operator= ( const Ieee80211TwoAddressFrame other)
bool inet::ieee80211::Ieee80211TwoAddressFrame::operator== ( const Ieee80211TwoAddressFrame )
protected

Member Data Documentation

MACAddress inet::ieee80211::Ieee80211TwoAddressFrame::transmitterAddress
protected

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