Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
| 2 | /* |
| 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 | * |
| 18 | * Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu> |
| 19 | */ |
| 20 | |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 21 | #include "ndn-global-routing-helper.h" |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 22 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 23 | #include "ns3/ndn-l3-protocol.h" |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 24 | #include "../model/ndn-net-device-face.h" |
| 25 | #include "../model/ndn-global-router.h" |
| 26 | #include "ns3/ndn-name-components.h" |
| 27 | #include "ns3/ndn-fib.h" |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 28 | |
| 29 | #include "ns3/node.h" |
Alexander Afanasyev | ce81014 | 2012-04-17 15:50:36 -0700 | [diff] [blame] | 30 | #include "ns3/node-container.h" |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 31 | #include "ns3/net-device.h" |
| 32 | #include "ns3/channel.h" |
| 33 | #include "ns3/log.h" |
| 34 | #include "ns3/assert.h" |
| 35 | #include "ns3/names.h" |
| 36 | #include "ns3/node-list.h" |
| 37 | #include "ns3/channel-list.h" |
Alexander Afanasyev | f5c0774 | 2012-10-31 13:13:05 -0700 | [diff] [blame] | 38 | #include "ns3/object-factory.h" |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 39 | |
| 40 | #include <boost/lexical_cast.hpp> |
Alexander Afanasyev | 8e2f112 | 2012-04-17 15:01:11 -0700 | [diff] [blame] | 41 | #include <boost/foreach.hpp> |
Alexander Afanasyev | a5abcd9 | 2012-04-17 13:34:43 -0700 | [diff] [blame] | 42 | #include <boost/concept/assert.hpp> |
| 43 | // #include <boost/graph/graph_concepts.hpp> |
| 44 | // #include <boost/graph/adjacency_list.hpp> |
| 45 | #include <boost/graph/dijkstra_shortest_paths.hpp> |
| 46 | |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 47 | #include "boost-graph-ndn-global-routing-helper.h" |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 48 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 49 | NS_LOG_COMPONENT_DEFINE ("ndn.GlobalRoutingHelper"); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 50 | |
| 51 | using namespace std; |
| 52 | using namespace boost; |
| 53 | |
| 54 | namespace ns3 { |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 55 | namespace ndn { |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 56 | |
| 57 | void |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 58 | GlobalRoutingHelper::Install (Ptr<Node> node) |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 59 | { |
| 60 | NS_LOG_LOGIC ("Node: " << node->GetId ()); |
| 61 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 62 | Ptr<L3Protocol> ndn = node->GetObject<L3Protocol> (); |
| 63 | NS_ASSERT_MSG (ndn != 0, "Cannot install GlobalRoutingHelper before Ndn is installed on a node"); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 64 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 65 | Ptr<GlobalRouter> gr = node->GetObject<GlobalRouter> (); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 66 | if (gr != 0) |
| 67 | { |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 68 | NS_LOG_DEBUG ("GlobalRouter is already installed: " << gr); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 69 | return; // already installed |
| 70 | } |
| 71 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 72 | gr = CreateObject<GlobalRouter> (); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 73 | node->AggregateObject (gr); |
| 74 | |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 75 | for (uint32_t faceId = 0; faceId < ndn->GetNFaces (); faceId++) |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 76 | { |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 77 | Ptr<NetDeviceFace> face = DynamicCast<NetDeviceFace> (ndn->GetFace (faceId)); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 78 | if (face == 0) |
| 79 | { |
| 80 | NS_LOG_DEBUG ("Skipping non-netdevice face"); |
| 81 | continue; |
| 82 | } |
| 83 | |
| 84 | Ptr<NetDevice> nd = face->GetNetDevice (); |
| 85 | if (nd == 0) |
| 86 | { |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 87 | NS_LOG_DEBUG ("Not a NetDevice associated with NetDeviceFace"); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 88 | continue; |
| 89 | } |
| 90 | |
| 91 | Ptr<Channel> ch = nd->GetChannel (); |
| 92 | |
| 93 | if (ch == 0) |
| 94 | { |
| 95 | NS_LOG_DEBUG ("Channel is not associated with NetDevice"); |
| 96 | continue; |
| 97 | } |
| 98 | |
| 99 | if (ch->GetNDevices () == 2) // e.g., point-to-point channel |
| 100 | { |
| 101 | for (uint32_t deviceId = 0; deviceId < ch->GetNDevices (); deviceId ++) |
| 102 | { |
| 103 | Ptr<NetDevice> otherSide = ch->GetDevice (deviceId); |
| 104 | if (nd == otherSide) continue; |
| 105 | |
| 106 | Ptr<Node> otherNode = otherSide->GetNode (); |
| 107 | NS_ASSERT (otherNode != 0); |
| 108 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 109 | Ptr<GlobalRouter> otherGr = otherNode->GetObject<GlobalRouter> (); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 110 | if (otherGr == 0) |
| 111 | { |
| 112 | Install (otherNode); |
| 113 | } |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 114 | otherGr = otherNode->GetObject<GlobalRouter> (); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 115 | NS_ASSERT (otherGr != 0); |
| 116 | gr->AddIncidency (face, otherGr); |
| 117 | } |
| 118 | } |
| 119 | else |
| 120 | { |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 121 | Ptr<GlobalRouter> grChannel = ch->GetObject<GlobalRouter> (); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 122 | if (grChannel == 0) |
| 123 | { |
| 124 | Install (ch); |
| 125 | } |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 126 | grChannel = ch->GetObject<GlobalRouter> (); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 127 | |
| 128 | gr->AddIncidency (0, grChannel); |
| 129 | } |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | void |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 134 | GlobalRoutingHelper::Install (Ptr<Channel> channel) |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 135 | { |
| 136 | NS_LOG_LOGIC ("Channel: " << channel->GetId ()); |
| 137 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 138 | Ptr<GlobalRouter> gr = channel->GetObject<GlobalRouter> (); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 139 | if (gr != 0) |
| 140 | return; |
| 141 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 142 | gr = CreateObject<GlobalRouter> (); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 143 | channel->AggregateObject (gr); |
| 144 | |
| 145 | for (uint32_t deviceId = 0; deviceId < channel->GetNDevices (); deviceId ++) |
| 146 | { |
| 147 | Ptr<NetDevice> dev = channel->GetDevice (deviceId); |
| 148 | |
| 149 | Ptr<Node> node = dev->GetNode (); |
| 150 | NS_ASSERT (node != 0); |
| 151 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 152 | Ptr<GlobalRouter> grOther = node->GetObject<GlobalRouter> (); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 153 | if (grOther == 0) |
| 154 | { |
| 155 | Install (node); |
| 156 | } |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 157 | grOther = node->GetObject<GlobalRouter> (); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 158 | NS_ASSERT (grOther != 0); |
| 159 | |
| 160 | gr->AddIncidency (0, grOther); |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | void |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 165 | GlobalRoutingHelper::Install (const NodeContainer &nodes) |
Alexander Afanasyev | ce81014 | 2012-04-17 15:50:36 -0700 | [diff] [blame] | 166 | { |
| 167 | for (NodeContainer::Iterator node = nodes.Begin (); |
| 168 | node != nodes.End (); |
| 169 | node ++) |
| 170 | { |
| 171 | Install (*node); |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | void |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 176 | GlobalRoutingHelper::InstallAll () |
Alexander Afanasyev | ce81014 | 2012-04-17 15:50:36 -0700 | [diff] [blame] | 177 | { |
| 178 | Install (NodeContainer::GetGlobal ()); |
| 179 | } |
| 180 | |
| 181 | |
| 182 | void |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 183 | GlobalRoutingHelper::AddOrigin (const std::string &prefix, Ptr<Node> node) |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 184 | { |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 185 | Ptr<GlobalRouter> gr = node->GetObject<GlobalRouter> (); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 186 | NS_ASSERT_MSG (gr != 0, |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 187 | "GlobalRouter is not installed on the node"); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 188 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 189 | Ptr<NameComponents> name = Create<NameComponents> (boost::lexical_cast<NameComponents> (prefix)); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 190 | gr->AddLocalPrefix (name); |
| 191 | } |
| 192 | |
| 193 | void |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 194 | GlobalRoutingHelper::AddOrigins (const std::string &prefix, const NodeContainer &nodes) |
Alexander Afanasyev | 06d3a61 | 2012-04-17 22:25:40 -0700 | [diff] [blame] | 195 | { |
| 196 | for (NodeContainer::Iterator node = nodes.Begin (); |
| 197 | node != nodes.End (); |
| 198 | node++) |
| 199 | { |
| 200 | AddOrigin (prefix, *node); |
| 201 | } |
| 202 | } |
| 203 | |
| 204 | void |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 205 | GlobalRoutingHelper::AddOrigin (const std::string &prefix, const std::string &nodeName) |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 206 | { |
| 207 | Ptr<Node> node = Names::Find<Node> (nodeName); |
| 208 | NS_ASSERT_MSG (node != 0, nodeName << "is not a Node"); |
| 209 | |
| 210 | AddOrigin (prefix, node); |
| 211 | } |
| 212 | |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 213 | void |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 214 | GlobalRoutingHelper::CalculateRoutes () |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 215 | { |
Alexander Afanasyev | 8e2f112 | 2012-04-17 15:01:11 -0700 | [diff] [blame] | 216 | /** |
| 217 | * Implementation of route calculation is heavily based on Boost Graph Library |
| 218 | * See http://www.boost.org/doc/libs/1_49_0/libs/graph/doc/table_of_contents.html for more details |
| 219 | */ |
| 220 | |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 221 | BOOST_CONCEPT_ASSERT(( VertexListGraphConcept< NdnGlobalRouterGraph > )); |
| 222 | BOOST_CONCEPT_ASSERT(( IncidenceGraphConcept< NdnGlobalRouterGraph > )); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 223 | |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 224 | NdnGlobalRouterGraph graph; |
| 225 | typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor; |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 226 | |
Alexander Afanasyev | 8e2f112 | 2012-04-17 15:01:11 -0700 | [diff] [blame] | 227 | // For now we doing Dijkstra for every node. Can be replaced with Bellman-Ford or Floyd-Warshall. |
| 228 | // Other algorithms should be faster, but they need additional EdgeListGraph concept provided by the graph, which |
| 229 | // is not obviously how implement in an efficient manner |
Alexander Afanasyev | a5abcd9 | 2012-04-17 13:34:43 -0700 | [diff] [blame] | 230 | for (NodeList::Iterator node = NodeList::Begin (); node != NodeList::End (); node++) |
| 231 | { |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 232 | Ptr<GlobalRouter> source = (*node)->GetObject<GlobalRouter> (); |
Alexander Afanasyev | a5abcd9 | 2012-04-17 13:34:43 -0700 | [diff] [blame] | 233 | if (source == 0) |
| 234 | { |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 235 | NS_LOG_DEBUG ("Node " << (*node)->GetId () << " does not export GlobalRouter interface"); |
Alexander Afanasyev | a5abcd9 | 2012-04-17 13:34:43 -0700 | [diff] [blame] | 236 | continue; |
| 237 | } |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 238 | |
Alexander Afanasyev | a5abcd9 | 2012-04-17 13:34:43 -0700 | [diff] [blame] | 239 | DistancesMap distances; |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 240 | |
Alexander Afanasyev | a5abcd9 | 2012-04-17 13:34:43 -0700 | [diff] [blame] | 241 | dijkstra_shortest_paths (graph, source, |
| 242 | // predecessor_map (boost::ref(predecessors)) |
| 243 | // . |
| 244 | distance_map (boost::ref(distances)) |
| 245 | . |
| 246 | distance_inf (WeightInf) |
| 247 | . |
| 248 | distance_zero (WeightZero) |
| 249 | . |
| 250 | distance_compare (boost::WeightCompare ()) |
| 251 | . |
| 252 | distance_combine (boost::WeightCombine ()) |
| 253 | ); |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 254 | |
Alexander Afanasyev | a5abcd9 | 2012-04-17 13:34:43 -0700 | [diff] [blame] | 255 | // NS_LOG_DEBUG (predecessors.size () << ", " << distances.size ()); |
Alexander Afanasyev | 8e2f112 | 2012-04-17 15:01:11 -0700 | [diff] [blame] | 256 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 257 | Ptr<Fib> fib = source->GetObject<Fib> (); |
Alexander Afanasyev | 8e2f112 | 2012-04-17 15:01:11 -0700 | [diff] [blame] | 258 | fib->InvalidateAll (); |
| 259 | NS_ASSERT (fib != 0); |
| 260 | |
Alexander Afanasyev | a8f5d88 | 2012-11-09 14:22:48 -0800 | [diff] [blame^] | 261 | cout << "Reachability from Node: " << source->GetObject<Node> ()->GetId () << endl; |
Alexander Afanasyev | a5abcd9 | 2012-04-17 13:34:43 -0700 | [diff] [blame] | 262 | for (DistancesMap::iterator i = distances.begin (); |
| 263 | i != distances.end (); |
| 264 | i++) |
| 265 | { |
| 266 | if (i->first == source) |
| 267 | continue; |
| 268 | else |
| 269 | { |
Alexander Afanasyev | 8e2f112 | 2012-04-17 15:01:11 -0700 | [diff] [blame] | 270 | // cout << " Node " << i->first->GetObject<Node> ()->GetId (); |
| 271 | if (i->second.get<0> () == 0) |
| 272 | { |
| 273 | // cout << " is unreachable" << endl; |
| 274 | } |
Alexander Afanasyev | a5abcd9 | 2012-04-17 13:34:43 -0700 | [diff] [blame] | 275 | else |
Alexander Afanasyev | 8e2f112 | 2012-04-17 15:01:11 -0700 | [diff] [blame] | 276 | { |
Alexander Afanasyev | a8f5d88 | 2012-11-09 14:22:48 -0800 | [diff] [blame^] | 277 | BOOST_FOREACH (const Ptr<const NameComponents> &prefix, i->first->GetLocalPrefixes ()) |
| 278 | { |
| 279 | cout << " prefix " << prefix << " reachable via face " << *i->second.get<0> () |
| 280 | << " with distance " << i->second.get<1> () |
| 281 | << " with delay " << i->second.get<2> () << endl; |
Alexander Afanasyev | f5c0774 | 2012-10-31 13:13:05 -0700 | [diff] [blame] | 282 | |
Alexander Afanasyev | a8f5d88 | 2012-11-09 14:22:48 -0800 | [diff] [blame^] | 283 | Ptr<fib::Entry> entry = fib->Add (prefix, i->second.get<0> (), i->second.get<1> ()); |
| 284 | Ptr<Limits> limits = i->second.get<0> ()->GetObject<Limits> (); |
| 285 | |
| 286 | if (limits != 0 && limits->IsEnabled ()) |
| 287 | { |
| 288 | ObjectFactory limitsFactory; |
| 289 | limitsFactory.SetTypeId (limits->GetInstanceTypeId ()); |
Alexander Afanasyev | f5c0774 | 2012-10-31 13:13:05 -0700 | [diff] [blame] | 290 | |
Alexander Afanasyev | a8f5d88 | 2012-11-09 14:22:48 -0800 | [diff] [blame^] | 291 | Ptr<Limits> entryLimits = limitsFactory.Create<Limits> (); |
| 292 | entryLimits->SetLimits (limits->GetMaxRate (), 2*i->second.get<2> ()); |
Alexander Afanasyev | f5c0774 | 2012-10-31 13:13:05 -0700 | [diff] [blame] | 293 | |
Alexander Afanasyev | a8f5d88 | 2012-11-09 14:22:48 -0800 | [diff] [blame^] | 294 | entry->AggregateObject (entryLimits); |
| 295 | } |
| 296 | } |
Alexander Afanasyev | 8e2f112 | 2012-04-17 15:01:11 -0700 | [diff] [blame] | 297 | } |
Alexander Afanasyev | a5abcd9 | 2012-04-17 13:34:43 -0700 | [diff] [blame] | 298 | } |
| 299 | } |
Alexander Afanasyev | a5abcd9 | 2012-04-17 13:34:43 -0700 | [diff] [blame] | 300 | } |
Alexander Afanasyev | ad3757f | 2012-04-17 10:27:59 -0700 | [diff] [blame] | 301 | } |
| 302 | |
| 303 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 304 | } // namespace ndn |
| 305 | } // namespace ns3 |