26 #ifndef NFD_DAEMON_FW_ASF_STRATEGY_HPP 27 #define NFD_DAEMON_FW_ASF_STRATEGY_HPP 56 const shared_ptr<pit::Entry>& pitEntry)
override;
64 const shared_ptr<pit::Entry>& pitEntry)
override;
68 processParams(
const PartialName& parsed);
71 forwardInterest(
const Interest& interest,
Face& outFace,
const fib::Entry& fibEntry,
72 const shared_ptr<pit::Entry>& pitEntry,
bool wantNewNonce =
false);
75 sendProbe(
const Interest& interest,
const FaceEndpoint& ingress,
const Face& faceToUse,
76 const fib::Entry& fibEntry,
const shared_ptr<pit::Entry>& pitEntry);
79 getBestFaceForForwarding(
const Interest& interest,
const Face& inFace,
80 const fib::Entry& fibEntry,
const shared_ptr<pit::Entry>& pitEntry,
81 bool isNewInterest =
true);
84 onTimeoutOrNack(
const Name& interestName,
FaceId faceId,
bool isNack);
87 sendNoRouteNack(
Face& face,
const shared_ptr<pit::Entry>& pitEntry);
93 size_t m_nMaxSilentTimeouts = 3;
95 static const time::milliseconds RETX_SUPPRESSION_INITIAL;
96 static const time::milliseconds RETX_SUPPRESSION_MAX;
106 #endif // NFD_DAEMON_FW_ASF_STRATEGY_HPP
Main class of NFD's forwarding engine.
static const Name & getStrategyName()
void beforeSatisfyInterest(const shared_ptr< pit::Entry > &pitEntry, const FaceEndpoint &ingress, const Data &data) override
Trigger before PIT entry is satisfied.
void afterReceiveNack(const FaceEndpoint &ingress, const lp::Nack &nack, const shared_ptr< pit::Entry > &pitEntry) override
Trigger after Nack is received.
Represents a face-endpoint pair in the forwarder.
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
a retransmission suppression decision algorithm that suppresses retransmissions using exponential bac...
generalization of a network interface
Represents a forwarding strategy.
void afterReceiveInterest(const FaceEndpoint &ingress, const Interest &interest, const shared_ptr< pit::Entry > &pitEntry) override
Trigger after Interest is received.
uint64_t FaceId
Identifies a face.
Adaptive SRTT-based Forwarding Strategy.
AsfStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
Helper class to retrieve and create strategy measurements.