Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes

ns3::dot11s::HwmpRtable Class Reference
[IEEE 802.11s draft]

Routing table for HWMP -- 802.11s routing protocol. More...

#include <hwmp-rtable.h>

Inheritance diagram for ns3::dot11s::HwmpRtable:
Inheritance graph
[legend]
Collaboration diagram for ns3::dot11s::HwmpRtable:
Collaboration graph
[legend]

List of all members.

Classes

struct  LookupResult
 Route lookup result, return type of LookupXXX methods. More...
struct  Precursor
 Route found in reactive mode.
struct  ProactiveRoute
 Route fond in proactive mode.
struct  ReactiveRoute

Public Types

typedef std::vector< std::pair
< uint32_t, Mac48Address > > 
PrecursorList
 Path precursor = {MAC, interface ID}.

Public Member Functions

void DoDispose ()
std::vector
< HwmpProtocol::FailedDestination
GetUnreachableDestinations (Mac48Address peerAddress)
 When peer link with a given MAC-address fails - it returns list of unreachable destination addresses.
Add/delete paths

void AddReactivePath (Mac48Address destination, Mac48Address retransmitter, uint32_t interface, uint32_t metric, Time lifetime, uint32_t seqnum)
void AddProactivePath (uint32_t metric, Mac48Address root, Mac48Address retransmitter, uint32_t interface, Time lifetime, uint32_t seqnum)
void AddPrecursor (Mac48Address destination, uint32_t precursorInterface, Mac48Address precursorAddress, Time lifetime)
PrecursorList GetPrecursors (Mac48Address destination)
void DeleteProactivePath ()
void DeleteProactivePath (Mac48Address root)
void DeleteReactivePath (Mac48Address destination)
Lookup

LookupResult LookupReactive (Mac48Address destination)
 Lookup path to destination.
LookupResult LookupReactiveExpired (Mac48Address destination)
 Return all reactive paths, including expired.
LookupResult LookupProactive ()
 Find proactive path to tree root. Note that calling this method has side effect of deleting expired proactive path.
LookupResult LookupProactiveExpired ()
 Return all proactive paths, including expired.

Static Public Member Functions

static TypeId GetTypeId ()
 This method returns the TypeId associated to ns3::dot11s::HwmpRtable.

Static Public Attributes

static const uint32_t INTERFACE_ANY = 0xffffffff
 Means all interfaces.
static const uint32_t MAX_METRIC = 0xffffffff
 Maximum (the best?) path metric.

Detailed Description

Routing table for HWMP -- 802.11s routing protocol.


Member Function Documentation

void ns3::dot11s::HwmpRtable::DoDispose (  )  [virtual]

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

It is safe to call GetObject from within this method.

Reimplemented from ns3::Object.

static TypeId ns3::dot11s::HwmpRtable::GetTypeId ( void   )  [static]

This method returns the TypeId associated to ns3::dot11s::HwmpRtable.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/LinkManager/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/SSManager/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/Classifier/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/NoiseModel/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/PropagationModel/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Mac/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Phy/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Transducer/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/LinkManager/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/SSManager/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/Classifier/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BandwidthManager/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BurstProfileManager/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/NoiseModel/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/PropagationModel/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/ConnectionManager/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/NoiseModel/$ns3::dot11s::HwmpRtable
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/PropagationModel/$ns3::dot11s::HwmpRtable

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::Object.


The documentation for this class was generated from the following files: