62 const shared_ptr<pit::Entry>& pitEntry)
override;
66 const shared_ptr<pit::Entry>& pitEntry)
override;
69 using RttEstimator = ndn::util::RttEstimator;
83 ndn::scheduler::ScopedEventId rtoTimer;
98 MtInfo(shared_ptr<const RttEstimator::Options> opts)
99 : rtt(std::move(opts))
110 std::tuple<Name, MtInfo*>
111 findPrefixMeasurements(
const pit::Entry& pitEntry);
117 addPrefixMeasurements(
const Data& data);
127 FaceInfo(shared_ptr<const RttEstimator::Options> opts)
128 : rtt(std::move(opts))
138 afterReceiveNewInterest(
const Interest& interest,
const FaceEndpoint& ingress,
139 const shared_ptr<pit::Entry>& pitEntry);
142 afterReceiveRetxInterest(
const Interest& interest,
const FaceEndpoint& ingress,
143 const shared_ptr<pit::Entry>& pitEntry);
149 sendToLastNexthop(
const Interest& interest,
const FaceEndpoint& ingress,
150 const shared_ptr<pit::Entry>& pitEntry, MtInfo& mi,
154 afterRtoTimeout(
const weak_ptr<pit::Entry>& pitWeak,
155 FaceId inFaceId, FaceId firstOutFaceId);
162 multicast(
const Interest& interest,
const Face& inFace,
163 const shared_ptr<pit::Entry>& pitEntry,
const fib::Entry& fibEntry,
167 updateMeasurements(
const Face& inFace,
const Data& data, time::nanoseconds rtt);
170 const shared_ptr<const RttEstimator::Options> m_rttEstimatorOpts;
171 std::unordered_map<FaceId, FaceInfo> m_fit;
173 signal::ScopedConnection m_removeFaceConn;
Represents an entry in the FIB.
Represents an entry in the Interest table (PIT).