ns3::Ssid Class Reference

a IEEE 802.11 SSID More...

#include <ssid.h>

List of all members.

Public Member Functions

 Ssid ()
 Ssid (std::string s)
 Ssid (char const ssid[32], uint8_t length)
bool IsEqual (Ssid const &o) const
bool IsBroadcast (void) const
uint32_t GetLength (void) const
char * PeekString (void) const
uint32_t GetSerializedSize (void) const
Buffer::Iterator Serialize (Buffer::Iterator i) const
Buffer::Iterator Deserialize (Buffer::Iterator i)

Private Attributes

uint8_t m_ssid [33]
uint8_t m_length

Detailed Description

a IEEE 802.11 SSID

Definition at line 33 of file ssid.h.


Constructor & Destructor Documentation

ns3::Ssid::Ssid (  ) 

Definition at line 27 of file ssid.cc.

References m_length, and m_ssid.

ns3::Ssid::Ssid ( std::string  s  ) 

Definition at line 35 of file ssid.cc.

References m_length, m_ssid, and NS_ASSERT.

ns3::Ssid::Ssid ( char const   ssid[32],
uint8_t  length 
)

Definition at line 54 of file ssid.cc.

References m_length, m_ssid, and NS_ASSERT.


Member Function Documentation

Buffer::Iterator ns3::Ssid::Deserialize ( Buffer::Iterator  i  ) 
uint32_t ns3::Ssid::GetLength ( void   )  const

Definition at line 96 of file ssid.cc.

References m_ssid, and NS_ASSERT.

uint32_t ns3::Ssid::GetSerializedSize ( void   )  const

Definition at line 116 of file ssid.cc.

References m_length.

bool ns3::Ssid::IsBroadcast ( void   )  const

Definition at line 87 of file ssid.cc.

References m_ssid.

bool ns3::Ssid::IsEqual ( Ssid const &  o  )  const

Definition at line 71 of file ssid.cc.

References m_ssid.

Referenced by ns3::NqstaWifiMac::Receive().

char * ns3::Ssid::PeekString ( void   )  const

Definition at line 108 of file ssid.cc.

References m_ssid.

Buffer::Iterator ns3::Ssid::Serialize ( Buffer::Iterator  i  )  const

Member Data Documentation

uint8_t ns3::Ssid::m_length [private]

Definition at line 53 of file ssid.h.

Referenced by Deserialize(), GetSerializedSize(), Serialize(), and Ssid().

uint8_t ns3::Ssid::m_ssid[33] [private]

Definition at line 52 of file ssid.h.

Referenced by Deserialize(), GetLength(), IsBroadcast(), IsEqual(), PeekString(), Serialize(), and Ssid().


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:11:23 2009 for NS-3 by  doxygen 1.6.3