NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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-2017 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,
39  Origin = 111,
40  Cost = 106,
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,
72 
73  // ForwarderStatus and FaceStatus counters
74  NInInterests = 144,
75  NInData = 145,
76  NInNacks = 151,
78  NOutData = 147,
79  NOutNacks = 152,
80  NInBytes = 148,
81  NOutBytes = 149,
82 
83  // FIB Management
84  FibEntry = 128,
86 
87  // Strategy Choice Management
89 
90  // RIB Management
91  RibEntry = 128,
92  Route = 129
93 };
94 
95 } // namespace nfd
96 } // namespace tlv
97 } // namespace ndn
98 
99 #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