#include <dsr-rcache.h>
 Collaboration diagram for ns3::dsr::RouteCacheEntry:Public Types | |
| typedef std::vector< Ipv4Address > | IP_VECTOR | 
| Define the vector to hold Ip address.  More... | |
| typedef std::vector < Ipv4Address >::iterator  | Iterator | 
| Define the iterator.  More... | |
Public Member Functions | |
| RouteCacheEntry (IP_VECTOR const &ip=IP_VECTOR(), Ipv4Address dst=Ipv4Address(), Time exp=Simulator::Now()) | |
| Constructor.  More... | |
| virtual | ~RouteCacheEntry () | 
| Destructor.  More... | |
| void | Invalidate (Time badLinkLifetime) | 
| bool | operator== (RouteCacheEntry const &o) const | 
| Compare the route cache entry.  More... | |
| void | Print (std::ostream &os) const | 
| Print necessary fields.  More... | |
| void | SetUnidirectional (bool u) | 
| bool | IsUnidirectional () const | 
| void | SetBlacklistTimeout (Time t) | 
| Time | GetBlacklistTimeout () const | 
| Ipv4Address | GetDestination () const | 
| void | SetDestination (Ipv4Address d) | 
| IP_VECTOR | GetVector () const | 
| void | SetVector (IP_VECTOR v) | 
| void | SetExpireTime (Time exp) | 
| Time | GetExpireTime () const | 
Private Attributes | |
| Timer | m_ackTimer | 
| RREP_ACK timer.  More... | |
| bool | m_blackListState | 
| Indicate if this entry is in "blacklist".  More... | |
| Time | m_blackListTimeout | 
| Time for which the node is put into the blacklist.  More... | |
| Ipv4Address | m_dst | 
| The destination Ip address.  More... | |
| Time | m_expire | 
| Expire time for queue entry.  More... | |
| Ipv4InterfaceAddress | m_iface | 
| Output interface address.  More... | |
| Ptr< Ipv4 > | m_ipv4 | 
| The Ipv4 layer 3.  More... | |
| Ptr< Ipv4Route > | m_ipv4Route | 
| The Ipv4 route.  More... | |
| IP_VECTOR | m_path | 
| brief The IP address constructed route  More... | |
| uint8_t | m_reqCount | 
| Number of route requests.  More... | |
Definition at line 180 of file dsr-rcache.h.
| typedef std::vector<Ipv4Address> ns3::dsr::RouteCacheEntry::IP_VECTOR | 
Define the vector to hold Ip address.
Definition at line 183 of file dsr-rcache.h.
| typedef std::vector<Ipv4Address>::iterator ns3::dsr::RouteCacheEntry::Iterator | 
Define the iterator.
Definition at line 184 of file dsr-rcache.h.
| ns3::dsr::RouteCacheEntry::RouteCacheEntry | ( | IP_VECTOR const & | ip = IP_VECTOR (),  | 
        
| Ipv4Address | dst = Ipv4Address (),  | 
        ||
| Time | exp = Simulator::Now ()  | 
        ||
| ) | 
Constructor.
Definition at line 105 of file dsr-rcache.cc.
      
  | 
  virtual | 
Destructor.
Definition at line 116 of file dsr-rcache.cc.
      
  | 
  inline | 
Definition at line 210 of file dsr-rcache.h.
References m_blackListTimeout.
      
  | 
  inline | 
Definition at line 214 of file dsr-rcache.h.
References m_dst.
Referenced by ns3::dsr::RouteCache::AddRoute(), ns3::dsr::DsrCacheEntryTest::DoRun(), and ns3::dsr::RouteCache::FindSameRoute().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 234 of file dsr-rcache.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::dsr::RouteCache::AddRoute(), ns3::dsr::CompareRoutesBoth(), ns3::dsr::CompareRoutesExpire(), ns3::dsr::DsrCacheEntryTest::DoRun(), and ns3::dsr::RouteCache::FindSameRoute().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 222 of file dsr-rcache.h.
References m_path.
Referenced by ns3::dsr::DsrRouting::AddRoute(), ns3::dsr::RouteCache::AddRoute(), ns3::dsr::DsrRouting::CheckSendBuffer(), ns3::dsr::CompareRoutesBoth(), ns3::dsr::CompareRoutesHops(), ns3::dsr::DsrCacheEntryTest::DoRun(), ns3::dsr::RouteCache::FindSameRoute(), ns3::dsr::RouteCache::LookupRoute_Link(), ns3::dsr::DsrRouting::PacketNewRoute(), ns3::dsr::DsrOptionRreq::Process(), ns3::dsr::DsrRouting::RouteRequestTimerExpire(), ns3::dsr::DsrRouting::SalvagePacket(), ns3::dsr::DsrRouting::Send(), ns3::dsr::DsrRouting::SendRerrWhenBreaksLinkToNextHop(), and ns3::dsr::DsrRouting::SendUnreachError().
 Here is the caller graph for this function:| void ns3::dsr::RouteCacheEntry::Invalidate | ( | Time | badLinkLifetime | ) | 
Definition at line 121 of file dsr-rcache.cc.
References m_expire, m_reqCount, and ns3::Simulator::Now().
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 202 of file dsr-rcache.h.
References m_blackListState.
      
  | 
  inline | 
| void ns3::dsr::RouteCacheEntry::Print | ( | std::ostream & | os | ) | const | 
Print necessary fields.
Definition at line 128 of file dsr-rcache.cc.
References m_dst, m_expire, and ns3::Simulator::Now().
 Here is the call graph for this function:
      
  | 
  inline | 
Definition at line 206 of file dsr-rcache.h.
References m_blackListTimeout.
      
  | 
  inline | 
Definition at line 218 of file dsr-rcache.h.
References m_dst.
Referenced by ns3::dsr::RouteCache::DeleteAllRoutesIncludeLink(), ns3::dsr::DsrCacheEntryTest::DoRun(), ns3::dsr::RouteCache::LookupRoute(), and ns3::dsr::RouteCache::LookupRoute_Link().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 230 of file dsr-rcache.h.
References m_expire, and ns3::Simulator::Now().
Referenced by ns3::dsr::RouteCache::DeleteAllRoutesIncludeLink(), ns3::dsr::DsrCacheEntryTest::DoRun(), ns3::dsr::RouteCache::LookupRoute(), ns3::dsr::RouteCache::LookupRoute_Link(), and ns3::dsr::RouteCache::UpdateRouteEntry().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 198 of file dsr-rcache.h.
References m_blackListState.
      
  | 
  inline | 
Definition at line 226 of file dsr-rcache.h.
References m_path.
Referenced by ns3::dsr::RouteCache::DeleteAllRoutesIncludeLink(), ns3::dsr::DsrCacheEntryTest::DoRun(), ns3::dsr::RouteCache::LookupRoute(), and ns3::dsr::RouteCache::LookupRoute_Link().
 Here is the caller graph for this function:
      
  | 
  private | 
RREP_ACK timer.
Definition at line 280 of file dsr-rcache.h.
      
  | 
  private | 
Indicate if this entry is in "blacklist".
Definition at line 292 of file dsr-rcache.h.
Referenced by IsUnidirectional(), and SetUnidirectional().
      
  | 
  private | 
Time for which the node is put into the blacklist.
Definition at line 294 of file dsr-rcache.h.
Referenced by GetBlacklistTimeout(), and SetBlacklistTimeout().
      
  | 
  private | 
The destination Ip address.
Definition at line 282 of file dsr-rcache.h.
Referenced by GetDestination(), Print(), and SetDestination().
      
  | 
  private | 
Expire time for queue entry.
Definition at line 286 of file dsr-rcache.h.
Referenced by GetExpireTime(), Invalidate(), Print(), and SetExpireTime().
      
  | 
  private | 
Output interface address.
Definition at line 288 of file dsr-rcache.h.
The Ipv4 layer 3.
Definition at line 298 of file dsr-rcache.h.
The Ipv4 route.
Definition at line 296 of file dsr-rcache.h.
      
  | 
  private | 
brief The IP address constructed route
Definition at line 284 of file dsr-rcache.h.
Referenced by GetVector(), operator==(), and SetVector().
      
  | 
  private |