Route lookup result, return type of LookupXXX methods. More...
#include "hwmp-rtable.h"
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)) | |
Lookup result function. | |
bool | IsValid () const |
bool | operator== (const LookupResult &o) const |
Compare route lookup results, used by tests. | |
Public Attributes | |
uint32_t | ifIndex |
IF index. | |
Time | lifetime |
lifetime | |
uint32_t | metric |
metric | |
Mac48Address | retransmitter |
retransmitter | |
uint32_t | seqnum |
sequence number | |
Route lookup result, return type of LookupXXX methods.
Definition at line 37 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) ) |
Lookup result function.
r | the result address |
i | the interface |
m | the metric |
s | the sequence number |
l | the lifetime |
Definition at line 271 of file hwmp-rtable.cc.
bool ns3::dot11s::HwmpRtable::LookupResult::IsValid | ( | ) | const |
Definition at line 281 of file hwmp-rtable.cc.
References ns3::Mac48Address::GetBroadcast(), ns3::dot11s::HwmpRtable::INTERFACE_ANY, and ns3::dot11s::HwmpRtable::MAX_METRIC.
bool ns3::dot11s::HwmpRtable::LookupResult::operator== | ( | const LookupResult & | o | ) | const |
Compare route lookup results, used by tests.
o | the lookup result to compare |
Definition at line 265 of file hwmp-rtable.cc.
References ifIndex, metric, retransmitter, and seqnum.
uint32_t ns3::dot11s::HwmpRtable::LookupResult::ifIndex |
IF index.
Definition at line 40 of file hwmp-rtable.h.
Referenced by ns3::dot11s::HwmpProtocol::ForwardUnicast(), operator==(), ns3::dot11s::HwmpProtocol::ProactivePathResolved(), ns3::dot11s::HwmpProtocol::ReactivePathResolved(), ns3::dot11s::HwmpProtocol::ReceivePerr(), and ns3::dot11s::HwmpProtocol::ReceivePrep().
Time ns3::dot11s::HwmpRtable::LookupResult::lifetime |
lifetime
Definition at line 43 of file hwmp-rtable.h.
Referenced by ns3::dot11s::HwmpProtocol::ReceivePrep(), and ns3::dot11s::HwmpProtocol::ReceivePreq().
uint32_t ns3::dot11s::HwmpRtable::LookupResult::metric |
metric
Definition at line 41 of file hwmp-rtable.h.
Referenced by operator==(), and ns3::dot11s::HwmpProtocol::ReceivePreq().
Mac48Address ns3::dot11s::HwmpRtable::LookupResult::retransmitter |
retransmitter
Definition at line 39 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::ReceivePrep(), ns3::dot11s::HwmpProtocol::ReceivePreq(), and ns3::dot11s::HwmpProtocol::RetryPathDiscovery().
uint32_t ns3::dot11s::HwmpRtable::LookupResult::seqnum |
sequence number
Definition at line 42 of file hwmp-rtable.h.
Referenced by ns3::dot11s::HwmpProtocol::ForwardUnicast(), operator==(), ns3::dot11s::HwmpProtocol::ReceivePerr(), and ns3::dot11s::HwmpProtocol::ReceivePreq().