akmhoque | 3d06e79 | 2014-05-27 16:23:20 -0500 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| 2 | /** |
Ashlesh Gawande | 7e3f6d7 | 2019-01-25 13:13:43 -0600 | [diff] [blame] | 3 | * Copyright (c) 2014-2019, The University of Memphis, |
Vince Lehman | c2e51f6 | 2015-01-20 15:03:11 -0600 | [diff] [blame] | 4 | * Regents of the University of California, |
| 5 | * Arizona Board of Regents. |
akmhoque | 3d06e79 | 2014-05-27 16:23:20 -0500 | [diff] [blame] | 6 | * |
| 7 | * This file is part of NLSR (Named-data Link State Routing). |
| 8 | * See AUTHORS.md for complete list of NLSR authors and contributors. |
| 9 | * |
| 10 | * NLSR is free software: you can redistribute it and/or modify it under the terms |
| 11 | * of the GNU General Public License as published by the Free Software Foundation, |
| 12 | * either version 3 of the License, or (at your option) any later version. |
| 13 | * |
| 14 | * NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
| 15 | * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 16 | * PURPOSE. See the GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License along with |
| 19 | * NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>. |
akmhoque | 3d06e79 | 2014-05-27 16:23:20 -0500 | [diff] [blame] | 20 | **/ |
Vince Lehman | c2e51f6 | 2015-01-20 15:03:11 -0600 | [diff] [blame] | 21 | |
dmcoomes | 9f93666 | 2017-03-02 10:33:09 -0600 | [diff] [blame] | 22 | #ifndef NLSR_NLSR_HPP |
| 23 | #define NLSR_NLSR_HPP |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 24 | |
Vince Lehman | c2acdcb | 2015-04-29 11:14:35 -0500 | [diff] [blame] | 25 | #include "adjacency-list.hpp" |
Vince Lehman | 0a7da61 | 2014-10-29 14:39:29 -0500 | [diff] [blame] | 26 | #include "common.hpp" |
akmhoque | 5335346 | 2014-04-22 08:43:45 -0500 | [diff] [blame] | 27 | #include "conf-parameter.hpp" |
akmhoque | 31d1d4b | 2014-05-05 22:08:14 -0500 | [diff] [blame] | 28 | #include "hello-protocol.hpp" |
Vince Lehman | c2acdcb | 2015-04-29 11:14:35 -0500 | [diff] [blame] | 29 | #include "lsdb.hpp" |
| 30 | #include "name-prefix-list.hpp" |
Vince Lehman | 7b61658 | 2014-10-17 16:25:39 -0500 | [diff] [blame] | 31 | #include "test-access-control.hpp" |
laqinfan | 3573185 | 2017-08-08 06:17:39 -0500 | [diff] [blame] | 32 | #include "publisher/dataset-interest-handler.hpp" |
Vince Lehman | c2acdcb | 2015-04-29 11:14:35 -0500 | [diff] [blame] | 33 | #include "route/fib.hpp" |
| 34 | #include "route/name-prefix-table.hpp" |
| 35 | #include "route/routing-table.hpp" |
| 36 | #include "security/certificate-store.hpp" |
| 37 | #include "update/prefix-update-processor.hpp" |
Nick Gordon | 4d2c6c0 | 2017-01-20 13:18:46 -0600 | [diff] [blame] | 38 | #include "update/nfd-rib-command-processor.hpp" |
Vince Lehman | c2acdcb | 2015-04-29 11:14:35 -0500 | [diff] [blame] | 39 | #include "utility/name-helper.hpp" |
Alejandro Gil Torres | e0d2048 | 2016-03-06 23:56:19 -0600 | [diff] [blame] | 40 | #include "stats-collector.hpp" |
Yingdi Yu | 20e3a6e | 2014-05-26 23:16:10 -0700 | [diff] [blame] | 41 | |
Nick Gordon | d0a7df3 | 2017-05-30 16:44:34 -0500 | [diff] [blame] | 42 | #include <boost/cstdint.hpp> |
Laqin Fan | 54a43f0 | 2017-03-08 12:31:30 -0600 | [diff] [blame] | 43 | #include <stdexcept> |
Nick Gordon | d0a7df3 | 2017-05-30 16:44:34 -0500 | [diff] [blame] | 44 | #include <boost/throw_exception.hpp> |
Laqin Fan | 54a43f0 | 2017-03-08 12:31:30 -0600 | [diff] [blame] | 45 | |
| 46 | #include <ndn-cxx/face.hpp> |
| 47 | #include <ndn-cxx/security/key-chain.hpp> |
Muktadir Chowdhury | f04f989 | 2017-08-20 20:42:56 -0500 | [diff] [blame] | 48 | #include <ndn-cxx/security/validator-config.hpp> |
| 49 | #include <ndn-cxx/security/v2/certificate-fetcher-direct-fetch.hpp> |
| 50 | #include <ndn-cxx/security/signing-helpers.hpp> |
| 51 | #include <ndn-cxx/security/signing-info.hpp> |
Laqin Fan | 54a43f0 | 2017-03-08 12:31:30 -0600 | [diff] [blame] | 52 | #include <ndn-cxx/util/scheduler.hpp> |
| 53 | #include <ndn-cxx/mgmt/nfd/face-event-notification.hpp> |
| 54 | #include <ndn-cxx/mgmt/nfd/face-monitor.hpp> |
| 55 | #include <ndn-cxx/mgmt/dispatcher.hpp> |
| 56 | #include <ndn-cxx/mgmt/nfd/face-status.hpp> |
| 57 | #include <ndn-cxx/data.hpp> |
| 58 | #include <ndn-cxx/encoding/block.hpp> |
Muktadir Chowdhury | f04f989 | 2017-08-20 20:42:56 -0500 | [diff] [blame] | 59 | #include <ndn-cxx/encoding/nfd-constants.hpp> |
| 60 | #include <ndn-cxx/mgmt/nfd/control-parameters.hpp> |
| 61 | #include <ndn-cxx/mgmt/nfd/control-response.hpp> |
Laqin Fan | 54a43f0 | 2017-03-08 12:31:30 -0600 | [diff] [blame] | 62 | |
akmhoque | 5335346 | 2014-04-22 08:43:45 -0500 | [diff] [blame] | 63 | namespace nlsr { |
| 64 | |
Yingdi Yu | 20e3a6e | 2014-05-26 23:16:10 -0700 | [diff] [blame] | 65 | static ndn::Name DEFAULT_BROADCAST_PREFIX("/ndn/broadcast"); |
| 66 | |
akmhoque | 5335346 | 2014-04-22 08:43:45 -0500 | [diff] [blame] | 67 | class Nlsr |
| 68 | { |
Nick Gordon | d5c1a37 | 2016-10-31 13:56:23 -0500 | [diff] [blame] | 69 | public: |
| 70 | using FetchDatasetCallback = std::function<void(const std::vector<ndn::nfd::FaceStatus>&)>; |
| 71 | using FetchDatasetTimeoutCallback = std::function<void(uint32_t, const std::string&)>; |
Nick Gordon | 9461afb | 2017-04-25 15:54:50 -0500 | [diff] [blame] | 72 | |
akmhoque | fdbddb1 | 2014-05-02 18:35:19 -0500 | [diff] [blame] | 73 | class Error : public std::runtime_error |
| 74 | { |
| 75 | public: |
| 76 | explicit |
| 77 | Error(const std::string& what) |
| 78 | : std::runtime_error(what) |
| 79 | { |
| 80 | } |
| 81 | }; |
| 82 | |
Ashlesh Gawande | 85998a1 | 2017-12-07 22:22:13 -0600 | [diff] [blame] | 83 | Nlsr(ndn::Face& face, ndn::KeyChain& keyChain, ConfParameter& confParam); |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 84 | |
akmhoque | 5335346 | 2014-04-22 08:43:45 -0500 | [diff] [blame] | 85 | void |
Ashlesh Gawande | 08bce9c | 2019-04-05 11:08:07 -0500 | [diff] [blame] | 86 | registerStrategyForCerts(const ndn::Name& originRouter); |
| 87 | |
| 88 | void |
akmhoque | 5335346 | 2014-04-22 08:43:45 -0500 | [diff] [blame] | 89 | registrationFailed(const ndn::Name& name); |
| 90 | |
| 91 | void |
akmhoque | 157b0a4 | 2014-05-13 00:26:37 -0500 | [diff] [blame] | 92 | onRegistrationSuccess(const ndn::Name& name); |
| 93 | |
| 94 | void |
akmhoque | 31d1d4b | 2014-05-05 22:08:14 -0500 | [diff] [blame] | 95 | setInfoInterestFilter(); |
| 96 | |
| 97 | void |
| 98 | setLsaInterestFilter(); |
akmhoque | 5335346 | 2014-04-22 08:43:45 -0500 | [diff] [blame] | 99 | |
Muktadir Chowdhury | f04f989 | 2017-08-20 20:42:56 -0500 | [diff] [blame] | 100 | /*! \brief Add top level prefixes for Dispatcher |
| 101 | * |
| 102 | * All dispatcher-related sub-prefixes *must* be registered before sub-prefixes |
| 103 | * must be added before adding top |
| 104 | */ |
| 105 | void |
| 106 | addDispatcherTopPrefix(const ndn::Name& topPrefix); |
| 107 | |
akmhoque | 5335346 | 2014-04-22 08:43:45 -0500 | [diff] [blame] | 108 | Fib& |
| 109 | getFib() |
| 110 | { |
| 111 | return m_fib; |
| 112 | } |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 113 | |
akmhoque | 5335346 | 2014-04-22 08:43:45 -0500 | [diff] [blame] | 114 | void |
| 115 | initialize(); |
akmhoque | 1fd8c1e | 2014-02-19 19:41:49 -0600 | [diff] [blame] | 116 | |
Nick Gordon | d5c1a37 | 2016-10-31 13:56:23 -0500 | [diff] [blame] | 117 | /*! \brief Initializes neighbors' Faces using information from NFD. |
| 118 | * \sa Nlsr::initialize() |
| 119 | * \sa Nlsr::processFaceDataset() |
| 120 | * |
| 121 | * This function serves as the entry-point for initializing the |
| 122 | * neighbors listed in nlsr.conf during Nlsr::initialize(). NLSR |
| 123 | * will attempt to fetch a dataset of Faces from NFD, and configure |
| 124 | * each of its neighbors using information from that dataset. The |
| 125 | * explicit callbacks allow for better testability. |
| 126 | */ |
| 127 | void |
| 128 | initializeFaces(const FetchDatasetCallback& onFetchSuccess, |
| 129 | const FetchDatasetTimeoutCallback& onFetchFailure); |
| 130 | |
| 131 | void |
| 132 | onFaceDatasetFetchTimeout(uint32_t code, |
| 133 | const std::string& reason, |
| 134 | uint32_t nRetriesSoFar); |
| 135 | |
| 136 | /*! \brief Consumes a Face StatusDataset to configure NLSR neighbors. |
| 137 | * \sa Nlsr::initializeFaces |
| 138 | * \param faces A Face Dataset that should conform to FaceMgmt specifications. |
| 139 | * |
| 140 | * This function processes a Face StatusDataset that should conform |
| 141 | * to the FaceMgmt specifications listed |
| 142 | * [here](https://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Face-Dataset). |
| 143 | * Any newly configured neighbors will have prefixes registered with NFD |
| 144 | * and be sent Hello Interests as well. |
| 145 | */ |
| 146 | void |
| 147 | processFaceDataset(const std::vector<ndn::nfd::FaceStatus>& faces); |
| 148 | |
| 149 | /*! \brief Registers NLSR-specific prefixes for a neighbor (Adjacent) |
| 150 | * \sa Nlsr::initializeFaces |
| 151 | * \param adj A reference to the neighbor to register prefixes for |
| 152 | * \param timeout The amount of time to give NFD to respond to *each* registration request. |
| 153 | * |
| 154 | * Registers the prefixes in NFD that NLSR needs to route with a |
| 155 | * neighbor. The timeout given is how long to set the timeout for |
| 156 | * *each* registration request that is made. |
| 157 | */ |
| 158 | void |
| 159 | registerAdjacencyPrefixes(const Adjacent& adj, |
| 160 | const ndn::time::milliseconds& timeout); |
| 161 | |
Muktadir Chowdhury | f04f989 | 2017-08-20 20:42:56 -0500 | [diff] [blame] | 162 | /*! \brief Add a certificate NLSR claims to be authoritative for to the certificate store. |
| 163 | * |
| 164 | * \sa CertificateStore |
| 165 | */ |
| 166 | void |
| 167 | loadCertToPublish(const ndn::security::v2::Certificate& certificate); |
| 168 | |
Muktadir Chowdhury | c3ea26f | 2018-01-05 21:40:59 +0000 | [diff] [blame] | 169 | /*! \brief Callback when SegmentFetcher retrieves a segment. |
| 170 | */ |
| 171 | void |
| 172 | afterFetcherSignalEmitted(const ndn::Data& lsaSegment); |
| 173 | |
| 174 | /*! \brief Retrieves the chain of certificates from Validator's cache and |
| 175 | * store them in Nlsr's own CertificateStore. |
| 176 | * \param keyName Name of the first key in the certificate chain. |
| 177 | */ |
| 178 | void |
| 179 | publishCertFromCache(const ndn::Name& keyName); |
| 180 | |
| 181 | void |
akmhoque | 443ad81 | 2014-07-29 10:26:56 -0500 | [diff] [blame] | 182 | initializeKey(); |
Yingdi Yu | 20e3a6e | 2014-05-26 23:16:10 -0700 | [diff] [blame] | 183 | |
Nick Gordon | d0a7df3 | 2017-05-30 16:44:34 -0500 | [diff] [blame] | 184 | /*! \brief Find a certificate |
| 185 | * |
| 186 | * Find a certificate that NLSR has. First it checks against the |
| 187 | * certificates this NLSR claims to be authoritative for, usually |
| 188 | * something like this specific router's certificate, and then |
| 189 | * checks the cache of certficates it has already fetched. If none |
| 190 | * can be found, it will return an empty pointer. |
| 191 | */ |
Muktadir Chowdhury | f04f989 | 2017-08-20 20:42:56 -0500 | [diff] [blame] | 192 | const ndn::security::v2::Certificate* |
| 193 | getCertificate(const ndn::Name& certificateKeyName) |
Yingdi Yu | 20e3a6e | 2014-05-26 23:16:10 -0700 | [diff] [blame] | 194 | { |
Muktadir Chowdhury | f04f989 | 2017-08-20 20:42:56 -0500 | [diff] [blame] | 195 | const ndn::security::v2::Certificate* cert = |
| 196 | m_certStore.find(certificateKeyName); |
Yingdi Yu | 20e3a6e | 2014-05-26 23:16:10 -0700 | [diff] [blame] | 197 | |
Muktadir Chowdhury | f04f989 | 2017-08-20 20:42:56 -0500 | [diff] [blame] | 198 | return cert; |
Yingdi Yu | 20e3a6e | 2014-05-26 23:16:10 -0700 | [diff] [blame] | 199 | } |
| 200 | |
akmhoque | e176515 | 2014-06-30 11:32:01 -0500 | [diff] [blame] | 201 | void |
akmhoque | c04e727 | 2014-07-02 11:00:14 -0500 | [diff] [blame] | 202 | setStrategies(); |
akmhoque | 157b0a4 | 2014-05-13 00:26:37 -0500 | [diff] [blame] | 203 | |
alvy | 297f416 | 2015-03-03 17:15:33 -0600 | [diff] [blame] | 204 | PUBLIC_WITH_TESTS_ELSE_PRIVATE: |
alvy | 297f416 | 2015-03-03 17:15:33 -0600 | [diff] [blame] | 205 | |
Vince Lehman | c2acdcb | 2015-04-29 11:14:35 -0500 | [diff] [blame] | 206 | security::CertificateStore& |
| 207 | getCertificateStore() |
| 208 | { |
| 209 | return m_certStore; |
| 210 | } |
| 211 | |
akmhoque | 393d4ff | 2014-07-16 14:27:03 -0500 | [diff] [blame] | 212 | private: |
Nick Gordon | d0a7df3 | 2017-05-30 16:44:34 -0500 | [diff] [blame] | 213 | /*! \brief Registers the prefix that NLSR will use for key/certificate interests. |
| 214 | */ |
Yingdi Yu | 20e3a6e | 2014-05-26 23:16:10 -0700 | [diff] [blame] | 215 | void |
| 216 | registerKeyPrefix(); |
| 217 | |
Nick Gordon | d0a7df3 | 2017-05-30 16:44:34 -0500 | [diff] [blame] | 218 | /*! \brief Registers the prefix that NLSR will consider to be the machine-local, secure prefix. |
| 219 | */ |
Yingdi Yu | 20e3a6e | 2014-05-26 23:16:10 -0700 | [diff] [blame] | 220 | void |
alvy | 297f416 | 2015-03-03 17:15:33 -0600 | [diff] [blame] | 221 | registerLocalhostPrefix(); |
| 222 | |
Ashlesh Gawande | cba0ae2 | 2018-03-27 17:57:56 -0500 | [diff] [blame] | 223 | /*! \brief Registers the <router-prefix>/nlsr so that NLSR can respond to status requests from remote routers. |
| 224 | */ |
| 225 | void |
| 226 | registerRouterPrefix(); |
| 227 | |
Nick Gordon | d0a7df3 | 2017-05-30 16:44:34 -0500 | [diff] [blame] | 228 | /*! \brief Attempts to satisfy an Interest for a certificate, and send it back. |
| 229 | */ |
alvy | 297f416 | 2015-03-03 17:15:33 -0600 | [diff] [blame] | 230 | void |
Yingdi Yu | 20e3a6e | 2014-05-26 23:16:10 -0700 | [diff] [blame] | 231 | onKeyInterest(const ndn::Name& name, const ndn::Interest& interest); |
| 232 | |
Nick Gordon | d0a7df3 | 2017-05-30 16:44:34 -0500 | [diff] [blame] | 233 | /*! \brief Do nothing. |
| 234 | */ |
Yingdi Yu | 20e3a6e | 2014-05-26 23:16:10 -0700 | [diff] [blame] | 235 | void |
| 236 | onKeyPrefixRegSuccess(const ndn::Name& name); |
| 237 | |
Nick Gordon | d0a7df3 | 2017-05-30 16:44:34 -0500 | [diff] [blame] | 238 | /*! \brief Do nothing. |
| 239 | */ |
akmhoque | e176515 | 2014-06-30 11:32:01 -0500 | [diff] [blame] | 240 | void |
akmhoque | c04e727 | 2014-07-02 11:00:14 -0500 | [diff] [blame] | 241 | onFaceEventNotification(const ndn::nfd::FaceEventNotification& faceEventNotification); |
akmhoque | e176515 | 2014-06-30 11:32:01 -0500 | [diff] [blame] | 242 | |
Vince Lehman | 7b61658 | 2014-10-17 16:25:39 -0500 | [diff] [blame] | 243 | void |
Nick Gordon | d5c1a37 | 2016-10-31 13:56:23 -0500 | [diff] [blame] | 244 | scheduleDatasetFetch(); |
| 245 | |
Muktadir Chowdhury | f04f989 | 2017-08-20 20:42:56 -0500 | [diff] [blame] | 246 | /*! \brief Enables NextHopFaceId indication in NFD for incoming data packet. |
| 247 | * |
| 248 | * After enabling, when NFD gets a data packet, it will put the incoming face id |
| 249 | * of the data in NextHopFaceId field of the packet. The NextHopFaceId will be used |
| 250 | * by DirectFetcher to fetch the certificates needed to validate the data packet. |
| 251 | * \sa https://redmine.named-data.net/projects/nfd/wiki/NDNLPv2#Consumer-Controlled-Forwarding |
| 252 | */ |
| 253 | void |
| 254 | enableIncomingFaceIdIndication(); |
| 255 | |
| 256 | void |
| 257 | onFaceIdIndicationSuccess(const ndn::nfd::ControlParameters& cp); |
| 258 | |
| 259 | void |
| 260 | onFaceIdIndicationFailure(const ndn::nfd::ControlResponse& cr); |
| 261 | |
alvy | 297f416 | 2015-03-03 17:15:33 -0600 | [diff] [blame] | 262 | public: |
| 263 | static const ndn::Name LOCALHOST_PREFIX; |
| 264 | |
akmhoque | 157b0a4 | 2014-05-13 00:26:37 -0500 | [diff] [blame] | 265 | private: |
Ashlesh Gawande | 85998a1 | 2017-12-07 22:22:13 -0600 | [diff] [blame] | 266 | ndn::Face& m_face; |
| 267 | ndn::Scheduler m_scheduler; |
Muktadir Chowdhury | f04f989 | 2017-08-20 20:42:56 -0500 | [diff] [blame] | 268 | ndn::security::v2::KeyChain& m_keyChain; |
Ashlesh Gawande | 85998a1 | 2017-12-07 22:22:13 -0600 | [diff] [blame] | 269 | ConfParameter& m_confParam; |
| 270 | AdjacencyList& m_adjacencyList; |
| 271 | NamePrefixList& m_namePrefixList; |
| 272 | bool m_isDaemonProcess; |
| 273 | ndn::security::ValidatorConfig& m_validator; |
Ashlesh Gawande | 08bce9c | 2019-04-05 11:08:07 -0500 | [diff] [blame] | 274 | std::vector<ndn::Name> m_strategySetOnRouters; |
Yingdi Yu | 20e3a6e | 2014-05-26 23:16:10 -0700 | [diff] [blame] | 275 | |
Vince Lehman | f7eec4f | 2015-05-08 19:02:31 -0500 | [diff] [blame] | 276 | PUBLIC_WITH_TESTS_ELSE_PRIVATE: |
Ashlesh Gawande | 85998a1 | 2017-12-07 22:22:13 -0600 | [diff] [blame] | 277 | Fib m_fib; |
| 278 | RoutingTable m_routingTable; |
| 279 | NamePrefixTable m_namePrefixTable; |
| 280 | Lsdb m_lsdb; |
Vince Lehman | f7eec4f | 2015-05-08 19:02:31 -0500 | [diff] [blame] | 281 | |
Ashlesh Gawande | 85998a1 | 2017-12-07 22:22:13 -0600 | [diff] [blame] | 282 | private: |
| 283 | ndn::util::signal::ScopedConnection m_afterSegmentValidatedConnection; |
Ashlesh Gawande | 08bce9c | 2019-04-05 11:08:07 -0500 | [diff] [blame] | 284 | ndn::util::signal::ScopedConnection m_onNewLsaConnection; |
Ashlesh Gawande | 85998a1 | 2017-12-07 22:22:13 -0600 | [diff] [blame] | 285 | |
| 286 | PUBLIC_WITH_TESTS_ELSE_PRIVATE: |
| 287 | ndn::mgmt::Dispatcher m_dispatcher; |
| 288 | DatasetInterestHandler m_datasetHandler; |
| 289 | HelloProtocol m_helloProtocol; |
Muktadir Chowdhury | f04f989 | 2017-08-20 20:42:56 -0500 | [diff] [blame] | 290 | |
Vince Lehman | 7b61658 | 2014-10-17 16:25:39 -0500 | [diff] [blame] | 291 | private: |
Nick Gordon | d0a7df3 | 2017-05-30 16:44:34 -0500 | [diff] [blame] | 292 | /*! \brief Where NLSR stores certificates it claims to be |
| 293 | * authoritative for. Usually the router certificate. |
| 294 | */ |
Ashlesh Gawande | 85998a1 | 2017-12-07 22:22:13 -0600 | [diff] [blame] | 295 | security::CertificateStore& m_certStore; |
Nick Gordon | d5c1a37 | 2016-10-31 13:56:23 -0500 | [diff] [blame] | 296 | |
Nick Gordon | d5c1a37 | 2016-10-31 13:56:23 -0500 | [diff] [blame] | 297 | ndn::nfd::Controller m_controller; |
| 298 | ndn::nfd::Controller m_faceDatasetController; |
Ashlesh Gawande | 85998a1 | 2017-12-07 22:22:13 -0600 | [diff] [blame] | 299 | |
| 300 | PUBLIC_WITH_TESTS_ELSE_PRIVATE: |
Joao Pereira | 97473d4 | 2015-07-03 16:57:27 -0400 | [diff] [blame] | 301 | ndn::security::SigningInfo m_signingInfo; |
alvy | 297f416 | 2015-03-03 17:15:33 -0600 | [diff] [blame] | 302 | update::PrefixUpdateProcessor m_prefixUpdateProcessor; |
Nick Gordon | 4d2c6c0 | 2017-01-20 13:18:46 -0600 | [diff] [blame] | 303 | update::NfdRibCommandProcessor m_nfdRibCommandProcessor; |
Ashlesh Gawande | 85998a1 | 2017-12-07 22:22:13 -0600 | [diff] [blame] | 304 | |
Alejandro Gil Torres | e0d2048 | 2016-03-06 23:56:19 -0600 | [diff] [blame] | 305 | StatsCollector m_statsCollector; |
akmhoque | e176515 | 2014-06-30 11:32:01 -0500 | [diff] [blame] | 306 | |
Ashlesh Gawande | 85998a1 | 2017-12-07 22:22:13 -0600 | [diff] [blame] | 307 | private: |
akmhoque | 060d302 | 2014-08-12 13:35:06 -0500 | [diff] [blame] | 308 | ndn::nfd::FaceMonitor m_faceMonitor; |
Vince Lehman | 7b61658 | 2014-10-17 16:25:39 -0500 | [diff] [blame] | 309 | |
Nick Gordon | d5c1a37 | 2016-10-31 13:56:23 -0500 | [diff] [blame] | 310 | friend class NlsrRunner; |
akmhoque | 5335346 | 2014-04-22 08:43:45 -0500 | [diff] [blame] | 311 | }; |
akmhoque | 298385a | 2014-02-13 14:13:09 -0600 | [diff] [blame] | 312 | |
Nick Gordon | fad8e25 | 2016-08-11 14:21:38 -0500 | [diff] [blame] | 313 | } // namespace nlsr |
akmhoque | b1710aa | 2014-02-19 17:13:36 -0600 | [diff] [blame] | 314 | |
dmcoomes | 9f93666 | 2017-03-02 10:33:09 -0600 | [diff] [blame] | 315 | #endif // NLSR_NLSR_HPP |