17 for (uint8_t i = 0; i < 33; i++)
26 const char* ssid = s.c_str();
28 while (*ssid != 0 && len < 32)
iterator in a Buffer instance
The IEEE 802.11 SSID Information Element.
uint16_t GetInformationFieldSize() const override
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
bool IsEqual(const Ssid &o) const
Check if the two SSIDs are equal.
uint8_t m_length
Length of the SSID.
WifiInformationElementId ElementId() const override
Get the wifi information element ID.
char * PeekString() const
Peek the SSID.
bool IsBroadcast() const
Check if the SSID is broadcast.
void Print(std::ostream &os) const override
Generate human-readable form of IE.
uint8_t m_ssid[33]
Raw SSID value.
uint16_t DeserializeInformationField(Buffer::Iterator start, uint16_t length) override
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
Ssid()
Create SSID with broadcast SSID.
void SerializeInformationField(Buffer::Iterator start) const override
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
#define ATTRIBUTE_HELPER_CPP(type)
Define the attribute value, accessor and checkers for class type
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::istream & operator>>(std::istream &is, Angles &a)
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.