NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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  Strategy = 107,
44 
45  // ControlResponse
47  StatusCode = 102,
48  StatusText = 103,
49 
50  // ForwarderStatus
51  NfdVersion = 128,
55  NFibEntries = 132,
56  NPitEntries = 133,
58  NCsEntries = 135,
59 
60  // Face Management
61  FaceStatus = 128,
62  LocalUri = 129,
64  UriScheme = 131,
65  FaceScope = 132,
67  LinkType = 134,
71 
72  // ForwarderStatus and FaceStatus counters
73  NInInterests = 144,
74  NInDatas = 145,
75  NInNacks = 151,
77  NOutDatas = 147,
78  NOutNacks = 152,
79  NInBytes = 148,
80  NOutBytes = 149,
81 
82  // FIB Management
83  FibEntry = 128,
85 
86  // Strategy Choice Management
88 
89  // RIB Management
90  RibEntry = 128,
91  Route = 129
92 
93 };
94 
95 enum {
96  // Local Control Header
101  NoCache = 96
102 };
103 
104 } // namespace nfd
105 } // namespace tlv
106 } // namespace ndn
107 
108 #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