25 #include "ns3/nstime.h"
26 #include "ns3/mac48-address.h"
27 #include "ns3/hwmp-protocol.h"
65 static TypeId GetTypeId ();
72 void AddReactivePath (
80 void AddProactivePath (
90 void DeleteProactivePath ();
125 std::vector<Precursor> precursors;
136 std::vector<Precursor> precursors;
ProactiveRoute m_root
Path to proactive tree root MP.
static const uint32_t MAX_METRIC
Maximum (the best?) path metric.
Route lookup result, return type of LookupXXX methods.
LookupResult LookupReactiveExpired(Mac48Address destination)
Return all reactive paths, including expired.
bool IsValid() const
True for valid route.
LookupResult LookupReactive(Mac48Address destination)
Lookup path to destination.
std::vector< std::pair< uint32_t, Mac48Address > > PrecursorList
Path precursor = {MAC, interface ID}.
Routing table for HWMP – 802.11s routing protocol.
Route fond in proactive mode.
std::vector< HwmpProtocol::FailedDestination > GetUnreachableDestinations(Mac48Address peerAddress)
When peer link with a given MAC-address fails - it returns list of unreachable destination addresses...
Route found in reactive mode.
static Mac48Address GetBroadcast(void)
LookupResult LookupProactiveExpired()
Return all proactive paths, including expired.
static const uint32_t INTERFACE_ANY
Means all interfaces.
bool operator==(const LookupResult &o) const
Compare route lookup results, used by tests.
std::map< Mac48Address, ReactiveRoute > m_routes
List of routes.
Time Seconds(double seconds)
create ns3::Time instances in units of seconds.
a base class which provides memory management and object aggregation
a unique identifier for an interface.
LookupResult LookupProactive()
Find proactive path to tree root. Note that calling this method has side effect of deleting expired p...