A Discrete-Event Network Simulator
API
wimax-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) 2007,2008, 2009 INRIA, UDcast
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: Jahanzeb Farooq <jahanzeb.farooq@sophia.inria.fr>
19  * Mohamed Amine Ismail <amine.ismail@sophia.inria.fr>
20  */
21 
22 #ifndef MAC_HEADER_TYPE_H
23 #define MAC_HEADER_TYPE_H
24 
25 #include <stdint.h>
26 #include "ns3/header.h"
27 
28 namespace ns3 {
29 
36 class MacHeaderType : public Header
37 {
38 public:
41  {
44  };
45 
49  MacHeaderType (void);
55  MacHeaderType (uint8_t type);
56  virtual ~MacHeaderType (void);
61  void SetType (uint8_t type);
66  uint8_t GetType (void) const;
67 
72  std::string GetName (void) const;
77  static TypeId GetTypeId (void);
78  virtual TypeId GetInstanceTypeId (void) const;
79  void Print (std::ostream &os) const;
80  uint32_t GetSerializedSize (void) const;
81  void Serialize (Buffer::Iterator start) const;
83 private:
84  uint8_t m_type;
85 };
86 
87 } // namespace ns3
88 
89 #endif /* MAC_HEADER_TYPE_H */
90 
91 // ----------------------------------------------------------------------------------------------------------
92 
93 #ifndef GENERIC_MAC_HEADER_H
94 #define GENERIC_MAC_HEADER_H
95 
96 #include <stdint.h>
97 #include "ns3/header.h"
98 #include "cid.h"
99 
100 namespace ns3 {
101 
108 class GenericMacHeader : public Header
109 {
110 public:
111  GenericMacHeader (void);
112  ~GenericMacHeader (void);
113 
118  void SetEc (uint8_t ec);
123  void SetType (uint8_t type);
128  void SetCi (uint8_t ci);
133  void SetEks (uint8_t eks);
138  void SetLen (uint16_t len);
143  void SetCid (Cid cid);
148  void SetHcs (uint8_t hcs);
153  void SetHt (uint8_t ht);
154 
159  uint8_t GetEc (void) const;
164  uint8_t GetType (void) const;
169  uint8_t GetCi (void) const;
174  uint8_t GetEks (void) const;
179  uint16_t GetLen (void) const;
184  Cid GetCid (void) const;
189  uint8_t GetHcs (void) const;
194  uint8_t GetHt (void) const;
199  std::string GetName (void) const;
204  static TypeId GetTypeId (void);
205  virtual TypeId GetInstanceTypeId (void) const;
206  void Print (std::ostream &os) const;
207  uint32_t GetSerializedSize (void) const;
208  void Serialize (Buffer::Iterator start) const;
214  bool check_hcs (void) const;
215 private:
216  uint8_t m_ht;
217  uint8_t m_ec;
218  uint8_t m_type;
219  uint8_t m_esf;
220  uint8_t m_ci;
221  uint8_t m_eks;
222  uint8_t m_rsv1;
223  uint16_t m_len;
225  uint8_t m_hcs;
226  uint8_t c_hcs;
227 
228 
229 };
230 
231 } // namespace ns3
232 
233 #endif /* GENERIC_MAC_HEADER */
234 
235 // ----------------------------------------------------------------------------------------------------------
236 
237 #ifndef BANDWIDTH_REQUEST_HEADER_H
238 #define BANDWIDTH_REQUEST_HEADER_H
239 
240 #include <stdint.h>
241 #include "ns3/header.h"
242 #include "cid.h"
243 
244 namespace ns3 {
252 {
253 public:
256  {
258  };
259 
260  BandwidthRequestHeader (void);
262 
267  void SetHt (uint8_t ht);
272  void SetEc (uint8_t ec);
277  void SetType (uint8_t type);
282  void SetBr (uint32_t br);
287  void SetCid (Cid cid);
292  void SetHcs (uint8_t hcs);
293 
298  uint8_t GetHt (void) const;
303  uint8_t GetEc (void) const;
308  uint8_t GetType (void) const;
313  uint32_t GetBr (void) const;
318  Cid GetCid (void) const;
323  uint8_t GetHcs (void) const;
324 
329  std::string GetName (void) const;
334  static TypeId GetTypeId (void);
335  virtual TypeId GetInstanceTypeId (void) const;
336  void Print (std::ostream &os) const;
337  uint32_t GetSerializedSize (void) const;
338  void Serialize (Buffer::Iterator start) const;
344  bool check_hcs (void) const;
345 private:
346  uint8_t m_ht;
347  uint8_t m_ec;
348  uint8_t m_type;
351  uint8_t m_hcs;
352  uint8_t c_hcs;
353 
354 };
355 
356 } // namespace ns3
357 
358 #endif /* BANDWIDTH_REQUEST_HEADER_H */
359 
360 // ----------------------------------------------------------------------------------------------------------
361 
362 #ifndef GRANT_MANAGEMENT_SUBHEADER_H
363 #define GRANT_MANAGEMENT_SUBHEADER_H
364 
365 #include <stdint.h>
366 #include "ns3/header.h"
367 
368 namespace ns3 {
369 
377 {
378 public:
381 
386  void SetSi (uint8_t si);
391  void SetPm (uint8_t pm);
396  void SetPbr (uint16_t pbr);
397 
402  uint8_t GetSi (void) const;
407  uint8_t GetPm (void) const;
412  uint16_t GetPbr (void) const;
413 
418  std::string GetName (void) const;
423  static TypeId GetTypeId (void);
424  virtual TypeId GetInstanceTypeId (void) const;
425  void Print (std::ostream &os) const;
426  uint32_t GetSerializedSize (void) const;
427  void Serialize (Buffer::Iterator start) const;
429 
430 private:
431  // size of the Grant Management Subheader shall actually be 2 bytes
432 
433  uint8_t m_si;
434  uint8_t m_pm;
435  uint16_t m_pbr;
436 };
437 
438 } // namespace ns3
439 
440 #endif /* GRANT_MANAGEMENT_SUBHEADER_H */
441 
442 // ----------------------------------------------------------------------------------------------------------
443 
444 #ifndef FRAGMENTATION_SUBHEADER_H
445 #define FRAGMENTATION_SUBHEADER_H
446 
447 #include <stdint.h>
448 #include "ns3/header.h"
449 
450 namespace ns3 {
458 {
459 public:
460  FragmentationSubheader (void);
462 
467  void SetFc (uint8_t fc);
472  void SetFsn (uint8_t fsn);
473 
478  uint8_t GetFc (void) const;
483  uint8_t GetFsn (void) const;
484 
489  std::string GetName (void) const;
494  static TypeId GetTypeId (void);
495  virtual TypeId GetInstanceTypeId (void) const;
496  void Print (std::ostream &os) const;
497  uint32_t GetSerializedSize (void) const;
498  void Serialize (Buffer::Iterator start) const;
500 
501 private:
502  uint8_t m_fc;
503  uint8_t m_fsn;
504 };
505 } // namespace ns3
506 
507 #endif /* FRAGMENTATION_SUBHEADER_H */
ns3::BandwidthRequestHeader::check_hcs
bool check_hcs(void) const
Check HCS.
Definition: wimax-mac-header.cc:485
ns3::BandwidthRequestHeader::GetSerializedSize
uint32_t GetSerializedSize(void) const
Definition: wimax-mac-header.cc:411
ns3::TypeId
a unique identifier for an interface.
Definition: type-id.h:59
ns3::BandwidthRequestHeader::BandwidthRequestHeader
BandwidthRequestHeader(void)
Definition: wimax-mac-header.cc:309
ns3::GenericMacHeader::SetHt
void SetHt(uint8_t ht)
Set HT field.
Definition: wimax-mac-header.cc:120
ns3::GrantManagementSubheader::GetSerializedSize
uint32_t GetSerializedSize(void) const
Definition: wimax-mac-header.cc:561
ns3::MacHeaderType::Print
void Print(std::ostream &os) const
Definition: wimax-mac-header.cc:78
ns3::GrantManagementSubheader::~GrantManagementSubheader
~GrantManagementSubheader(void)
Definition: wimax-mac-header.cc:501
ns3::FragmentationSubheader::GetName
std::string GetName(void) const
Get name field.
Definition: wimax-mac-header.cc:624
ns3::GenericMacHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition: wimax-mac-header.cc:215
ns3::GrantManagementSubheader::Print
void Print(std::ostream &os) const
Definition: wimax-mac-header.cc:555
ns3::BandwidthRequestHeader::SetCid
void SetCid(Cid cid)
Set CID field.
Definition: wimax-mac-header.cc:343
ns3::Cid
Cid class.
Definition: cid.h:38
ns3::GenericMacHeader::m_eks
uint8_t m_eks
Encryption Key Sequence.
Definition: wimax-mac-header.h:221
ns3::BandwidthRequestHeader::m_hcs
uint8_t m_hcs
Header Check Sequence.
Definition: wimax-mac-header.h:351
ns3::GenericMacHeader::GetEks
uint8_t GetEks(void) const
Get EKS field.
Definition: wimax-mac-header.cc:180
ns3::BandwidthRequestHeader::m_ec
uint8_t m_ec
Encryption Control.
Definition: wimax-mac-header.h:347
ns3::GenericMacHeader::GetName
std::string GetName(void) const
Get name field.
Definition: wimax-mac-header.cc:200
ns3::BandwidthRequestHeader::GetEc
uint8_t GetEc(void) const
Get EC field.
Definition: wimax-mac-header.cc:358
ns3::FragmentationSubheader::m_fsn
uint8_t m_fsn
Fragment Sequence Number.
Definition: wimax-mac-header.h:503
ns3::BandwidthRequestHeader::m_type
uint8_t m_type
type
Definition: wimax-mac-header.h:348
ns3::BandwidthRequestHeader::SetEc
void SetEc(uint8_t ec)
Set EC field.
Definition: wimax-mac-header.cc:328
ns3::GrantManagementSubheader::Serialize
void Serialize(Buffer::Iterator start) const
Definition: wimax-mac-header.cc:566
ns3::MacHeaderType::HEADER_TYPE_GENERIC
@ HEADER_TYPE_GENERIC
Definition: wimax-mac-header.h:42
ns3::MacHeaderType::Serialize
void Serialize(Buffer::Iterator start) const
Definition: wimax-mac-header.cc:88
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ns3::MacHeaderType::GetType
uint8_t GetType(void) const
Get type field.
Definition: wimax-mac-header.cc:51
ns3::BandwidthRequestHeader::HEADER_TYPE_AGGREGATE
@ HEADER_TYPE_AGGREGATE
Definition: wimax-mac-header.h:257
ns3::MacHeaderType::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: wimax-mac-header.cc:63
ns3::BandwidthRequestHeader::GetHcs
uint8_t GetHcs(void) const
Get HCS field.
Definition: wimax-mac-header.cc:378
ns3::BandwidthRequestHeader
This class implements the bandwidth-request mac Header as described by IEEE Standard for Local and me...
Definition: wimax-mac-header.h:252
ns3::MacHeaderType::SetType
void SetType(uint8_t type)
Set type field.
Definition: wimax-mac-header.cc:45
ns3::FragmentationSubheader::SetFsn
void SetFsn(uint8_t fsn)
Set FSN field.
Definition: wimax-mac-header.cc:605
ns3::GrantManagementSubheader::SetPm
void SetPm(uint8_t pm)
Set PM field.
Definition: wimax-mac-header.cc:510
ns3::GenericMacHeader::m_type
uint8_t m_type
type
Definition: wimax-mac-header.h:218
ns3::GenericMacHeader::GetHcs
uint8_t GetHcs(void) const
Get HCS field.
Definition: wimax-mac-header.cc:195
ns3::FragmentationSubheader::GetFc
uint8_t GetFc(void) const
Get FC field.
Definition: wimax-mac-header.cc:611
ns3::GenericMacHeader::m_len
uint16_t m_len
length
Definition: wimax-mac-header.h:223
ns3::MacHeaderType
This class Represents the HT (Header Type) field of generic MAC and bandwidth request headers.
Definition: wimax-mac-header.h:37
ns3::BandwidthRequestHeader::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: wimax-mac-header.cc:388
ns3::MacHeaderType::HEADER_TYPE_BANDWIDTH
@ HEADER_TYPE_BANDWIDTH
Definition: wimax-mac-header.h:43
ns3::GenericMacHeader::GetSerializedSize
uint32_t GetSerializedSize(void) const
Definition: wimax-mac-header.cc:227
ns3::BandwidthRequestHeader::HeaderType
HeaderType
Header type enumeration.
Definition: wimax-mac-header.h:256
ns3::GenericMacHeader::m_cid
Cid m_cid
CID.
Definition: wimax-mac-header.h:224
ns3::GenericMacHeader::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: wimax-mac-header.cc:205
ns3::MacHeaderType::~MacHeaderType
virtual ~MacHeaderType(void)
Definition: wimax-mac-header.cc:40
ns3::GenericMacHeader::GetHt
uint8_t GetHt(void) const
Get HT field.
Definition: wimax-mac-header.cc:160
ns3::GenericMacHeader::GetLen
uint16_t GetLen(void) const
Get length field.
Definition: wimax-mac-header.cc:185
ns3::GrantManagementSubheader::GrantManagementSubheader
GrantManagementSubheader(void)
Definition: wimax-mac-header.cc:494
ns3::GrantManagementSubheader::SetPbr
void SetPbr(uint16_t pbr)
Set PRR field.
Definition: wimax-mac-header.cc:515
ns3::GenericMacHeader::SetCi
void SetCi(uint8_t ci)
Set CI field.
Definition: wimax-mac-header.cc:135
ns3::GenericMacHeader::~GenericMacHeader
~GenericMacHeader(void)
Definition: wimax-mac-header.cc:116
ns3::GenericMacHeader::m_esf
uint8_t m_esf
ESF.
Definition: wimax-mac-header.h:219
ns3::GenericMacHeader::m_ht
uint8_t m_ht
Header type.
Definition: wimax-mac-header.h:216
ns3::BandwidthRequestHeader::m_cid
Cid m_cid
Connection identifier.
Definition: wimax-mac-header.h:350
ns3::GenericMacHeader::SetLen
void SetLen(uint16_t len)
Set length field.
Definition: wimax-mac-header.cc:145
ns3::BandwidthRequestHeader::GetHt
uint8_t GetHt(void) const
Get HT field.
Definition: wimax-mac-header.cc:353
visualizer.core.start
def start()
Definition: core.py:1853
ns3::GrantManagementSubheader::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: wimax-mac-header.cc:540
ns3::GenericMacHeader::SetType
void SetType(uint8_t type)
Set type field.
Definition: wimax-mac-header.cc:130
ns3::BandwidthRequestHeader::SetHcs
void SetHcs(uint8_t hcs)
Set HCS field.
Definition: wimax-mac-header.cc:348
ns3::BandwidthRequestHeader::GetBr
uint32_t GetBr(void) const
Get BR field.
Definition: wimax-mac-header.cc:368
ns3::BandwidthRequestHeader::GetName
std::string GetName(void) const
Get name field.
Definition: wimax-mac-header.cc:383
ns3::GrantManagementSubheader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition: wimax-mac-header.cc:550
ns3::MacHeaderType::HeaderType
HeaderType
Header type enumeration.
Definition: wimax-mac-header.h:41
ns3::BandwidthRequestHeader::~BandwidthRequestHeader
~BandwidthRequestHeader(void)
Definition: wimax-mac-header.cc:319
ns3::BandwidthRequestHeader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition: wimax-mac-header.cc:398
ns3::GenericMacHeader::Serialize
void Serialize(Buffer::Iterator start) const
Definition: wimax-mac-header.cc:232
ns3::BandwidthRequestHeader::SetType
void SetType(uint8_t type)
Set type field.
Definition: wimax-mac-header.cc:333
ns3::FragmentationSubheader::~FragmentationSubheader
~FragmentationSubheader(void)
Definition: wimax-mac-header.cc:594
ns3::BandwidthRequestHeader::HEADER_TYPE_INCREMENTAL
@ HEADER_TYPE_INCREMENTAL
Definition: wimax-mac-header.h:257
ns3::GrantManagementSubheader::GetPbr
uint16_t GetPbr(void) const
Get PBR field.
Definition: wimax-mac-header.cc:530
ns3::BandwidthRequestHeader::SetBr
void SetBr(uint32_t br)
Set BR field.
Definition: wimax-mac-header.cc:338
ns3::BandwidthRequestHeader::m_ht
uint8_t m_ht
Header type.
Definition: wimax-mac-header.h:346
ns3::MacHeaderType::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition: wimax-mac-header.cc:73
ns3::GenericMacHeader::GenericMacHeader
GenericMacHeader(void)
Definition: wimax-mac-header.cc:101
ns3::GenericMacHeader::m_ec
uint8_t m_ec
Encryption Control.
Definition: wimax-mac-header.h:217
ns3::GenericMacHeader::GetType
uint8_t GetType(void) const
Get type field.
Definition: wimax-mac-header.cc:170
ns3::Header
Protocol header serialization and deserialization.
Definition: header.h:43
ns3::GenericMacHeader::SetHcs
void SetHcs(uint8_t hcs)
Set HCS field.
Definition: wimax-mac-header.cc:155
ns3::MacHeaderType::GetSerializedSize
uint32_t GetSerializedSize(void) const
Definition: wimax-mac-header.cc:83
type
ns3::FragmentationSubheader
This class implements the fragmentation sub-header as described by IEEE Standard for Local and metrop...
Definition: wimax-mac-header.h:458
ns3::FragmentationSubheader::GetSerializedSize
uint32_t GetSerializedSize(void) const
Definition: wimax-mac-header.cc:654
ns3::BandwidthRequestHeader::c_hcs
uint8_t c_hcs
calculated header check sequence; this is used to check if the received header is correct or not
Definition: wimax-mac-header.h:352
ns3::GenericMacHeader::m_rsv1
uint8_t m_rsv1
RSV.
Definition: wimax-mac-header.h:222
ns3::FragmentationSubheader::GetTypeId
static TypeId GetTypeId(void)
Get the type ID.
Definition: wimax-mac-header.cc:630
ns3::Header::Deserialize
virtual uint32_t Deserialize(Buffer::Iterator start)=0
Deserialize the object from a buffer iterator.
cid.h
ns3::GenericMacHeader
This class implements the Generic mac Header as described by IEEE Standard for Local and metropolitan...
Definition: wimax-mac-header.h:109
ns3::BandwidthRequestHeader::GetType
uint8_t GetType(void) const
Get type field.
Definition: wimax-mac-header.cc:363
ns3::GenericMacHeader::SetEks
void SetEks(uint8_t eks)
Set EKS field.
Definition: wimax-mac-header.cc:140
ns3::Buffer::Iterator
iterator in a Buffer instance
Definition: buffer.h:99
ns3::GrantManagementSubheader::m_si
uint8_t m_si
Slip Indicator.
Definition: wimax-mac-header.h:433
uint32_t
ns3::FragmentationSubheader::Print
void Print(std::ostream &os) const
Definition: wimax-mac-header.cc:647
ns3::BandwidthRequestHeader::SetHt
void SetHt(uint8_t ht)
Set HT field.
Definition: wimax-mac-header.cc:323
ns3::GrantManagementSubheader
This class implements the grant management sub-header as described by IEEE Standard for Local and met...
Definition: wimax-mac-header.h:377
ns3::GenericMacHeader::check_hcs
bool check_hcs(void) const
Check HCS.
Definition: wimax-mac-header.cc:300
ns3::MacHeaderType::m_type
uint8_t m_type
MAC header type.
Definition: wimax-mac-header.h:84
ns3::FragmentationSubheader::SetFc
void SetFc(uint8_t fc)
Set FC field.
Definition: wimax-mac-header.cc:599
ns3::GenericMacHeader::m_ci
uint8_t m_ci
CRC Indicator.
Definition: wimax-mac-header.h:220
ns3::GenericMacHeader::c_hcs
uint8_t c_hcs
calculated header check sequence; this is used to check if the received header is correct or not
Definition: wimax-mac-header.h:226
ns3::GrantManagementSubheader::m_pbr
uint16_t m_pbr
PiggyBack Request.
Definition: wimax-mac-header.h:435
ns3::GenericMacHeader::m_hcs
uint8_t m_hcs
Header Check Sequence.
Definition: wimax-mac-header.h:225
ns3::GrantManagementSubheader::GetPm
uint8_t GetPm(void) const
Get PM field.
Definition: wimax-mac-header.cc:525
ns3::FragmentationSubheader::Serialize
void Serialize(Buffer::Iterator start) const
Definition: wimax-mac-header.cc:660
ns3::GrantManagementSubheader::m_pm
uint8_t m_pm
Poll-Me bit (byte in this case)
Definition: wimax-mac-header.h:434
ns3::MacHeaderType::GetName
std::string GetName(void) const
Get name field.
Definition: wimax-mac-header.cc:57
ns3::GrantManagementSubheader::GetSi
uint8_t GetSi(void) const
Get SI field.
Definition: wimax-mac-header.cc:520
ns3::GenericMacHeader::SetEc
void SetEc(uint8_t ec)
Set EC field.
Definition: wimax-mac-header.cc:125
ns3::FragmentationSubheader::GetInstanceTypeId
virtual TypeId GetInstanceTypeId(void) const
Get the most derived TypeId for this Object.
Definition: wimax-mac-header.cc:641
ns3::MacHeaderType::MacHeaderType
MacHeaderType(void)
Constructor.
Definition: wimax-mac-header.cc:30
ns3::GenericMacHeader::GetEc
uint8_t GetEc(void) const
Get EC field.
Definition: wimax-mac-header.cc:165
ns3::GenericMacHeader::Print
void Print(std::ostream &os) const
Definition: wimax-mac-header.cc:220
ns3::GenericMacHeader::GetCid
Cid GetCid(void) const
Get CID field.
Definition: wimax-mac-header.cc:190
ns3::BandwidthRequestHeader::m_br
uint32_t m_br
Bandwidth Request.
Definition: wimax-mac-header.h:349
ns3::FragmentationSubheader::GetFsn
uint8_t GetFsn(void) const
Get FSN field.
Definition: wimax-mac-header.cc:617
ns3::GenericMacHeader::SetCid
void SetCid(Cid cid)
Set CID field.
Definition: wimax-mac-header.cc:150
ns3::GenericMacHeader::GetCi
uint8_t GetCi(void) const
Get CI field.
Definition: wimax-mac-header.cc:175
ns3::GrantManagementSubheader::SetSi
void SetSi(uint8_t si)
Set SI field.
Definition: wimax-mac-header.cc:505
ns3::BandwidthRequestHeader::Serialize
void Serialize(Buffer::Iterator start) const
Definition: wimax-mac-header.cc:419
ns3::GrantManagementSubheader::GetName
std::string GetName(void) const
Get name field.
Definition: wimax-mac-header.cc:535
ns3::FragmentationSubheader::FragmentationSubheader
FragmentationSubheader(void)
Definition: wimax-mac-header.cc:588
ns3::FragmentationSubheader::m_fc
uint8_t m_fc
Fragment Control.
Definition: wimax-mac-header.h:502
ns3::BandwidthRequestHeader::Print
void Print(std::ostream &os) const
Definition: wimax-mac-header.cc:403
ns3::BandwidthRequestHeader::GetCid
Cid GetCid(void) const
Get CID field.
Definition: wimax-mac-header.cc:373