22 #include "ns3/packet.h"
24 #include "ns3/hwmp-protocol.h"
26 #include "ns3/ie-dot11s-beacon-timing.h"
27 #include "ns3/ie-dot11s-configuration.h"
28 #include "ns3/ie-dot11s-id.h"
29 #include "ns3/ie-dot11s-metric-report.h"
30 #include "ns3/ie-dot11s-peer-management.h"
31 #include "ns3/ie-dot11s-peering-protocol.h"
32 #include "ns3/ie-dot11s-perr.h"
33 #include "ns3/ie-dot11s-prep.h"
34 #include "ns3/ie-dot11s-preq.h"
35 #include "ns3/ie-dot11s-rann.h"
53 static TypeId tid =
TypeId (
"ns3::MeshInformationElementVector")
55 .SetGroupName (
"Mesh")
71 uint8_t length = i.
ReadU8 ();
76 newElement = Create<dot11s::IeConfiguration> ();
79 newElement = Create<dot11s::IeMeshId> ();
82 newElement = Create<dot11s::IeLinkMetricReport> ();
85 newElement = Create<dot11s::IePeerManagement> ();
88 newElement = Create<dot11s::IeBeaconTiming> ();
91 newElement = Create<dot11s::IeRann> ();
94 newElement = Create<dot11s::IePreq> ();
97 newElement = Create<dot11s::IePrep> ();
100 newElement = Create<dot11s::IePerr> ();
103 newElement = Create<dot11s::IePeeringProtocol> ();
iterator in a Buffer instance
void Next(void)
go forward by one byte
void Prev(void)
go backward by one byte
uint32_t GetDistanceFrom(Iterator const &o) const
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
#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.
Every class exported by the ns3 library is enclosed in the ns3 namespace.