EMANE  1.2.1
EMANE::Models::IEEE80211ABG::MACHeaderParams Class Reference

high fidelity mac header. More...

#include <macheaderparams.h>

Public Member Functions

 MACHeaderParams (MACHeaderMessage &)
 high fidelity mac header initializer. More...
 
 ~MACHeaderParams ()
 
 MACHeaderParams (std::uint8_t type, std::uint8_t retries, std::uint16_t rate, std::uint16_t seq, std::uint16_t src, std::uint16_t dst, const Microseconds &duration)
 high fidelity mac header initializer. More...
 
std::uint8_t getMessageType () const
 
std::uint8_t getNumRetries () const
 
std::uint16_t getDataRateIndex () const
 
std::uint16_t getSequenceNumber () const
 
std::uint16_t getSrcNEM () const
 
std::uint16_t getDstNEM () const
 
Microseconds getDurationMicroseconds () const
 

Detailed Description

high fidelity mac header.

Definition at line 56 of file macheaderparams.h.

Constructor & Destructor Documentation

◆ MACHeaderParams() [1/2]

EMANE::Models::IEEE80211ABG::MACHeaderParams::MACHeaderParams ( MACHeaderMessage msg)

high fidelity mac header initializer.

Definition at line 36 of file macheaderparams.cc.

◆ ~MACHeaderParams()

EMANE::Models::IEEE80211ABG::MACHeaderParams::~MACHeaderParams ( )

Definition at line 63 of file macheaderparams.cc.

◆ MACHeaderParams() [2/2]

EMANE::Models::IEEE80211ABG::MACHeaderParams::MACHeaderParams ( std::uint8_t  type,
std::uint8_t  retries,
std::uint16_t  rate,
std::uint16_t  seq,
std::uint16_t  src,
std::uint16_t  dst,
const Microseconds duration 
)

high fidelity mac header initializer.

Parameters
typemsg type data, rtc, cts, ack
retriesretry count
ratedata rate index
seqsequence number
srcsource NEM
dstdestination NEM
durationmessage duration

Definition at line 47 of file macheaderparams.cc.

Member Function Documentation

◆ getDataRateIndex()

std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getDataRateIndex ( ) const

Definition at line 77 of file macheaderparams.cc.

◆ getDstNEM()

std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getDstNEM ( ) const

Definition at line 92 of file macheaderparams.cc.

◆ getDurationMicroseconds()

EMANE::Microseconds EMANE::Models::IEEE80211ABG::MACHeaderParams::getDurationMicroseconds ( ) const

Definition at line 98 of file macheaderparams.cc.

◆ getMessageType()

std::uint8_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getMessageType ( ) const

Definition at line 67 of file macheaderparams.cc.

◆ getNumRetries()

std::uint8_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getNumRetries ( ) const

Definition at line 72 of file macheaderparams.cc.

◆ getSequenceNumber()

std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getSequenceNumber ( ) const

Definition at line 82 of file macheaderparams.cc.

◆ getSrcNEM()

std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getSrcNEM ( ) const

Definition at line 87 of file macheaderparams.cc.


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