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-2023 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_CXX_ENCODING_TLV_NFD_HPP
23 #define NDN_CXX_ENCODING_TLV_NFD_HPP
24 
25 #include <cstdint>
26 
27 namespace ndn::tlv::nfd {
28 
33 enum : uint32_t {
34  // ControlParameters
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,
46 
47  // ControlResponse
49  StatusCode = 102,
50  StatusText = 103,
51 
52  // ForwarderStatus
53  NfdVersion = 128,
57  NFibEntries = 132,
58  NPitEntries = 133,
60  NCsEntries = 135,
61 
62  // Face Management
63  FaceStatus = 128,
64  LocalUri = 129,
66  UriScheme = 131,
67  FaceScope = 132,
69  LinkType = 134,
72  Mtu = 137,
76 
77  // ForwarderStatus and FaceStatus counters
78  NInInterests = 144,
79  NInData = 145,
80  NInNacks = 151,
82  NOutData = 147,
83  NOutNacks = 152,
84  NInBytes = 148,
85  NOutBytes = 149,
88 
89  // Content Store Management
90  CsInfo = 128,
91  NHits = 129,
92  NMisses = 130,
93 
94  // FIB Management
95  FibEntry = 128,
97 
98  // Strategy Choice Management
100 
101  // RIB Management
102  RibEntry = 128,
103  Route = 129,
104 };
105 
106 } // namespace ndn::tlv::nfd
107 
108 #endif // NDN_CXX_ENCODING_TLV_NFD_HPP
@ BaseCongestionMarkingInterval
Definition: tlv-nfd.hpp:70
@ NNameTreeEntries
Definition: tlv-nfd.hpp:56
@ ControlParameters
Definition: tlv-nfd.hpp:35
@ DefaultCongestionThreshold
Definition: tlv-nfd.hpp:71
@ NUnsatisfiedInterests
Definition: tlv-nfd.hpp:87
@ FaceEventNotification
Definition: tlv-nfd.hpp:74
@ NSatisfiedInterests
Definition: tlv-nfd.hpp:86
@ NMeasurementsEntries
Definition: tlv-nfd.hpp:59
@ ExpirationPeriod
Definition: tlv-nfd.hpp:45
@ CurrentTimestamp
Definition: tlv-nfd.hpp:55