A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::LrWpanMacHeader Class Reference

Doxygen introspection did not find any typical Config paths. More...

#include <lr-wpan-mac-header.h>

+ Inheritance diagram for ns3::LrWpanMacHeader:
+ Collaboration diagram for ns3::LrWpanMacHeader:

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)
 
- Public Member Functions inherited from ns3::Header
virtual ~Header ()
 
- Public Member Functions inherited from ns3::ObjectBase
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 Public Member Functions inherited from ns3::Header
static TypeId GetTypeId (void)
 Get the type ID. More...
 
- Static Public Member Functions inherited from ns3::Chunk
static TypeId GetTypeId (void)
 Get the type ID. More...
 
- Static Public Member Functions inherited from ns3::ObjectBase
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

- Protected Member Functions inherited from ns3::ObjectBase
void ConstructSelf (const AttributeConstructionList &attributes)
 
virtual void NotifyConstructionCompleted (void)
 This method is invoked once all member attributes have been initialized. More...
 

Detailed Description

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.

Member Enumeration Documentation

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.

Constructor & Destructor Documentation

ns3::LrWpanMacHeader::LrWpanMacHeader ( void  )
ns3::LrWpanMacHeader::LrWpanMacHeader ( enum LrWpanMacType  wpanMacType,
uint8_t  seqNum 
)
ns3::LrWpanMacHeader::~LrWpanMacHeader ( void  )

Definition at line 59 of file lr-wpan-mac-header.cc.

Member Function Documentation

uint32_t ns3::LrWpanMacHeader::Deserialize ( Buffer::Iterator  start)
virtual
Parameters
startan iterator which points to where the header should written.
Returns
the number of bytes read.

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().

+ Here is the call graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

uint32_t ns3::LrWpanMacHeader::GetFrmCounter ( void  ) const

Definition at line 237 of file lr-wpan-mac-header.cc.

References m_auxFrmCntr.

Referenced by Serialize().

+ Here is the caller graph for this function:

uint8_t ns3::LrWpanMacHeader::GetFrmCtrlRes ( void  ) const

Definition at line 155 of file lr-wpan-mac-header.cc.

References m_fctrlReserved.

TypeId ns3::LrWpanMacHeader::GetInstanceTypeId ( void  ) const
virtual
Returns
the TypeId associated to the most-derived type of this instance.

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().

+ Here is the call graph for this function:

uint8_t ns3::LrWpanMacHeader::GetKeyIdIndex ( void  ) const

Definition at line 274 of file lr-wpan-mac-header.cc.

References m_auxKeyIdKeyIndex.

Referenced by Serialize().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

uint64_t ns3::LrWpanMacHeader::GetKeyIdSrc64 ( void  ) const

Definition at line 267 of file lr-wpan-mac-header.cc.

References m_auxKeyIdKeySrc64.

Referenced by Serialize().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

uint32_t ns3::LrWpanMacHeader::GetSerializedSize ( void  ) const
virtual
Returns
the expected size of the header.

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.

+ Here is the call graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

TypeId ns3::LrWpanMacHeader::GetTypeId ( void  )
static

Definition at line 515 of file lr-wpan-mac-header.cc.

References ns3::TypeId::SetParent().

Referenced by GetInstanceTypeId().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

void ns3::LrWpanMacHeader::Print ( std::ostream &  os) const
virtual
Parameters
osoutput 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.

+ Here is the call graph for this function:

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().

+ Here is the caller graph for this function:

void ns3::LrWpanMacHeader::Serialize ( Buffer::Iterator  start) const
virtual
Parameters
startan 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().

+ Here is the call graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

void ns3::LrWpanMacHeader::SetFrameVer ( uint8_t  ver)

Definition at line 402 of file lr-wpan-mac-header.cc.

References m_fctrlFrmVer.

Referenced by LrWpanMacHeader().

+ Here is the caller graph for this function:

void ns3::LrWpanMacHeader::SetFrmCounter ( uint32_t  frmCntr)

Definition at line 460 of file lr-wpan-mac-header.cc.

References m_auxFrmCntr.

Referenced by Deserialize().

+ Here is the caller graph for this function:

void ns3::LrWpanMacHeader::SetFrmCtrlRes ( uint8_t  res)

Definition at line 389 of file lr-wpan-mac-header.cc.

References m_fctrlReserved.

Referenced by LrWpanMacHeader().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

void ns3::LrWpanMacHeader::SetNoFrmPend ( void  )

Definition at line 356 of file lr-wpan-mac-header.cc.

References m_fctrlFrmPending.

Referenced by LrWpanMacHeader().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

void ns3::LrWpanMacHeader::SetType ( enum LrWpanMacType  wpanMacType)

Definition at line 313 of file lr-wpan-mac-header.cc.

References m_fctrlFrmType.

Referenced by LrWpanMacHeader().

+ Here is the caller graph for this function:

Member Data Documentation

union { ... }
uint16_t ns3::LrWpanMacHeader::m_addrDstPanId
private

Definition at line 204 of file lr-wpan-mac-header.h.

Referenced by Deserialize(), GetDstPanId(), Print(), and SetDstAddrFields().

Mac64Address ns3::LrWpanMacHeader::m_addrExtDstAddr
private

Definition at line 206 of file lr-wpan-mac-header.h.

Referenced by Deserialize(), GetExtDstAddr(), Print(), Serialize(), and SetDstAddrFields().

Mac64Address ns3::LrWpanMacHeader::m_addrExtSrcAddr
private

Definition at line 209 of file lr-wpan-mac-header.h.

Referenced by Deserialize(), GetExtSrcAddr(), Serialize(), and SetSrcAddrFields().

Mac16Address ns3::LrWpanMacHeader::m_addrShortDstAddr
private
Mac16Address ns3::LrWpanMacHeader::m_addrShortSrcAddr
private
uint16_t ns3::LrWpanMacHeader::m_addrSrcPanId
private

Definition at line 207 of file lr-wpan-mac-header.h.

Referenced by Deserialize(), GetSrcPanId(), Print(), and SetSrcAddrFields().

uint32_t ns3::LrWpanMacHeader::m_auxFrmCntr
private

Definition at line 213 of file lr-wpan-mac-header.h.

Referenced by GetFrmCounter(), Print(), and SetFrmCounter().

uint8_t ns3::LrWpanMacHeader::m_auxKeyIdKeyIndex
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().

uint8_t ns3::LrWpanMacHeader::m_fctrlAckReq
private
uint8_t ns3::LrWpanMacHeader::m_fctrlDstAddrMode
private
uint8_t ns3::LrWpanMacHeader::m_fctrlFrmPending
private
uint8_t ns3::LrWpanMacHeader::m_fctrlFrmType
private
uint8_t ns3::LrWpanMacHeader::m_fctrlFrmVer
private
uint8_t ns3::LrWpanMacHeader::m_fctrlPanIdComp
private
uint8_t ns3::LrWpanMacHeader::m_fctrlReserved
private
uint8_t ns3::LrWpanMacHeader::m_fctrlSecU
private
uint8_t ns3::LrWpanMacHeader::m_fctrlSrcAddrMode
private
uint8_t ns3::LrWpanMacHeader::m_secctrlKeyIdMode
private
uint8_t ns3::LrWpanMacHeader::m_secctrlReserved
private
uint8_t ns3::LrWpanMacHeader::m_secctrlSecLevel
private

Definition at line 216 of file lr-wpan-mac-header.h.

Referenced by GetSecControl(), GetSecLevel(), Print(), SetSecControl(), and SetSecLevel().

uint8_t ns3::LrWpanMacHeader::m_SeqNum
private

Definition at line 201 of file lr-wpan-mac-header.h.

Referenced by GetSeqNum(), Print(), and SetSeqNum().


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