26 #ifndef NFD_DAEMON_FW_ASF_STRATEGY_HPP
27 #define NFD_DAEMON_FW_ASF_STRATEGY_HPP
57 const shared_ptr<pit::Entry>& pitEntry)
override;
61 const shared_ptr<pit::Entry>& pitEntry)
override;
65 const shared_ptr<pit::Entry>& pitEntry)
override;
69 processParams(
const PartialName& parsed);
72 forwardInterest(
const Interest& interest,
Face& outFace,
const fib::Entry& fibEntry,
73 const shared_ptr<pit::Entry>& pitEntry);
76 sendProbe(
const Interest& interest,
const FaceEndpoint& ingress,
const Face& faceToUse,
77 const fib::Entry& fibEntry,
const shared_ptr<pit::Entry>& pitEntry);
80 getBestFaceForForwarding(
const Interest& interest,
const Face& inFace,
81 const fib::Entry& fibEntry,
const shared_ptr<pit::Entry>& pitEntry,
82 bool isNewInterest =
true);
85 onTimeoutOrNack(
const Name& interestName,
FaceId faceId,
bool isNack);
88 sendNoRouteNack(
Face& face,
const shared_ptr<pit::Entry>& pitEntry);
94 size_t m_nMaxTimeouts = 3;
96 static const time::milliseconds RETX_SUPPRESSION_INITIAL;
97 static const time::milliseconds RETX_SUPPRESSION_MAX;
Represents a face-endpoint pair in the forwarder.
Main class of NFD's forwarding engine.
generalization of a network interface
a retransmission suppression decision algorithm that suppresses retransmissions using exponential bac...
Represents a forwarding strategy.
Helper class to retrieve and create strategy measurements.
Adaptive SRTT-based Forwarding Strategy.
static const Name & getStrategyName()
void afterReceiveNack(const lp::Nack &nack, const FaceEndpoint &ingress, const shared_ptr< pit::Entry > &pitEntry) override
Trigger after a Nack is received.
AsfStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
void afterReceiveInterest(const Interest &interest, const FaceEndpoint &ingress, const shared_ptr< pit::Entry > &pitEntry) override
Trigger after an Interest is received.
void beforeSatisfyInterest(const Data &data, const FaceEndpoint &ingress, const shared_ptr< pit::Entry > &pitEntry) override
Trigger before a PIT entry is satisfied.
Contains information about an Interest toward an outgoing face.
uint64_t FaceId
Identifies a face.
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents,...