A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Portuguese
Docs ▼
Wiki
Manual
Models
Develop ▼
API
Bugs
API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
lr-wpan-mac-header.h
Go to the documentation of this file.
1
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2011 The Boeing Company
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Author: kwong yin <kwong-sang.yin@boeing.com>
19
*/
20
38
#ifndef LR_WPAN_MAC_HEADER_H
39
#define LR_WPAN_MAC_HEADER_H
40
41
#include <ns3/header.h>
42
#include <ns3/mac16-address.h>
43
#include <ns3/mac64-address.h>
44
45
46
namespace
ns3 {
47
48
49
/*
50
* \ingroup lr-wpan
51
* Represent the Mac Header with the Frame Control and Sequence Number fields
52
*/
53
class
LrWpanMacHeader
:
public
Header
54
{
55
56
public
:
57
enum
LrWpanMacType
58
{
59
LRWPAN_MAC_BEACON
= 0,
60
LRWPAN_MAC_DATA
= 1,
61
LRWPAN_MAC_ACKNOWLEDGMENT
= 2,
62
LRWPAN_MAC_COMMAND
= 3,
63
LRWPAN_MAC_RESERVED
64
};
65
66
enum
AddrModeType
67
{
68
NOADDR
= 0,
69
RESADDR
= 1,
70
SHORTADDR
= 2,
71
EXTADDR
= 3
72
};
73
74
enum
KeyIdModeType
75
{
76
IMPLICIT
= 0,
77
NOKEYSOURCE
= 1,
78
SHORTKEYSOURCE
= 2,
79
LONGKEYSOURCE
= 3
80
};
81
82
LrWpanMacHeader
(
void
);
83
84
LrWpanMacHeader
(
enum
LrWpanMacType
wpanMacType,
// Data, ACK, Control MAC Header must have
85
uint8_t seqNum);
// frame control and sequence number.
86
// Beacon MAC Header must have frame control,
87
// sequence number, source PAN Id, source address.
88
89
~LrWpanMacHeader
(
void
);
90
91
92
enum
LrWpanMacType
GetType
(
void
)
const
;
93
uint16_t
GetFrameControl
(
void
)
const
;
94
bool
IsSecEnable
(
void
)
const
;
95
bool
IsSecDisable
(
void
)
const
;
96
bool
IsFrmPend
(
void
)
const
;
97
bool
IsNoFrmPend
(
void
)
const
;
98
bool
IsAckReq
(
void
)
const
;
99
bool
IsNoAckReq
(
void
)
const
;
100
bool
IsPanIdComp
(
void
)
const
;
101
bool
IsNoPanIdComp
(
void
)
const
;
102
uint8_t
GetFrmCtrlRes
(
void
)
const
;
103
uint8_t
GetDstAddrMode
(
void
)
const
;
104
uint8_t
GetFrameVer
(
void
)
const
;
105
uint8_t
GetSrcAddrMode
(
void
)
const
;
106
107
uint8_t
GetSeqNum
(
void
)
const
;
108
109
uint16_t
GetDstPanId
(
void
)
const
;
110
Mac16Address
GetShortDstAddr
(
void
)
const
;
111
Mac64Address
GetExtDstAddr
(
void
)
const
;
112
uint16_t
GetSrcPanId
(
void
)
const
;
113
Mac16Address
GetShortSrcAddr
(
void
)
const
;
114
Mac64Address
GetExtSrcAddr
(
void
)
const
;
115
116
uint8_t
GetSecControl
(
void
)
const
;
117
uint32_t
GetFrmCounter
(
void
)
const
;
118
119
uint8_t
GetSecLevel
(
void
)
const
;
120
uint8_t
GetKeyIdMode
(
void
)
const
;
121
uint8_t
GetsecctrlReserved
(
void
)
const
;
122
123
uint32_t
GetKeyIdSrc32
(
void
)
const
;
124
uint64_t
GetKeyIdSrc64
(
void
)
const
;
125
uint8_t
GetKeyIdIndex
(
void
)
const
;
126
127
128
bool
IsBeacon
(
void
)
const
;
129
bool
IsData
(
void
)
const
;
130
bool
IsAcknowledgment
(
void
)
const
;
131
bool
IsCommand
(
void
)
const
;
132
133
134
void
SetType
(
enum
LrWpanMacType
wpanMacType);
135
void
SetFrameControl
(uint16_t frameControl);
136
void
SetSecEnable
(
void
);
137
void
SetSecDisable
(
void
);
138
void
SetFrmPend
(
void
);
139
void
SetNoFrmPend
(
void
);
140
void
SetAckReq
(
void
);
141
void
SetNoAckReq
(
void
);
142
void
SetPanIdComp
(
void
);
143
void
SetNoPanIdComp
(
void
);
144
void
SetFrmCtrlRes
(uint8_t res);
145
void
SetDstAddrMode
(uint8_t addrMode);
146
void
SetFrameVer
(uint8_t ver);
147
void
SetSrcAddrMode
(uint8_t addrMode);
148
149
void
SetSeqNum
(uint8_t seqNum);
150
151
/* The Source/Destination Addressing fields are only set if SrcAddrMode/DstAddrMode are set */
152
void
SetSrcAddrFields
(uint16_t panId,
153
Mac16Address
addr);
154
void
SetSrcAddrFields
(uint16_t panId,
155
Mac64Address
addr);
156
void
SetDstAddrFields
(uint16_t panId,
157
Mac16Address
addr);
158
void
SetDstAddrFields
(uint16_t panId,
159
Mac64Address
addr);
160
161
/* Auxiliary Security Header is only set if Sec Enable (SecU) field is set to 1 */
162
void
SetSecControl
(uint8_t secLevel);
163
void
SetFrmCounter
(uint32_t frmCntr);
164
165
void
SetSecLevel
(uint8_t secLevel);
166
void
SetKeyIdMode
(uint8_t keyIdMode);
167
void
SetsecctrlReserved
(uint8_t res);
168
169
/* Variable length will be dependent on Key Id Mode*/
170
void
SetKeyId
(uint8_t keyIndex);
171
void
SetKeyId
(uint32_t keySrc,
172
uint8_t keyIndex);
173
void
SetKeyId
(uint64_t keySrc,
174
uint8_t keyIndex);
175
176
177
std::string
GetName
(
void
)
const
;
178
static
TypeId
GetTypeId
(
void
);
179
virtual
TypeId
GetInstanceTypeId
(
void
)
const
;
180
void
PrintFrameControl
(std::ostream &os)
const
;
181
void
Print
(std::ostream &os)
const
;
182
uint32_t
GetSerializedSize
(
void
)
const
;
183
void
Serialize
(
Buffer::Iterator
start
)
const
;
184
uint32_t
Deserialize
(
Buffer::Iterator
start
);
185
186
187
private
:
188
/* Frame Control 2 Octets */
189
/* Frame Control fields */
190
uint8_t
m_fctrlFrmType
;
// Bit 0-2 = 0 - Beacon, 1 - Data, 2 - Ack, 3 - Command
191
uint8_t
m_fctrlSecU
;
// Bit 3 = 0 - no AuxSecHdr , 1 - security enabled AuxSecHdr present
192
uint8_t
m_fctrlFrmPending
;
// Bit 4
193
uint8_t
m_fctrlAckReq
;
// Bit 5
194
uint8_t
m_fctrlPanIdComp
;
// Bit 6 = 0 - no compression, 1 - using only DstPanId for both Src and DstPanId
195
uint8_t
m_fctrlReserved
;
// Bit 7-9
196
uint8_t
m_fctrlDstAddrMode
;
// Bit 10-11 = 0 - No DstAddr, 2 - ShtDstAddr, 3 - ExtDstAddr
197
uint8_t
m_fctrlFrmVer
;
// Bit 12-13
198
uint8_t
m_fctrlSrcAddrMode
;
// Bit 14-15 = 0 - No DstAddr, 2 - ShtDstAddr, 3 - ExtDstAddr
199
200
/* Sequence Number */
201
uint8_t
m_SeqNum
;
// 1 Octet
202
203
/* Addressing fields */
204
uint16_t
m_addrDstPanId
;
// 0 or 2 Octet
205
Mac16Address
m_addrShortDstAddr
;
// 0 or 8 Octet
206
Mac64Address
m_addrExtDstAddr
;
// 0 or 8 Octet
207
uint16_t
m_addrSrcPanId
;
// 0 or 2 Octet
208
Mac16Address
m_addrShortSrcAddr
;
// 0 or 8 Octet
209
Mac64Address
m_addrExtSrcAddr
;
// 0 or 8 Octet
210
211
/* Auxiliary Security Header // 0, 5, 6, 10 or 14 Octets */
212
// uint8_t m_auxSecCtrl; // 1 Octet see below
213
uint32_t
m_auxFrmCntr
;
// 4 Octet
214
215
/* Security Control fields */
216
uint8_t
m_secctrlSecLevel
;
// Bit 0-2
217
uint8_t
m_secctrlKeyIdMode
;
// Bit 3-4 will indicate size of Key Id
218
// = 0 - Key is determined implicitly
219
// from originator and receipient
220
// = 1 - 1 Octet Key Index
221
// = 2 - 1 octet Key Index and 4 oct Key src
222
// = 3 - 1 octet Key Index and 8 oct Key src
223
224
uint8_t
m_secctrlReserved
;
// Bit 5-7
225
226
union
227
{
228
uint32_t
m_auxKeyIdKeySrc32
;
// 4 octets
229
uint64_t
m_auxKeyIdKeySrc64
;
// 8 octets
230
};
231
232
uint8_t
m_auxKeyIdKeyIndex
;
// 1 octet
233
234
};
//LrWpanMacHeader
235
236
};
// namespace ns-3
237
238
#endif
/* LR_WPAN_MAC_HEADER_H */
ns3::Header
Protocol header serialization and deserialization.
Definition:
header.h:42
ns3::LrWpanMacHeader::GetName
std::string GetName(void) const
Definition:
lr-wpan-mac-header.cc:509
ns3::LrWpanMacHeader::SetNoFrmPend
void SetNoFrmPend(void)
Definition:
lr-wpan-mac-header.cc:356
ns3::LrWpanMacHeader::~LrWpanMacHeader
~LrWpanMacHeader(void)
Definition:
lr-wpan-mac-header.cc:59
ns3::LrWpanMacHeader::SetSecDisable
void SetSecDisable(void)
Definition:
lr-wpan-mac-header.cc:342
ns3::LrWpanMacHeader::m_fctrlDstAddrMode
uint8_t m_fctrlDstAddrMode
Definition:
lr-wpan-mac-header.h:196
ns3::LrWpanMacHeader::IsPanIdComp
bool IsPanIdComp(void) const
Definition:
lr-wpan-mac-header.cc:143
ns3::LrWpanMacHeader::m_fctrlSecU
uint8_t m_fctrlSecU
Definition:
lr-wpan-mac-header.h:191
ns3::LrWpanMacHeader::GetKeyIdMode
uint8_t GetKeyIdMode(void) const
Definition:
lr-wpan-mac-header.cc:249
ns3::LrWpanMacHeader::EXTADDR
Definition:
lr-wpan-mac-header.h:71
ns3::LrWpanMacHeader::SHORTADDR
Definition:
lr-wpan-mac-header.h:70
ns3::LrWpanMacHeader::SetKeyId
void SetKeyId(uint8_t keyIndex)
Definition:
lr-wpan-mac-header.cc:484
ns3::LrWpanMacHeader::GetKeyIdSrc32
uint32_t GetKeyIdSrc32(void) const
Definition:
lr-wpan-mac-header.cc:261
ns3::LrWpanMacHeader::SetNoPanIdComp
void SetNoPanIdComp(void)
Definition:
lr-wpan-mac-header.cc:383
ns3::LrWpanMacHeader::KeyIdModeType
KeyIdModeType
Definition:
lr-wpan-mac-header.h:74
ns3::LrWpanMacHeader::SetNoAckReq
void SetNoAckReq(void)
Definition:
lr-wpan-mac-header.cc:370
ns3::LrWpanMacHeader::m_secctrlReserved
uint8_t m_secctrlReserved
Definition:
lr-wpan-mac-header.h:224
ns3::LrWpanMacHeader::m_secctrlKeyIdMode
uint8_t m_secctrlKeyIdMode
Definition:
lr-wpan-mac-header.h:217
ns3::LrWpanMacHeader::GetSecLevel
uint8_t GetSecLevel(void) const
Definition:
lr-wpan-mac-header.cc:243
ns3::LrWpanMacHeader::m_addrShortDstAddr
Mac16Address m_addrShortDstAddr
Definition:
lr-wpan-mac-header.h:205
ns3::LrWpanMacHeader::AddrModeType
AddrModeType
Definition:
lr-wpan-mac-header.h:66
ns3::LrWpanMacHeader::SetSeqNum
void SetSeqNum(uint8_t seqNum)
Definition:
lr-wpan-mac-header.cc:416
ns3::LrWpanMacHeader
Doxygen introspection did not find any typical Config paths.
Definition:
lr-wpan-mac-header.h:53
visualizer.core.start
def start
Definition:
core.py:1482
ns3::LrWpanMacHeader::m_addrDstPanId
uint16_t m_addrDstPanId
Definition:
lr-wpan-mac-header.h:204
ns3::LrWpanMacHeader::LRWPAN_MAC_RESERVED
Definition:
lr-wpan-mac-header.h:63
ns3::LrWpanMacHeader::IsBeacon
bool IsBeacon(void) const
Definition:
lr-wpan-mac-header.cc:281
ns3::LrWpanMacHeader::m_fctrlFrmPending
uint8_t m_fctrlFrmPending
Definition:
lr-wpan-mac-header.h:192
ns3::LrWpanMacHeader::LrWpanMacType
LrWpanMacType
Definition:
lr-wpan-mac-header.h:57
ns3::LrWpanMacHeader::m_addrSrcPanId
uint16_t m_addrSrcPanId
Definition:
lr-wpan-mac-header.h:207
ns3::LrWpanMacHeader::GetShortSrcAddr
Mac16Address GetShortSrcAddr(void) const
Definition:
lr-wpan-mac-header.cc:213
ns3::LrWpanMacHeader::SetAckReq
void SetAckReq(void)
Definition:
lr-wpan-mac-header.cc:363
ns3::LrWpanMacHeader::SetFrmCounter
void SetFrmCounter(uint32_t frmCntr)
Definition:
lr-wpan-mac-header.cc:460
ns3::LrWpanMacHeader::IsNoAckReq
bool IsNoAckReq(void) const
Definition:
lr-wpan-mac-header.cc:137
ns3::Buffer::Iterator
iterator in a Buffer instance
Definition:
buffer.h:98
ns3::LrWpanMacHeader::SetSrcAddrFields
void SetSrcAddrFields(uint16_t panId, Mac16Address addr)
Definition:
lr-wpan-mac-header.cc:422
ns3::LrWpanMacHeader::LRWPAN_MAC_BEACON
Definition:
lr-wpan-mac-header.h:59
ns3::Mac64Address
an EUI-64 address
Definition:
mac64-address.h:41
ns3::LrWpanMacHeader::IsData
bool IsData(void) const
Definition:
lr-wpan-mac-header.cc:289
ns3::LrWpanMacHeader::SetKeyIdMode
void SetKeyIdMode(uint8_t keyIdMode)
Definition:
lr-wpan-mac-header.cc:472
ns3::LrWpanMacHeader::GetFrmCtrlRes
uint8_t GetFrmCtrlRes(void) const
Definition:
lr-wpan-mac-header.cc:155
ns3::LrWpanMacHeader::Serialize
void Serialize(Buffer::Iterator start) const
Definition:
lr-wpan-mac-header.cc:679
ns3::LrWpanMacHeader::m_auxKeyIdKeySrc32
uint32_t m_auxKeyIdKeySrc32
Definition:
lr-wpan-mac-header.h:228
ns3::LrWpanMacHeader::NOADDR
Definition:
lr-wpan-mac-header.h:68
ns3::LrWpanMacHeader::PrintFrameControl
void PrintFrameControl(std::ostream &os) const
Definition:
lr-wpan-mac-header.cc:531
ns3::LrWpanMacHeader::SetSecEnable
void SetSecEnable(void)
Definition:
lr-wpan-mac-header.cc:335
ns3::LrWpanMacHeader::m_auxKeyIdKeySrc64
uint64_t m_auxKeyIdKeySrc64
Definition:
lr-wpan-mac-header.h:229
ns3::LrWpanMacHeader::GetsecctrlReserved
uint8_t GetsecctrlReserved(void) const
Definition:
lr-wpan-mac-header.cc:255
ns3::LrWpanMacHeader::LRWPAN_MAC_DATA
Definition:
lr-wpan-mac-header.h:60
ns3::LrWpanMacHeader::GetFrameControl
uint16_t GetFrameControl(void) const
Definition:
lr-wpan-mac-header.cc:89
ns3::LrWpanMacHeader::GetExtDstAddr
Mac64Address GetExtDstAddr(void) const
Definition:
lr-wpan-mac-header.cc:199
ns3::LrWpanMacHeader::GetSerializedSize
uint32_t GetSerializedSize(void) const
Definition:
lr-wpan-mac-header.cc:599
ns3::LrWpanMacHeader::m_addrExtDstAddr
Mac64Address m_addrExtDstAddr
Definition:
lr-wpan-mac-header.h:206
ns3::LrWpanMacHeader::LRWPAN_MAC_COMMAND
Definition:
lr-wpan-mac-header.h:62
ns3::LrWpanMacHeader::SetFrameVer
void SetFrameVer(uint8_t ver)
Definition:
lr-wpan-mac-header.cc:402
ns3::LrWpanMacHeader::GetSecControl
uint8_t GetSecControl(void) const
Definition:
lr-wpan-mac-header.cc:225
ns3::LrWpanMacHeader::IsSecEnable
bool IsSecEnable(void) const
Definition:
lr-wpan-mac-header.cc:107
ns3::LrWpanMacHeader::IsAckReq
bool IsAckReq(void) const
Definition:
lr-wpan-mac-header.cc:131
ns3::LrWpanMacHeader::m_SeqNum
uint8_t m_SeqNum
Definition:
lr-wpan-mac-header.h:201
ns3::LrWpanMacHeader::SetType
void SetType(enum LrWpanMacType wpanMacType)
Definition:
lr-wpan-mac-header.cc:313
ns3::LrWpanMacHeader::SetFrmCtrlRes
void SetFrmCtrlRes(uint8_t res)
Definition:
lr-wpan-mac-header.cc:389
ns3::LrWpanMacHeader::IMPLICIT
Definition:
lr-wpan-mac-header.h:76
ns3::LrWpanMacHeader::SetPanIdComp
void SetPanIdComp(void)
Definition:
lr-wpan-mac-header.cc:377
ns3::LrWpanMacHeader::m_auxKeyIdKeyIndex
uint8_t m_auxKeyIdKeyIndex
Definition:
lr-wpan-mac-header.h:232
ns3::LrWpanMacHeader::GetSrcAddrMode
uint8_t GetSrcAddrMode(void) const
Definition:
lr-wpan-mac-header.cc:173
ns3::LrWpanMacHeader::m_addrShortSrcAddr
Mac16Address m_addrShortSrcAddr
Definition:
lr-wpan-mac-header.h:208
ns3::LrWpanMacHeader::SetDstAddrMode
void SetDstAddrMode(uint8_t addrMode)
Definition:
lr-wpan-mac-header.cc:395
ns3::LrWpanMacHeader::m_fctrlPanIdComp
uint8_t m_fctrlPanIdComp
Definition:
lr-wpan-mac-header.h:194
ns3::LrWpanMacHeader::Print
void Print(std::ostream &os) const
Definition:
lr-wpan-mac-header.cc:540
ns3::LrWpanMacHeader::IsAcknowledgment
bool IsAcknowledgment(void) const
Definition:
lr-wpan-mac-header.cc:297
ns3::LrWpanMacHeader::GetShortDstAddr
Mac16Address GetShortDstAddr(void) const
Definition:
lr-wpan-mac-header.cc:194
ns3::LrWpanMacHeader::GetSrcPanId
uint16_t GetSrcPanId(void) const
Definition:
lr-wpan-mac-header.cc:205
ns3::LrWpanMacHeader::IsNoPanIdComp
bool IsNoPanIdComp(void) const
Definition:
lr-wpan-mac-header.cc:149
ns3::LrWpanMacHeader::GetKeyIdSrc64
uint64_t GetKeyIdSrc64(void) const
Definition:
lr-wpan-mac-header.cc:267
ns3::LrWpanMacHeader::IsFrmPend
bool IsFrmPend(void) const
Definition:
lr-wpan-mac-header.cc:119
ns3::Mac16Address
This class can contain 16 bit addresses.
Definition:
mac16-address.h:39
ns3::LrWpanMacHeader::m_addrExtSrcAddr
Mac64Address m_addrExtSrcAddr
Definition:
lr-wpan-mac-header.h:209
ns3::LrWpanMacHeader::m_secctrlSecLevel
uint8_t m_secctrlSecLevel
Definition:
lr-wpan-mac-header.h:216
ns3::LrWpanMacHeader::LRWPAN_MAC_ACKNOWLEDGMENT
Definition:
lr-wpan-mac-header.h:61
ns3::LrWpanMacHeader::NOKEYSOURCE
Definition:
lr-wpan-mac-header.h:77
ns3::LrWpanMacHeader::SetDstAddrFields
void SetDstAddrFields(uint16_t panId, Mac16Address addr)
Definition:
lr-wpan-mac-header.cc:438
ns3::LrWpanMacHeader::RESADDR
Definition:
lr-wpan-mac-header.h:69
ns3::LrWpanMacHeader::SetSecControl
void SetSecControl(uint8_t secLevel)
Definition:
lr-wpan-mac-header.cc:452
ns3::LrWpanMacHeader::GetFrameVer
uint8_t GetFrameVer(void) const
Definition:
lr-wpan-mac-header.cc:167
ns3::LrWpanMacHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Definition:
lr-wpan-mac-header.cc:525
ns3::LrWpanMacHeader::GetExtSrcAddr
Mac64Address GetExtSrcAddr(void) const
Definition:
lr-wpan-mac-header.cc:218
ns3::LrWpanMacHeader::GetKeyIdIndex
uint8_t GetKeyIdIndex(void) const
Definition:
lr-wpan-mac-header.cc:274
ns3::LrWpanMacHeader::Deserialize
uint32_t Deserialize(Buffer::Iterator start)
Definition:
lr-wpan-mac-header.cc:747
ns3::LrWpanMacHeader::GetFrmCounter
uint32_t GetFrmCounter(void) const
Definition:
lr-wpan-mac-header.cc:237
ns3::LrWpanMacHeader::SetFrmPend
void SetFrmPend(void)
Definition:
lr-wpan-mac-header.cc:349
ns3::LrWpanMacHeader::SetsecctrlReserved
void SetsecctrlReserved(uint8_t res)
Definition:
lr-wpan-mac-header.cc:478
ns3::LrWpanMacHeader::SetFrameControl
void SetFrameControl(uint16_t frameControl)
Definition:
lr-wpan-mac-header.cc:320
ns3::LrWpanMacHeader::IsCommand
bool IsCommand(void) const
Definition:
lr-wpan-mac-header.cc:305
ns3::LrWpanMacHeader::SetSrcAddrMode
void SetSrcAddrMode(uint8_t addrMode)
Definition:
lr-wpan-mac-header.cc:409
ns3::LrWpanMacHeader::GetTypeId
static TypeId GetTypeId(void)
Definition:
lr-wpan-mac-header.cc:515
ns3::LrWpanMacHeader::m_fctrlReserved
uint8_t m_fctrlReserved
Definition:
lr-wpan-mac-header.h:195
ns3::LrWpanMacHeader::GetSeqNum
uint8_t GetSeqNum(void) const
Definition:
lr-wpan-mac-header.cc:180
ns3::LrWpanMacHeader::m_auxFrmCntr
uint32_t m_auxFrmCntr
Definition:
lr-wpan-mac-header.h:213
ns3::LrWpanMacHeader::IsNoFrmPend
bool IsNoFrmPend(void) const
Definition:
lr-wpan-mac-header.cc:125
ns3::LrWpanMacHeader::m_fctrlSrcAddrMode
uint8_t m_fctrlSrcAddrMode
Definition:
lr-wpan-mac-header.h:198
ns3::LrWpanMacHeader::m_fctrlFrmVer
uint8_t m_fctrlFrmVer
Definition:
lr-wpan-mac-header.h:197
ns3::LrWpanMacHeader::m_fctrlAckReq
uint8_t m_fctrlAckReq
Definition:
lr-wpan-mac-header.h:193
ns3::LrWpanMacHeader::GetType
enum LrWpanMacType GetType(void) const
Definition:
lr-wpan-mac-header.cc:65
ns3::LrWpanMacHeader::IsSecDisable
bool IsSecDisable(void) const
Definition:
lr-wpan-mac-header.cc:113
ns3::LrWpanMacHeader::SHORTKEYSOURCE
Definition:
lr-wpan-mac-header.h:78
ns3::LrWpanMacHeader::m_fctrlFrmType
uint8_t m_fctrlFrmType
Definition:
lr-wpan-mac-header.h:190
ns3::LrWpanMacHeader::LrWpanMacHeader
LrWpanMacHeader(void)
Definition:
lr-wpan-mac-header.cc:29
ns3::LrWpanMacHeader::SetSecLevel
void SetSecLevel(uint8_t secLevel)
Definition:
lr-wpan-mac-header.cc:466
ns3::TypeId
a unique identifier for an interface.
Definition:
type-id.h:49
ns3::LrWpanMacHeader::GetDstAddrMode
uint8_t GetDstAddrMode(void) const
Definition:
lr-wpan-mac-header.cc:161
ns3::LrWpanMacHeader::GetDstPanId
uint16_t GetDstPanId(void) const
Definition:
lr-wpan-mac-header.cc:187
ns3::LrWpanMacHeader::LONGKEYSOURCE
Definition:
lr-wpan-mac-header.h:79
src
lr-wpan
model
lr-wpan-mac-header.h
Generated on Tue Jun 17 2014 01:12:55 for ns-3 by
1.8.6