blob: 5c2d3a2404379463841b046817ad63b51474ba19 [file] [log] [blame]
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -07001/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2011 University of California, Los Angeles
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 *
18 * Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -070019 */
20
21#include "per-fib-limits.h"
22
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -070023#include "ns3/ndn-l3-protocol.h"
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -070024#include "ns3/ndn-interest-header.h"
25#include "ns3/ndn-content-object-header.h"
26#include "ns3/ndn-pit.h"
27#include "ns3/ndn-pit-entry.h"
28
29#include "ns3/assert.h"
30#include "ns3/log.h"
31#include "ns3/simulator.h"
Alexander Afanasyev6a3bb132012-08-15 09:47:35 -070032#include "ns3/random-variable.h"
Alexander Afanasyevccbd8342012-08-16 16:54:39 -070033#include "ns3/double.h"
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -070034
35#include <boost/foreach.hpp>
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -070036#include <boost/lexical_cast.hpp>
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -070037#include <boost/lambda/lambda.hpp>
38#include <boost/lambda/bind.hpp>
39namespace ll = boost::lambda;
40
41NS_LOG_COMPONENT_DEFINE ("ndn.fw.PerFibLimits");
42
43namespace ns3 {
44namespace ndn {
45namespace fw {
46
47NS_OBJECT_ENSURE_REGISTERED (PerFibLimits);
48
49TypeId
50PerFibLimits::GetTypeId (void)
51{
52 static TypeId tid = TypeId ("ns3::ndn::fw::PerFibLimits")
53 .SetGroupName ("Ndn")
Alexander Afanasyev31cb4692012-08-17 13:08:20 -070054 .SetParent <super> ()
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -070055 .AddConstructor <PerFibLimits> ()
56 ;
57 return tid;
58}
59
60PerFibLimits::PerFibLimits ()
61{
62}
63
64void
65PerFibLimits::DoDispose ()
66{
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -070067 m_announceEvent.Cancel ();
68
Alexander Afanasyev31cb4692012-08-17 13:08:20 -070069 super::DoDispose ();
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -070070}
71
Alexander Afanasyev5db92172012-08-21 16:52:07 -070072void
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -070073PerFibLimits::NotifyNewAggregate ()
74{
75 super::NotifyNewAggregate ();
76
77 if (m_pit != 0 && m_fib != 0)
78 {
79 m_announceEvent = Simulator::Schedule (Seconds (1.0),
80 &PerFibLimits::AnnounceLimits, this);
81 }
82}
83
84void
Alexander Afanasyev5db92172012-08-21 16:52:07 -070085PerFibLimits::RemoveFace (Ptr<Face> face)
86{
Alexander Afanasyev5db92172012-08-21 16:52:07 -070087 for (PitQueueMap::iterator item = m_pitQueues.begin ();
88 item != m_pitQueues.end ();
89 item ++)
90 {
91 item->second.Remove (face);
92 }
93 m_pitQueues.erase (face);
Alexander Afanasyev08b7d9e2012-08-23 10:53:46 -070094
95 super::RemoveFace (face);
Alexander Afanasyev5db92172012-08-21 16:52:07 -070096}
97
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -070098void
99PerFibLimits::OnInterest (Ptr<Face> face,
100 Ptr<const InterestHeader> header,
101 Ptr<const Packet> origPacket)
102{
103 if (header->GetScope () != 0)
104 super::OnInterest (face, header, origPacket);
105 else
106 ApplyAnnouncedLimit (face, header);
107}
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700108
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700109bool
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700110PerFibLimits::TrySendOutInterest (Ptr<Face> inFace,
111 Ptr<Face> outFace,
112 Ptr<const InterestHeader> header,
113 Ptr<const Packet> origPacket,
114 Ptr<pit::Entry> pitEntry)
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700115{
116 NS_LOG_FUNCTION (this << pitEntry->GetPrefix ());
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700117 // totally override all (if any) parent processing
Alexander Afanasyevff033952012-08-23 15:45:52 -0700118
Alexander Afanasyev98c16e02012-08-28 00:02:02 -0700119 if (pitEntry->GetFwTag<PitQueueTag> () != boost::shared_ptr<PitQueueTag> ())
120 {
121 pitEntry->UpdateLifetime (Seconds (0.10));
122 NS_LOG_DEBUG ("Packet is still in queue and is waiting for its processing");
123 return true; // already in the queue
124 }
125
Alexander Afanasyevff033952012-08-23 15:45:52 -0700126 if (header->GetInterestLifetime () < Seconds (0.1))
127 {
128 NS_LOG_DEBUG( "What the fuck? Why interest lifetime is so short? [" << header->GetInterestLifetime ().ToDouble (Time::S) << "s]");
129 }
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700130
131 pit::Entry::out_iterator outgoing =
Alexander Afanasyev31cb4692012-08-17 13:08:20 -0700132 pitEntry->GetOutgoing ().find (outFace);
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700133
134 if (outgoing != pitEntry->GetOutgoing ().end ())
135 {
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700136 // just suppress without any other action
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700137 return false;
138 }
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700139
Alexander Afanasyev0ffa7162012-08-21 22:39:22 -0700140 NS_LOG_DEBUG ("Limit: " << outFace->GetLimits ().m_curMaxLimit << ", outstanding: " << outFace->GetLimits ().m_outstanding);
141
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700142 if (outFace->GetLimits ().IsBelowLimit ())
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700143 {
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700144 pitEntry->AddOutgoing (outFace);
145
146 //transmission
147 Ptr<Packet> packetToSend = origPacket->Copy ();
148 outFace->Send (packetToSend);
149
Alexander Afanasyev0ffa7162012-08-21 22:39:22 -0700150 DidSendOutInterest (outFace, header, origPacket, pitEntry);
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700151 return true;
152 }
153 else
154 {
Alexander Afanasyev0ffa7162012-08-21 22:39:22 -0700155 NS_LOG_DEBUG ("Face limit for " << header->GetName ());
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700156 }
Alexander Afanasyev0ffa7162012-08-21 22:39:22 -0700157
Alexander Afanasyev08b7d9e2012-08-23 10:53:46 -0700158 // hack
159 // offset lifetime, so we don't keep entries in queue for too long
Alexander Afanasyevff033952012-08-23 15:45:52 -0700160 // pitEntry->OffsetLifetime (Seconds (0.010) + );
161 // std::cerr << (pitEntry->GetExpireTime () - Simulator::Now ()).ToDouble (Time::S) * 1000 << "ms" << std::endl;
162 pitEntry->OffsetLifetime (Seconds (-pitEntry->GetInterest ()->GetInterestLifetime ().ToDouble (Time::S)));
163 pitEntry->UpdateLifetime (Seconds (0.10));
Alexander Afanasyev98c16e02012-08-28 00:02:02 -0700164
165 // const ndnSIM::LoadStatsFace &stats = GetStatsTree ()[header->GetName ()].incoming ().find (inFace)->second;
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -0700166 // const ndnSIM::LoadStatsFace &stats = GetStatsTree ()["/"].incoming ().find (inFace)->second;
167 // double weight = std::min (1.0, stats.GetSatisfiedRatio ().get<0> ());
168 bool enqueued = m_pitQueues[outFace].Enqueue (inFace, pitEntry, 1);
Alexander Afanasyevff033952012-08-23 15:45:52 -0700169
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700170 if (enqueued)
171 {
172 NS_LOG_DEBUG ("PIT entry is enqueued for delayed processing. Telling that we forwarding possible");
173 return true;
174 }
175 else
176 return false;
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700177}
178
179void
180PerFibLimits::WillEraseTimedOutPendingInterest (Ptr<pit::Entry> pitEntry)
181{
182 NS_LOG_FUNCTION (this << pitEntry->GetPrefix ());
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700183 super::WillEraseTimedOutPendingInterest (pitEntry);
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700184
Alexander Afanasyevc23a3e32012-08-28 00:16:23 -0700185 // if (pitEntry->GetOutgoing ().size () == 0)
186 // {
187 // Ptr<InterestHeader> nackHeader = Create<InterestHeader> (*pitEntry->GetInterest ());
Alexander Afanasyev98c16e02012-08-28 00:02:02 -0700188
Alexander Afanasyevc23a3e32012-08-28 00:16:23 -0700189 // NS_ASSERT (pitEntry->GetFwTag<PitQueueTag> () != boost::shared_ptr<PitQueueTag> ());
190 // if (pitEntry->GetFwTag<PitQueueTag> ()->IsLastOneInQueues ())
191 // {
192 // nackHeader->SetNack (100);
193 // }
194 // else
195 // {
196 // nackHeader->SetNack (101);
197 // }
Alexander Afanasyev98c16e02012-08-28 00:02:02 -0700198
Alexander Afanasyevc23a3e32012-08-28 00:16:23 -0700199 // Ptr<Packet> pkt = Create<Packet> ();
200 // pkt->AddHeader (*nackHeader);
Alexander Afanasyev98c16e02012-08-28 00:02:02 -0700201
Alexander Afanasyevc23a3e32012-08-28 00:16:23 -0700202 // for (pit::Entry::in_container::iterator face = pitEntry->GetIncoming ().begin ();
203 // face != pitEntry->GetIncoming ().end ();
204 // face ++)
205 // {
206 // face->m_face->Send (pkt->Copy ());
207 // }
208 // }
Alexander Afanasyev187cba22012-08-28 11:16:52 -0700209
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700210 PitQueue::Remove (pitEntry);
211
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700212 for (pit::Entry::out_container::iterator face = pitEntry->GetOutgoing ().begin ();
213 face != pitEntry->GetOutgoing ().end ();
214 face ++)
215 {
Alexander Afanasyev6a3bb132012-08-15 09:47:35 -0700216 face->m_face->GetLimits ().RemoveOutstanding ();
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700217 }
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700218
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700219 ProcessFromQueue ();
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700220}
221
222
223void
Alexander Afanasyev31cb4692012-08-17 13:08:20 -0700224PerFibLimits::WillSatisfyPendingInterest (Ptr<Face> inFace,
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700225 Ptr<pit::Entry> pitEntry)
226{
227 NS_LOG_FUNCTION (this << pitEntry->GetPrefix ());
Alexander Afanasyev31cb4692012-08-17 13:08:20 -0700228 super::WillSatisfyPendingInterest (inFace, pitEntry);
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700229
230 PitQueue::Remove (pitEntry);
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700231
232 for (pit::Entry::out_container::iterator face = pitEntry->GetOutgoing ().begin ();
233 face != pitEntry->GetOutgoing ().end ();
234 face ++)
235 {
Alexander Afanasyev6a3bb132012-08-15 09:47:35 -0700236 face->m_face->GetLimits ().RemoveOutstanding ();
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700237 }
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700238
239 ProcessFromQueue ();
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700240}
241
242
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700243void
244PerFibLimits::ProcessFromQueue ()
245{
Alexander Afanasyev0ffa7162012-08-21 22:39:22 -0700246 NS_LOG_FUNCTION (this);
247
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700248 for (PitQueueMap::iterator queue = m_pitQueues.begin ();
249 queue != m_pitQueues.end ();
250 queue++)
251 {
Alexander Afanasyev91e11282012-08-21 17:23:11 -0700252 Ptr<Face> outFace = queue->first;
Alexander Afanasyev0ffa7162012-08-21 22:39:22 -0700253
254 NS_LOG_DEBUG ("Processing " << *outFace);
Alexander Afanasyev91e11282012-08-21 17:23:11 -0700255
256 while (!queue->second.IsEmpty () && outFace->GetLimits ().IsBelowLimit ())
257 {
258 // now we have enqueued packet and have slot available. Send out delayed packet
259 Ptr<pit::Entry> pitEntry = queue->second.Pop ();
Alexander Afanasyev187cba22012-08-28 11:16:52 -0700260 if (pitEntry == 0)
261 {
262 outFace->GetLimits ().RemoveOutstanding ();
263 NS_LOG_DEBUG ("Though there are Interests in queue, weighted round robin decided that packet is not allowed yet");
264 break;
265 }
Alexander Afanasyev0ffa7162012-08-21 22:39:22 -0700266
Alexander Afanasyev08b7d9e2012-08-23 10:53:46 -0700267 // hack
268 // offset lifetime back, so PIT entry wouldn't prematurely expire
Alexander Afanasyev0ffa7162012-08-21 22:39:22 -0700269
Alexander Afanasyevff033952012-08-23 15:45:52 -0700270 // std::cerr << Simulator::GetContext () << ", Lifetime before " << (pitEntry->GetExpireTime () - Simulator::Now ()).ToDouble (Time::S) << "s" << std::endl;
271 pitEntry->OffsetLifetime (Seconds (-0.10) + Seconds (pitEntry->GetInterest ()->GetInterestLifetime ().ToDouble (Time::S)));
272 // std::cerr << Simulator::GetContext () << ", Lifetime after " << (pitEntry->GetExpireTime () - Simulator::Now ()).ToDouble (Time::S) << "s" << std::endl;
273
Alexander Afanasyev91e11282012-08-21 17:23:11 -0700274 pitEntry->AddOutgoing (outFace);
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700275
Alexander Afanasyev91e11282012-08-21 17:23:11 -0700276 Ptr<Packet> packetToSend = Create<Packet> ();
Alexander Afanasyevff033952012-08-23 15:45:52 -0700277 Ptr<InterestHeader> header = Create<InterestHeader> (*pitEntry->GetInterest ());
278 NS_LOG_DEBUG ("Adjust interest lifetime to " << pitEntry->GetExpireTime () - Simulator::Now () << "s");
279 // header->SetInterestLifetime (
280 // // header->GetInterestLifetime () - ()
281 // pitEntry->GetExpireTime () - Simulator::Now ()
282 // );
283 // std::cerr << "New lifetime: " << (pitEntry->GetExpireTime () - Simulator::Now ()).ToDouble (Time::S) << "s" << std::endl;
284 packetToSend->AddHeader (*header);
Alexander Afanasyev0ffa7162012-08-21 22:39:22 -0700285
286 NS_LOG_DEBUG ("Delayed sending for " << pitEntry->GetPrefix ());
Alexander Afanasyev91e11282012-08-21 17:23:11 -0700287 outFace->Send (packetToSend);
288 DidSendOutInterest (outFace, pitEntry->GetInterest (), packetToSend, pitEntry);
289 }
Alexander Afanasyev5db92172012-08-21 16:52:07 -0700290 }
291}
292
Alexander Afanasyev08b7d9e2012-08-23 10:53:46 -0700293void
294PerFibLimits::DidReceiveValidNack (Ptr<Face> inFace,
295 uint32_t nackCode,
296 Ptr<pit::Entry> pitEntry)
297{
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -0700298// super::DidReceiveValidNack (inFace, nackCode, pitEntry);
Alexander Afanasyev187cba22012-08-28 11:16:52 -0700299
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -0700300// // NS_LOG_FUNCTION (this << pitEntry->GetPrefix ());
301// PitQueue::Remove (pitEntry);
Alexander Afanasyev98c16e02012-08-28 00:02:02 -0700302
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700303
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -0700304// Ptr<InterestHeader> nackHeader = Create<InterestHeader> (*pitEntry->GetInterest ());
305// // nackHeader->SetNack (100);
306// Ptr<Packet> pkt = Create<Packet> ();
307// pkt->AddHeader (*nackHeader);
Alexander Afanasyev08b7d9e2012-08-23 10:53:46 -0700308
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -0700309// for (pit::Entry::in_container::iterator face = pitEntry->GetIncoming ().begin ();
310// face != pitEntry->GetIncoming ().end ();
311// face ++)
312// {
313// face->m_face->Send (pkt->Copy ());
314// }
Alexander Afanasyev08b7d9e2012-08-23 10:53:46 -0700315
Alexander Afanasyev98c16e02012-08-28 00:02:02 -0700316
317
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -0700318// for (pit::Entry::out_container::iterator face = pitEntry->GetOutgoing ().begin ();
319// face != pitEntry->GetOutgoing ().end ();
320// face ++)
321// {
322// face->m_face->GetLimits ().RemoveOutstanding ();
323// }
324
325// m_pit->MarkErased (pitEntry);
326
327// ProcessFromQueue ();
328}
329
330void
331PerFibLimits::AnnounceLimits ()
332{
333 Ptr<L3Protocol> l3 = GetObject<L3Protocol> ();
334 NS_ASSERT (l3 != 0);
335
336 if (l3->GetNFaces () < 2)
Alexander Afanasyev6f101fc2012-08-23 16:34:34 -0700337 {
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -0700338 m_announceEvent = Simulator::Schedule (Seconds (1.0),
339 &PerFibLimits::AnnounceLimits, this);
340 return;
341 }
342
343 double sumOfWeights = 0;
344 double weightNormalization = 1.0;
345 for (uint32_t faceId = 0; faceId < l3->GetNFaces (); faceId ++)
346 {
347 Ptr<Face> inFace = l3->GetFace (faceId);
348
349 const ndnSIM::LoadStatsFace &stats = GetStatsTree ()["/"].incoming ().find (inFace)->second;
350 double weight = std::min (1.0, stats.GetSatisfiedRatio ().get<0> ());
351 if (weight < 0) weight = 0.5;
352
353 sumOfWeights += weight;
354 }
355 if (sumOfWeights >= 1)
356 {
357 // disable normalization (not necessary)
358 weightNormalization = 1.0;
359 }
360 else
361 {
362 // sumOfWeights /= (l3->GetNFaces ());
363 weightNormalization = 1 / sumOfWeights;
Alexander Afanasyev6f101fc2012-08-23 16:34:34 -0700364 }
Alexander Afanasyev08b7d9e2012-08-23 10:53:46 -0700365
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -0700366 for (Ptr<fib::Entry> entry = m_fib->Begin ();
367 entry != m_fib->End ();
368 entry = m_fib->Next (entry))
369 {
370 InterestHeader announceInterest;
371 announceInterest.SetScope (0); // link-local
372
373 uint32_t totalAllowance = 0;
374 for (fib::FaceMetricContainer::type::iterator fibFace = entry->m_faces.begin ();
375 fibFace != entry->m_faces.end ();
376 fibFace ++)
377 {
378 totalAllowance += fibFace->m_face->GetLimits ().GetMaxLimit ();
379 }
380
381 if (totalAllowance == 0)
382 {
383 // don't announce anything, there is no limit
384 continue;
385 }
386
387 for (uint32_t faceId = 0; faceId < l3->GetNFaces (); faceId ++)
388 {
389 Ptr<Face> inFace = l3->GetFace (faceId);
390
391 const ndnSIM::LoadStatsFace &stats = GetStatsTree ()["/"].incoming ().find (inFace)->second;
392 double weight = std::min (1.0, stats.GetSatisfiedRatio ().get<0> ());
393 if (weight < 0) weight = 0.5;
394
395 Ptr<NameComponents> prefixWithLimit = Create<NameComponents> (entry->GetPrefix ());
396 (*prefixWithLimit)
397 ("limit")
398 (static_cast<uint32_t> (std::max (1.0, weightNormalization * weight * totalAllowance)));
399
400 announceInterest.SetName (prefixWithLimit);
401 // lifetime is 0
402
403 Ptr<Packet> pkt = Create<Packet> ();
404 pkt->AddHeader (announceInterest);
405
406 inFace->Send (pkt);
407 }
408 }
409
410 m_announceEvent = Simulator::Schedule (Seconds (1.0),
411 &PerFibLimits::AnnounceLimits, this);
412}
413
414void
415PerFibLimits::ApplyAnnouncedLimit (Ptr<Face> inFace,
416 Ptr<const InterestHeader> header)
417{
418 // Ptr<fib::Entry> fibEntry = m_fib->LongestPrefixMatch (header);
419 // if (fibEntry == 0)
420 // return;
421
422 uint32_t limit = boost::lexical_cast<uint32_t> (header->GetName ().GetLastComponent ());
423 inFace->GetLimits ().SetMaxLimit (limit);
Alexander Afanasyev08b7d9e2012-08-23 10:53:46 -0700424
Alexander Afanasyevb1ec2492012-08-28 17:33:33 -0700425 // if (Simulator::GetContext () == 6 || Simulator::GetContext () == 4)
426 // {
427 // std::cerr << Simulator::Now ().ToDouble (Time::S) << "s from:" << *inFace << " " << *header << std::endl;
428 // std::cerr << header->GetName ().GetLastComponent () << ", " << boost::lexical_cast<uint32_t> (header->GetName ().GetLastComponent ()) << std::endl;
429 // }
Alexander Afanasyev08b7d9e2012-08-23 10:53:46 -0700430}
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700431
Alexander Afanasyevea9b3e62012-08-13 19:02:54 -0700432
433} // namespace fw
434} // namespace ndn
435} // namespace ns3