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; -*- */
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  NInDatas = 145,
76  NInNacks = 151,
78  NOutDatas = 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 
96 enum {
97  // Local Control Header
102  NoCache = 96
103 };
104 
105 } // namespace nfd
106 } // namespace tlv
107 } // namespace ndn
108 
109 #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