All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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, Regents of the University of California
4  *
5  * BSD license, See the LICENSE file for more information
6  *
7  * Author: Alexander Afanasyev <[email protected]>
8  */
9 
10 #ifndef NDN_TLV_NFD_HPP
11 #define NDN_TLV_NFD_HPP
12 
13 #include "../common.hpp"
14 
15 namespace ndn {
16 namespace tlv {
17 namespace nfd {
18 
19 // NFD Management protocol
20 enum {
21  // ControlParameters
23  FaceId = 105,
24  Uri = 114,
26  Origin = 111,
27  Cost = 106,
28  Flags = 108,
29  Strategy = 107,
31 
32  // ControlResponse
34  StatusCode = 102,
35  StatusText = 103,
36 
37  // ForwarderStatus
38  NfdVersion = 128,
42  NFibEntries = 132,
43  NPitEntries = 133,
45  NCsEntries = 135,
46  NInInterests = 144,
47  NInDatas = 145,
49  NOutDatas = 147,
50 
51  // Face Management
52  FaceStatus = 128,
53  LocalUri = 129,
54  FaceFlags = 194,
57 
58  // FIB Management
59  FibEntry = 128,
61 };
62 
63 enum {
64  // Local Control Header
68 };
69 
70 } // namespace nfd
71 } // namespace tlv
72 
73 namespace nfd {
74 
75 const uint64_t INVALID_FACE_ID = std::numeric_limits<uint64_t>::max();
76 
77 } // namespace nfd
78 
79 } // namespace ndn
80 
81 #endif // NDN_TLV_NFD_HPP
provides additional information about a face
const uint64_t INVALID_FACE_ID
Definition: tlv-nfd.hpp:75