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

IsExpired structure. More...

Public Member Functions

bool operator() (const DsrErrorBuffEntry &e) const
 comparison operator
 
bool operator() (const DsrMaintainBuffEntry &e) const
 comparison operator
 
bool operator() (const DsrPassiveBuffEntry &e) const
 Check for an expired entry.
 
bool operator() (const DsrSendBuffEntry &e) const
 comparison operator
 

Detailed Description

IsExpired structure.

Definition at line 135 of file dsr-rsendbuff.cc.

Member Function Documentation

◆ operator()() [1/4]

bool ns3::dsr::IsExpired::operator() ( const DsrErrorBuffEntry & e) const
inline

comparison operator

Parameters
eentry to compare
Returns
true if entry expired

Definition at line 153 of file dsr-errorbuff.cc.

References ns3::dsr::DsrErrorBuffEntry::GetExpireTime(), and ns3::Seconds().

+ Here is the call graph for this function:

◆ operator()() [2/4]

bool ns3::dsr::IsExpired::operator() ( const DsrMaintainBuffEntry & e) const
inline

comparison operator

Parameters
emaintain buffer entry
Returns
true if the entry is expired

Definition at line 228 of file dsr-maintain-buff.cc.

References ns3::dsr::DsrMaintainBuffEntry::GetExpireTime(), and ns3::Seconds().

+ Here is the call graph for this function:

◆ operator()() [3/4]

bool ns3::dsr::IsExpired::operator() ( const DsrPassiveBuffEntry & e) const
inline

Check for an expired entry.

Parameters
epassive buffer entry
Returns
true if equal

Definition at line 182 of file dsr-passive-buff.cc.

References ns3::dsr::DsrPassiveBuffEntry::GetExpireTime(), and ns3::Seconds().

+ Here is the call graph for this function:

◆ operator()() [4/4]

bool ns3::dsr::IsExpired::operator() ( const DsrSendBuffEntry & e) const
inline

comparison operator

Parameters
eentry to compare
Returns
true if expired

Definition at line 142 of file dsr-rsendbuff.cc.

References ns3::dsr::DsrSendBuffEntry::GetExpireTime(), and ns3::Seconds().

+ Here is the call graph for this function:

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