NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ndnSIM
ndnSIM documentation
All Attributes
All GlobalValues
All LogComponents
All TraceSources
Todo List
Deprecated List
Modules
Namespaces
Classes
Files
File List
File Members
•
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 "
nfd-manager-base.hpp
"
30
#include "
core/logger.hpp
"
31
#include "
table/fib.hpp
"
32
#include "
fw/forwarder.hpp
"
33
34
namespace
nfd
{
35
36
class
FaceTable
;
37
42
class
FibManager
:
public
NfdManagerBase
43
{
44
public
:
45
FibManager
(Fib& fib,
46
const
FaceTable
& faceTable,
47
Dispatcher
& dispatcher,
48
CommandAuthenticator
& authenticator);
49
50
private
:
51
void
52
addNextHop(
const
Name
& topPrefix,
const
Interest
& interest,
53
ControlParameters
parameters,
54
const
ndn::mgmt::CommandContinuation
& done);
55
56
void
57
removeNextHop(
const
Name
& topPrefix,
const
Interest
& interest,
58
ControlParameters
parameters,
59
const
ndn::mgmt::CommandContinuation
& done);
60
61
void
62
listEntries(
const
Name
& topPrefix,
const
Interest
& interest,
63
ndn::mgmt::StatusDatasetContext
& context);
64
65
private
:
66
void
67
setFaceForSelfRegistration(
const
Interest
& request,
ControlParameters
& parameters);
68
69
private
:
70
Fib& m_fib;
71
const
FaceTable
& m_faceTable;
72
};
73
74
}
// namespace nfd
75
76
#endif // NFD_DAEMON_MGMT_FIB_MANAGER_HPP
ndn::nfd::ControlParameters
represents parameters in a ControlCommand request or response
Definition:
control-parameters.hpp:71
ndn::mgmt::Dispatcher
represents a dispatcher on server side of NFD Management protocol
Definition:
dispatcher.hpp:129
nfd-manager-base.hpp
fib.hpp
ndn::Interest
represents an Interest packet
Definition:
interest.hpp:42
forwarder.hpp
nfd::FibManager::FibManager
FibManager(Fib &fib, const FaceTable &faceTable, Dispatcher &dispatcher, CommandAuthenticator &authenticator)
Definition:
fib-manager.cpp:38
nfd::FaceTable
container of all faces
Definition:
face-table.hpp:37
nfd::FibManager
implement the FIB Management of NFD Management Protocol.
Definition:
fib-manager.hpp:42
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::FaceTable
FaceTable
Definition:
face-table.cpp:36
ndn::Name
Represents an absolute name.
Definition:
name.hpp:42
ndn::mgmt::CommandContinuation
std::function< void(const ControlResponse &resp)> CommandContinuation
a function to be called after ControlCommandHandler completes
Definition:
dispatcher.hpp:95
nfd::CommandAuthenticator
provides ControlCommand authorization according to NFD configuration file
Definition:
command-authenticator.hpp:44
ndn::mgmt::StatusDatasetContext
provides a context for generating response to a StatusDataset request
Definition:
status-dataset-context.hpp:36
nfd::NfdManagerBase
a collection of common functions shared by all NFD managers, such as communicating with the dispatche...
Definition:
nfd-manager-base.hpp:41
logger.hpp
ndnSIM
NFD
daemon
mgmt
fib-manager.hpp
Generated on Thu Nov 2 2017 03:30:29 for ndnSIM by
1.8.11