26 #ifndef NFD_DAEMON_FW_ASF_STRATEGY_HPP 27 #define NFD_DAEMON_FW_ASF_STRATEGY_HPP 58 const shared_ptr<pit::Entry>& pitEntry)
override;
66 const shared_ptr<pit::Entry>& pitEntry)
override;
70 processParams(
const PartialName& parsed);
73 forwardInterest(
const Interest& interest,
Face& outFace,
const fib::Entry& fibEntry,
74 const shared_ptr<pit::Entry>& pitEntry,
bool wantNewNonce =
false);
77 sendProbe(
const Interest& interest,
const FaceEndpoint& ingress,
const Face& faceToUse,
78 const fib::Entry& fibEntry,
const shared_ptr<pit::Entry>& pitEntry);
81 getBestFaceForForwarding(
const Interest& interest,
const Face& inFace,
82 const fib::Entry& fibEntry,
const shared_ptr<pit::Entry>& pitEntry,
83 bool isNewInterest =
true);
86 onTimeout(
const Name& interestName,
FaceId faceId);
89 sendNoRouteNack(
const FaceEndpoint& ingress,
const shared_ptr<pit::Entry>& pitEntry);
95 size_t m_maxSilentTimeouts = 0;
97 static const time::milliseconds RETX_SUPPRESSION_INITIAL;
98 static const time::milliseconds RETX_SUPPRESSION_MAX;
108 #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.