#include <mesh-information-element-vector.h>
Public Member Functions | |
virtual uint32_t | DeserializeSingleIe (Buffer::Iterator start) |
Needed when you try to deserialize a lonely IE inside other header. | |
![]() | |
WifiInformationElementVector () | |
~WifiInformationElementVector () | |
bool | AddInformationElement (Ptr< WifiInformationElement > element) |
add an IE, if maxSize has exceeded, returns false | |
Iterator | Begin () |
Returns Begin of the vector. | |
Iterator | End () |
Returns End of the vector. | |
Ptr< WifiInformationElement > | FindFirst (WifiInformationElementId id) const |
vector of pointers to information elements is the body of IeVector | |
virtual bool | operator== (const WifiInformationElementVector &a) const |
void | SetMaxSize (uint16_t size) |
Set maximum size to control overflow of the max packet length. | |
TypeId | GetInstanceTypeId () const |
virtual uint32_t | GetSerializedSize () const |
virtual void | Serialize (Buffer::Iterator start) const |
virtual uint32_t | Deserialize (Buffer::Iterator start) |
virtual void | Print (std::ostream &os) const |
![]() | |
virtual | ~Header () |
Additional Inherited Members | |
![]() | |
typedef std::vector< Ptr < WifiInformationElement > >::iterator | Iterator |
As soon as this is a vector, we define an Iterator. | |
![]() | |
static TypeId | GetTypeId () |
This method returns the TypeId associated to ns3::WifiInformationElementVector. | |
![]() | |
typedef std::vector< Ptr < WifiInformationElement > > | IE_VECTOR |
![]() | |
uint32_t | GetSize () const |
Current number of bytes. | |
![]() | |
IE_VECTOR | m_elements |
uint16_t | m_maxSize |
Size in bytes (actually, max packet length) |
Definition at line 30 of file mesh-information-element-vector.h.
|
virtual |
Needed when you try to deserialize a lonely IE inside other header.
start | is the start of the buffer |
Reimplemented from ns3::WifiInformationElementVector.
Definition at line 40 of file mesh-information-element-vector.cc.
References ns3::WifiInformationElement::DeserializeInformationField(), ns3::Buffer::Iterator::GetDistanceFrom(), ns3::WifiInformationElementVector::GetSize(), IE11S_BEACON_TIMING, IE11S_LINK_METRIC_REPORT, IE11S_MESH_CONFIGURATION, IE11S_MESH_ID, IE11S_MESH_PEERING_PROTOCOL_VERSION, IE11S_PEERING_MANAGEMENT, IE11S_PERR, IE11S_PREP, IE11S_PREQ, IE11S_RANN, ns3::WifiInformationElementVector::m_elements, ns3::WifiInformationElementVector::m_maxSize, ns3::Buffer::Iterator::Next(), NS_FATAL_ERROR, ns3::Buffer::Iterator::Prev(), ns3::Buffer::Iterator::ReadU8(), and visualizer.core::start().