11#include "ns3/hwmp-protocol.h"
12#include "ns3/packet.h"
16#include "ns3/ie-dot11s-beacon-timing.h"
17#include "ns3/ie-dot11s-configuration.h"
18#include "ns3/ie-dot11s-id.h"
19#include "ns3/ie-dot11s-metric-report.h"
20#include "ns3/ie-dot11s-peer-management.h"
21#include "ns3/ie-dot11s-peering-protocol.h"
22#include "ns3/ie-dot11s-perr.h"
23#include "ns3/ie-dot11s-prep.h"
24#include "ns3/ie-dot11s-preq.h"
25#include "ns3/ie-dot11s-rann.h"
49 static TypeId tid =
TypeId(
"ns3::MeshInformationElementVector")
73 start = (*i)->Serialize(start);
80 NS_FATAL_ERROR(
"This variant should not be called on a variable-sized header");
87 uint32_t size = start.GetDistanceFrom(end);
92 start.Next(deserialized);
94 remaining -= deserialized;
105 uint8_t length = i.
ReadU8();
141 NS_FATAL_ERROR(
"Information element " << +
id <<
" is not implemented");
148 i = newElement->Deserialize(i);
192 if ((*i)->ElementId() == id)
206 size += (*i)->GetSerializedSize();
229 if (!(*(*i) == *(*j)))
iterator in a Buffer instance
uint32_t GetDistanceFrom(const Iterator &o) const
void Prev()
go backward by one byte
Smart pointer class similar to boost::intrusive_ptr.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
#define NS_ASSERT_MSG(condition, message)
At runtime, in debugging builds, if this condition is not true, the program prints the message to out...
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
Ptr< T > Create(Ts &&... args)
Create class instances by constructors with varying numbers of arguments and return them by Ptr.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.