ndn-cxx: NDN C++ library with eXperimental eXtensions 0.7.1 documentation
tlv-nfd.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2013-2019 Regents of the University of California.
4
*
5
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
6
*
7
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
8
* terms of the GNU Lesser General Public License as published by the Free Software
9
* Foundation, either version 3 of the License, or (at your option) any later version.
10
*
11
* ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY
12
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14
*
15
* You should have received copies of the GNU General Public License and GNU Lesser
16
* General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see
17
* <http://www.gnu.org/licenses/>.
18
*
19
* See AUTHORS.md for complete list of ndn-cxx authors and contributors.
20
*/
21
22
#ifndef NDN_ENCODING_TLV_NFD_HPP
23
#define NDN_ENCODING_TLV_NFD_HPP
24
25
#include "
ndn-cxx/encoding/tlv.hpp
"
26
#include "
ndn-cxx/encoding/nfd-constants.hpp
"
27
28
namespace
ndn
{
29
namespace
tlv {
30
namespace
nfd {
31
32
// NFD Management protocol
33
enum
{
34
// ControlParameters
35
ControlParameters
= 104,
36
FaceId
= 105,
37
Uri
= 114,
38
Origin
= 111,
39
Cost
= 106,
40
Capacity
= 131,
41
Count
= 132,
42
Flags
= 108,
43
Mask
= 112,
44
Strategy
= 107,
45
ExpirationPeriod
= 109,
46
47
// ControlResponse
48
ControlResponse
= 101,
49
StatusCode
= 102,
50
StatusText
= 103,
51
52
// ForwarderStatus
53
NfdVersion
= 128,
54
StartTimestamp
= 129,
55
CurrentTimestamp
= 130,
56
NNameTreeEntries
= 131,
57
NFibEntries
= 132,
58
NPitEntries
= 133,
59
NMeasurementsEntries
= 134,
60
NCsEntries
= 135,
61
62
// Face Management
63
FaceStatus
= 128,
64
LocalUri
= 129,
65
ChannelStatus
= 130,
66
UriScheme
= 131,
67
FaceScope
= 132,
68
FacePersistency
= 133,
69
LinkType
= 134,
70
BaseCongestionMarkingInterval
= 135,
71
DefaultCongestionThreshold
= 136,
72
Mtu
= 137,
73
FaceQueryFilter
= 150,
74
FaceEventNotification
= 192,
75
FaceEventKind
= 193,
76
77
// ForwarderStatus and FaceStatus counters
78
NInInterests
= 144,
79
NInData
= 145,
80
NInNacks
= 151,
81
NOutInterests
= 146,
82
NOutData
= 147,
83
NOutNacks
= 152,
84
NInBytes
= 148,
85
NOutBytes
= 149,
86
NSatisfiedInterests
= 153,
87
NUnsatisfiedInterests
= 154,
88
89
// Content Store Management
90
CsInfo
= 128,
91
NHits
= 129,
92
NMisses
= 130,
93
94
// FIB Management
95
FibEntry
= 128,
96
NextHopRecord
= 129,
97
98
// Strategy Choice Management
99
StrategyChoice
= 128,
100
101
// RIB Management
102
RibEntry
= 128,
103
Route
= 129
104
};
105
106
}
// namespace nfd
107
}
// namespace tlv
108
}
// namespace ndn
109
110
#endif // NDN_ENCODING_TLV_NFD_HPP
tlv.hpp
ndn::tlv::nfd::FacePersistency
Definition:
tlv-nfd.hpp:68
ndn
Definition:
data.cpp:26
ndn::tlv::nfd::FaceId
Definition:
tlv-nfd.hpp:36
ndn::tlv::nfd::ChannelStatus
Definition:
tlv-nfd.hpp:65
ndn::tlv::nfd::NMisses
Definition:
tlv-nfd.hpp:92
ndn::tlv::nfd::ControlParameters
Definition:
tlv-nfd.hpp:35
ndn::tlv::nfd::DefaultCongestionThreshold
Definition:
tlv-nfd.hpp:71
ndn::tlv::nfd::Flags
Definition:
tlv-nfd.hpp:42
ndn::tlv::nfd::NInBytes
Definition:
tlv-nfd.hpp:84
ndn::tlv::nfd::FaceEventKind
Definition:
tlv-nfd.hpp:75
ndn::tlv::nfd::FaceStatus
Definition:
tlv-nfd.hpp:63
ndn::tlv::nfd::Origin
Definition:
tlv-nfd.hpp:38
ndn::tlv::nfd::NInData
Definition:
tlv-nfd.hpp:79
ndn::tlv::nfd::BaseCongestionMarkingInterval
Definition:
tlv-nfd.hpp:70
ndn::tlv::nfd::NNameTreeEntries
Definition:
tlv-nfd.hpp:56
ndn::tlv::nfd::NOutInterests
Definition:
tlv-nfd.hpp:81
ndn::tlv::nfd::FaceEventNotification
Definition:
tlv-nfd.hpp:74
ndn::tlv::nfd::StatusCode
Definition:
tlv-nfd.hpp:49
ndn::tlv::nfd::NMeasurementsEntries
Definition:
tlv-nfd.hpp:59
ndn::tlv::nfd::RibEntry
Definition:
tlv-nfd.hpp:102
ndn::tlv::nfd::ExpirationPeriod
Definition:
tlv-nfd.hpp:45
ndn::tlv::nfd::NHits
Definition:
tlv-nfd.hpp:91
ndn::tlv::nfd::LocalUri
Definition:
tlv-nfd.hpp:64
nfd-constants.hpp
ndn::tlv::nfd::Capacity
Definition:
tlv-nfd.hpp:40
ndn::tlv::nfd::UriScheme
Definition:
tlv-nfd.hpp:66
ndn::tlv::nfd::FaceScope
Definition:
tlv-nfd.hpp:67
ndn::tlv::nfd::NUnsatisfiedInterests
Definition:
tlv-nfd.hpp:87
ndn::tlv::nfd::Strategy
Definition:
tlv-nfd.hpp:44
ndn::tlv::nfd::FaceQueryFilter
Definition:
tlv-nfd.hpp:73
ndn::tlv::nfd::NextHopRecord
Definition:
tlv-nfd.hpp:96
ndn::tlv::nfd::Cost
Definition:
tlv-nfd.hpp:39
ndn::tlv::nfd::Count
Definition:
tlv-nfd.hpp:41
ndn::tlv::nfd::NOutNacks
Definition:
tlv-nfd.hpp:83
ndn::tlv::nfd::NOutData
Definition:
tlv-nfd.hpp:82
ndn::tlv::nfd::NFibEntries
Definition:
tlv-nfd.hpp:57
ndn::tlv::nfd::LinkType
Definition:
tlv-nfd.hpp:69
ndn::tlv::nfd::ControlResponse
Definition:
tlv-nfd.hpp:48
ndn::tlv::nfd::Mask
Definition:
tlv-nfd.hpp:43
ndn::tlv::nfd::NInNacks
Definition:
tlv-nfd.hpp:80
ndn::tlv::nfd::NfdVersion
Definition:
tlv-nfd.hpp:53
ndn::tlv::nfd::NPitEntries
Definition:
tlv-nfd.hpp:58
ndn::tlv::nfd::StrategyChoice
Definition:
tlv-nfd.hpp:99
ndn::tlv::nfd::StatusText
Definition:
tlv-nfd.hpp:50
ndn::tlv::nfd::FibEntry
Definition:
tlv-nfd.hpp:95
ndn::tlv::nfd::NOutBytes
Definition:
tlv-nfd.hpp:85
ndn::tlv::nfd::Route
Definition:
tlv-nfd.hpp:103
ndn::tlv::nfd::Mtu
Definition:
tlv-nfd.hpp:72
ndn::tlv::nfd::NSatisfiedInterests
Definition:
tlv-nfd.hpp:86
ndn::tlv::nfd::Uri
Definition:
tlv-nfd.hpp:37
ndn::tlv::nfd::CurrentTimestamp
Definition:
tlv-nfd.hpp:55
ndn::tlv::nfd::NInInterests
Definition:
tlv-nfd.hpp:78
ndn::tlv::nfd::NCsEntries
Definition:
tlv-nfd.hpp:60
ndn::tlv::nfd::CsInfo
Definition:
tlv-nfd.hpp:90
ndn::tlv::nfd::StartTimestamp
Definition:
tlv-nfd.hpp:54
ndn-cxx
encoding
tlv-nfd.hpp
Generated on Thu Oct 8 2020 17:02:51 for ndn-cxx: NDN C++ library with eXperimental eXtensions by
1.8.13