|
NFD: Named Data Networking Forwarding Daemon 24.07-28-gdcc0e6e0
|
Namespaces | |
| namespace | cs |
| namespace | ethernet |
| namespace | face |
| namespace | fib |
| namespace | fw |
| namespace | general |
| namespace | log |
| namespace | measurements |
| namespace | name_tree |
| namespace | pit |
| namespace | rib |
| namespace | scope_prefix |
| Contain name prefixes that affect namespace-based scope control. | |
| namespace | strategy_choice |
| namespace | tcp |
| namespace | tlv |
| namespace | tools |
| namespace | udp |
| namespace | unix_stream |
| namespace | websocket |
Classes | |
| class | ByteCounter |
| Represents a counter of number of bytes. More... | |
| class | CommandAuthenticator |
| Provides ControlCommand authorization according to NFD's configuration file. More... | |
| class | ConfigFile |
| Configuration file parsing utility. More... | |
| class | CsManager |
| Implements the CS Management of NFD Management Protocol. More... | |
| class | DeadNonceList |
| Represents the Dead Nonce List. More... | |
| class | FaceEndpoint |
| Represents a face-endpoint pair in the forwarder. More... | |
| class | FaceManager |
| Implements the Face Management of NFD Management Protocol. More... | |
| class | FaceTable |
| Container of all faces. More... | |
| class | FibManager |
| Implements the FIB Management of NFD Management Protocol. More... | |
| class | Forwarder |
| Main class of NFD's forwarding engine. More... | |
| class | ForwarderCounters |
| Counters provided by Forwarder. More... | |
| class | ForwarderStatusManager |
| Implements the Forwarder Status of NFD Management Protocol. More... | |
| class | ManagerBase |
| A collection of common functions shared by all NFD managers, such as communicating with the dispatcher and command validator. More... | |
| class | Network |
| class | NetworkRegionTable |
| Stores a collection of producer region names. More... | |
| class | Nfd |
| Class representing the NFD instance. More... | |
| class | PacketCounter |
| Represents a counter of number of packets. More... | |
| class | PrivilegeHelper |
| class | RibManager |
| Implements the RIB Management of NFD Management Protocol. More... | |
| class | SimpleCounter |
| Represents a counter that encloses an integer value. More... | |
| class | SizeCounter |
| Provides a counter that observes the size of a table. More... | |
| class | StrategyChoiceManager |
| Implements the Strategy Choice Management of NFD Management Protocol. More... | |
| class | StrategyInfoHost |
| Base class for an entity onto which StrategyInfo items may be placed. More... | |
| class | TablesConfigSection |
Handles the tables configuration file section. More... | |
Typedefs | |
| using | ConfigSection = boost::property_tree::ptree |
| A configuration file section. | |
| using | ConfigSectionHandler = std::function< void(const ConfigSection §ion, bool isDryRun, const std::string &filename)> |
| Callback to process a configuration file section. | |
| using | OptionalConfigSection = boost::optional< const ConfigSection & > |
| An optional configuration file section. | |
| using | SignerTag = ndn::SimpleTag< Name, 20 > |
| An Interest tag to store the command signer. | |
| using | UnknownConfigSectionHandler = std::function< void(const std::string &filename, const std::string §ionName, const ConfigSection §ion, bool isDryRun)> |
| Callback to process a configuration file section without a ConfigSectionHandler. | |
Functions | |
| void | cleanupOnFaceRemoval (NameTree &nt, Fib &fib, Pit &pit, const Face &face) |
| Cleanup tables when a face is destroyed. | |
| template<typename T > | |
| static void | copyFaceProperties (const Face &face, T &to) |
| template<typename T > | |
| static void | copyMtu (const Face &face, T &to) |
| static Name | getDefaultStrategyName () |
| boost::asio::io_context & | getGlobalIoService () |
| Returns the global io_context instance for the calling thread. | |
| static uint64_t | getIncomingFaceId (const Interest &request) |
| boost::asio::io_context & | getMainIoService () |
| boost::asio::io_context & | getRibIoService () |
| ndn::Scheduler & | getScheduler () |
| Returns the global Scheduler instance for the calling thread. | |
| static std::optional< std::string > | getSignerFromTag (const Interest &interest) |
Obtain signer from a SignerTag attached to interest, if available. | |
| static void | ignoreRibAndLogSections (const std::string &filename, const std::string §ionName, const ConfigSection §ion, bool isDryRun) |
| static ControlParameters | makeCreateFaceResponse (const Face &face) |
| static ndn::nfd::FaceStatus | makeFaceStatus (const Face &face, const time::steady_clock::time_point &now) |
| static ControlParameters | makeUpdateFaceResponse (const Face &face) |
| static bool | matchFilter (const ndn::nfd::FaceQueryFilter &filter, const Face &face) |
| std::ostream & | operator<< (std::ostream &os, const Network &network) |
| std::ostream & | operator<< (std::ostream &os, RibManager::SlAnnounceResult res) |
| std::istream & | operator>> (std::istream &is, Network &network) |
| static void | printLogModules (std::ostream &os) |
| static void | printUsage (std::ostream &os, const char *programName, const po::options_description &opts) |
| void | setMainIoService (boost::asio::io_context *mainIo) |
| void | setRibIoService (boost::asio::io_context *ribIo) |
| static void | updateLinkServiceOptions (Face &face, const ControlParameters ¶meters) |
Variables | |
| constexpr time::seconds | ACTIVE_FACE_FETCH_INTERVAL = 5_min |
| const std::string | CFG_FORWARDER = "forwarder" |
| constexpr size_t | DEFAULT_CS_MAX_PACKETS = 65536 |
| static thread_local std::unique_ptr< boost::asio::io_context > | g_ioCtx |
| static boost::asio::io_context * | g_mainIoCtx = nullptr |
| static boost::asio::io_context * | g_ribIoCtx = nullptr |
| static thread_local std::unique_ptr< ndn::Scheduler > | g_scheduler |
| const std::string | INTERNAL_CONFIG {"internal://nfd.conf"} |
| const Name | LOCALHOST_TOP_PREFIX = "/localhost/nfd" |
| const std::string | MGMT_MODULE_NAME = "rib" |
| using nfd::ConfigSection = typedef boost::property_tree::ptree |
A configuration file section.
Definition at line 41 of file config-file.hpp.
| using nfd::ConfigSectionHandler = typedef std::function<void(const ConfigSection& section, bool isDryRun, const std::string& filename)> |
Callback to process a configuration file section.
Definition at line 51 of file config-file.hpp.
| using nfd::OptionalConfigSection = typedef boost::optional<const ConfigSection&> |
An optional configuration file section.
Definition at line 46 of file config-file.hpp.
| using nfd::SignerTag = typedef ndn::SimpleTag<Name, 20> |
An Interest tag to store the command signer.
Definition at line 50 of file command-authenticator.cpp.
| using nfd::UnknownConfigSectionHandler = typedef std::function<void(const std::string& filename, const std::string& sectionName, const ConfigSection& section, bool isDryRun)> |
Callback to process a configuration file section without a ConfigSectionHandler.
Definition at line 57 of file config-file.hpp.
Cleanup tables when a face is destroyed.
This function enumerates the NameTree, calls Fib::removeNextHop() for each FIB entry, calls Pit::deleteInOutRecords() for each PIT entry, and finally deletes any name tree entries that have become empty.
Definition at line 33 of file cleanup.cpp.
|
static |
Definition at line 354 of file face-manager.cpp.
|
static |
Definition at line 165 of file face-manager.cpp.
|
static |
Definition at line 46 of file forwarder.cpp.
| boost::asio::io_context & nfd::getGlobalIoService | ( | ) |
Returns the global io_context instance for the calling thread.
Definition at line 36 of file global.cpp.
|
static |
Definition at line 209 of file rib-manager.cpp.
| boost::asio::io_context & nfd::getMainIoService | ( | ) |
Definition at line 63 of file global.cpp.
| boost::asio::io_context & nfd::getRibIoService | ( | ) |
Definition at line 70 of file global.cpp.
| ndn::Scheduler & nfd::getScheduler | ( | ) |
Returns the global Scheduler instance for the calling thread.
Definition at line 45 of file global.cpp.
|
static |
Obtain signer from a SignerTag attached to interest, if available.
Definition at line 56 of file command-authenticator.cpp.
|
inlinestatic |
|
static |
Definition at line 197 of file face-manager.cpp.
|
static |
Definition at line 373 of file face-manager.cpp.
|
static |
Definition at line 176 of file face-manager.cpp.
|
static |
Definition at line 432 of file face-manager.cpp.
| std::ostream & nfd::operator<< | ( | std::ostream & | os, |
| const Network & | network | ||
| ) |
Definition at line 82 of file network.cpp.
| std::ostream & nfd::operator<< | ( | std::ostream & | os, |
| RibManager::SlAnnounceResult | res | ||
| ) |
Definition at line 357 of file rib-manager.cpp.
| std::istream & nfd::operator>> | ( | std::istream & | is, |
| Network & | network | ||
| ) |
Definition at line 89 of file network.cpp.
|
static |
|
static |
| void nfd::setMainIoService | ( | boost::asio::io_context * | mainIo | ) |
Definition at line 77 of file global.cpp.
| void nfd::setRibIoService | ( | boost::asio::io_context * | ribIo | ) |
Definition at line 83 of file global.cpp.
|
static |
Definition at line 232 of file face-manager.cpp.
|
constexpr |
Definition at line 49 of file rib-manager.cpp.
| const std::string nfd::CFG_FORWARDER = "forwarder" |
Definition at line 43 of file forwarder.cpp.
|
constexpr |
Definition at line 33 of file tables-config-section.cpp.
|
static |
Definition at line 30 of file global.cpp.
|
static |
Definition at line 32 of file global.cpp.
|
static |
Definition at line 33 of file global.cpp.
|
static |
Definition at line 31 of file global.cpp.
| const std::string nfd::INTERNAL_CONFIG {"internal://nfd.conf"} |
| const Name nfd::LOCALHOST_TOP_PREFIX = "/localhost/nfd" |
Definition at line 48 of file rib-manager.cpp.
| const std::string nfd::MGMT_MODULE_NAME = "rib" |
Definition at line 47 of file rib-manager.cpp.