22 #include "ns3/assert.h"
29 for (uint8_t i = 0; i < 32; i++)
37 const char *meshid = s.c_str ();
39 while (*meshid != 0 && len < 32)
89 while (
m_meshId[size] != 0 && size < 32)
100 while (
m_meshId[size] != 0 && size < 32)
118 os <<
"MeshId=(meshId=" <<
PeekString () <<
")";
char * PeekString(void) const
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
ATTRIBUTE_HELPER_CPP(IeMeshId)
a IEEE 802.11s Mesh ID 7.3.287 of 802.11s draft 3.0
bool operator==(const MeshHeader &a, const MeshHeader &b)
uint32_t GetDistanceFrom(Iterator const &o) const
iterator in a Buffer instance
virtual void Print(std::ostream &os) const
Generate human-readable form of IE.
virtual uint8_t DeserializeInformationField(Buffer::Iterator start, uint8_t length)
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
virtual WifiInformationElementId ElementId() const
Own unique Element ID.
virtual void SerializeInformationField(Buffer::Iterator i) const
Serialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
virtual uint8_t GetInformationFieldSize() const
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
void Read(uint8_t *buffer, uint32_t size)
void WriteU8(uint8_t data)
bool IsBroadcast(void) const
bool IsEqual(IeMeshId const &o) const
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
std::ostream & operator<<(std::ostream &os, const IeBeaconTiming &a)
std::istream & operator>>(std::istream &is, IeMeshId &a)