NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API 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-2018 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 "tlv.hpp"
26 #include "nfd-constants.hpp"
27 
28 namespace ndn {
29 namespace tlv {
30 namespace nfd {
31 
32 // NFD Management protocol
33 enum {
34  // ControlParameters
36  FaceId = 105,
37  Uri = 114,
38  Origin = 111,
39  Cost = 106,
40  Capacity = 131,
41  Flags = 108,
42  Mask = 112,
43  Strategy = 107,
45 
46  // ControlResponse
48  StatusCode = 102,
49  StatusText = 103,
50 
51  // ForwarderStatus
52  NfdVersion = 128,
56  NFibEntries = 132,
57  NPitEntries = 133,
59  NCsEntries = 135,
60 
61  // Face Management
62  FaceStatus = 128,
63  LocalUri = 129,
65  UriScheme = 131,
66  FaceScope = 132,
68  LinkType = 134,
74 
75  // ForwarderStatus and FaceStatus counters
76  NInInterests = 144,
77  NInData = 145,
78  NInNacks = 151,
80  NOutData = 147,
81  NOutNacks = 152,
82  NInBytes = 148,
83  NOutBytes = 149,
84 
85  // Content Store Management
86  CsInfo = 128,
87  NHits = 129,
88  NMisses = 130,
89 
90  // FIB Management
91  FibEntry = 128,
93 
94  // Strategy Choice Management
96 
97  // RIB Management
98  RibEntry = 128,
99  Route = 129
100 };
101 
102 } // namespace nfd
103 } // namespace tlv
104 } // namespace ndn
105 
106 #endif // NDN_ENCODING_TLV_NFD_HPP
Copyright (c) 2011-2015 Regents of the University of California.
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40