NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::rib::Route Class Reference

represents a route for a name prefix More...

#include <route.hpp>

Public Member Functions

 Route ()
 
bool operator== (const Route &other) const
 
void setExpirationEvent (const scheduler::EventId eid)
 
const scheduler::EventId & getExpirationEvent () const
 
bool isChildInherit () const
 
bool isCapture () const
 

Public Attributes

uint64_t faceId
 
uint64_t origin
 
uint64_t flags
 
uint64_t cost
 
time::steady_clock::TimePoint expires
 

Detailed Description

represents a route for a name prefix

Definition at line 38 of file route.hpp.

Constructor & Destructor Documentation

§ Route()

nfd::rib::Route::Route ( )
inline

Definition at line 41 of file route.hpp.

References operator==().

Member Function Documentation

§ operator==()

bool nfd::rib::Route::operator== ( const Route other) const

Definition at line 32 of file route.cpp.

References cost, expires, faceId, flags, and origin.

Referenced by Route().

§ setExpirationEvent()

void nfd::rib::Route::setExpirationEvent ( const scheduler::EventId  eid)
inline

Definition at line 56 of file route.hpp.

Referenced by nfd::rib::RibManager::setConfigFile().

§ getExpirationEvent()

const scheduler::EventId& nfd::rib::Route::getExpirationEvent ( ) const
inline

Definition at line 62 of file route.hpp.

Referenced by nfd::rib::Rib::insert().

§ isChildInherit()

bool nfd::rib::Route::isChildInherit ( ) const
inline

§ isCapture()

bool nfd::rib::Route::isCapture ( ) const
inline

Definition at line 74 of file route.hpp.

References flags, and ndn::nfd::ROUTE_FLAG_CAPTURE.

Referenced by nfd::rib::FibUpdater::computeAndSendFibUpdates().

Member Data Documentation

§ faceId

§ origin

uint64_t nfd::rib::Route::origin

§ flags

§ cost

§ expires


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