28 for (uint8_t i = 0; i < 33; i++)
37 const char *
ssid = s.c_str ();
39 while (*
ssid != 0 && len < 32)
123 os <<
ssid.PeekString ();
iterator in a Buffer instance
The IEEE 802.11 SSID Information Element.
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
char * PeekString(void) const
Peek the SSID.
uint8_t DeserializeInformationField(Buffer::Iterator start, uint8_t length) override
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
uint8_t GetInformationFieldSize() const override
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
uint8_t m_ssid[33]
Raw SSID value.
Ssid()
Create SSID with broadcast SSID.
bool IsBroadcast(void) const
Check if the SSID is broadcast.
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,...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
ATTRIBUTE_HELPER_CPP(Length)
std::istream & operator>>(std::istream &is, Angles &a)
std::ostream & operator<<(std::ostream &os, const Angles &a)
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.