a retransmission suppression decision algorithm that suppresses retransmissions within a fixed duration More...
#include <retx-suppression-fixed.hpp>
Public Member Functions | |
RetxSuppressionFixed (const time::milliseconds &minRetxInterval=DEFAULT_MIN_RETX_INTERVAL) | |
RetxSuppressionResult | decidePerPitEntry (pit::Entry &pitEntry) const |
determines whether Interest is a retransmission, and if so, whether it shall be forwarded or suppressed More... | |
Static Public Attributes | |
static const time::milliseconds | DEFAULT_MIN_RETX_INTERVAL = 100_ms |
a retransmission suppression decision algorithm that suppresses retransmissions within a fixed duration
Definition at line 38 of file retx-suppression-fixed.hpp.
|
explicit |
Definition at line 33 of file retx-suppression-fixed.cpp.
RetxSuppressionResult nfd::fw::RetxSuppressionFixed::decidePerPitEntry | ( | pit::Entry & | pitEntry | ) | const |
determines whether Interest is a retransmission, and if so, whether it shall be forwarded or suppressed
Definition at line 40 of file retx-suppression-fixed.cpp.
References nfd::fw::FORWARD, nfd::fw::getLastOutgoing(), nfd::fw::hasPendingOutRecords(), nfd::fw::NEW, ndn::time::steady_clock::now(), and nfd::fw::SUPPRESS.
Referenced by nfd::fw::AccessStrategy::afterReceiveInterest().
|
static |
Definition at line 51 of file retx-suppression-fixed.hpp.