Classes | |
class | ClientToNlsrReadvertisePolicy |
a policy to readvertise routes registered by end hosts into NLSR 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 | HostToGatewayReadvertisePolicy |
a policy to readvertise routes registered by local applications into remote gateway More... | |
class | NfdRibReadvertiseDestination |
a readvertise destination using NFD RIB management protocol More... | |
class | Readvertise |
readvertise a subset of routes to a destination according to a policy More... | |
struct | ReadvertiseAction |
a decision made by readvertise policy More... | |
class | ReadvertiseDestination |
a destination to readvertise into More... | |
class | ReadvertisedRoute |
state of a readvertised route More... | |
class | ReadvertisePolicy |
a policy to decide whether to readvertise a route, and what prefix to readvertise More... | |
class | Rib |
represents the Routing Information Base More... | |
class | RibEntry |
Represents a RIB entry, which contains one or more Routes with the same prefix. More... | |
class | RibManager |
Serve commands and datasets in NFD RIB management protocol. More... | |
struct | RibRouteRef |
references a route More... | |
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... | |
class | Service |
initializes and executes NFD-RIB service thread More... | |
Typedefs | |
using | ReadvertisedRouteContainer = std::set< ReadvertisedRoute > |
typedef std::list< RibUpdate > | RibUpdateList |
Functions | |
std::ostream & | operator<< (std::ostream &os, const FibUpdate &update) |
static time::milliseconds | randomizeTimer (time::milliseconds baseTimer) |
bool | operator< (const ReadvertisedRoute &lhs, const ReadvertisedRoute &rhs) |
std::ostream & | operator<< (std::ostream &os, const RibEntry &entry) |
std::ostream & | operator<< (std::ostream &os, RibManager::SlAnnounceResult res) |
std::ostream & | operator<< (std::ostream &os, const RibUpdate::Action action) |
std::ostream & | operator<< (std::ostream &os, const RibUpdate &update) |
bool | operator< (const RibRouteRef &lhs, const RibRouteRef &rhs) |
static bool | sortRoutes (const Route &lhs, const Route &rhs) |
std::ostream & | operator<< (std::ostream &os, const Rib &rib) |
static time::steady_clock::TimePoint | computeExpiration (const ndn::PrefixAnnouncement &ann) |
bool | operator== (const Route &lhs, const Route &rhs) |
std::ostream & | operator<< (std::ostream &os, const Route &route) |
bool | operator!= (const Route &lhs, const Route &rhs) |
bool | compareFaceIdAndOrigin (const Route &lhs, const Route &rhs) |
bool | compareFaceId (const Route &route, const uint64_t faceId) |
Variables | |
FibUpdater | |
static const name::Component | IGNORE_COMPONENT ("nrd") |
static const time::seconds | DEFAULT_REFRESH_INTERVAL = 25_s |
NfdRibReadvertiseDestination | |
ReadvertiseDestination | |
Readvertise | |
RibEntry | |
RibManager | |
static const std::string | MGMT_MODULE_NAME = "rib" |
static const Name | LOCALHOST_TOP_PREFIX = "/localhost/nfd" |
static const time::seconds | ACTIVE_FACE_FETCH_INTERVAL = 5_min |
Rib | |
const uint64_t | PA_ROUTE_COST = 2048 |
cost of route created by prefix announcement More... | |
RibService | |
static const std::string | CFG_SECTION = "rib" |
static const std::string | CFG_LOCALHOST_SECURITY = "localhost_security" |
static const std::string | CFG_LOCALHOP_SECURITY = "localhop_security" |
static const std::string | CFG_PREFIX_PROPAGATE = "auto_prefix_propagate" |
static const std::string | CFG_READVERTISE_NLSR = "readvertise_nlsr" |
static const Name | READVERTISE_NLSR_PREFIX = "/localhost/nlsr" |
static const uint64_t | PROPAGATE_DEFAULT_COST = 15 |
static const time::milliseconds | PROPAGATE_DEFAULT_TIMEOUT = 10_s |
using nfd::rib::ReadvertisedRouteContainer = typedef std::set<ReadvertisedRoute> |
Definition at line 64 of file readvertised-route.hpp.
typedef std::list<RibUpdate> nfd::rib::RibUpdateList |
Definition at line 36 of file rib-update-batch.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.
|
static |
Definition at line 39 of file readvertise.cpp.
References nfd::getGlobalRng().
|
inline |
Definition at line 59 of file readvertised-route.hpp.
References nfd::rib::ReadvertisedRoute::prefix.
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const RibEntry & | entry | ||
) |
Definition at line 275 of file rib-entry.cpp.
References nfd::rib::RibEntry::getName().
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
RibManager::SlAnnounceResult | res | ||
) |
Definition at line 323 of file rib-manager.cpp.
References nfd::rib::RibManager::ERROR, nfd::rib::RibManager::EXPIRED, nfd::rib::RibManager::NOT_FOUND, nfd::rib::RibManager::OK, and nfd::rib::RibManager::VALIDATION_FAILURE.
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().
bool nfd::rib::operator< | ( | const RibRouteRef & | lhs, |
const RibRouteRef & | rhs | ||
) |
Definition at line 36 of file rib.cpp.
References nfd::rib::RibRouteRef::entry, and nfd::rib::RibRouteRef::route.
Definition at line 43 of file rib.cpp.
References nfd::rib::Route::faceId.
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const Rib & | rib | ||
) |
|
static |
Definition at line 35 of file route.cpp.
References ndn::PrefixAnnouncement::getExpiration(), ndn::PrefixAnnouncement::getValidityPeriod(), ndn::time::system_clock::now(), and ndn::time::steady_clock::now().
Definition at line 63 of file route.cpp.
References nfd::rib::Route::announcement, nfd::rib::Route::cost, nfd::rib::Route::expires, nfd::rib::Route::faceId, nfd::rib::Route::flags, and nfd::rib::Route::origin.
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const Route & | route | ||
) |
Definition at line 74 of file route.cpp.
References nfd::rib::Route::announcement, 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 117 of file route.hpp.
References nfd::rib::Route::faceId, and nfd::rib::Route::origin.
Referenced by nfd::rib::RibEntry::findRoute().
|
inline |
Definition at line 123 of file route.hpp.
References nfd::rib::Route::faceId.
Referenced by nfd::rib::RibEntry::findInheritedRoute(), nfd::rib::RibEntry::hasFaceId(), and nfd::rib::RibEntry::removeInheritedRoute().
Definition at line 34 of file fib-updater.cpp.
|
static |
Referenced by nfd::rib::HostToGatewayReadvertisePolicy::handleNewRoute().
|
static |
Definition at line 37 of file host-to-gateway-readvertise-policy.cpp.
Referenced by nfd::rib::HostToGatewayReadvertisePolicy::HostToGatewayReadvertisePolicy().
Definition at line 35 of file nfd-rib-readvertise-destination.cpp.
Definition at line 32 of file readvertise-destination.cpp.
Definition at line 33 of file readvertise.cpp.
Definition at line 34 of file rib-entry.cpp.
Definition at line 41 of file rib-manager.cpp.
|
static |
Definition at line 43 of file rib-manager.cpp.
|
static |
Definition at line 44 of file rib-manager.cpp.
Referenced by nfd::rib::RibManager::registerWithNfd().
|
static |
Definition at line 45 of file rib-manager.cpp.
Referenced by nfd::rib::RibManager::registerWithNfd().
const uint64_t nfd::rib::PA_ROUTE_COST = 2048 |
nfd::rib::RibService |
Definition at line 46 of file service.cpp.
|
static |
Definition at line 48 of file service.cpp.
|
static |
Definition at line 49 of file service.cpp.
|
static |
Definition at line 50 of file service.cpp.
|
static |
Definition at line 51 of file service.cpp.
|
static |
Definition at line 52 of file service.cpp.
|
static |
Definition at line 53 of file service.cpp.
|
static |
Definition at line 54 of file service.cpp.
|
static |
Definition at line 55 of file service.cpp.