Route lookup result, return type of LookupXXX methods. More...
#include "hwmp-rtable.h"
Collaboration diagram for ns3::dot11s::HwmpRtable::LookupResult:Public Member Functions | |
| LookupResult (Mac48Address r=Mac48Address::GetBroadcast(), uint32_t i=INTERFACE_ANY, uint32_t m=MAX_METRIC, uint32_t s=0, Time l=Seconds(0.0)) | |
| bool | IsValid () const |
| True for valid route. More... | |
| bool | operator== (const LookupResult &o) const |
| Compare route lookup results, used by tests. More... | |
Public Attributes | |
| uint32_t | ifIndex |
| Time | lifetime |
| uint32_t | metric |
| Mac48Address | retransmitter |
| uint32_t | seqnum |
Route lookup result, return type of LookupXXX methods.
Definition at line 44 of file hwmp-rtable.h.
| ns3::dot11s::HwmpRtable::LookupResult::LookupResult | ( | Mac48Address | r = Mac48Address::GetBroadcast (), |
| uint32_t | i = INTERFACE_ANY, |
||
| uint32_t | m = MAX_METRIC, |
||
| uint32_t | s = 0, |
||
| Time | l = Seconds (0.0) |
||
| ) |
Definition at line 234 of file hwmp-rtable.cc.
| bool ns3::dot11s::HwmpRtable::LookupResult::IsValid | ( | ) | const |
True for valid route.
Definition at line 239 of file hwmp-rtable.cc.
References ns3::Mac48Address::GetBroadcast(), ns3::dot11s::HwmpRtable::INTERFACE_ANY, and ns3::dot11s::HwmpRtable::MAX_METRIC.
Referenced by HwmpRtableTest::TestExpire(), and HwmpRtableTest::TestLookup().
Here is the call graph for this function:
Here is the caller graph for this function:| bool ns3::dot11s::HwmpRtable::LookupResult::operator== | ( | const LookupResult & | o | ) | const |
Compare route lookup results, used by tests.
Definition at line 229 of file hwmp-rtable.cc.
References ifIndex, metric, retransmitter, and seqnum.
| uint32_t ns3::dot11s::HwmpRtable::LookupResult::ifIndex |
Definition at line 47 of file hwmp-rtable.h.
Referenced by ns3::dot11s::HwmpProtocol::ForwardUnicast(), operator==(), ns3::dot11s::HwmpProtocol::ProactivePathResolved(), ns3::dot11s::HwmpProtocol::ReactivePathResolved(), and ns3::dot11s::HwmpProtocol::ReceivePerr().
| Time ns3::dot11s::HwmpRtable::LookupResult::lifetime |
Definition at line 50 of file hwmp-rtable.h.
Referenced by ns3::dot11s::HwmpProtocol::ReceivePreq().
| uint32_t ns3::dot11s::HwmpRtable::LookupResult::metric |
Definition at line 48 of file hwmp-rtable.h.
Referenced by operator==(), and ns3::dot11s::HwmpProtocol::ReceivePreq().
| Mac48Address ns3::dot11s::HwmpRtable::LookupResult::retransmitter |
Definition at line 46 of file hwmp-rtable.h.
Referenced by ns3::dot11s::HwmpProtocol::ForwardUnicast(), operator==(), ns3::dot11s::HwmpProtocol::ProactivePathResolved(), ns3::dot11s::HwmpProtocol::ReactivePathResolved(), ns3::dot11s::HwmpProtocol::ReceivePerr(), ns3::dot11s::HwmpProtocol::ReceivePreq(), and ns3::dot11s::HwmpProtocol::RetryPathDiscovery().
| uint32_t ns3::dot11s::HwmpRtable::LookupResult::seqnum |
Definition at line 49 of file hwmp-rtable.h.
Referenced by ns3::dot11s::HwmpProtocol::ForwardUnicast(), operator==(), ns3::dot11s::HwmpProtocol::ReceivePerr(), ns3::dot11s::HwmpProtocol::ReceivePreq(), and ns3::dot11s::HwmpProtocol::RetryPathDiscovery().