|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
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"
143 virtual void Print (std::ostream& os)
const;
uint32_t GetMetric() const
Get metric function.
uint32_t GetTtl() const
Get TTL function.
void DecrementTtl()
Decrement TTL function.
uint32_t GetDestinationSeqNumber() const
Get destination sequence number function.
bool operator==(const MeshHeader &a, const MeshHeader &b)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual WifiInformationElementId ElementId() const
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
void SetOriginatorAddress(Mac48Address originator_address)
Set originator address 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...
uint32_t m_originatorSeqNumber
originator sequence number
uint8_t GetFlags() const
Get flags function.
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)
virtual void Print(std::ostream &os) const
Generate human-readable form of IE.
void SetDestinationAddress(Mac48Address dest_address)
Set destination address function.
void SetDestinationSeqNumber(uint32_t dest_seq_number)
Set destination sequence number function.
void SetOriginatorSeqNumber(uint32_t originator_seq_number)
Set originator sequence number function.
Mac48Address m_destinationAddress
destination address
void IncrementMetric(uint32_t metric)
Increment metric function.
iterator in a Buffer instance
void SetFlags(uint8_t flags)
Set flags function.
uint32_t m_lifetime
lifetime
void SetHopcount(uint8_t hopcount)
Set hop count function.
uint32_t GetOriginatorSeqNumber() const
Get originator sequence number.
Mac48Address m_originatorAddress
originator address
void SetLifetime(uint32_t lifetime)
Set lifetime function.
Mac48Address GetOriginatorAddress() const
Get originator address function.
See 7.3.2.97 of 802.11s draft 2.07.
virtual void SerializeInformationField(Buffer::Iterator i) const
Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
uint32_t GetLifetime() const
Get lifetime function.
void SetMetric(uint32_t metric)
Set metric function.
uint32_t m_destSeqNumber
destination sequence number
void SetTtl(uint8_t ttl)
Set TTL function.
std::ostream & operator<<(std::ostream &os, const IeBeaconTiming &a)
Mac48Address GetDestinationAddress() const
Get destination address function.
uint8_t m_hopcount
hop count
friend bool operator==(const IePrep &a, const IePrep &b)
equality operator
uint8_t GetHopcount() const
Get hop count function.