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... | |
struct | RibRouteRef |
References a route. More... | |
class | RibUpdate |
Represents a route that will be added to or removed from a namespace. 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 the NFD-RIB service thread. More... | |
Typedefs | |
using | ReadvertisedRouteContainer = std::set< ReadvertisedRoute > |
using | RibUpdateList = std::list< RibUpdate > |
Functions | |
static bool | compareFaceIdAndOrigin (const Route &lhs, const Route &rhs) |
static time::steady_clock::time_point | computeExpiration (const ndn::PrefixAnnouncement &ann) |
static ConfigSection | loadConfigSectionFromFile (const std::string &filename) |
static shared_ptr< ndn::Transport > | makeLocalNfdTransport (const ConfigSection &config) |
std::ostream & | operator<< (std::ostream &os, const FibUpdate &update) |
std::ostream & | operator<< (std::ostream &os, const Rib &rib) |
std::ostream & | operator<< (std::ostream &os, const RibEntry &entry) |
std::ostream & | operator<< (std::ostream &os, const RibUpdate &update) |
std::ostream & | operator<< (std::ostream &os, const Route &route) |
std::ostream & | operator<< (std::ostream &os, RibUpdate::Action action) |
static time::milliseconds | randomizeTimer (time::milliseconds baseTimer) |
static bool | sortRoutes (const Route &lhs, const Route &rhs) |
Variables | |
const std::string | CFG_LOCALHOP_SECURITY = "localhop_security" |
const std::string | CFG_LOCALHOST_SECURITY = "localhost_security" |
const std::string | CFG_PA_VALIDATION = "prefix_announcement_validation" |
const std::string | CFG_PREFIX_PROPAGATE = "auto_prefix_propagate" |
const std::string | CFG_READVERTISE_NLSR = "readvertise_nlsr" |
const std::string | CFG_RIB = "rib" |
constexpr time::seconds | DEFAULT_REFRESH_INTERVAL = 25_s |
constexpr uint32_t | ERROR_FACE_NOT_FOUND = 410 |
const name::Component | IGNORE_COMPONENT {"nrd"} |
constexpr int | MAX_NUM_TIMEOUTS = 10 |
constexpr uint64_t | PA_ROUTE_COST = 2048 |
constexpr uint64_t | PROPAGATE_DEFAULT_COST = 15 |
constexpr time::milliseconds | PROPAGATE_DEFAULT_TIMEOUT = 10_s |
const Name | READVERTISE_NLSR_PREFIX = "/localhost/nlsr" |
constexpr time::milliseconds | RETRY_DELAY_MAX = 1_h |
constexpr time::milliseconds | RETRY_DELAY_MIN = 50_s |
using nfd::rib::ReadvertisedRouteContainer = typedef std::set<ReadvertisedRoute> |
Definition at line 64 of file readvertised-route.hpp.
using nfd::rib::RibUpdateList = typedef std::list<RibUpdate> |
Definition at line 35 of file rib-update-batch.hpp.
Definition at line 36 of file rib-entry.cpp.
|
static |
|
static |
Definition at line 56 of file service.cpp.
|
static |
Definition at line 66 of file service.cpp.
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const FibUpdate & | update | ||
) |
Definition at line 51 of file fib-update.cpp.
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const Rib & | rib | ||
) |
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const RibEntry & | entry | ||
) |
Definition at line 279 of file rib-entry.cpp.
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const RibUpdate & | update | ||
) |
Definition at line 44 of file rib-update.cpp.
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
const Route & | route | ||
) |
std::ostream & nfd::rib::operator<< | ( | std::ostream & | os, |
RibUpdate::Action | action | ||
) |
Definition at line 30 of file rib-update.cpp.
|
static |
Definition at line 40 of file readvertise.cpp.
const std::string nfd::rib::CFG_LOCALHOP_SECURITY = "localhop_security" |
Definition at line 47 of file service.cpp.
const std::string nfd::rib::CFG_LOCALHOST_SECURITY = "localhost_security" |
Definition at line 46 of file service.cpp.
const std::string nfd::rib::CFG_PA_VALIDATION = "prefix_announcement_validation" |
Definition at line 48 of file service.cpp.
const std::string nfd::rib::CFG_PREFIX_PROPAGATE = "auto_prefix_propagate" |
Definition at line 49 of file service.cpp.
const std::string nfd::rib::CFG_READVERTISE_NLSR = "readvertise_nlsr" |
Definition at line 50 of file service.cpp.
const std::string nfd::rib::CFG_RIB = "rib" |
Definition at line 45 of file service.cpp.
|
constexpr |
Definition at line 36 of file host-to-gateway-readvertise-policy.cpp.
|
constexpr |
Definition at line 38 of file fib-updater.cpp.
const name::Component nfd::rib::IGNORE_COMPONENT {"nrd"} |
Definition at line 35 of file host-to-gateway-readvertise-policy.cpp.
|
constexpr |
Definition at line 37 of file fib-updater.cpp.
|
constexpr |
|
constexpr |
Definition at line 52 of file service.cpp.
|
constexpr |
Definition at line 53 of file service.cpp.
const Name nfd::rib::READVERTISE_NLSR_PREFIX = "/localhost/nlsr" |
Definition at line 51 of file service.cpp.
|
constexpr |
Definition at line 37 of file readvertise.cpp.
|
constexpr |
Definition at line 36 of file readvertise.cpp.