A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::dsr::CloseNeighbor Struct Reference

CloseNeighbor structure. More...

Public Member Functions

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

Detailed Description

CloseNeighbor structure.

Definition at line 1151 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 1159 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: