26 #ifndef NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 27 #define NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 59 const shared_ptr<pit::Entry>& pitEntry)
override;
63 const Face& inFace,
const Data& data)
override;
101 std::tuple<Name, MtInfo*>
102 findPrefixMeasurements(
const pit::Entry& pitEntry);
108 addPrefixMeasurements(
const Data& data);
121 typedef std::unordered_map<FaceId, FaceInfo> FaceInfoTable;
124 removeFaceInfo(
const Face& face);
128 afterReceiveNewInterest(
const Face& inFace,
const Interest& interest,
129 const shared_ptr<pit::Entry>& pitEntry);
132 afterReceiveRetxInterest(
const Face& inFace,
const Interest& interest,
133 const shared_ptr<pit::Entry>& pitEntry);
139 sendToLastNexthop(
const Face& inFace,
const Interest& interest,
140 const shared_ptr<pit::Entry>& pitEntry, MtInfo& mi,
144 afterRtoTimeout(weak_ptr<pit::Entry> pitWeak,
FaceId inFaceId,
FaceId firstOutFaceId);
152 const shared_ptr<pit::Entry>& pitEntry,
const fib::Entry& fibEntry,
156 updateMeasurements(
const Face& inFace,
const Data& data,
168 #endif // NFD_DAEMON_FW_ACCESS_STRATEGY_HPP a retransmission suppression decision algorithm that suppresses retransmissions within a fixed durati...
time::microseconds Duration
generalization of a network interface
Represents an Interest packet.
void afterReceiveInterest(const Face &inFace, const Interest &interest, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Interest is received
Copyright (c) 2011-2015 Regents of the University of California.
static const Name & getStrategyName()
Disconnects a Connection automatically upon destruction.
Represents an absolute name.
represents a forwarding strategy
A scoped handle of scheduled event.
void beforeSatisfyInterest(const shared_ptr< pit::Entry > &pitEntry, const Face &inFace, const Data &data) override
trigger before PIT entry is satisfied
implements the Mean-Deviation RTT estimator
Access Router Strategy version 1.
uint64_t FaceId
identifies a face
Represents a Data packet.
AccessStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
const FaceId INVALID_FACEID
indicates an invalid FaceId
contains arbitrary information forwarding strategy places on table entries