NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
k
l
n
o
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
f
i
k
l
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Enumerations
_
a
c
e
i
r
s
t
v
+
Enumerator
a
c
d
e
f
i
k
l
m
n
p
r
s
u
v
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
f
g
i
k
l
m
n
p
r
s
t
Typedefs
+
Macros
a
d
e
f
i
l
m
n
o
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
best-route-strategy2.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_FW_BEST_ROUTE_STRATEGY2_HPP
27
#define NFD_DAEMON_FW_BEST_ROUTE_STRATEGY2_HPP
28
29
#include "
strategy.hpp
"
30
#include "
process-nack-traits.hpp
"
31
#include "
retx-suppression-exponential.hpp
"
32
33
namespace
nfd
{
34
namespace
fw {
35
53
class
BestRouteStrategy2
:
public
Strategy
54
,
public
ProcessNackTraits
<BestRouteStrategy2>
55
{
56
public
:
57
explicit
58
BestRouteStrategy2
(
Forwarder
& forwarder,
const
Name
&
name
=
getStrategyName
());
59
60
static
const
Name
&
61
getStrategyName
();
62
63
void
64
afterReceiveInterest
(
const
Face
& inFace,
const
Interest
& interest,
65
const
shared_ptr<pit::Entry>& pitEntry)
override
;
66
67
void
68
afterReceiveNack
(
const
Face
& inFace,
const
lp::Nack
& nack,
69
const
shared_ptr<pit::Entry>& pitEntry)
override
;
70
71
PUBLIC_WITH_TESTS_ELSE_PRIVATE
:
72
static
const
time::milliseconds RETX_SUPPRESSION_INITIAL;
73
static
const
time::milliseconds RETX_SUPPRESSION_MAX;
74
RetxSuppressionExponential
m_retxSuppression;
75
76
friend
ProcessNackTraits<BestRouteStrategy2>
;
77
};
78
79
}
// namespace fw
80
}
// namespace nfd
81
82
#endif // NFD_DAEMON_FW_BEST_ROUTE_STRATEGY2_HPP
PUBLIC_WITH_TESTS_ELSE_PRIVATE
#define PUBLIC_WITH_TESTS_ELSE_PRIVATE
Definition:
common.hpp:40
nfd::face::Face
generalization of a network interface
Definition:
face.hpp:67
nfd::fw::BestRouteStrategy2::afterReceiveNack
void afterReceiveNack(const Face &inFace, const lp::Nack &nack, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Nack is received
Definition:
best-route-strategy2.cpp:192
retx-suppression-exponential.hpp
nfd::fw::BestRouteStrategy2
Best Route strategy version 4.
Definition:
best-route-strategy2.hpp:53
nfd::Forwarder
main class of NFD
Definition:
forwarder.hpp:54
ndn::Interest
Represents an Interest packet.
Definition:
interest.hpp:44
process-nack-traits.hpp
nfd::fw::BestRouteStrategy2::BestRouteStrategy2
BestRouteStrategy2(Forwarder &forwarder, const Name &name=getStrategyName())
Definition:
best-route-strategy2.cpp:39
ndn::lp::Nack
represents a Network Nack
Definition:
nack.hpp:38
nfd::fw::ProcessNackTraits
Definition:
process-nack-traits.hpp:70
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::fw::BestRouteStrategy2::afterReceiveInterest
void afterReceiveInterest(const Face &inFace, const Interest &interest, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Interest is received
Definition:
best-route-strategy2.cpp:127
ndn::Name
Represents an absolute name.
Definition:
name.hpp:43
strategy.hpp
nfd::fw::Strategy
represents a forwarding strategy
Definition:
strategy.hpp:37
nfd::fw::BestRouteStrategy2::getStrategyName
static const Name & getStrategyName()
Definition:
best-route-strategy2.cpp:58
nfd::fw::RetxSuppressionExponential
a retransmission suppression decision algorithm that suppresses retransmissions using exponential bac...
Definition:
retx-suppression-exponential.hpp:41
ndn::name
Definition:
name-component-types.hpp:33
ndnSIM
NFD
daemon
fw
best-route-strategy2.hpp
Generated on Sun Feb 24 2019 22:16:07 for ndnSIM by
1.8.15