NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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-2019 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 "ndn-cxx/encoding/tlv.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,
38  Origin = 111,
39  Cost = 106,
40  Capacity = 131,
41  Count = 132,
42  Flags = 108,
43  Mask = 112,
44  Strategy = 107,
46 
47  // ControlResponse
49  StatusCode = 102,
50  StatusText = 103,
51 
52  // ForwarderStatus
53  NfdVersion = 128,
57  NFibEntries = 132,
58  NPitEntries = 133,
60  NCsEntries = 135,
61 
62  // Face Management
63  FaceStatus = 128,
64  LocalUri = 129,
66  UriScheme = 131,
67  FaceScope = 132,
69  LinkType = 134,
72  Mtu = 137,
76 
77  // ForwarderStatus and FaceStatus counters
78  NInInterests = 144,
79  NInData = 145,
80  NInNacks = 151,
82  NOutData = 147,
83  NOutNacks = 152,
84  NInBytes = 148,
85  NOutBytes = 149,
88 
89  // Content Store Management
90  CsInfo = 128,
91  NHits = 129,
92  NMisses = 130,
93 
94  // FIB Management
95  FibEntry = 128,
97 
98  // Strategy Choice Management
100 
101  // RIB Management
102  RibEntry = 128,
103  Route = 129
104 };
105 
106 } // namespace nfd
107 } // namespace tlv
108 } // namespace ndn
109 
110 #endif // NDN_ENCODING_TLV_NFD_HPP
ndn::tlv::nfd::FaceStatus
@ FaceStatus
Definition: tlv-nfd.hpp:63
ndn::tlv::nfd::StartTimestamp
@ StartTimestamp
Definition: tlv-nfd.hpp:54
ndn::tlv::nfd::FibEntry
@ FibEntry
Definition: tlv-nfd.hpp:95
ndn::tlv::nfd::LinkType
@ LinkType
Definition: tlv-nfd.hpp:69
tlv.hpp
ndn::tlv::nfd::FaceId
@ FaceId
Definition: tlv-nfd.hpp:36
ndn::tlv::nfd::StatusText
@ StatusText
Definition: tlv-nfd.hpp:50
ndn::tlv::nfd::NCsEntries
@ NCsEntries
Definition: tlv-nfd.hpp:60
ndn::tlv::nfd::NMeasurementsEntries
@ NMeasurementsEntries
Definition: tlv-nfd.hpp:59
ndn::tlv::nfd::Origin
@ Origin
Definition: tlv-nfd.hpp:38
ndn::tlv::nfd::NOutInterests
@ NOutInterests
Definition: tlv-nfd.hpp:81
ndn::tlv::nfd::NNameTreeEntries
@ NNameTreeEntries
Definition: tlv-nfd.hpp:56
ndn::tlv::nfd::NPitEntries
@ NPitEntries
Definition: tlv-nfd.hpp:58
ndn::tlv::nfd::Cost
@ Cost
Definition: tlv-nfd.hpp:39
ndn::tlv::nfd::NInData
@ NInData
Definition: tlv-nfd.hpp:79
ndn::tlv::nfd::FaceEventKind
@ FaceEventKind
Definition: tlv-nfd.hpp:75
ndn::tlv::nfd::NFibEntries
@ NFibEntries
Definition: tlv-nfd.hpp:57
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40
ndn::tlv::nfd::Mtu
@ Mtu
Definition: tlv-nfd.hpp:72
ndn::tlv::nfd::CsInfo
@ CsInfo
Definition: tlv-nfd.hpp:90
ndn::tlv::nfd::Uri
@ Uri
Definition: tlv-nfd.hpp:37
ndn::tlv::nfd::FaceQueryFilter
@ FaceQueryFilter
Definition: tlv-nfd.hpp:73
ndn::tlv::nfd::NUnsatisfiedInterests
@ NUnsatisfiedInterests
Definition: tlv-nfd.hpp:87
ndn::tlv::nfd::Mask
@ Mask
Definition: tlv-nfd.hpp:43
ndn::tlv::nfd::ControlParameters
@ ControlParameters
Definition: tlv-nfd.hpp:35
ndn::tlv::nfd::NInBytes
@ NInBytes
Definition: tlv-nfd.hpp:84
ndn::tlv::nfd::NInInterests
@ NInInterests
Definition: tlv-nfd.hpp:78
ndn::tlv::nfd::NHits
@ NHits
Definition: tlv-nfd.hpp:91
ndn::tlv::nfd::FaceEventNotification
@ FaceEventNotification
Definition: tlv-nfd.hpp:74
ndn::tlv::nfd::StrategyChoice
@ StrategyChoice
Definition: tlv-nfd.hpp:99
ndn::tlv::nfd::UriScheme
@ UriScheme
Definition: tlv-nfd.hpp:66
ndn::tlv::nfd::ExpirationPeriod
@ ExpirationPeriod
Definition: tlv-nfd.hpp:45
ndn::tlv::nfd::ChannelStatus
@ ChannelStatus
Definition: tlv-nfd.hpp:65
ndn::tlv::nfd::NSatisfiedInterests
@ NSatisfiedInterests
Definition: tlv-nfd.hpp:86
ndn::tlv::nfd::ControlResponse
@ ControlResponse
Definition: tlv-nfd.hpp:48
ndn::tlv::nfd::NMisses
@ NMisses
Definition: tlv-nfd.hpp:92
ndn::tlv::nfd::Count
@ Count
Definition: tlv-nfd.hpp:41
ndn::tlv::nfd::NOutData
@ NOutData
Definition: tlv-nfd.hpp:82
ndn::tlv::nfd::FacePersistency
@ FacePersistency
Definition: tlv-nfd.hpp:68
ndn::tlv::nfd::NextHopRecord
@ NextHopRecord
Definition: tlv-nfd.hpp:96
ndn::tlv::nfd::DefaultCongestionThreshold
@ DefaultCongestionThreshold
Definition: tlv-nfd.hpp:71
ndn::tlv::nfd::Route
@ Route
Definition: tlv-nfd.hpp:103
ndn::tlv::nfd::CurrentTimestamp
@ CurrentTimestamp
Definition: tlv-nfd.hpp:55
ndn::tlv::nfd::Strategy
@ Strategy
Definition: tlv-nfd.hpp:44
ndn::tlv::nfd::BaseCongestionMarkingInterval
@ BaseCongestionMarkingInterval
Definition: tlv-nfd.hpp:70
ndn::tlv::nfd::LocalUri
@ LocalUri
Definition: tlv-nfd.hpp:64
ndn::tlv::nfd::FaceScope
@ FaceScope
Definition: tlv-nfd.hpp:67
ndn::tlv::nfd::NInNacks
@ NInNacks
Definition: tlv-nfd.hpp:80
ndn::tlv::nfd::RibEntry
@ RibEntry
Definition: tlv-nfd.hpp:102
ndn::tlv::nfd::Capacity
@ Capacity
Definition: tlv-nfd.hpp:40
nfd-constants.hpp
ndn::tlv::nfd::NOutNacks
@ NOutNacks
Definition: tlv-nfd.hpp:83
ndn::tlv::nfd::StatusCode
@ StatusCode
Definition: tlv-nfd.hpp:49
ndn::tlv::nfd::Flags
@ Flags
Definition: tlv-nfd.hpp:42
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-strategy-choice-helper.hpp:34
ndn::tlv::nfd::NOutBytes
@ NOutBytes
Definition: tlv-nfd.hpp:85
ndn::tlv::nfd::NfdVersion
@ NfdVersion
Definition: tlv-nfd.hpp:53