EMANE
1.2.1
|
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 |
high fidelity mac header.
Definition at line 56 of file macheaderparams.h.
EMANE::Models::IEEE80211ABG::MACHeaderParams::MACHeaderParams | ( | MACHeaderMessage & | msg | ) |
high fidelity mac header initializer.
Definition at line 36 of file macheaderparams.cc.
EMANE::Models::IEEE80211ABG::MACHeaderParams::~MACHeaderParams | ( | ) |
Definition at line 63 of file macheaderparams.cc.
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.
type | msg type data, rtc, cts, ack |
retries | retry count |
rate | data rate index |
seq | sequence number |
src | source NEM |
dst | destination NEM |
duration | message duration |
Definition at line 47 of file macheaderparams.cc.
std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getDataRateIndex | ( | ) | const |
Definition at line 77 of file macheaderparams.cc.
std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getDstNEM | ( | ) | const |
Definition at line 92 of file macheaderparams.cc.
EMANE::Microseconds EMANE::Models::IEEE80211ABG::MACHeaderParams::getDurationMicroseconds | ( | ) | const |
Definition at line 98 of file macheaderparams.cc.
std::uint8_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getMessageType | ( | ) | const |
Definition at line 67 of file macheaderparams.cc.
std::uint8_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getNumRetries | ( | ) | const |
Definition at line 72 of file macheaderparams.cc.
std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getSequenceNumber | ( | ) | const |
Definition at line 82 of file macheaderparams.cc.
std::uint16_t EMANE::Models::IEEE80211ABG::MACHeaderParams::getSrcNEM | ( | ) | const |
Definition at line 87 of file macheaderparams.cc.