represents a route for a name prefix More...
#include <route.hpp>
Public Member Functions | |
Route () | |
void | setExpirationEvent (const scheduler::EventId eid) |
const scheduler::EventId & | getExpirationEvent () const |
std::underlying_type< ndn::nfd::RouteFlags >::type | getFlags () const |
Public Member Functions inherited from ndn::nfd::RouteFlagsTraits< Route > | |
bool | isChildInherit () const |
bool | isRibCapture () const |
Public Attributes | |
uint64_t | faceId |
ndn::nfd::RouteOrigin | origin |
uint64_t | cost |
std::underlying_type< ndn::nfd::RouteFlags >::type | flags |
ndn::optional< time::steady_clock::TimePoint > | expires |
Additional Inherited Members | |
Protected Member Functions inherited from ndn::nfd::RouteFlagsTraits< Route > | |
RouteFlagsTraits ()=default | |
|
inline |
Definition at line 45 of file route.hpp.
Referenced by nfd::rib::RibManager::onRibUpdateFailure().
|
inline |
Definition at line 51 of file route.hpp.
Referenced by nfd::rib::Rib::insert().
|
inline |
uint64_t nfd::rib::Route::faceId |
Definition at line 63 of file route.hpp.
Referenced by nfd::rib::RibUpdateBatch::add(), nfd::rib::Rib::beginRemoveFace(), nfd::rib::compareFaceId(), nfd::rib::compareFaceIdAndOrigin(), nfd::rib::FibUpdater::computeAndSendFibUpdates(), nfd::rib::RibEntry::findInheritedRoute(), nfd::rib::Rib::insert(), nfd::rib::Rib::onFibUpdateFailure(), nfd::rib::RibManager::onRibUpdateFailure(), nfd::rib::operator<<(), nfd::rib::operator==(), nfd::rib::RibEntry::removeInheritedRoute(), and nfd::rib::sortRoutes().
ndn::nfd::RouteOrigin nfd::rib::Route::origin |
Definition at line 64 of file route.hpp.
Referenced by nfd::rib::compareFaceIdAndOrigin(), nfd::rib::RibManager::onRibUpdateFailure(), nfd::rib::operator<<(), and nfd::rib::operator==().
uint64_t nfd::rib::Route::cost |
Definition at line 65 of file route.hpp.
Referenced by nfd::rib::FibUpdater::computeAndSendFibUpdates(), nfd::rib::RibEntry::getRouteWithLowestCostAndChildInheritByFaceId(), nfd::rib::RibEntry::getRouteWithLowestCostByFaceId(), nfd::rib::RibEntry::getRouteWithSecondLowestCostByFaceId(), nfd::rib::Rib::insert(), nfd::rib::RibManager::onRibUpdateFailure(), nfd::rib::operator<<(), and nfd::rib::operator==().
std::underlying_type<ndn::nfd::RouteFlags>::type nfd::rib::Route::flags |
Definition at line 66 of file route.hpp.
Referenced by nfd::rib::FibUpdater::computeAndSendFibUpdates(), getFlags(), nfd::rib::Rib::insert(), nfd::rib::RibEntry::insertRoute(), nfd::rib::RibManager::onRibUpdateFailure(), nfd::rib::operator<<(), and nfd::rib::operator==().
ndn::optional<time::steady_clock::TimePoint> nfd::rib::Route::expires |
Definition at line 67 of file route.hpp.
Referenced by nfd::rib::FibUpdater::computeAndSendFibUpdates(), nfd::rib::Rib::insert(), nfd::rib::RibManager::onRibUpdateFailure(), nfd::rib::operator<<(), and nfd::rib::operator==().