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::EventIdgetExpirationEvent () 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 37 of file route.hpp.

Constructor & Destructor Documentation

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

Definition at line 40 of file route.hpp.

References operator==().

Member Function Documentation

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().

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

Definition at line 55 of file route.hpp.

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

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

Definition at line 61 of file route.hpp.

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

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

Definition at line 73 of file route.hpp.

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

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

Member Data Documentation

uint64_t nfd::rib::Route::origin

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