21 #ifndef PERR_INFORMATION_ELEMENT_H
22 #define PERR_INFORMATION_ELEMENT_H
24 #include "ns3/mac48-address.h"
25 #include "ns3/mesh-information-element-vector.h"
26 #include "ns3/hwmp-protocol.h"
71 virtual void Print (std::ostream& os)
const;
iterator in a Buffer instance
See 7.3.2.98 of 802.11s draft 2.07.
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)
void DeleteAddressUnit(Mac48Address address)
Delete address unit function.
bool IsFull() const
Is full function.
friend bool operator==(const IePerr &a, const IePerr &b)
equality operator
virtual void Print(std::ostream &os) const
Generate human-readable form of IE.
void ResetPerr()
Reset PERR.
void AddAddressUnit(HwmpProtocol::FailedDestination unit)
Add address unit function.
virtual WifiInformationElementId ElementId() const
uint8_t GetNumOfDest() const
Get number of destination function.
std::vector< HwmpProtocol::FailedDestination > GetAddressUnitVector() const
Get address unit vector function.
virtual uint8_t GetInformationFieldSize() const
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...
virtual void SerializeInformationField(Buffer::Iterator i) const
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
std::vector< HwmpProtocol::FailedDestination > m_addressUnits
address units
bool operator==(const MeshHeader &a, const MeshHeader &b)
std::ostream & operator<<(std::ostream &os, const IeBeaconTiming &a)
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.
structure of unreachable destination - address and sequence number