Describes an address unit in PREQ information element See 7.3.2.96 for more details. More...
#include "ie-dot11s-preq.h"
Public Member Functions | |
DestinationAddressUnit () | |
Mac48Address | GetDestinationAddress () const |
Get destination address function. More... | |
uint32_t | GetDestSeqNumber () const |
Get destination sequence number. More... | |
bool | IsDo () const |
Is do function. More... | |
bool | IsRf () const |
is RF function More... | |
bool | IsUsn () const |
Is USN function. More... | |
void | SetDestinationAddress (Mac48Address dest_address) |
Set destination address function. More... | |
void | SetDestSeqNumber (uint32_t dest_seq_number) |
Set destination sequence number. More... | |
void | SetFlags (bool doFlag, bool rfFlag, bool usnFlag) |
Set flags function. More... | |
Public Member Functions inherited from ns3::SimpleRefCount< DestinationAddressUnit > | |
SimpleRefCount () | |
Default constructor. More... | |
SimpleRefCount (const SimpleRefCount &o[[maybe_unused]]) | |
Copy constructor. More... | |
uint32_t | GetReferenceCount () const |
Get the reference count of the object. More... | |
SimpleRefCount & | operator= (const SimpleRefCount &o[[maybe_unused]]) |
Assignment operator. More... | |
void | Ref () const |
Increment the reference count. More... | |
void | Unref () const |
Decrement the reference count. More... | |
Private Attributes | |
Mac48Address | m_destinationAddress |
destination address More... | |
uint32_t | m_destSeqNumber |
destination sequence number More... | |
bool | m_do |
DO. More... | |
bool | m_rf |
RF. More... | |
bool | m_usn |
USN. More... | |
Friends | |
bool | operator== (const DestinationAddressUnit &a, const DestinationAddressUnit &b) |
equality operator More... | |
Describes an address unit in PREQ information element See 7.3.2.96 for more details.
Definition at line 37 of file ie-dot11s-preq.h.
ns3::dot11s::DestinationAddressUnit::DestinationAddressUnit | ( | ) |
Definition at line 33 of file ie-dot11s-preq.cc.
Mac48Address ns3::dot11s::DestinationAddressUnit::GetDestinationAddress | ( | ) | const |
Get destination address function.
Definition at line 91 of file ie-dot11s-preq.cc.
References m_destinationAddress.
uint32_t ns3::dot11s::DestinationAddressUnit::GetDestSeqNumber | ( | ) | const |
Get destination sequence number.
Definition at line 85 of file ie-dot11s-preq.cc.
References m_destSeqNumber.
bool ns3::dot11s::DestinationAddressUnit::IsDo | ( | ) | const |
Is do function.
Definition at line 67 of file ie-dot11s-preq.cc.
References m_do.
bool ns3::dot11s::DestinationAddressUnit::IsRf | ( | ) | const |
is RF function
Definition at line 73 of file ie-dot11s-preq.cc.
References m_rf.
bool ns3::dot11s::DestinationAddressUnit::IsUsn | ( | ) | const |
Is USN function.
Definition at line 79 of file ie-dot11s-preq.cc.
References m_usn.
void ns3::dot11s::DestinationAddressUnit::SetDestinationAddress | ( | Mac48Address | dest_address | ) |
Set destination address function.
dest_address | the destination MAC address |
Definition at line 61 of file ie-dot11s-preq.cc.
References m_destinationAddress.
void ns3::dot11s::DestinationAddressUnit::SetDestSeqNumber | ( | uint32_t | dest_seq_number | ) |
Set destination sequence number.
dest_seq_number | the destination sequence number |
Definition at line 51 of file ie-dot11s-preq.cc.
References m_destSeqNumber, and m_usn.
void ns3::dot11s::DestinationAddressUnit::SetFlags | ( | bool | doFlag, |
bool | rfFlag, | ||
bool | usnFlag | ||
) |
Set flags function.
doFlag | the DO flag |
rfFlag | the RF flag |
usnFlag | the USN flag |
Definition at line 43 of file ie-dot11s-preq.cc.
|
friend |
equality operator
a | lhs |
b | rhs |
Definition at line 429 of file ie-dot11s-preq.cc.
|
private |
destination address
Definition at line 88 of file ie-dot11s-preq.h.
Referenced by GetDestinationAddress(), and SetDestinationAddress().
|
private |
destination sequence number
Definition at line 89 of file ie-dot11s-preq.h.
Referenced by GetDestSeqNumber(), and SetDestSeqNumber().
|
private |
|
private |
|
private |
USN.
Definition at line 87 of file ie-dot11s-preq.h.
Referenced by IsUsn(), SetDestSeqNumber(), and SetFlags().