NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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 37 of file route.hpp.

Constructor & Destructor Documentation

◆ Route()

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

Definition at line 40 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)

Definition at line 55 of file route.hpp.

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

◆ getExpirationEvent()

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

Definition at line 61 of file route.hpp.

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

◆ isChildInherit()

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

◆ isCapture()

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

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

◆ faceId

◆ origin

uint64_t nfd::rib::Route::origin

◆ flags

◆ cost

◆ expires

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