25 #include "ns3/nstime.h" 26 #include "ns3/mac48-address.h" 27 #include "ns3/hwmp-protocol.h" Simulation virtual time values and global simulation resolution.
ProactiveRoute m_root
Path to proactive tree root MP.
std::vector< Precursor > precursors
precursors
static const uint32_t MAX_METRIC
Maximum (the best?) path metric.
Time whenExpire
expire time
Route lookup result, return type of LookupXXX methods.
uint32_t seqnum
sequence number
uint32_t ifIndex
IF index.
LookupResult LookupReactiveExpired(Mac48Address destination)
Return all reactive paths, including expired.
uint32_t interface
interface
void DoDispose()
Destructor implementation.
LookupResult LookupReactive(Mac48Address destination)
Lookup path to destination.
std::vector< std::pair< uint32_t, Mac48Address > > PrecursorList
Path precursor = {MAC, interface ID}.
uint32_t seqnum
sequence number
Routing table for HWMP – 802.11s routing protocol.
Route found 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...
PrecursorList GetPrecursors(Mac48Address destination)
Route found in reactive mode.
static Mac48Address GetBroadcast(void)
void AddPrecursor(Mac48Address destination, uint32_t precursorInterface, Mac48Address precursorAddress, Time lifetime)
LookupResult LookupProactiveExpired()
Return all proactive paths, including expired.
uint32_t interface
interface
bool operator==(const LookupResult &o) const
Compare route lookup results, used by tests.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
void AddReactivePath(Mac48Address destination, Mac48Address retransmitter, uint32_t interface, uint32_t metric, Time lifetime, uint32_t seqnum)
static const uint32_t INTERFACE_ANY
Means all interfaces.
std::map< Mac48Address, ReactiveRoute > m_routes
List of routes.
uint32_t seqnum
sequence number
static TypeId GetTypeId()
Get the type ID.
void DeleteProactivePath()
Mac48Address retransmitter
retransmitter
Mac48Address address
address
std::vector< Precursor > precursors
precursors
Time Seconds(double value)
Construct a Time in the indicated unit.
LookupResult(Mac48Address r=Mac48Address::GetBroadcast(), uint32_t i=INTERFACE_ANY, uint32_t m=MAX_METRIC, uint32_t s=0, Time l=Seconds(0.0))
Lookup result function.
Time whenExpire
expire time
void DeleteReactivePath(Mac48Address destination)
void AddProactivePath(uint32_t metric, Mac48Address root, Mac48Address retransmitter, uint32_t interface, Time lifetime, uint32_t seqnum)
A base class which provides memory management and object aggregation.
Mac48Address retransmitter
retransmitter
uint32_t interface
interface
a unique identifier for an interface.
Route found in reactive mode.
Time whenExpire
expire time
LookupResult LookupProactive()
Find proactive path to tree root. Note that calling this method has side effect of deleting expired p...
Mac48Address retransmitter
transmitter