26 #ifndef NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 27 #define NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 60 const shared_ptr<pit::Entry>& pitEntry)
override;
64 const shared_ptr<pit::Entry>& pitEntry)
override;
96 MtInfo(shared_ptr<const RttEstimator::Options> opts)
108 std::tuple<Name, MtInfo*>
109 findPrefixMeasurements(
const pit::Entry& pitEntry);
115 addPrefixMeasurements(
const Data& data);
125 FaceInfo(shared_ptr<const RttEstimator::Options> opts)
137 const shared_ptr<pit::Entry>& pitEntry);
141 const shared_ptr<pit::Entry>& pitEntry);
148 const shared_ptr<pit::Entry>& pitEntry, MtInfo& mi,
152 afterRtoTimeout(
const weak_ptr<pit::Entry>& pitWeak,
161 const shared_ptr<pit::Entry>& pitEntry,
const fib::Entry& fibEntry,
168 const shared_ptr<const RttEstimator::Options> m_rttEstimatorOpts;
169 std::unordered_map<FaceId, FaceInfo> m_fit;
177 #endif // NFD_DAEMON_FW_ACCESS_STRATEGY_HPP
a retransmission suppression decision algorithm that suppresses retransmissions within a fixed durati...
Represents a face-endpoint pair in the forwarder.
Main class of NFD's forwarding engine.
Represents an Interest packet.
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.
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 PIT entry is satisfied
Represents a Data packet.
AccessStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
uint64_t FaceId
Identifies a face.
const FaceId INVALID_FACEID
indicates an invalid FaceId
boost::chrono::nanoseconds nanoseconds
Contains arbitrary information placed by the forwarding strategy on table entries.