Doxygen introspection did not find any typical Config paths. More...
#include <lr-wpan-mac-header.h>
Public Types | |
enum | AddrModeType { NOADDR = 0, RESADDR = 1, SHORTADDR = 2, EXTADDR = 3 } |
enum | KeyIdModeType { IMPLICIT = 0, NOKEYSOURCE = 1, SHORTKEYSOURCE = 2, LONGKEYSOURCE = 3 } |
enum | LrWpanMacType { LRWPAN_MAC_BEACON = 0, LRWPAN_MAC_DATA = 1, LRWPAN_MAC_ACKNOWLEDGMENT = 2, LRWPAN_MAC_COMMAND = 3, LRWPAN_MAC_RESERVED } |
Public Member Functions | |
LrWpanMacHeader (void) | |
LrWpanMacHeader (enum LrWpanMacType wpanMacType, uint8_t seqNum) | |
~LrWpanMacHeader (void) | |
uint32_t | Deserialize (Buffer::Iterator start) |
uint8_t | GetDstAddrMode (void) const |
uint16_t | GetDstPanId (void) const |
Mac64Address | GetExtDstAddr (void) const |
Mac64Address | GetExtSrcAddr (void) const |
uint16_t | GetFrameControl (void) const |
uint8_t | GetFrameVer (void) const |
uint32_t | GetFrmCounter (void) const |
uint8_t | GetFrmCtrlRes (void) const |
virtual TypeId | GetInstanceTypeId (void) const |
uint8_t | GetKeyIdIndex (void) const |
uint8_t | GetKeyIdMode (void) const |
uint32_t | GetKeyIdSrc32 (void) const |
uint64_t | GetKeyIdSrc64 (void) const |
std::string | GetName (void) const |
uint8_t | GetSecControl (void) const |
uint8_t | GetsecctrlReserved (void) const |
uint8_t | GetSecLevel (void) const |
uint8_t | GetSeqNum (void) const |
uint32_t | GetSerializedSize (void) const |
Mac16Address | GetShortDstAddr (void) const |
Mac16Address | GetShortSrcAddr (void) const |
uint8_t | GetSrcAddrMode (void) const |
uint16_t | GetSrcPanId (void) const |
enum LrWpanMacType | GetType (void) const |
bool | IsAcknowledgment (void) const |
bool | IsAckReq (void) const |
bool | IsBeacon (void) const |
bool | IsCommand (void) const |
bool | IsData (void) const |
bool | IsFrmPend (void) const |
bool | IsNoAckReq (void) const |
bool | IsNoFrmPend (void) const |
bool | IsNoPanIdComp (void) const |
bool | IsPanIdComp (void) const |
bool | IsSecDisable (void) const |
bool | IsSecEnable (void) const |
void | Print (std::ostream &os) const |
void | PrintFrameControl (std::ostream &os) const |
void | Serialize (Buffer::Iterator start) const |
void | SetAckReq (void) |
void | SetDstAddrFields (uint16_t panId, Mac16Address addr) |
void | SetDstAddrFields (uint16_t panId, Mac64Address addr) |
void | SetDstAddrMode (uint8_t addrMode) |
void | SetFrameControl (uint16_t frameControl) |
void | SetFrameVer (uint8_t ver) |
void | SetFrmCounter (uint32_t frmCntr) |
void | SetFrmCtrlRes (uint8_t res) |
void | SetFrmPend (void) |
void | SetKeyId (uint8_t keyIndex) |
void | SetKeyId (uint32_t keySrc, uint8_t keyIndex) |
void | SetKeyId (uint64_t keySrc, uint8_t keyIndex) |
void | SetKeyIdMode (uint8_t keyIdMode) |
void | SetNoAckReq (void) |
void | SetNoFrmPend (void) |
void | SetNoPanIdComp (void) |
void | SetPanIdComp (void) |
void | SetSecControl (uint8_t secLevel) |
void | SetsecctrlReserved (uint8_t res) |
void | SetSecDisable (void) |
void | SetSecEnable (void) |
void | SetSecLevel (uint8_t secLevel) |
void | SetSeqNum (uint8_t seqNum) |
void | SetSrcAddrFields (uint16_t panId, Mac16Address addr) |
void | SetSrcAddrFields (uint16_t panId, Mac64Address addr) |
void | SetSrcAddrMode (uint8_t addrMode) |
void | SetType (enum LrWpanMacType wpanMacType) |
![]() | |
virtual | ~Header () |
![]() | |
virtual | ~ObjectBase () |
Virtual destructor. More... | |
void | GetAttribute (std::string name, AttributeValue &value) const |
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
void | SetAttribute (std::string name, const AttributeValue &value) |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
![]() | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
![]() | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
![]() | |
static TypeId | GetTypeId (void) |
Get the type ID. More... | |
Private Attributes | |
union { | |
uint32_t m_auxKeyIdKeySrc32 | |
uint64_t m_auxKeyIdKeySrc64 | |
}; | |
uint16_t | m_addrDstPanId |
Mac64Address | m_addrExtDstAddr |
Mac64Address | m_addrExtSrcAddr |
Mac16Address | m_addrShortDstAddr |
Mac16Address | m_addrShortSrcAddr |
uint16_t | m_addrSrcPanId |
uint32_t | m_auxFrmCntr |
uint8_t | m_auxKeyIdKeyIndex |
uint8_t | m_fctrlAckReq |
uint8_t | m_fctrlDstAddrMode |
uint8_t | m_fctrlFrmPending |
uint8_t | m_fctrlFrmType |
uint8_t | m_fctrlFrmVer |
uint8_t | m_fctrlPanIdComp |
uint8_t | m_fctrlReserved |
uint8_t | m_fctrlSecU |
uint8_t | m_fctrlSrcAddrMode |
uint8_t | m_secctrlKeyIdMode |
uint8_t | m_secctrlReserved |
uint8_t | m_secctrlSecLevel |
uint8_t | m_SeqNum |
Additional Inherited Members | |
![]() | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
virtual void | NotifyConstructionCompleted (void) |
This method is invoked once all member attributes have been initialized. More... | |
Doxygen introspection did not find any typical Config paths.
No Attributes are defined for this type.
No TraceSources are defined for this type.
Definition at line 53 of file lr-wpan-mac-header.h.
Enumerator | |
---|---|
NOADDR | |
RESADDR | |
SHORTADDR | |
EXTADDR |
Definition at line 66 of file lr-wpan-mac-header.h.
Enumerator | |
---|---|
IMPLICIT | |
NOKEYSOURCE | |
SHORTKEYSOURCE | |
LONGKEYSOURCE |
Definition at line 74 of file lr-wpan-mac-header.h.
Enumerator | |
---|---|
LRWPAN_MAC_BEACON | |
LRWPAN_MAC_DATA | |
LRWPAN_MAC_ACKNOWLEDGMENT | |
LRWPAN_MAC_COMMAND | |
LRWPAN_MAC_RESERVED |
Definition at line 57 of file lr-wpan-mac-header.h.
ns3::LrWpanMacHeader::LrWpanMacHeader | ( | void | ) |
Definition at line 29 of file lr-wpan-mac-header.cc.
References LRWPAN_MAC_DATA, NOADDR, SetDstAddrMode(), SetFrameVer(), SetFrmCtrlRes(), SetNoAckReq(), SetNoFrmPend(), SetNoPanIdComp(), SetSecDisable(), SetSrcAddrMode(), and SetType().
ns3::LrWpanMacHeader::LrWpanMacHeader | ( | enum LrWpanMacType | wpanMacType, |
uint8_t | seqNum | ||
) |
Definition at line 43 of file lr-wpan-mac-header.cc.
References NOADDR, SetDstAddrMode(), SetFrameVer(), SetFrmCtrlRes(), SetNoAckReq(), SetNoFrmPend(), SetNoPanIdComp(), SetSecDisable(), SetSeqNum(), SetSrcAddrMode(), and SetType().
ns3::LrWpanMacHeader::~LrWpanMacHeader | ( | void | ) |
Definition at line 59 of file lr-wpan-mac-header.cc.
|
virtual |
start | an iterator which points to where the header should written. |
This method is used by Packet::RemoveHeader to re-create a header from the byte buffer of a packet. The data read is expected to match bit-for-bit the representation of this header in real networks.
Implements ns3::Header.
Definition at line 747 of file lr-wpan-mac-header.cc.
References EXTADDR, ns3::Buffer::Iterator::GetDistanceFrom(), IMPLICIT, IsNoPanIdComp(), IsSecEnable(), LONGKEYSOURCE, m_addrDstPanId, m_addrExtDstAddr, m_addrExtSrcAddr, m_addrShortDstAddr, m_addrShortSrcAddr, m_addrSrcPanId, m_fctrlDstAddrMode, m_fctrlSrcAddrMode, m_secctrlKeyIdMode, NOADDR, NOKEYSOURCE, ns3::ReadFrom(), ns3::Buffer::Iterator::ReadLsbtohU16(), ns3::Buffer::Iterator::ReadLsbtohU32(), ns3::Buffer::Iterator::ReadLsbtohU64(), ns3::Buffer::Iterator::ReadU8(), SetFrameControl(), SetFrmCounter(), SetKeyId(), SetSecControl(), SetSeqNum(), SHORTADDR, SHORTKEYSOURCE, and visualizer.core::start().
uint8_t ns3::LrWpanMacHeader::GetDstAddrMode | ( | void | ) | const |
Definition at line 161 of file lr-wpan-mac-header.cc.
References m_fctrlDstAddrMode.
Referenced by ns3::LrWpanMac::PdDataIndication().
uint16_t ns3::LrWpanMacHeader::GetDstPanId | ( | void | ) | const |
Definition at line 187 of file lr-wpan-mac-header.cc.
References m_addrDstPanId.
Referenced by ns3::LrWpanMac::PdDataIndication(), and Serialize().
Mac64Address ns3::LrWpanMacHeader::GetExtDstAddr | ( | void | ) | const |
Definition at line 199 of file lr-wpan-mac-header.cc.
References m_addrExtDstAddr.
Referenced by ns3::LrWpanMac::PdDataIndication().
Mac64Address ns3::LrWpanMacHeader::GetExtSrcAddr | ( | void | ) | const |
Definition at line 218 of file lr-wpan-mac-header.cc.
References m_addrExtSrcAddr.
uint16_t ns3::LrWpanMacHeader::GetFrameControl | ( | void | ) | const |
Definition at line 89 of file lr-wpan-mac-header.cc.
References m_fctrlAckReq, m_fctrlDstAddrMode, m_fctrlFrmPending, m_fctrlFrmType, m_fctrlFrmVer, m_fctrlPanIdComp, m_fctrlReserved, m_fctrlSecU, and m_fctrlSrcAddrMode.
Referenced by Serialize().
uint8_t ns3::LrWpanMacHeader::GetFrameVer | ( | void | ) | const |
Definition at line 167 of file lr-wpan-mac-header.cc.
References m_fctrlFrmVer.
Referenced by ns3::LrWpanMac::PdDataIndication().
uint32_t ns3::LrWpanMacHeader::GetFrmCounter | ( | void | ) | const |
Definition at line 237 of file lr-wpan-mac-header.cc.
References m_auxFrmCntr.
Referenced by Serialize().
uint8_t ns3::LrWpanMacHeader::GetFrmCtrlRes | ( | void | ) | const |
Definition at line 155 of file lr-wpan-mac-header.cc.
References m_fctrlReserved.
|
virtual |
This method is typically implemented by ns3::Object::GetInstanceTypeId but some classes which derive from ns3::ObjectBase directly have to implement it themselves.
Implements ns3::ObjectBase.
Definition at line 525 of file lr-wpan-mac-header.cc.
References GetTypeId().
uint8_t ns3::LrWpanMacHeader::GetKeyIdIndex | ( | void | ) | const |
Definition at line 274 of file lr-wpan-mac-header.cc.
References m_auxKeyIdKeyIndex.
Referenced by Serialize().
uint8_t ns3::LrWpanMacHeader::GetKeyIdMode | ( | void | ) | const |
Definition at line 249 of file lr-wpan-mac-header.cc.
References m_secctrlKeyIdMode.
uint32_t ns3::LrWpanMacHeader::GetKeyIdSrc32 | ( | void | ) | const |
Definition at line 261 of file lr-wpan-mac-header.cc.
References m_auxKeyIdKeySrc32.
Referenced by Serialize().
uint64_t ns3::LrWpanMacHeader::GetKeyIdSrc64 | ( | void | ) | const |
Definition at line 267 of file lr-wpan-mac-header.cc.
References m_auxKeyIdKeySrc64.
Referenced by Serialize().
std::string ns3::LrWpanMacHeader::GetName | ( | void | ) | const |
Definition at line 509 of file lr-wpan-mac-header.cc.
uint8_t ns3::LrWpanMacHeader::GetSecControl | ( | void | ) | const |
Definition at line 225 of file lr-wpan-mac-header.cc.
References m_secctrlKeyIdMode, m_secctrlReserved, and m_secctrlSecLevel.
Referenced by Serialize().
uint8_t ns3::LrWpanMacHeader::GetsecctrlReserved | ( | void | ) | const |
Definition at line 255 of file lr-wpan-mac-header.cc.
References m_secctrlReserved.
uint8_t ns3::LrWpanMacHeader::GetSecLevel | ( | void | ) | const |
Definition at line 243 of file lr-wpan-mac-header.cc.
References m_secctrlSecLevel.
uint8_t ns3::LrWpanMacHeader::GetSeqNum | ( | void | ) | const |
Definition at line 180 of file lr-wpan-mac-header.cc.
References m_SeqNum.
Referenced by ns3::LrWpanMac::PdDataIndication(), and Serialize().
|
virtual |
This method is used by Packet::AddHeader to store a header into the byte buffer of a packet. This method should return the number of bytes which are needed to store the full header data by Serialize.
Implements ns3::Header.
Definition at line 599 of file lr-wpan-mac-header.cc.
References EXTADDR, IMPLICIT, IsNoPanIdComp(), IsSecEnable(), LONGKEYSOURCE, m_fctrlDstAddrMode, m_fctrlSrcAddrMode, m_secctrlKeyIdMode, NOADDR, NOKEYSOURCE, SHORTADDR, and SHORTKEYSOURCE.
Mac16Address ns3::LrWpanMacHeader::GetShortDstAddr | ( | void | ) | const |
Definition at line 194 of file lr-wpan-mac-header.cc.
References m_addrShortDstAddr.
Referenced by ns3::LrWpanMac::PdDataIndication(), and ns3::LrWpanMac::RemoveFirstTxQElement().
Mac16Address ns3::LrWpanMacHeader::GetShortSrcAddr | ( | void | ) | const |
Definition at line 213 of file lr-wpan-mac-header.cc.
References m_addrShortSrcAddr.
Referenced by ns3::LrWpanMac::PdDataIndication().
uint8_t ns3::LrWpanMacHeader::GetSrcAddrMode | ( | void | ) | const |
Definition at line 173 of file lr-wpan-mac-header.cc.
References m_fctrlSrcAddrMode.
Referenced by ns3::LrWpanMac::PdDataIndication().
uint16_t ns3::LrWpanMacHeader::GetSrcPanId | ( | void | ) | const |
Definition at line 205 of file lr-wpan-mac-header.cc.
References m_addrSrcPanId.
Referenced by ns3::LrWpanMac::PdDataIndication(), and Serialize().
enum LrWpanMacHeader::LrWpanMacType ns3::LrWpanMacHeader::GetType | ( | void | ) | const |
Definition at line 65 of file lr-wpan-mac-header.cc.
References LRWPAN_MAC_ACKNOWLEDGMENT, LRWPAN_MAC_BEACON, LRWPAN_MAC_COMMAND, LRWPAN_MAC_DATA, LRWPAN_MAC_RESERVED, and m_fctrlFrmType.
Referenced by ns3::LrWpanMac::PdDataIndication().
|
static |
Definition at line 515 of file lr-wpan-mac-header.cc.
References ns3::TypeId::SetParent().
Referenced by GetInstanceTypeId().
bool ns3::LrWpanMacHeader::IsAcknowledgment | ( | void | ) | const |
Definition at line 297 of file lr-wpan-mac-header.cc.
References LRWPAN_MAC_ACKNOWLEDGMENT, and m_fctrlFrmType.
Referenced by ns3::LrWpanMac::PdDataIndication().
bool ns3::LrWpanMacHeader::IsAckReq | ( | void | ) | const |
Definition at line 131 of file lr-wpan-mac-header.cc.
References m_fctrlAckReq.
Referenced by ns3::LrWpanMac::PdDataIndication().
bool ns3::LrWpanMacHeader::IsBeacon | ( | void | ) | const |
Definition at line 281 of file lr-wpan-mac-header.cc.
References LRWPAN_MAC_BEACON, and m_fctrlFrmType.
bool ns3::LrWpanMacHeader::IsCommand | ( | void | ) | const |
Definition at line 305 of file lr-wpan-mac-header.cc.
References LRWPAN_MAC_COMMAND, and m_fctrlFrmType.
Referenced by ns3::LrWpanMac::PdDataIndication().
bool ns3::LrWpanMacHeader::IsData | ( | void | ) | const |
Definition at line 289 of file lr-wpan-mac-header.cc.
References LRWPAN_MAC_DATA, and m_fctrlFrmType.
Referenced by ns3::LrWpanMac::PdDataIndication().
bool ns3::LrWpanMacHeader::IsFrmPend | ( | void | ) | const |
Definition at line 119 of file lr-wpan-mac-header.cc.
References m_fctrlFrmPending.
bool ns3::LrWpanMacHeader::IsNoAckReq | ( | void | ) | const |
Definition at line 137 of file lr-wpan-mac-header.cc.
References m_fctrlAckReq.
bool ns3::LrWpanMacHeader::IsNoFrmPend | ( | void | ) | const |
Definition at line 125 of file lr-wpan-mac-header.cc.
References m_fctrlFrmPending.
bool ns3::LrWpanMacHeader::IsNoPanIdComp | ( | void | ) | const |
Definition at line 149 of file lr-wpan-mac-header.cc.
References m_fctrlPanIdComp.
Referenced by Deserialize(), GetSerializedSize(), and Serialize().
bool ns3::LrWpanMacHeader::IsPanIdComp | ( | void | ) | const |
Definition at line 143 of file lr-wpan-mac-header.cc.
References m_fctrlPanIdComp.
bool ns3::LrWpanMacHeader::IsSecDisable | ( | void | ) | const |
Definition at line 113 of file lr-wpan-mac-header.cc.
References m_fctrlSecU.
bool ns3::LrWpanMacHeader::IsSecEnable | ( | void | ) | const |
Definition at line 107 of file lr-wpan-mac-header.cc.
References m_fctrlSecU.
Referenced by Deserialize(), GetSerializedSize(), Print(), and Serialize().
|
virtual |
os | output stream This method is used by Packet::Print to print the content of a trailer as ascii data to a c++ output stream. Although the trailer is free to format its output as it wishes, it is recommended to follow a few rules to integrate with the packet pretty printer: start with flags, small field values located between a pair of parens. Values should be separated by whitespace. Follow the parens with the important fields, separated by whitespace. i.e.: (field1 val1 field2 val2 field3 val3) field4 val4 field5 val5 |
Implements ns3::Header.
Definition at line 540 of file lr-wpan-mac-header.cc.
References EXTADDR, IMPLICIT, IsSecEnable(), LONGKEYSOURCE, m_addrDstPanId, m_addrExtDstAddr, m_addrShortDstAddr, m_addrShortSrcAddr, m_addrSrcPanId, m_auxFrmCntr, m_auxKeyIdKeyIndex, m_auxKeyIdKeySrc32, m_auxKeyIdKeySrc64, m_fctrlDstAddrMode, m_fctrlSrcAddrMode, m_secctrlKeyIdMode, m_secctrlSecLevel, m_SeqNum, NOADDR, NOKEYSOURCE, PrintFrameControl(), SHORTADDR, and SHORTKEYSOURCE.
void ns3::LrWpanMacHeader::PrintFrameControl | ( | std::ostream & | os | ) | const |
Definition at line 531 of file lr-wpan-mac-header.cc.
References m_fctrlAckReq, m_fctrlDstAddrMode, m_fctrlFrmPending, m_fctrlFrmType, m_fctrlFrmVer, m_fctrlPanIdComp, m_fctrlSecU, and m_fctrlSrcAddrMode.
Referenced by Print().
|
virtual |
start | an iterator which points to where the header should be written. |
This method is used by Packet::AddHeader to store a header into the byte buffer of a packet. The data written is expected to match bit-for-bit the representation of this header in a real network.
Implements ns3::Header.
Definition at line 679 of file lr-wpan-mac-header.cc.
References EXTADDR, GetDstPanId(), GetFrameControl(), GetFrmCounter(), GetKeyIdIndex(), GetKeyIdSrc32(), GetKeyIdSrc64(), GetSecControl(), GetSeqNum(), GetSrcPanId(), IMPLICIT, IsNoPanIdComp(), IsSecEnable(), LONGKEYSOURCE, m_addrExtDstAddr, m_addrExtSrcAddr, m_addrShortDstAddr, m_addrShortSrcAddr, m_fctrlDstAddrMode, m_fctrlSrcAddrMode, m_secctrlKeyIdMode, NOADDR, NOKEYSOURCE, SHORTADDR, SHORTKEYSOURCE, visualizer.core::start(), ns3::Buffer::Iterator::WriteHtolsbU16(), ns3::Buffer::Iterator::WriteHtolsbU32(), ns3::Buffer::Iterator::WriteHtolsbU64(), ns3::WriteTo(), and ns3::Buffer::Iterator::WriteU8().
void ns3::LrWpanMacHeader::SetAckReq | ( | void | ) |
Definition at line 363 of file lr-wpan-mac-header.cc.
References m_fctrlAckReq.
void ns3::LrWpanMacHeader::SetDstAddrFields | ( | uint16_t | panId, |
Mac16Address | addr | ||
) |
Definition at line 438 of file lr-wpan-mac-header.cc.
References m_addrDstPanId, and m_addrShortDstAddr.
void ns3::LrWpanMacHeader::SetDstAddrFields | ( | uint16_t | panId, |
Mac64Address | addr | ||
) |
Definition at line 445 of file lr-wpan-mac-header.cc.
References m_addrDstPanId, and m_addrExtDstAddr.
void ns3::LrWpanMacHeader::SetDstAddrMode | ( | uint8_t | addrMode | ) |
Definition at line 395 of file lr-wpan-mac-header.cc.
References m_fctrlDstAddrMode.
Referenced by LrWpanPacketTestCase::DoRun(), LrWpanMacHeader(), and main().
void ns3::LrWpanMacHeader::SetFrameControl | ( | uint16_t | frameControl | ) |
Definition at line 320 of file lr-wpan-mac-header.cc.
References m_fctrlAckReq, m_fctrlDstAddrMode, m_fctrlFrmPending, m_fctrlFrmType, m_fctrlFrmVer, m_fctrlPanIdComp, m_fctrlReserved, m_fctrlSecU, and m_fctrlSrcAddrMode.
Referenced by Deserialize().
void ns3::LrWpanMacHeader::SetFrameVer | ( | uint8_t | ver | ) |
Definition at line 402 of file lr-wpan-mac-header.cc.
References m_fctrlFrmVer.
Referenced by LrWpanMacHeader().
void ns3::LrWpanMacHeader::SetFrmCounter | ( | uint32_t | frmCntr | ) |
Definition at line 460 of file lr-wpan-mac-header.cc.
References m_auxFrmCntr.
Referenced by Deserialize().
void ns3::LrWpanMacHeader::SetFrmCtrlRes | ( | uint8_t | res | ) |
Definition at line 389 of file lr-wpan-mac-header.cc.
References m_fctrlReserved.
Referenced by LrWpanMacHeader().
void ns3::LrWpanMacHeader::SetFrmPend | ( | void | ) |
Definition at line 349 of file lr-wpan-mac-header.cc.
References m_fctrlFrmPending.
void ns3::LrWpanMacHeader::SetKeyId | ( | uint8_t | keyIndex | ) |
Definition at line 484 of file lr-wpan-mac-header.cc.
References m_auxKeyIdKeyIndex.
Referenced by Deserialize().
void ns3::LrWpanMacHeader::SetKeyId | ( | uint32_t | keySrc, |
uint8_t | keyIndex | ||
) |
Definition at line 491 of file lr-wpan-mac-header.cc.
References m_auxKeyIdKeyIndex, and m_auxKeyIdKeySrc32.
void ns3::LrWpanMacHeader::SetKeyId | ( | uint64_t | keySrc, |
uint8_t | keyIndex | ||
) |
Definition at line 500 of file lr-wpan-mac-header.cc.
References m_auxKeyIdKeyIndex, and m_auxKeyIdKeySrc64.
void ns3::LrWpanMacHeader::SetKeyIdMode | ( | uint8_t | keyIdMode | ) |
Definition at line 472 of file lr-wpan-mac-header.cc.
References m_secctrlKeyIdMode.
void ns3::LrWpanMacHeader::SetNoAckReq | ( | void | ) |
Definition at line 370 of file lr-wpan-mac-header.cc.
References m_fctrlAckReq.
Referenced by LrWpanMacHeader().
void ns3::LrWpanMacHeader::SetNoFrmPend | ( | void | ) |
Definition at line 356 of file lr-wpan-mac-header.cc.
References m_fctrlFrmPending.
Referenced by LrWpanMacHeader().
void ns3::LrWpanMacHeader::SetNoPanIdComp | ( | void | ) |
Definition at line 383 of file lr-wpan-mac-header.cc.
References m_fctrlPanIdComp.
Referenced by LrWpanPacketTestCase::DoRun(), and LrWpanMacHeader().
void ns3::LrWpanMacHeader::SetPanIdComp | ( | void | ) |
Definition at line 377 of file lr-wpan-mac-header.cc.
References m_fctrlPanIdComp.
void ns3::LrWpanMacHeader::SetSecControl | ( | uint8_t | secLevel | ) |
Definition at line 452 of file lr-wpan-mac-header.cc.
References m_secctrlKeyIdMode, m_secctrlReserved, and m_secctrlSecLevel.
Referenced by Deserialize().
void ns3::LrWpanMacHeader::SetsecctrlReserved | ( | uint8_t | res | ) |
Definition at line 478 of file lr-wpan-mac-header.cc.
References m_secctrlReserved.
void ns3::LrWpanMacHeader::SetSecDisable | ( | void | ) |
Definition at line 342 of file lr-wpan-mac-header.cc.
References m_fctrlSecU.
Referenced by LrWpanPacketTestCase::DoRun(), and LrWpanMacHeader().
void ns3::LrWpanMacHeader::SetSecEnable | ( | void | ) |
Definition at line 335 of file lr-wpan-mac-header.cc.
References m_fctrlSecU.
void ns3::LrWpanMacHeader::SetSecLevel | ( | uint8_t | secLevel | ) |
Definition at line 466 of file lr-wpan-mac-header.cc.
References m_secctrlSecLevel.
void ns3::LrWpanMacHeader::SetSeqNum | ( | uint8_t | seqNum | ) |
Definition at line 416 of file lr-wpan-mac-header.cc.
References m_SeqNum.
Referenced by Deserialize(), and LrWpanMacHeader().
void ns3::LrWpanMacHeader::SetSrcAddrFields | ( | uint16_t | panId, |
Mac16Address | addr | ||
) |
Definition at line 422 of file lr-wpan-mac-header.cc.
References m_addrShortSrcAddr, and m_addrSrcPanId.
Referenced by LrWpanPacketTestCase::DoRun(), and main().
void ns3::LrWpanMacHeader::SetSrcAddrFields | ( | uint16_t | panId, |
Mac64Address | addr | ||
) |
Definition at line 430 of file lr-wpan-mac-header.cc.
References m_addrExtSrcAddr, and m_addrSrcPanId.
void ns3::LrWpanMacHeader::SetSrcAddrMode | ( | uint8_t | addrMode | ) |
Definition at line 409 of file lr-wpan-mac-header.cc.
References m_fctrlSrcAddrMode.
Referenced by LrWpanPacketTestCase::DoRun(), LrWpanMacHeader(), and main().
void ns3::LrWpanMacHeader::SetType | ( | enum LrWpanMacType | wpanMacType | ) |
Definition at line 313 of file lr-wpan-mac-header.cc.
References m_fctrlFrmType.
Referenced by LrWpanMacHeader().
union { ... } |
|
private |
Definition at line 204 of file lr-wpan-mac-header.h.
Referenced by Deserialize(), GetDstPanId(), Print(), and SetDstAddrFields().
|
private |
Definition at line 206 of file lr-wpan-mac-header.h.
Referenced by Deserialize(), GetExtDstAddr(), Print(), Serialize(), and SetDstAddrFields().
|
private |
Definition at line 209 of file lr-wpan-mac-header.h.
Referenced by Deserialize(), GetExtSrcAddr(), Serialize(), and SetSrcAddrFields().
|
private |
Definition at line 205 of file lr-wpan-mac-header.h.
Referenced by Deserialize(), GetShortDstAddr(), Print(), Serialize(), and SetDstAddrFields().
|
private |
Definition at line 208 of file lr-wpan-mac-header.h.
Referenced by Deserialize(), GetShortSrcAddr(), Print(), Serialize(), and SetSrcAddrFields().
|
private |
Definition at line 207 of file lr-wpan-mac-header.h.
Referenced by Deserialize(), GetSrcPanId(), Print(), and SetSrcAddrFields().
|
private |
Definition at line 213 of file lr-wpan-mac-header.h.
Referenced by GetFrmCounter(), Print(), and SetFrmCounter().
|
private |
Definition at line 232 of file lr-wpan-mac-header.h.
Referenced by GetKeyIdIndex(), Print(), and SetKeyId().
uint32_t ns3::LrWpanMacHeader::m_auxKeyIdKeySrc32 |
Definition at line 228 of file lr-wpan-mac-header.h.
Referenced by GetKeyIdSrc32(), Print(), and SetKeyId().
uint64_t ns3::LrWpanMacHeader::m_auxKeyIdKeySrc64 |
Definition at line 229 of file lr-wpan-mac-header.h.
Referenced by GetKeyIdSrc64(), Print(), and SetKeyId().
|
private |
Definition at line 193 of file lr-wpan-mac-header.h.
Referenced by GetFrameControl(), IsAckReq(), IsNoAckReq(), PrintFrameControl(), SetAckReq(), SetFrameControl(), and SetNoAckReq().
|
private |
Definition at line 196 of file lr-wpan-mac-header.h.
Referenced by Deserialize(), GetDstAddrMode(), GetFrameControl(), GetSerializedSize(), Print(), PrintFrameControl(), Serialize(), SetDstAddrMode(), and SetFrameControl().
|
private |
Definition at line 192 of file lr-wpan-mac-header.h.
Referenced by GetFrameControl(), IsFrmPend(), IsNoFrmPend(), PrintFrameControl(), SetFrameControl(), SetFrmPend(), and SetNoFrmPend().
|
private |
Definition at line 190 of file lr-wpan-mac-header.h.
Referenced by GetFrameControl(), GetType(), IsAcknowledgment(), IsBeacon(), IsCommand(), IsData(), PrintFrameControl(), SetFrameControl(), and SetType().
|
private |
Definition at line 197 of file lr-wpan-mac-header.h.
Referenced by GetFrameControl(), GetFrameVer(), PrintFrameControl(), SetFrameControl(), and SetFrameVer().
|
private |
Definition at line 194 of file lr-wpan-mac-header.h.
Referenced by GetFrameControl(), IsNoPanIdComp(), IsPanIdComp(), PrintFrameControl(), SetFrameControl(), SetNoPanIdComp(), and SetPanIdComp().
|
private |
Definition at line 195 of file lr-wpan-mac-header.h.
Referenced by GetFrameControl(), GetFrmCtrlRes(), SetFrameControl(), and SetFrmCtrlRes().
|
private |
Definition at line 191 of file lr-wpan-mac-header.h.
Referenced by GetFrameControl(), IsSecDisable(), IsSecEnable(), PrintFrameControl(), SetFrameControl(), SetSecDisable(), and SetSecEnable().
|
private |
Definition at line 198 of file lr-wpan-mac-header.h.
Referenced by Deserialize(), GetFrameControl(), GetSerializedSize(), GetSrcAddrMode(), Print(), PrintFrameControl(), Serialize(), SetFrameControl(), and SetSrcAddrMode().
|
private |
Definition at line 217 of file lr-wpan-mac-header.h.
Referenced by Deserialize(), GetKeyIdMode(), GetSecControl(), GetSerializedSize(), Print(), Serialize(), SetKeyIdMode(), and SetSecControl().
|
private |
Definition at line 224 of file lr-wpan-mac-header.h.
Referenced by GetSecControl(), GetsecctrlReserved(), SetSecControl(), and SetsecctrlReserved().
|
private |
Definition at line 216 of file lr-wpan-mac-header.h.
Referenced by GetSecControl(), GetSecLevel(), Print(), SetSecControl(), and SetSecLevel().
|
private |
Definition at line 201 of file lr-wpan-mac-header.h.
Referenced by GetSeqNum(), Print(), and SetSeqNum().