44 static TypeId tid =
TypeId (
"ns3::WifiInformationElementVector")
46 .SetGroupName (
"Wifi")
75 NS_FATAL_ERROR (
"This variant should not be called on a variable-sized header");
82 uint32_t size =
start.GetDistanceFrom (end);
83 uint32_t remaining = size;
87 start.Next (deserialized);
89 remaining -= deserialized;
108 NS_FATAL_ERROR (
"Information element " << +
id <<
" is not implemented");
162 if ((*i)->ElementId () ==
id)
176 size += ((*i)->GetInformationFieldSize () + 2);
196 WifiInformationElementVector::IE_VECTOR::const_iterator j = a.
m_elements.begin ();
197 for (WifiInformationElementVector::IE_VECTOR::const_iterator i =
m_elements.begin (); i
200 if (!(*(*i) == *(*j)))
iterator in a Buffer instance
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.
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.