A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
wifi-mac-trailer.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2006 INRIA
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
7
*/
8
9
#ifndef WIFI_MAC_TRAILER_H
10
#define WIFI_MAC_TRAILER_H
11
12
#include "
wifi-constants.h
"
13
14
#include "ns3/trailer.h"
15
16
namespace
ns3
17
{
18
19
/**
20
* @ingroup wifi
21
*
22
* Implements the IEEE 802.11 MAC trailer
23
*/
24
class
WifiMacTrailer
:
public
Trailer
25
{
26
public
:
27
WifiMacTrailer
();
28
~WifiMacTrailer
()
override
;
29
30
/**
31
* @brief Get the type ID.
32
* @return the object TypeId
33
*/
34
static
TypeId
GetTypeId
();
35
TypeId
GetInstanceTypeId
()
const override
;
36
void
Print
(std::ostream& os)
const override
;
37
uint32_t
GetSerializedSize
()
const override
;
38
void
Serialize
(
Buffer::Iterator
start)
const override
;
39
uint32_t
Deserialize
(
Buffer::Iterator
start)
override
;
40
};
41
42
}
// namespace ns3
43
44
#endif
/* WIFI_MAC_TRAILER_H */
ns3::Buffer::Iterator
iterator in a Buffer instance
Definition
buffer.h:89
ns3::Trailer
Protocol trailer serialization and deserialization.
Definition
trailer.h:30
ns3::TypeId
a unique identifier for an interface.
Definition
type-id.h:49
ns3::WifiMacTrailer
Implements the IEEE 802.11 MAC trailer.
Definition
wifi-mac-trailer.h:25
ns3::WifiMacTrailer::GetInstanceTypeId
TypeId GetInstanceTypeId() const override
Get the most derived TypeId for this Object.
Definition
wifi-mac-trailer.cc:35
ns3::WifiMacTrailer::Deserialize
uint32_t Deserialize(Buffer::Iterator start) override
Definition
wifi-mac-trailer.cc:59
ns3::WifiMacTrailer::~WifiMacTrailer
~WifiMacTrailer() override
Definition
wifi-mac-trailer.cc:20
ns3::WifiMacTrailer::WifiMacTrailer
WifiMacTrailer()
Definition
wifi-mac-trailer.cc:16
ns3::WifiMacTrailer::GetSerializedSize
uint32_t GetSerializedSize() const override
Definition
wifi-mac-trailer.cc:46
ns3::WifiMacTrailer::Serialize
void Serialize(Buffer::Iterator start) const override
Definition
wifi-mac-trailer.cc:52
ns3::WifiMacTrailer::GetTypeId
static TypeId GetTypeId()
Get the type ID.
Definition
wifi-mac-trailer.cc:25
ns3::WifiMacTrailer::Print
void Print(std::ostream &os) const override
Definition
wifi-mac-trailer.cc:41
uint32_t
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
wifi-constants.h
Declaration of the constants used across wifi module.
src
wifi
model
wifi-mac-trailer.h
Generated on Sun Jun 1 2025 18:21:05 for ns-3 by
1.11.0