21 #ifndef WIFI_PREP_INFORMATION_ELEMENT_H
22 #define WIFI_PREP_INFORMATION_ELEMENT_H
24 #include "ns3/mac48-address.h"
25 #include "ns3/mesh-information-element-vector.h"
68 virtual void Print (std::ostream& os)
const;
void SetDestinationAddress(Mac48Address dest_address)
uint32_t m_originatorSeqNumber
uint32_t GetDestinationSeqNumber() const
void IncrementMetric(uint32_t metric)
void SetOriginatorSeqNumber(uint32_t originator_seq_number)
virtual void Print(std::ostream &os) const
In addition, a subclass may optionally override the following...
See 7.3.2.97 of 802.11s draft 2.07.
Mac48Address GetDestinationAddress() const
void SetFlags(uint8_t flags)
virtual WifiInformationElementId ElementId() const
Own unique Element ID.
void SetOriginatorAddress(Mac48Address originator_address)
bool operator==(const MeshHeader &a, const MeshHeader &b)
iterator in a Buffer instance
Mac48Address GetOriginatorAddress() 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 SetLifetime(uint32_t lifetime)
uint8_t GetHopcount() const
void SetMetric(uint32_t metric)
uint32_t GetOriginatorSeqNumber() const
friend bool operator==(const IePrep &a, const IePrep &b)
Mac48Address m_destinationAddress
Mac48Address m_originatorAddress
uint32_t GetLifetime() const
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
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) ...
uint32_t GetMetric() const
void SetDestinationSeqNumber(uint32_t dest_seq_number)
void SetHopcount(uint8_t hopcount)
std::ostream & operator<<(std::ostream &os, const IeBeaconTiming &a)
virtual void SerializeInformationField(Buffer::Iterator i) const
Serialize information (i.e., the body of the IE, not including the Element ID and length octets) ...