Classes | |
class | AutoPrefixPropagator |
provides automatic prefix propagation feature More... | |
class | FibUpdate |
represents a FIB update More... | |
class | FibUpdater |
computes FibUpdates based on updates to the RIB and sends them to NFD More... | |
class | Nrd |
Class representing NRD (NFD RIB Manager) instance This class can be used to initialize all components of NRD. More... | |
class | PropagatedEntry |
represents an entry for prefix propagation. More... | |
class | Rib |
represents the RIB More... | |
class | RibEntry |
represents a RIB entry, which contains one or more Routes with the same prefix More... | |
class | RibManager |
class | RibStatusPublisher |
class | RibUpdate |
RibUpdate. More... | |
class | RibUpdateBatch |
represents a collection of RibUpdates to be applied to a single FaceId More... | |
class | Route |
represents a route for a name prefix More... | |
Typedefs | |
typedef std::list< RibUpdate > | RibUpdateList |
Enumerations | |
enum | PropagationStatus { PropagationStatus::NEW, PropagationStatus::PROPAGATING, PropagationStatus::PROPAGATED, PropagationStatus::PROPAGATE_FAIL } |
Functions | |
std::ostream & | operator<< (std::ostream &os, const FibUpdate &update) |
void | operator<< (std::ostream &out, PropagationStatus status) |
std::ostream & | operator<< (std::ostream &os, const RibEntry &entry) |
std::ostream & | operator<< (std::ostream &os, const RibUpdate::Action action) |
std::ostream & | operator<< (std::ostream &os, const RibUpdate &update) |
static bool | sortRoutes (const Route &lhs, const Route &rhs) |
std::ostream & | operator<< (std::ostream &os, const Rib &rib) |
std::ostream & | operator<< (std::ostream &os, const Route &route) |
bool | compareFaceIdAndOrigin (const Route &lhs, const Route &rhs) |
bool | compareFaceId (const Route &route, const uint64_t faceId) |
Variables | |
AutoPrefixPropagator | |
const Name | LOCAL_REGISTRATION_PREFIX ("/localhost") |
const Name | LINK_LOCAL_NFD_PREFIX ("/localhop/nfd") |
const name::Component | IGNORE_COMMPONENT ("nrd") |
const time::seconds | PREFIX_PROPAGATION_DEFAULT_REFRESH_INTERVAL = time::seconds(25) |
const time::seconds | PREFIX_PROPAGATION_MAX_REFRESH_INTERVAL = time::seconds(600) |
const time::seconds | PREFIX_PROPAGATION_DEFAULT_BASE_RETRY_WAIT = time::seconds(50) |
const time::seconds | PREFIX_PROPAGATION_DEFAULT_MAX_RETRY_WAIT = time::seconds(3600) |
const uint64_t | PREFIX_PROPAGATION_DEFAULT_COST = 15 |
const time::milliseconds | PREFIX_PROPAGATION_DEFAULT_TIMEOUT = time::milliseconds(10000) |
FibUpdater | |
static const std::string | INTERNAL_CONFIG = "internal://nfd.conf" |
RibManager | |
RibStatusPublisher | |
typedef std::list<RibUpdate> nfd::rib::RibUpdateList |
Definition at line 35 of file rib-update-batch.hpp.
|
strong |
Enumerator | |
---|---|
NEW | initial status |
PROPAGATING | is being propagated |
PROPAGATED | has been propagated successfully |
PROPAGATE_FAIL | has failed in propagation |
Definition at line 34 of file propagated-entry.hpp.
|
inline |
Definition at line 74 of file fib-update.hpp.
References nfd::rib::FibUpdate::action, nfd::rib::FibUpdate::ADD_NEXTHOP, nfd::rib::FibUpdate::cost, nfd::rib::FibUpdate::faceId, and nfd::rib::FibUpdate::name.
Referenced by compareFaceId(), nfd::rib::Rib::empty(), nfd::rib::RibEntry::end(), and nfd::rib::RibUpdate::getRoute().
void nfd::rib::operator<< | ( | std::ostream & | out, |
PropagationStatus | status | ||
) |
Definition at line 33 of file propagated-entry.cpp.
References NEW, PROPAGATE_FAIL, PROPAGATED, and PROPAGATING.
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const RibEntry & | entry | ||
) |
Definition at line 249 of file rib-entry.cpp.
References nfd::rib::RibEntry::getName().
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const RibUpdate::Action | action | ||
) |
Definition at line 37 of file rib-update.cpp.
References nfd::rib::RibUpdate::REGISTER, nfd::rib::RibUpdate::REMOVE_FACE, and nfd::rib::RibUpdate::UNREGISTER.
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const RibUpdate & | update | ||
) |
Definition at line 55 of file rib-update.cpp.
References nfd::rib::RibUpdate::getAction(), nfd::rib::RibUpdate::getName(), and nfd::rib::RibUpdate::getRoute().
Definition at line 37 of file rib.cpp.
References nfd::rib::Route::faceId.
Referenced by nfd::rib::Rib::findDescendantsForNonInsertedName().
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const Rib & | rib | ||
) |
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const Route & | route | ||
) |
Definition at line 42 of file route.cpp.
References nfd::rib::Route::cost, nfd::rib::Route::expires, nfd::rib::Route::faceId, nfd::rib::Route::flags, ndn::time::steady_clock::now(), and nfd::rib::Route::origin.
Definition at line 91 of file route.hpp.
References nfd::rib::Route::faceId, and nfd::rib::Route::origin.
Referenced by nfd::rib::RibEntry::findRoute().
|
inline |
Definition at line 97 of file route.hpp.
References nfd::rib::Route::faceId, and operator<<().
Referenced by nfd::rib::RibEntry::findInheritedRoute(), nfd::rib::RibEntry::hasFaceId(), and nfd::rib::RibEntry::removeInheritedRoute().
Definition at line 35 of file auto-prefix-propagator.cpp.
const Name nfd::rib::LOCAL_REGISTRATION_PREFIX("/localhost") |
Referenced by nfd::rib::AutoPrefixPropagator::disable().
const Name nfd::rib::LINK_LOCAL_NFD_PREFIX("/localhop/nfd") |
const name::Component nfd::rib::IGNORE_COMMPONENT("nrd") |
Referenced by nfd::rib::AutoPrefixPropagator::disable().
const time::seconds nfd::rib::PREFIX_PROPAGATION_DEFAULT_REFRESH_INTERVAL = time::seconds(25) |
Definition at line 43 of file auto-prefix-propagator.cpp.
Referenced by nfd::rib::AutoPrefixPropagator::loadConfig().
const time::seconds nfd::rib::PREFIX_PROPAGATION_MAX_REFRESH_INTERVAL = time::seconds(600) |
Definition at line 44 of file auto-prefix-propagator.cpp.
const time::seconds nfd::rib::PREFIX_PROPAGATION_DEFAULT_BASE_RETRY_WAIT = time::seconds(50) |
Definition at line 45 of file auto-prefix-propagator.cpp.
Referenced by nfd::rib::AutoPrefixPropagator::loadConfig().
const time::seconds nfd::rib::PREFIX_PROPAGATION_DEFAULT_MAX_RETRY_WAIT = time::seconds(3600) |
Definition at line 46 of file auto-prefix-propagator.cpp.
Referenced by nfd::rib::AutoPrefixPropagator::loadConfig().
const uint64_t nfd::rib::PREFIX_PROPAGATION_DEFAULT_COST = 15 |
Definition at line 47 of file auto-prefix-propagator.cpp.
const time::milliseconds nfd::rib::PREFIX_PROPAGATION_DEFAULT_TIMEOUT = time::milliseconds(10000) |
Definition at line 48 of file auto-prefix-propagator.cpp.
Definition at line 37 of file fib-updater.cpp.
|
static |
Definition at line 35 of file rib-manager.cpp.
Referenced by nfd::rib::Nrd::initialize().
Definition at line 36 of file rib-status-publisher.cpp.