23 #include "ns3/packet.h" 
   28   acceptPeerLinks (true), MCCASupported (false), MCCAEnabled (false), forwarding (true), beaconTimingReport (
 
   29     true), TBTTAdjustment (true), powerSaveLevel (false)
 
   93   uint16_t mask = 1 << n;
 
  161   os << std::endl << 
"<information_element id=" << 
ElementId () << 
">" << std::endl;
 
  162   os << 
"Number of neighbors:               = " << (uint16_t) 
m_neighbors 
  163      << std::endl << 
"Active Path Selection Protocol ID: = " << (uint32_t) 
m_APSPId 
  164      << std::endl << 
"Active Path Selection Metric ID:   = " << (uint32_t) 
m_APSMId 
  165      << std::endl << 
"Congestion Control Mode ID:        = " << (uint32_t) 
m_CCMId 
  166      << std::endl << 
"Synchronize protocol ID:           = " << (uint32_t) 
m_SPId 
  167      << std::endl << 
"Authentication protocol ID:        = " << (uint32_t) 
m_APId 
  169   os << 
"</information_element>" << std::endl;
 
uint8_t GetSerializedSize() const 
dot11sAuthenticationProtocol m_APId
Auth protocol ID. 
virtual void SerializeInformationField(Buffer::Iterator i) const 
Serialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
virtual uint8_t DeserializeInformationField(Buffer::Iterator i, uint8_t length)
Deserialize information (i.e., the body of the IE, not including the Element ID and length octets) ...
dot11sPathSelectionProtocol
See 7.3.2.86.1 in 802.11s draft 3.0. 
virtual WifiInformationElementId ElementId() const 
Own unique Element ID. 
Buffer::Iterator Serialize(Buffer::Iterator i) const 
dot11sPathSelectionMetric m_APSMId
Active Path Metric ID. 
bool operator==(const MeshHeader &a, const MeshHeader &b)
uint32_t GetDistanceFrom(Iterator const &o) const 
#define NS_FATAL_ERROR(msg)
fatal error handling 
iterator in a Buffer instance 
dot11sSynchronizationProtocolIdentifier
See 7.3.2.86.4 in 802.11s draft 3.0. 
dot11sPathSelectionProtocol m_APSPId
Active Path Selection Protocol ID. 
dot11sCongestionControlMode m_CCMId
Congestion Control Mode ID. 
dot11sPathSelectionMetric
See 7.3.2.86.2 in 802.11s draft 3.0. 
virtual void Print(std::ostream &os) const 
In addition, a subclass may optionally override the following... 
See 7.3.2.86.7 in 802.11s draft 3.0. 
bool Is(uint16_t cap, uint8_t n) const 
Dot11sMeshCapability const & MeshCapability()
void WriteHtolsbU16(uint16_t data)
void SetMetric(dot11sPathSelectionMetric metricId)
uint8_t GetNeighborCount()
void WriteU8(uint8_t data)
dot11sSynchronizationProtocolIdentifier m_SPId
Sync protocol ID. 
Describes Mesh Configuration Element see 7.3.2.86 of 802.11s draft 3.0. 
void SetNeighborCount(uint8_t neighbors)
Dot11sMeshCapability m_meshCap
uint16_t ReadLsbtohU16(void)
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID. 
dot11sAuthenticationProtocol
See 7.3.2.86.5 in 802.11s draft 3.0. 
Buffer::Iterator Deserialize(Buffer::Iterator i)
std::ostream & operator<<(std::ostream &os, const IeBeaconTiming &a)
void SetRouting(dot11sPathSelectionProtocol routingId)
uint32_t ReadLsbtohU32(void)
uint16_t GetUint16() const 
dot11sCongestionControlMode
See 7.3.2.86.3 in 802.11s draft 3.0. 
void WriteHtolsbU32(uint32_t data)
virtual uint8_t GetInformationFieldSize() const 
Length of serialized information (i.e., the length of the body of the IE, not including the Element I...