INET Framework for OMNeT++/OMNEST
inet::aodv::Aodv::RreqIdentifierCompare Class Reference

#include <Aodv.h>

Public Member Functions

bool operator() (const RreqIdentifier &lhs, const RreqIdentifier &rhs) const
 

Member Function Documentation

◆ operator()()

bool inet::aodv::Aodv::RreqIdentifierCompare::operator() ( const RreqIdentifier lhs,
const RreqIdentifier rhs 
) const
inline
53  {
54  if (lhs.originatorAddr < rhs.originatorAddr)
55  return true;
56  else if (lhs.originatorAddr > rhs.originatorAddr)
57  return false;
58  else
59  return lhs.rreqID < rhs.rreqID;
60  }

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