NFD: Named Data Networking Forwarding Daemon 0.7.1 documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
+
Functions
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
u
w
+
Variables
a
c
d
e
f
g
h
i
l
m
n
p
q
r
+
Typedefs
c
d
e
f
h
i
n
o
q
r
s
t
u
Enumerations
Enumerator
+
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
l
m
n
o
p
r
s
t
u
w
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
u
v
w
+
Typedefs
c
d
e
f
g
i
o
p
r
s
u
v
Enumerations
Enumerator
Related Functions
+
Files
File List
+
File Members
+
All
c
f
h
k
l
m
n
o
p
r
s
u
v
w
+
Functions
c
f
h
m
r
s
u
w
Variables
Typedefs
+
Macros
f
l
n
o
p
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
status.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2014-2018, Regents of the University of California,
4
* Arizona Board of Regents,
5
* Colorado State University,
6
* University Pierre & Marie Curie, Sorbonne University,
7
* Washington University in St. Louis,
8
* Beijing Institute of Technology,
9
* The University of Memphis.
10
*
11
* This file is part of NFD (Named Data Networking Forwarding Daemon).
12
* See AUTHORS.md for complete list of NFD authors and contributors.
13
*
14
* NFD is free software: you can redistribute it and/or modify it under the terms
15
* of the GNU General Public License as published by the Free Software Foundation,
16
* either version 3 of the License, or (at your option) any later version.
17
*
18
* NFD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
19
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
20
* PURPOSE. See the GNU General Public License for more details.
21
*
22
* You should have received a copy of the GNU General Public License along with
23
* NFD, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
24
*/
25
26
#ifndef NFD_TOOLS_NFDC_STATUS_HPP
27
#define NFD_TOOLS_NFDC_STATUS_HPP
28
29
#include "
status-report.hpp
"
30
#include "
command-parser.hpp
"
31
32
namespace
nfd
{
33
namespace
tools {
34
namespace
nfdc {
35
36
struct
StatusReportOptions
37
{
38
ReportFormat
output
=
ReportFormat::TEXT
;
39
bool
wantForwarderGeneral
=
false
;
40
bool
wantChannels
=
false
;
41
bool
wantFaces
=
false
;
42
bool
wantFib
=
false
;
43
bool
wantRib
=
false
;
44
bool
wantCs
=
false
;
45
bool
wantStrategyChoice
=
false
;
46
};
47
50
void
51
reportStatus
(
ExecuteContext
& ctx,
const
StatusReportOptions
& options);
52
63
void
64
registerStatusCommands
(
CommandParser
& parser);
65
66
}
// namespace nfdc
67
}
// namespace tools
68
}
// namespace nfd
69
70
#endif // NFD_TOOLS_NFDC_STATUS_HPP
nfd::tools::nfdc::registerStatusCommands
void registerStatusCommands(CommandParser &parser)
registers status commands
Definition:
status.cpp:120
nfd::tools::nfdc::StatusReportOptions::wantCs
bool wantCs
Definition:
status.hpp:44
nfd::tools::nfdc::ExecuteContext
context for command execution
Definition:
execute-command.hpp:51
nfd::tools::nfdc::StatusReportOptions::wantChannels
bool wantChannels
Definition:
status.hpp:40
nfd::tools::nfdc::reportStatus
void reportStatus(ExecuteContext &ctx, const StatusReportOptions &options)
collect a status report and write to stdout
Definition:
status.cpp:42
nfd::tools::nfdc::StatusReportOptions::wantStrategyChoice
bool wantStrategyChoice
Definition:
status.hpp:45
nfd::tools::nfdc::StatusReportOptions::wantFaces
bool wantFaces
Definition:
status.hpp:41
nfd::tools::nfdc::StatusReportOptions::wantForwarderGeneral
bool wantForwarderGeneral
Definition:
status.hpp:39
nfd::tools::nfdc::StatusReportOptions
Definition:
status.hpp:36
nfd::tools::nfdc::ReportFormat::TEXT
nfd::tools::nfdc::StatusReportOptions::output
ReportFormat output
Definition:
status.hpp:38
nfd
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition:
algorithm.hpp:32
command-parser.hpp
nfd::tools::nfdc::CommandParser
parses a command
Definition:
command-parser.hpp:63
nfd::tools::nfdc::StatusReportOptions::wantFib
bool wantFib
Definition:
status.hpp:42
nfd::tools::nfdc::ReportFormat
ReportFormat
Definition:
status-report.hpp:42
status-report.hpp
nfd::tools::nfdc::StatusReportOptions::wantRib
bool wantRib
Definition:
status.hpp:43
tools
nfdc
status.hpp
Generated on Thu Oct 8 2020 17:06:01 for NFD: Named Data Networking Forwarding Daemon by
1.8.13