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,
76  NOutDatas = 147,
77  NInBytes = 148,
78  NOutBytes = 149,
79 
80  // FIB Management
81  FibEntry = 128,
83 
84  // Strategy Choice Management
86 
87  // RIB Management
88  RibEntry = 128,
89  Route = 129
90 
91 };
92 
93 enum {
94  // Local Control Header
99  NoCache = 96
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:38
identifies a face