NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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
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
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class 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
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
w
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
g
i
k
l
m
n
p
r
s
u
w
+
Related Functions
b
c
d
f
i
k
l
n
o
p
s
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
k
l
m
n
p
r
s
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
g
k
l
n
p
r
s
Typedefs
+
Macros
b
d
e
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
fib-manager.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_MGMT_FIB_MANAGER_HPP
27
#define NFD_DAEMON_MGMT_FIB_MANAGER_HPP
28
29
#include "
manager-base.hpp
"
30
#include "
core/logger.hpp
"
31
#include "
table/fib.hpp
"
32
#include "
fw/forwarder.hpp
"
33
34
namespace
nfd
{
35
40
class
FibManager
:
public
ManagerBase
41
{
42
public
:
51
FibManager
(
Fib
& fib,
52
function
<shared_ptr<Face>(
FaceId
)> getFace,
53
Dispatcher
& dispatcher,
54
CommandValidator
& validator);
55
56
private
:
57
void
58
addNextHop(
const
Name
& topPrefix,
const
Interest
& interest,
59
ControlParameters
parameters,
60
const
ndn::mgmt::CommandContinuation
& done);
61
62
void
63
removeNextHop(
const
Name
& topPrefix,
const
Interest
& interest,
64
ControlParameters
parameters,
65
const
ndn::mgmt::CommandContinuation
& done);
66
67
void
68
listEntries(
const
Name
& topPrefix,
const
Interest
& interest,
69
ndn::mgmt::StatusDatasetContext
& context);
70
71
private
:
72
void
73
setFaceForSelfRegistration(
const
Interest
& request,
ControlParameters
& parameters);
74
75
private
:
76
Fib
& m_fib;
77
function<shared_ptr<Face>(
FaceId
)> m_getFace;
78
};
79
80
}
// namespace nfd
81
82
#endif // NFD_DAEMON_MGMT_FIB_MANAGER_HPP
nfd::ManagerBase
a collection of common functions shared by all NFD managers, such as communicating with the dispatche...
Definition:
manager-base.hpp:49
ndn::nfd::ControlParameters
represents parameters in a ControlCommand request or response
Definition:
nfd-control-parameters.hpp:77
ndn::mgmt::Dispatcher
represents a dispatcher on server side of NFD Management protocol
Definition:
dispatcher.hpp:129
manager-base.hpp
nfd::Fib
represents the FIB
Definition:
fib.hpp:44
fib.hpp
ndn::Interest
represents an Interest packet
Definition:
interest.hpp:45
logger.hpp
forwarder.hpp
nfd::FibManager
implement the FIB Management of NFD Management Protocol.
Definition:
fib-manager.hpp:40
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::CommandValidator
Definition:
command-validator.hpp:34
ndn::Name
Name abstraction to represent an absolute name.
Definition:
name.hpp:46
ndn::mgmt::CommandContinuation
std::function< void(const ControlResponse &resp)> CommandContinuation
a function to be called after ControlCommandHandler completes
Definition:
dispatcher.hpp:95
nfd::FibManager::FibManager
FibManager(Fib &fib, function< shared_ptr< Face >(FaceId)> getFace, Dispatcher &dispatcher, CommandValidator &validator)
construct a FibManger
Definition:
fib-manager.cpp:33
ndn::mgmt::StatusDatasetContext
provides a context for generating response to a StatusDataset request
Definition:
status-dataset-context.hpp:36
nfd::face::FaceId
uint64_t FaceId
identifies a face
Definition:
face.hpp:39
ndnSIM
NFD
daemon
mgmt
fib-manager.hpp
Generated on Sat Nov 12 2016 16:02:54 for ndnSIM by
1.8.12