A Discrete-Event Network Simulator
API
ns3::dsr::CloseNeighbor Struct Reference

CloseNeighbor structure. More...

Public Member Functions

bool operator() (const DsrRouteCache::Neighbor &nb) const
 Check if the entry is expired. More...
 

Detailed Description

CloseNeighbor structure.

Definition at line 1165 of file dsr-rcache.cc.

Member Function Documentation

◆ operator()()

bool ns3::dsr::CloseNeighbor::operator() ( const DsrRouteCache::Neighbor nb) const
inline

Check if the entry is expired.

Parameters
nbDsrRouteCache::Neighbor entry
Returns
true if expired or closed, false otherwise

Definition at line 1173 of file dsr-rcache.cc.

References ns3::dsr::DsrRouteCache::Neighbor::close, ns3::dsr::DsrRouteCache::Neighbor::m_expireTime, and ns3::Simulator::Now().

+ Here is the call graph for this function:

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