blob: b6b42669e2f4828e96e47f7965aca898a911daef [file] [log] [blame]
Alexander Afanasyevc74a6022011-08-15 20:01:35 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
Alexander Afanasyev45b92d42011-08-14 23:11:38 -07002/*
3 * Copyright (c) 2011 UCLA
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation;
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
Ilya Moiseenko25f7d4d2011-09-29 18:41:06 -070018 * Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
Alexander Afanasyev122f3782013-02-02 00:04:40 -080019 * Ilya Moiseenko <iliamo@cs.ucla.edu>
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070020 */
21
Alexander Afanasyev4aac5572012-08-09 10:49:55 -070022#ifndef NDN_STACK_HELPER_H
23#define NDN_STACK_HELPER_H
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070024
Spyridon Mastorakis53e922f2014-10-17 17:29:26 -070025#include "ns3/ndnSIM/model/ndn-common.hpp"
26
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070027#include "ns3/packet.h"
28#include "ns3/ptr.h"
29#include "ns3/object-factory.h"
Alexander Afanasyevc39f0b42011-11-28 12:51:12 -080030#include "ns3/nstime.h"
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070031
32namespace ns3 {
33
34class Node;
Alexander Afanasyev2b4c9472012-08-09 15:00:38 -070035
36namespace ndn {
37
38class FaceContainer;
39class Face;
Alexander Afanasyevc17e4bd2013-02-17 14:31:56 -080040class NetDeviceFace;
41class L3Protocol;
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070042
43/**
Alexander Afanasyev4aac5572012-08-09 10:49:55 -070044 * \ingroup ndn
45 * \defgroup ndn-helpers Helpers
Alexander Afanasyev0ab833e2011-08-18 15:49:13 -070046 */
47/**
Alexander Afanasyev4aac5572012-08-09 10:49:55 -070048 * \ingroup ndn-helpers
49 * \brief Adding Ndn functionality to existing Nodes.
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070050 *
Alexander Afanasyev4aac5572012-08-09 10:49:55 -070051 * This helper enables pcap and ascii tracing of events in the ndn stack
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070052 * associated with a node. This is substantially similar to the tracing that
53 * happens in device helpers, but the important difference is that, well, there
54 * is no device. This means that the creation of output file names will change,
55 * and also the user-visible methods will not reference devices and therefore
56 * the number of trace enable methods is reduced.
57 *
58 * Normally we eschew multiple inheritance, however, the classes
Alexander Afanasyev4aac5572012-08-09 10:49:55 -070059 * PcapUserHelperForNdn and AsciiTraceUserHelperForNdn are treated as
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070060 * "mixins". A mixin is a self-contained class that encapsulates a general
61 * attribute or a set of functionality that may be of interest to many other
62 * classes.
63 */
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -080064class StackHelper {
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070065public:
66 /**
Alexander Afanasyev4aac5572012-08-09 10:49:55 -070067 * \brief Create a new NdnStackHelper with a default NDN_FLOODING forwarding stategy
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070068 */
Alexander Afanasyev2b4c9472012-08-09 15:00:38 -070069 StackHelper();
Alexander Afanasyev122f3782013-02-02 00:04:40 -080070
Ilya Moiseenko25f7d4d2011-09-29 18:41:06 -070071 /**
Alexander Afanasyev4aac5572012-08-09 10:49:55 -070072 * \brief Destroy the NdnStackHelper
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070073 */
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -080074 virtual ~StackHelper();
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070075
76 /**
Alexander Afanasyev4aac5572012-08-09 10:49:55 -070077 * @brief Set parameters of NdnL3Protocol
Alexander Afanasyev3a4a0b32012-06-28 14:14:22 -070078 */
79 void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -080080 SetStackAttributes(const std::string& attr1 = "", const std::string& value1 = "",
81 const std::string& attr2 = "", const std::string& value2 = "",
82 const std::string& attr3 = "", const std::string& value3 = "",
83 const std::string& attr4 = "", const std::string& value4 = "");
Alexander Afanasyev122f3782013-02-02 00:04:40 -080084
Alexander Afanasyev3a4a0b32012-06-28 14:14:22 -070085 /**
86 * @brief Set forwarding strategy class and its attributes
87 * @param forwardingStrategyClass string containing name of the forwarding strategy class
Alexander Afanasyev0ab833e2011-08-18 15:49:13 -070088 *
Alexander Afanasyev4aac5572012-08-09 10:49:55 -070089 * Valid options are "ns3::NdnFloodingStrategy" (default) and "ns3::NdnBestRouteStrategy"
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070090 *
Alexander Afanasyev4aac5572012-08-09 10:49:55 -070091 * Other strategies can be implemented, inheriting ns3::NdnForwardingStrategy class
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070092 */
Alexander Afanasyev0ab833e2011-08-18 15:49:13 -070093 void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -080094 SetForwardingStrategy(const std::string& forwardingStrategyClass, const std::string& attr1 = "",
95 const std::string& value1 = "", const std::string& attr2 = "",
96 const std::string& value2 = "", const std::string& attr3 = "",
97 const std::string& value3 = "", const std::string& attr4 = "",
98 const std::string& value4 = "");
Alexander Afanasyev45b92d42011-08-14 23:11:38 -070099
100 /**
Alexander Afanasyev3a4a0b32012-06-28 14:14:22 -0700101 * @brief Set content store class and its attributes
102 * @param contentStoreClass string, representing class of the content store
Alexander Afanasyevd9fecdd2012-06-08 16:22:24 -0700103 */
104 void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800105 SetContentStore(const std::string& contentStoreClass, const std::string& attr1 = "",
106 const std::string& value1 = "", const std::string& attr2 = "",
107 const std::string& value2 = "", const std::string& attr3 = "",
108 const std::string& value3 = "", const std::string& attr4 = "",
109 const std::string& value4 = "");
Alexander Afanasyev3a4a0b32012-06-28 14:14:22 -0700110
111 /**
112 * @brief Set PIT class and its attributes
113 * @param pitClass string, representing class of PIT
114 */
115 void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800116 SetPit(const std::string& pitClass, const std::string& attr1 = "", const std::string& value1 = "",
117 const std::string& attr2 = "", const std::string& value2 = "",
118 const std::string& attr3 = "", const std::string& value3 = "",
119 const std::string& attr4 = "", const std::string& value4 = "");
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800120
Alexander Afanasyevd9fecdd2012-06-08 16:22:24 -0700121 /**
Alexander Afanasyev3a4a0b32012-06-28 14:14:22 -0700122 * @brief Set FIB class and its attributes
123 * @param pitClass string, representing class of FIB
124 */
125 void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800126 SetFib(const std::string& fibClass, const std::string& attr1 = "", const std::string& value1 = "",
127 const std::string& attr2 = "", const std::string& value2 = "",
128 const std::string& attr3 = "", const std::string& value3 = "",
129 const std::string& attr4 = "", const std::string& value4 = "");
Alexander Afanasyev3a4a0b32012-06-28 14:14:22 -0700130
Spyridon Mastorakise4f0d3c2014-10-29 13:20:03 -0700131 typedef Callback<shared_ptr<NetDeviceFace>, Ptr<Node>, Ptr<L3Protocol>, Ptr<NetDevice>>
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800132 NetDeviceFaceCreateCallback;
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800133
134 /**
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800135 * @brief Add callback to create and configure instance of the face, based on supplied Ptr<Node>
136 *and Ptr<NetDevice>
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800137 *
138 * It is possible to set up several callbacks for different NetDevice types.
139 *
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800140 * Currently, there is only one specialized callback for PointToPointNetDevice, which creates face
141 *and sets limits (if enabled)
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800142 * based on PointToPoint link parameters
143 *
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800144 * If none of the callbacks fit the TypeId of NetDevice, a default callback is used
145 *(DefaultNetDeviceCallback)
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800146 */
147 void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800148 AddNetDeviceFaceCreateCallback(TypeId netDeviceType, NetDeviceFaceCreateCallback callback);
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800149
Alexander Afanasyev3a4a0b32012-06-28 14:14:22 -0700150 /**
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800151 * @brief Update callback to create and configure instance of the face, based on supplied
152 *Ptr<Node> and Ptr<NetDevice>
Alexander Afanasyev2a269f72013-06-06 22:59:33 -0700153 *
154 * It is possible to set up several callbacks for different NetDevice types.
155 *
156 * Using this method, it is possible to override Face creation for PointToPointNetDevices
157 */
158 void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800159 UpdateNetDeviceFaceCreateCallback(TypeId netDeviceType, NetDeviceFaceCreateCallback callback);
Alexander Afanasyev2a269f72013-06-06 22:59:33 -0700160
161 /**
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800162 * @brief Remove callback to create and configure instance of the face, based on supplied
163 * Ptr<Node> and Ptr<NetDevice>
Alexander Afanasyev2a269f72013-06-06 22:59:33 -0700164 */
165 void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800166 RemoveNetDeviceFaceCreateCallback(TypeId netDeviceType, NetDeviceFaceCreateCallback callback);
Alexander Afanasyev2a269f72013-06-06 22:59:33 -0700167
168 /**
Alexander Afanasyev11453142011-11-25 16:13:33 -0800169 * @brief Enable Interest limits (disabled by default)
Alexander Afanasyevc39f0b42011-11-28 12:51:12 -0800170 *
171 * @param enable Enable or disable limits
172 * @param avgRtt Average RTT
Alexander Afanasyev772f51b2013-08-01 18:53:25 -0700173 * @param avgData Average size of contentObject packets (including all headers)
Alexander Afanasyevc39f0b42011-11-28 12:51:12 -0800174 * @param avgInterest Average size of interest packets (including all headers)
Alexander Afanasyev11453142011-11-25 16:13:33 -0800175 */
176 void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800177 EnableLimits(bool enable = true, Time avgRtt = Seconds(0.1), uint32_t avgData = 1100,
178 uint32_t avgInterest = 40);
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800179
Alexander Afanasyev11453142011-11-25 16:13:33 -0800180 /**
Alexander Afanasyev4aac5572012-08-09 10:49:55 -0700181 * \brief Install Ndn stack on the node
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700182 *
Alexander Afanasyev4aac5572012-08-09 10:49:55 -0700183 * This method will assert if called on a node that already has Ndn object
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700184 * installed on it
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800185 *
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700186 * \param nodeName The name of the node on which to install the stack.
Alexander Afanasyev0ab833e2011-08-18 15:49:13 -0700187 *
188 * \returns list of installed faces in the form of a smart pointer
Alexander Afanasyev4aac5572012-08-09 10:49:55 -0700189 * to NdnFaceContainer object
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700190 */
Alexander Afanasyev2b4c9472012-08-09 15:00:38 -0700191 Ptr<FaceContainer>
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800192 Install(const std::string& nodeName) const;
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700193
194 /**
Alexander Afanasyev4aac5572012-08-09 10:49:55 -0700195 * \brief Install Ndn stack on the node
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700196 *
Alexander Afanasyev4aac5572012-08-09 10:49:55 -0700197 * This method will assert if called on a node that already has Ndn object
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700198 * installed on it
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800199 *
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700200 * \param node The node on which to install the stack.
Alexander Afanasyev0ab833e2011-08-18 15:49:13 -0700201 *
202 * \returns list of installed faces in the form of a smart pointer
Alexander Afanasyev2b4c9472012-08-09 15:00:38 -0700203 * to FaceContainer object
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700204 */
Alexander Afanasyev2b4c9472012-08-09 15:00:38 -0700205 Ptr<FaceContainer>
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800206 Install(Ptr<Node> node) const;
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700207
208 /**
Alexander Afanasyev4aac5572012-08-09 10:49:55 -0700209 * \brief Install Ndn stack on each node in the input container
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700210 *
211 * The program will assert if this method is called on a container with a node
Alexander Afanasyev4aac5572012-08-09 10:49:55 -0700212 * that already has an ndn object aggregated to it.
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800213 *
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700214 * \param c NodeContainer that holds the set of nodes on which to install the
215 * new stacks.
Alexander Afanasyev0ab833e2011-08-18 15:49:13 -0700216 *
217 * \returns list of installed faces in the form of a smart pointer
Alexander Afanasyev2b4c9472012-08-09 15:00:38 -0700218 * to FaceContainer object
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700219 */
Alexander Afanasyev2b4c9472012-08-09 15:00:38 -0700220 Ptr<FaceContainer>
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800221 Install(const NodeContainer& c) const;
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700222
223 /**
Alexander Afanasyev4aac5572012-08-09 10:49:55 -0700224 * \brief Install Ndn stack on all nodes in the simulation
Alexander Afanasyev0ab833e2011-08-18 15:49:13 -0700225 *
226 * \returns list of installed faces in the form of a smart pointer
Alexander Afanasyev2b4c9472012-08-09 15:00:38 -0700227 * to FaceContainer object
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700228 */
Alexander Afanasyev2b4c9472012-08-09 15:00:38 -0700229 Ptr<FaceContainer>
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800230 InstallAll() const;
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700231
232 /**
Alexander Afanasyevfd258262012-11-23 14:59:19 -0800233 * \brief Add forwarding entry to FIB
Alexander Afanasyev0ab833e2011-08-18 15:49:13 -0700234 *
Alexander Afanasyevc5a23e22011-09-07 00:37:36 -0700235 * \param nodeName Node name
236 * \param prefix Routing prefix
237 * \param faceId Face index
238 * \param metric Routing metric
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700239 */
Alexander Afanasyevb7626842012-01-12 13:43:33 -0800240 static void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800241 AddRoute(const std::string& nodeName, const std::string& prefix, uint32_t faceId, int32_t metric);
Alexander Afanasyev52e9aa92011-11-15 20:23:20 -0800242
243 /**
Alexander Afanasyevfd258262012-11-23 14:59:19 -0800244 * \brief Add forwarding entry to FIB
Alexander Afanasyev52e9aa92011-11-15 20:23:20 -0800245 *
Alexander Afanasyev8bedcaf2012-07-20 15:30:44 -0700246 * \param nodeName Node
247 * \param prefix Routing prefix
248 * \param faceId Face index
249 * \param metric Routing metric
250 */
251 static void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800252 AddRoute(Ptr<Node> node, const std::string& prefix, uint32_t faceId, int32_t metric);
Alexander Afanasyev8bedcaf2012-07-20 15:30:44 -0700253
254 /**
Alexander Afanasyevfd258262012-11-23 14:59:19 -0800255 * \brief Add forwarding entry to FIB
Alexander Afanasyev8bedcaf2012-07-20 15:30:44 -0700256 *
Alexander Afanasyev52e9aa92011-11-15 20:23:20 -0800257 * \param node Node
258 * \param prefix Routing prefix
259 * \param face Face
260 * \param metric Routing metric
261 */
Alexander Afanasyevb7626842012-01-12 13:43:33 -0800262 static void
Spyridon Mastorakise4f0d3c2014-10-29 13:20:03 -0700263 AddRoute(Ptr<Node> node, const std::string& prefix, shared_ptr<Face> face, int32_t metric);
Alexander Afanasyev4a5c2c12011-12-12 18:50:57 -0800264
265 /**
Alexander Afanasyevfd258262012-11-23 14:59:19 -0800266 * @brief Add forwarding entry to FIB (work only with point-to-point links)
267 *
268 * \param node Node
269 * \param prefix Routing prefix
270 * \param otherNode The other node, to which interests (will be used to infer face id
271 * \param metric Routing metric
272 */
273 static void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800274 AddRoute(Ptr<Node> node, const std::string& prefix, Ptr<Node> otherNode, int32_t metric);
Alexander Afanasyevfd258262012-11-23 14:59:19 -0800275
276 /**
277 * @brief Add forwarding entry to FIB (work only with point-to-point links)
278 *
279 * \param nodeName Node name (refer to ns3::Names)
280 * \param prefix Routing prefix
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800281 * \param otherNode The other node name, to which interests (will be used to infer face id (refer
282 *to ns3::Names)
Alexander Afanasyevfd258262012-11-23 14:59:19 -0800283 * \param metric Routing metric
284 */
285 static void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800286 AddRoute(const std::string& nodeName, const std::string& prefix, const std::string& otherNodeName,
287 int32_t metric);
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800288
Alexander Afanasyevfd258262012-11-23 14:59:19 -0800289 /**
Alexander Afanasyev4a5c2c12011-12-12 18:50:57 -0800290 * \brief Set flag indicating necessity to install default routes in FIB
291 */
292 void
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800293 SetDefaultRoutes(bool needSet);
Alexander Afanasyev52e9aa92011-11-15 20:23:20 -0800294
Alexander Afanasyev34e13f32014-12-14 15:13:28 -0800295 static KeyChain&
296 getKeyChain();
297
Alexander Afanasyev11453142011-11-25 16:13:33 -0800298private:
Spyridon Mastorakise4f0d3c2014-10-29 13:20:03 -0700299 shared_ptr<NetDeviceFace>
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800300 DefaultNetDeviceCallback(Ptr<Node> node, Ptr<L3Protocol> ndn, Ptr<NetDevice> netDevice) const;
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800301
Spyridon Mastorakise4f0d3c2014-10-29 13:20:03 -0700302 shared_ptr<NetDeviceFace>
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800303 PointToPointNetDeviceCallback(Ptr<Node> node, Ptr<L3Protocol> ndn,
304 Ptr<NetDevice> netDevice) const;
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800305
Spyridon Mastorakis86edf6f2014-11-14 19:27:18 -0800306public:
307 void
308 setCustomNdnCxxClocks();
309
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800310private:
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800311 StackHelper(const StackHelper&);
312 StackHelper&
313 operator=(const StackHelper& o);
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800314
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700315private:
Alexander Afanasyev4aac5572012-08-09 10:49:55 -0700316 ObjectFactory m_ndnFactory;
Alexander Afanasyev11453142011-11-25 16:13:33 -0800317 ObjectFactory m_strategyFactory;
Alexander Afanasyevd9fecdd2012-06-08 16:22:24 -0700318 ObjectFactory m_contentStoreFactory;
Alexander Afanasyev3a4a0b32012-06-28 14:14:22 -0700319 ObjectFactory m_pitFactory;
320 ObjectFactory m_fibFactory;
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800321
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800322 bool m_limitsEnabled;
323 Time m_avgRtt;
Alexander Afanasyev772f51b2013-08-01 18:53:25 -0700324 uint32_t m_avgDataSize;
Alexander Afanasyevc39f0b42011-11-28 12:51:12 -0800325 uint32_t m_avgInterestSize;
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800326 bool m_needSetDefaultRoutes;
Alexander Afanasyev122f3782013-02-02 00:04:40 -0800327
Alexander Afanasyevbe55cf62014-12-20 17:51:09 -0800328 typedef std::list<std::pair<TypeId, NetDeviceFaceCreateCallback>> NetDeviceCallbackList;
Alexander Afanasyev2a269f72013-06-06 22:59:33 -0700329 NetDeviceCallbackList m_netDeviceCallbacks;
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700330};
331
Alexander Afanasyev2b4c9472012-08-09 15:00:38 -0700332} // namespace ndn
Alexander Afanasyev45b92d42011-08-14 23:11:38 -0700333} // namespace ns3
334
Alexander Afanasyev4aac5572012-08-09 10:49:55 -0700335#endif /* NDN_STACK_HELPER_H */