|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
22 #include "ns3/address-utils.h"
23 #include "ns3/packet.h"
40 os <<
"PERR=(Number of failed destinations=" <<
m_addressUnits.size ();
43 os <<
"(Failed destination address=" <<
m_addressUnits[j].destination <<
", sequence number = "
72 uint8_t numOfDest = i.
ReadU8 ();
75 for (
unsigned int j = 0; j < numOfDest; j++)
124 std::vector<HwmpProtocol::FailedDestination>
132 for (std::vector<HwmpProtocol::FailedDestination>::iterator i =
m_addressUnits.begin (); i
void AddAddressUnit(HwmpProtocol::FailedDestination unit)
Add address unit function.
bool operator==(const MeshHeader &a, const MeshHeader &b)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint32_t GetDistanceFrom(Iterator const &o) const
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 WriteU8(uint8_t data)
virtual WifiInformationElementId ElementId() const
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
void Next(void)
go forward by one byte
void ResetPerr()
Reset PERR.
void WriteHtolsbU32(uint32_t data)
virtual void SerializeInformationField(Buffer::Iterator i) const
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
#define NS_ABORT_UNLESS(cond)
Abnormal program termination if a condition is false.
uint32_t ReadLsbtohU32(void)
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)
uint8_t GetNumOfDest() const
Get number of destination function.
uint32_t seqnum
sequence number
iterator in a Buffer instance
Mac48Address destination
destination address
std::vector< HwmpProtocol::FailedDestination > GetAddressUnitVector() const
Get address unit vector function.
void WriteTo(Buffer::Iterator &i, Ipv4Address ad)
Write an Ipv4Address to a Buffer.
std::vector< HwmpProtocol::FailedDestination > m_addressUnits
address units
bool IsFull() const
Is full function.
structure of unreachable destination - address and sequence number
See 7.3.2.98 of 802.11s draft 2.07.
std::ostream & operator<<(std::ostream &os, const IeBeaconTiming &a)
void DeleteAddressUnit(Mac48Address address)
Delete address unit function.
void ReadFrom(Buffer::Iterator &i, Ipv4Address &ad)
Read an Ipv4Address from a Buffer.