26 #ifndef NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 27 #define NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 32 #include <unordered_set> 33 #include <unordered_map> 58 const shared_ptr<pit::Entry>& pitEntry)
override;
62 const Face& inFace,
const Data& data)
override;
100 std::tuple<Name, MtInfo*>
101 findPrefixMeasurements(
const pit::Entry& pitEntry);
107 addPrefixMeasurements(
const Data& data);
120 typedef std::unordered_map<FaceId, FaceInfo> FaceInfoTable;
127 afterReceiveNewInterest(
const Face& inFace,
const Interest& interest,
128 const shared_ptr<pit::Entry>& pitEntry);
131 afterReceiveRetxInterest(
const Face& inFace,
const Interest& interest,
132 const shared_ptr<pit::Entry>& pitEntry);
138 sendToLastNexthop(
const Face& inFace,
const Interest& interest,
139 const shared_ptr<pit::Entry>& pitEntry, MtInfo& mi,
143 afterRtoTimeout(weak_ptr<pit::Entry> pitWeak,
FaceId inFaceId,
FaceId firstOutFaceId);
151 const shared_ptr<pit::Entry>& pitEntry,
const fib::Entry& fibEntry,
155 updateMeasurements(
const Face& inFace,
const Data& data,
170 #endif // NFD_DAEMON_FW_ACCESS_STRATEGY_HPP time::microseconds Duration
a retransmission suppression decision algorithm that suppresses retransmissions within a fixed durati...
generalization of a network interface
AccessStrategy(Forwarder &forwarder, const Name &name=STRATEGY_NAME)
represents an Interest packet
static const Name STRATEGY_NAME
virtual 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.
disconnects a Connection automatically upon destruction
cancels an event automatically upon destruction
Name abstraction to represent an absolute name.
represents a forwarding strategy
virtual 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
const FaceId INVALID_FACEID
indicates an invalid FaceId
contains arbitrary information forwarding strategy places on table entries