26 #ifndef NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 27 #define NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 61 const shared_ptr<pit::Entry>& pitEntry)
override;
80 scheduler::ScopedEventId rtoTimer;
101 std::tuple<Name, MtInfo*>
102 findPrefixMeasurements(
const pit::Entry& pitEntry);
108 addPrefixMeasurements(
const Data& data);
117 typedef std::unordered_map<FaceId, FaceInfo> FaceInfoTable;
120 removeFaceInfo(
const Face& face);
124 afterReceiveNewInterest(
const FaceEndpoint& ingress,
const Interest& interest,
125 const shared_ptr<pit::Entry>& pitEntry);
128 afterReceiveRetxInterest(
const FaceEndpoint& ingress,
const Interest& interest,
129 const shared_ptr<pit::Entry>& pitEntry);
135 sendToLastNexthop(
const FaceEndpoint& ingress,
const Interest& interest,
136 const shared_ptr<pit::Entry>& pitEntry, MtInfo& mi,
140 afterRtoTimeout(
const weak_ptr<pit::Entry>& pitWeak,
148 multicast(
const Face& inFace,
const Interest& interest,
149 const shared_ptr<pit::Entry>& pitEntry,
const fib::Entry& fibEntry,
153 updateMeasurements(
const Face& inFace,
const Data& data,
159 signal::ScopedConnection m_removeFaceInfoConn;
165 #endif // NFD_DAEMON_FW_ACCESS_STRATEGY_HPP Main class of NFD forwarding engine.
implements the Mean-Deviation RTT estimator
AccessStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
a retransmission suppression decision algorithm that suppresses retransmissions within a fixed durati...
time::microseconds Duration
Access Router Strategy version 1.
Represents a face-endpoint pair in the forwarder.
uint64_t EndpointId
identifies an endpoint on the link
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
contains arbitrary information forwarding strategy places on table entries
void afterReceiveInterest(const FaceEndpoint &ingress, const Interest &interest, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Interest is received
represents a forwarding strategy
static const Name & getStrategyName()
uint64_t FaceId
identifies a face
const FaceId INVALID_FACEID
indicates an invalid FaceId
void beforeSatisfyInterest(const shared_ptr< pit::Entry > &pitEntry, const FaceEndpoint &ingress, const Data &data) override
trigger before PIT entry is satisfied