NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
retx-suppression-fixed.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_FW_RETX_SUPPRESSION_FIXED_HPP
27
#define NFD_DAEMON_FW_RETX_SUPPRESSION_FIXED_HPP
28
29
#include "
retx-suppression.hpp
"
30
31
namespace
nfd
{
32
namespace
fw {
33
37
class
RetxSuppressionFixed
:
public
RetxSuppression
38
{
39
public
:
40
explicit
41
RetxSuppressionFixed
(
const
time::milliseconds& minRetxInterval =
DEFAULT_MIN_RETX_INTERVAL
);
42
46
virtual
Result
47
decide
(
const
Face
& inFace,
const
Interest
& interest,
48
pit::Entry
& pitEntry)
const override
;
49
50
public
:
51
static
const
time::milliseconds
DEFAULT_MIN_RETX_INTERVAL
;
52
53
private
:
54
const
time::milliseconds m_minRetxInterval;
55
};
56
57
}
// namespace fw
58
}
// namespace nfd
59
60
#endif // NFD_DAEMON_FW_RETX_SUPPRESSION_FIXED_HPP
nfd::fw::RetxSuppressionFixed::DEFAULT_MIN_RETX_INTERVAL
static const time::milliseconds DEFAULT_MIN_RETX_INTERVAL
Definition:
retx-suppression-fixed.hpp:51
nfd::fw::RetxSuppressionFixed
a retransmission suppression decision algorithm that suppresses retransmissions within a fixed durati...
Definition:
retx-suppression-fixed.hpp:37
nfd::face::Face
generalization of a network interface
Definition:
face.hpp:67
nfd::fw::RetxSuppressionFixed::decide
virtual Result decide(const Face &inFace, const Interest &interest, pit::Entry &pitEntry) const override
determines whether Interest is a retransmission, and if so, whether it shall be forwarded or suppress...
Definition:
retx-suppression-fixed.cpp:41
ndn::Interest
represents an Interest packet
Definition:
interest.hpp:42
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::pit::Entry
an Interest table entry
Definition:
pit-entry.hpp:57
nfd::fw::RetxSuppression
helper for consumer retransmission suppression
Definition:
retx-suppression.hpp:36
nfd::fw::RetxSuppressionFixed::RetxSuppressionFixed
RetxSuppressionFixed(const time::milliseconds &minRetxInterval=DEFAULT_MIN_RETX_INTERVAL)
Definition:
retx-suppression-fixed.cpp:34
nfd::fw::RetxSuppression::Result
Result
Definition:
retx-suppression.hpp:39
retx-suppression.hpp
ndnSIM
NFD
daemon
fw
retx-suppression-fixed.hpp
Generated on Wed Jan 11 2017 18:17:15 for ndnSIM by
1.8.13