26 #ifndef NFD_DAEMON_FW_RETX_SUPPRESSION_EXPONENTIAL_HPP 27 #define NFD_DAEMON_FW_RETX_SUPPRESSION_EXPONENTIAL_HPP 81 const Duration m_initialInterval;
82 const float m_multiplier;
83 const Duration m_maxInterval;
89 #endif // NFD_DAEMON_FW_RETX_SUPPRESSION_EXPONENTIAL_HPP static const float DEFAULT_MULTIPLIER
void incrementIntervalForOutRecord(pit::OutRecord &outRecord)
Increment the suppression interval for out record.
contains information about an Interest toward an outgoing face
RetxSuppressionResult decidePerUpstream(pit::Entry &pitEntry, Face &outFace)
determines whether Interest is a retransmission per upstream and if so, whether it shall be forwarded...
static const Duration DEFAULT_INITIAL_INTERVAL
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
a retransmission suppression decision algorithm that suppresses retransmissions using exponential bac...
RetxSuppressionExponential(const Duration &initialInterval=DEFAULT_INITIAL_INTERVAL, float multiplier=DEFAULT_MULTIPLIER, const Duration &maxInterval=DEFAULT_MAX_INTERVAL)
static const Duration DEFAULT_MAX_INTERVAL
RetxSuppressionResult decidePerPitEntry(pit::Entry &pitEntry)
determines whether Interest is a retransmission per pit entry and if so, whether it shall be forwarde...
This file contains common algorithms used by forwarding strategies.
time::microseconds Duration
time granularity