Classes | |
| class | AccessStrategy |
| Access Router Strategy version 1. More... | |
| class | BestRouteStrategy |
| Best Route strategy version 1. More... | |
| class | BestRouteStrategy2 |
| Best Route strategy version 3. More... | |
| class | BroadcastStrategy |
| identical to MulticastStrategy, for backwards compatibility More... | |
| class | ClientControlStrategy |
| a forwarding strategy that forwards Interests according to NextHopFaceId field in LocalControlHeader More... | |
| class | MulticastStrategy |
| a forwarding strategy that forwards Interest to all FIB nexthops More... | |
| class | NccStrategy |
| a forwarding strategy similar to CCNx 0.7.2 More... | |
| class | RetxSuppression |
| helper for consumer retransmission suppression More... | |
| class | RetxSuppressionExponential |
| a retransmission suppression decision algorithm that suppresses retransmissions using exponential backoff More... | |
| class | RetxSuppressionFixed |
| a retransmission suppression decision algorithm that suppresses retransmissions within a fixed duration More... | |
| class | Strategy |
| represents a forwarding strategy More... | |
| class | StrategyInfo |
| contains arbitrary information forwarding strategy places on table entries More... | |
Typedefs | |
| typedef std::function< shared_ptr< Strategy >Forwarder &)> | StrategyCreateFunc |
Variables | |
| AccessStrategy | |
| BestRouteStrategy2 | |
| BroadcastStrategy | |
| ClientControlStrategy | |
| Strategy | |
| typedef std::function<shared_ptr<Strategy>Forwarder&)> nfd::fw::StrategyCreateFunc |
Definition at line 46 of file strategy-registry.hpp.
| nfd::fw::NFD_REGISTER_STRATEGY | ( | AccessStrategy | ) |
| nfd::fw::NFD_REGISTER_STRATEGY | ( | BestRouteStrategy | ) |
|
inlinestatic |
Definition at line 44 of file best-route-strategy.cpp.
References nfd::fib::NextHop::getFace().
Referenced by nfd::fw::BestRouteStrategy::afterReceiveInterest().
| nfd::fw::NFD_REGISTER_STRATEGY | ( | BestRouteStrategy2 | ) |
|
inlinestatic |
determines whether a NextHop is eligible
| currentDownstream | incoming FaceId of current Interest |
| wantUnused | if true, NextHop must not have unexpired OutRecord |
| now | time::steady_clock::now(), ignored if !wantUnused |
Definition at line 48 of file best-route-strategy2.cpp.
References nfd::fib::NextHop::getFace().
Referenced by nfd::fw::BestRouteStrategy2::afterReceiveInterest(), and findEligibleNextHopWithEarliestOutRecord().
|
inlinestatic |
pick an eligible NextHop with earliest OutRecord
Definition at line 79 of file best-route-strategy2.cpp.
References predicate_NextHop_eligible().
Referenced by nfd::fw::BestRouteStrategy2::afterReceiveInterest().
| nfd::fw::NFD_REGISTER_STRATEGY | ( | BroadcastStrategy | ) |
| nfd::fw::NFD_REGISTER_STRATEGY | ( | ClientControlStrategy | ) |
| nfd::fw::NFD_REGISTER_STRATEGY | ( | MulticastStrategy | ) |
| nfd::fw::NFD_REGISTER_STRATEGY | ( | NccStrategy | ) |
Definition at line 33 of file strategy-registry.cpp.
|
static |
Definition at line 39 of file strategy-registry.cpp.
Referenced by installStrategies(), and registerStrategyImpl().
| void nfd::fw::registerStrategyImpl | ( | const Name & | strategyName, |
| const StrategyCreateFunc & | createFunc | ||
| ) |
Definition at line 46 of file strategy-registry.cpp.
References getStrategyFactories().
Referenced by registerStrategy().
| void nfd::fw::installStrategies | ( | Forwarder & | forwarder | ) |
Definition at line 52 of file strategy-registry.cpp.
References nfd::Forwarder::getStrategyChoice(), getStrategyFactories(), nfd::StrategyChoice::hasStrategy(), and nfd::StrategyChoice::install().
Referenced by nfd::Forwarder::Forwarder().
| void nfd::fw::registerStrategy | ( | ) |
registers a strategy to be installed later
Definition at line 55 of file strategy-registry.hpp.
References registerStrategyImpl().
Definition at line 32 of file access-strategy.cpp.
Definition at line 32 of file best-route-strategy2.cpp.
Definition at line 31 of file broadcast-strategy.cpp.
Definition at line 32 of file client-control-strategy.cpp.
Definition at line 33 of file strategy.cpp.
Referenced by nfd::StrategyChoice::erase(), nfd::StrategyChoice::findEffectiveStrategy(), nfd::StrategyChoice::get(), nfd::StrategyChoice::insert(), and nfd::MeasurementsAccessor::~MeasurementsAccessor().