The route cache structure. More...
#include <dsr-rcache.h>
Public Member Functions | |
Link (Ipv4Address ip1, Ipv4Address ip2) | |
bool | operator< (Link const &L) const |
void | Print () const |
Public Attributes | |
Ipv4Address | m_high |
Ipv4Address | m_low |
The route cache structure.
+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+- | Destination Address |---------| Route Cache Entry | ---------- | IP_VECTOR | dst | exp time | +-+-+-+-+-+-+-+-+-+-+-+- Map +-+-+-+-+-+-+-+-+-+-+- Contains +-+-+-+-+-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+- | Route Cache Entry | ---------- | IP_VECTOR | dst | exp time | +-+-+-+-+-+-+-+-+-+-+- Contains +-+-+-+-+-+-+-+-+-+-+-+-+-+-+- . . . . . . . . +-+-+-+-+-+-+-+-+-+-+- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+- | Route Cache Entry | ---------- | IP_VECTOR | dst | exp time | +-+-+-+-+-+-+-+-+-+-+- Contains +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
DSR Route Cache Entry
Definition at line 86 of file dsr-rcache.h.
|
inline |
Definition at line 90 of file dsr-rcache.h.
|
inline |
Definition at line 103 of file dsr-rcache.h.
void ns3::dsr::Link::Print | ( | void | ) | const |
Definition at line 75 of file dsr-rcache.cc.
References m_high, m_low, and NS_LOG_DEBUG.
Referenced by ns3::dsr::RouteCache::AddRoute_Link().
Ipv4Address ns3::dsr::Link::m_high |
Definition at line 89 of file dsr-rcache.h.
Referenced by Link(), operator<(), and Print().
Ipv4Address ns3::dsr::Link::m_low |
Definition at line 88 of file dsr-rcache.h.
Referenced by Link(), operator<(), and Print().