A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::dsr::Link Struct Reference

DSR Route Cache Entry. 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
 

Detailed Description

DSR Route Cache Entry.

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  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Definition at line 86 of file dsr-rcache.h.


The documentation for this struct was generated from the following files: