Alexander Afanasyev | c74a602 | 2011-08-15 20:01:35 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */ |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 2 | /* |
Ilya Moiseenko | 956d054 | 2012-01-02 15:26:40 -0800 | [diff] [blame] | 3 | * Copyright (c) 2011 University of California, Los Angeles |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 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 | * |
Alexander Afanasyev | 56f79ea | 2011-08-17 23:54:27 -0700 | [diff] [blame] | 18 | * Author: Alexander Afanasyev <alexander.afanasyev@ucla.edu> |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 19 | * |
| 20 | */ |
| 21 | |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 22 | #include "ndn-face.h" |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 23 | |
Alexander Afanasyev | 19426ef | 2011-11-23 20:55:28 -0800 | [diff] [blame] | 24 | #include "ns3/packet.h" |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 25 | #include "ns3/log.h" |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 26 | #include "ns3/node.h" |
Alexander Afanasyev | 7fd74f9 | 2011-08-25 19:40:17 -0700 | [diff] [blame] | 27 | #include "ns3/assert.h" |
Alexander Afanasyev | cbe92ae | 2011-12-16 13:06:18 -0800 | [diff] [blame] | 28 | #include "ns3/uinteger.h" |
| 29 | #include "ns3/double.h" |
Alexander Afanasyev | 8e0d281 | 2012-01-19 22:38:14 -0800 | [diff] [blame] | 30 | #include "ns3/boolean.h" |
Alexander Afanasyev | 4975f73 | 2011-12-20 17:52:19 -0800 | [diff] [blame] | 31 | #include "ns3/simulator.h" |
Alexander Afanasyev | 98d85e1 | 2012-08-09 10:06:05 -0700 | [diff] [blame] | 32 | #include "ns3/random-variable.h" |
Alexander Afanasyev | ea9b3e6 | 2012-08-13 19:02:54 -0700 | [diff] [blame] | 33 | #include "ns3/pointer.h" |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 34 | |
Alexander Afanasyev | 1a0fff6 | 2013-01-19 14:29:51 -0800 | [diff] [blame] | 35 | #include "ns3/ndnSIM/utils/ndn-fw-hop-count-tag.h" |
Alexander Afanasyev | 8e0d281 | 2012-01-19 22:38:14 -0800 | [diff] [blame] | 36 | |
Alexander Afanasyev | 23d2b54 | 2011-12-07 18:54:46 -0800 | [diff] [blame] | 37 | #include <boost/ref.hpp> |
| 38 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 39 | NS_LOG_COMPONENT_DEFINE ("ndn.Face"); |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 40 | |
| 41 | namespace ns3 { |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 42 | namespace ndn { |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 43 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 44 | NS_OBJECT_ENSURE_REGISTERED (Face); |
Alexander Afanasyev | 30c33e3 | 2012-06-05 21:28:44 -0700 | [diff] [blame] | 45 | |
Alexander Afanasyev | bdc0d98 | 2011-12-16 01:15:26 -0800 | [diff] [blame] | 46 | TypeId |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 47 | Face::GetTypeId () |
Alexander Afanasyev | bdc0d98 | 2011-12-16 01:15:26 -0800 | [diff] [blame] | 48 | { |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 49 | static TypeId tid = TypeId ("ns3::ndn::Face") |
Alexander Afanasyev | bdc0d98 | 2011-12-16 01:15:26 -0800 | [diff] [blame] | 50 | .SetParent<Object> () |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 51 | .SetGroupName ("Ndn") |
| 52 | .AddAttribute ("Id", "Face id (unique integer for the Ndn stack on this node)", |
Alexander Afanasyev | cbe92ae | 2011-12-16 13:06:18 -0800 | [diff] [blame] | 53 | TypeId::ATTR_GET, // allow only getting it. |
| 54 | UintegerValue (0), |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 55 | MakeUintegerAccessor (&Face::m_id), |
Alexander Afanasyev | cbe92ae | 2011-12-16 13:06:18 -0800 | [diff] [blame] | 56 | MakeUintegerChecker<uint32_t> ()) |
Alexander Afanasyev | bdc0d98 | 2011-12-16 01:15:26 -0800 | [diff] [blame] | 57 | ; |
| 58 | return tid; |
| 59 | } |
| 60 | |
Alexander Afanasyev | 91d7c7c | 2013-01-31 15:01:08 -0800 | [diff] [blame] | 61 | /** |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 62 | * By default, Ndn face are created in the "down" state |
Alexander Afanasyev | 91d7c7c | 2013-01-31 15:01:08 -0800 | [diff] [blame] | 63 | * with no IP addresses. Before becoming useable, the user must |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 64 | * invoke SetUp on them once an Ndn address and mask have been set. |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 65 | */ |
Alexander Afanasyev | 91d7c7c | 2013-01-31 15:01:08 -0800 | [diff] [blame] | 66 | Face::Face (Ptr<Node> node) |
Alexander Afanasyev | 19426ef | 2011-11-23 20:55:28 -0800 | [diff] [blame] | 67 | : m_node (node) |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 68 | , m_protocolHandler (MakeNullCallback<void,const Ptr<Face>&,const Ptr<const Packet>&> ()) |
Alexander Afanasyev | 56f79ea | 2011-08-17 23:54:27 -0700 | [diff] [blame] | 69 | , m_ifup (false) |
| 70 | , m_id ((uint32_t)-1) |
Alexander Afanasyev | 8e0d281 | 2012-01-19 22:38:14 -0800 | [diff] [blame] | 71 | , m_metric (0) |
Alexander Afanasyev | dd9fa4f | 2013-05-15 16:35:04 -0700 | [diff] [blame] | 72 | , m_flags (0) |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 73 | { |
| 74 | NS_LOG_FUNCTION (this); |
Alexander Afanasyev | 19426ef | 2011-11-23 20:55:28 -0800 | [diff] [blame] | 75 | |
| 76 | NS_ASSERT_MSG (node != 0, "node cannot be NULL. Check the code"); |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 77 | } |
| 78 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 79 | Face::~Face () |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 80 | { |
| 81 | NS_LOG_FUNCTION_NOARGS (); |
| 82 | } |
| 83 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 84 | Face::Face (const Face &) |
Alexander Afanasyev | 56f79ea | 2011-08-17 23:54:27 -0700 | [diff] [blame] | 85 | { |
| 86 | } |
| 87 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 88 | Face& Face::operator= (const Face &) |
Alexander Afanasyev | 56f79ea | 2011-08-17 23:54:27 -0700 | [diff] [blame] | 89 | { |
| 90 | return *this; |
| 91 | } |
| 92 | |
Alexander Afanasyev | e9c9d72 | 2012-01-19 16:59:30 -0800 | [diff] [blame] | 93 | Ptr<Node> |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 94 | Face::GetNode () const |
Alexander Afanasyev | e9c9d72 | 2012-01-19 16:59:30 -0800 | [diff] [blame] | 95 | { |
| 96 | return m_node; |
| 97 | } |
| 98 | |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 99 | void |
Alexander Afanasyev | 5bee19e | 2013-07-10 14:33:57 -0700 | [diff] [blame^] | 100 | Face::RegisterProtocolHandlers (const InterestHandler &interestHandler, const DataHandler &dataHandler) |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 101 | { |
Alexander Afanasyev | 19426ef | 2011-11-23 20:55:28 -0800 | [diff] [blame] | 102 | NS_LOG_FUNCTION_NOARGS (); |
| 103 | |
Alexander Afanasyev | 5bee19e | 2013-07-10 14:33:57 -0700 | [diff] [blame^] | 104 | m_upstreamInterestHandler = interestHandler; |
| 105 | m_upstreamDataHandler = dataHandler; |
| 106 | } |
| 107 | |
| 108 | void |
| 109 | Face::UnRegisterProtocolHandlers () |
| 110 | { |
| 111 | NS_LOG_FUNCTION_NOARGS (); |
| 112 | |
| 113 | m_upstreamInterestHandler = MakeNullCallback< void, const Ptr<Face>&, Ptr<Interest>, Ptr<Packet> > (); |
| 114 | m_upstreamDataHandler = MakeNullCallback< void, const Ptr<Face>&, Ptr<ContentObject>, Ptr<Packet> > (); |
| 115 | } |
| 116 | |
| 117 | |
| 118 | bool |
| 119 | Face::SendInterest (Ptr<const Interest> interest, Ptr<const Packet> packet) |
| 120 | { |
| 121 | NS_LOG_FUNCTION (this << interest << packet); |
| 122 | |
| 123 | if (!IsUp ()) |
| 124 | { |
| 125 | return false; |
| 126 | } |
| 127 | |
| 128 | Ptr<Packet> copy = packet->Copy (); |
| 129 | copy->AddHeader (*interest); |
| 130 | |
| 131 | return Send (copy); |
| 132 | } |
| 133 | |
| 134 | bool |
| 135 | Face::SendData (Ptr<const ContentObject> data, Ptr<const Packet> packet) |
| 136 | { |
| 137 | NS_LOG_FUNCTION (this << data << packet); |
| 138 | |
| 139 | if (!IsUp ()) |
| 140 | { |
| 141 | return false; |
| 142 | } |
| 143 | |
| 144 | Ptr<Packet> copy = packet->Copy (); |
| 145 | copy->AddHeader (*data); |
| 146 | |
| 147 | return Send (copy); |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 148 | } |
| 149 | |
| 150 | bool |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 151 | Face::Send (Ptr<Packet> packet) |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 152 | { |
Alexander Afanasyev | 1a0fff6 | 2013-01-19 14:29:51 -0800 | [diff] [blame] | 153 | FwHopCountTag hopCount; |
| 154 | bool tagExists = packet->RemovePacketTag (hopCount); |
| 155 | if (tagExists) |
| 156 | { |
| 157 | hopCount.Increment (); |
| 158 | packet->AddPacketTag (hopCount); |
| 159 | } |
Alexander Afanasyev | 30c33e3 | 2012-06-05 21:28:44 -0700 | [diff] [blame] | 160 | |
Alexander Afanasyev | 5bee19e | 2013-07-10 14:33:57 -0700 | [diff] [blame^] | 161 | return true; |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 162 | } |
| 163 | |
| 164 | bool |
Alexander Afanasyev | 5bee19e | 2013-07-10 14:33:57 -0700 | [diff] [blame^] | 165 | Face::Receive (Ptr<const Packet> p) |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 166 | { |
Alexander Afanasyev | 5bee19e | 2013-07-10 14:33:57 -0700 | [diff] [blame^] | 167 | NS_LOG_FUNCTION (this << packet << packet->GetSize ()); |
Alexander Afanasyev | 19426ef | 2011-11-23 20:55:28 -0800 | [diff] [blame] | 168 | |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 169 | if (!IsUp ()) |
Alexander Afanasyev | 30c33e3 | 2012-06-05 21:28:44 -0700 | [diff] [blame] | 170 | { |
| 171 | // no tracing here. If we were off while receiving, we shouldn't even know that something was there |
| 172 | return false; |
| 173 | } |
Alexander Afanasyev | 09c7deb | 2011-11-23 14:50:10 -0800 | [diff] [blame] | 174 | |
Alexander Afanasyev | 5bee19e | 2013-07-10 14:33:57 -0700 | [diff] [blame^] | 175 | Ptr<Packet> packet = p->Copy (); // give upper layers a rw copy of the packet |
| 176 | try |
| 177 | { |
| 178 | HeaderHelper::Type type = HeaderHelper::GetNdnHeaderType (packet); |
| 179 | switch (type) |
| 180 | { |
| 181 | case HeaderHelper::INTEREST_NDNSIM: |
| 182 | { |
| 183 | Ptr<Interest> interest = Create<Interest> (); |
| 184 | packet->RemoveHeader (*header); |
Alexander Afanasyev | 91d7c7c | 2013-01-31 15:01:08 -0800 | [diff] [blame] | 185 | |
Alexander Afanasyev | 5bee19e | 2013-07-10 14:33:57 -0700 | [diff] [blame^] | 186 | return ReceiveInterest (interest, packet/*payload*/); |
| 187 | } |
| 188 | case HeaderHelper::CONTENT_OBJECT_NDNSIM: |
| 189 | { |
| 190 | Ptr<ContentObject> data = Create<ContentObject> (); |
| 191 | packet->RemoveHeader (*header); |
| 192 | |
| 193 | return ReceiveData (data, packet); |
| 194 | } |
| 195 | case HeaderHelper::INTEREST_CCNB: |
| 196 | case HeaderHelper::CONTENT_OBJECT_CCNB: |
| 197 | NS_FATAL_ERROR ("ccnb support is broken in this implementation"); |
| 198 | return false; |
| 199 | } |
| 200 | |
| 201 | // exception will be thrown if packet is not recognized |
| 202 | } |
| 203 | catch (UnknownHeaderException) |
| 204 | { |
| 205 | NS_ASSERT_MSG (false, "Unknown NDN header. Should not happen"); |
| 206 | NS_LOG_ERROR ("Unknown NDN header. Should not happen"); |
| 207 | return false; |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | bool |
| 212 | Face::ReceiveInterest (Ptr<Interest> interest, Ptr<Packet> payload) |
| 213 | { |
| 214 | if (!IsUp ()) |
| 215 | { |
| 216 | // no tracing here. If we were off while receiving, we shouldn't even know that something was there |
| 217 | return false; |
| 218 | } |
| 219 | |
| 220 | m_upstreamInterestHandler (this, interest, payload); |
| 221 | return true; |
| 222 | } |
| 223 | |
| 224 | bool |
| 225 | Face::ReceiveData (Ptr<ContentObject> data, Ptr<Packet> payload) |
| 226 | { |
| 227 | if (!IsUp ()) |
| 228 | { |
| 229 | // no tracing here. If we were off while receiving, we shouldn't even know that something was there |
| 230 | return false; |
| 231 | } |
| 232 | |
| 233 | m_upstreamDataHandler (this, data, payload); |
Alexander Afanasyev | 19426ef | 2011-11-23 20:55:28 -0800 | [diff] [blame] | 234 | return true; |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 235 | } |
| 236 | |
Alexander Afanasyev | cbe92ae | 2011-12-16 13:06:18 -0800 | [diff] [blame] | 237 | void |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 238 | Face::SetMetric (uint16_t metric) |
Alexander Afanasyev | 8e0d281 | 2012-01-19 22:38:14 -0800 | [diff] [blame] | 239 | { |
| 240 | NS_LOG_FUNCTION (metric); |
| 241 | m_metric = metric; |
| 242 | } |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 243 | |
Alexander Afanasyev | 8e0d281 | 2012-01-19 22:38:14 -0800 | [diff] [blame] | 244 | uint16_t |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 245 | Face::GetMetric (void) const |
Alexander Afanasyev | 8e0d281 | 2012-01-19 22:38:14 -0800 | [diff] [blame] | 246 | { |
Alexander Afanasyev | 8e0d281 | 2012-01-19 22:38:14 -0800 | [diff] [blame] | 247 | return m_metric; |
| 248 | } |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 249 | |
| 250 | /** |
Alexander Afanasyev | 91d7c7c | 2013-01-31 15:01:08 -0800 | [diff] [blame] | 251 | * These are face states and may be distinct from |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 252 | * NetDevice states, such as found in real implementations |
Alexander Afanasyev | 9825610 | 2011-08-14 01:00:02 -0700 | [diff] [blame] | 253 | * (where the device may be down but face state is still up). |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 254 | */ |
Alexander Afanasyev | 4975f73 | 2011-12-20 17:52:19 -0800 | [diff] [blame] | 255 | |
Alexander Afanasyev | dd9fa4f | 2013-05-15 16:35:04 -0700 | [diff] [blame] | 256 | void |
| 257 | Face::SetFlags (uint32_t flags) |
| 258 | { |
| 259 | m_flags = flags; |
| 260 | } |
| 261 | |
| 262 | |
Alexander Afanasyev | 56f79ea | 2011-08-17 23:54:27 -0700 | [diff] [blame] | 263 | bool |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 264 | Face::operator== (const Face &face) const |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 265 | { |
Alexander Afanasyev | a46844b | 2011-11-21 19:13:26 -0800 | [diff] [blame] | 266 | NS_ASSERT_MSG (m_node->GetId () == face.m_node->GetId (), |
Alexander Afanasyev | 91d7c7c | 2013-01-31 15:01:08 -0800 | [diff] [blame] | 267 | "Faces of different nodes should not be compared to each other: " << *this << " == " << face); |
Alexander Afanasyev | 7fd74f9 | 2011-08-25 19:40:17 -0700 | [diff] [blame] | 268 | |
| 269 | return (m_id == face.m_id); |
| 270 | } |
| 271 | |
| 272 | bool |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 273 | Face::operator< (const Face &face) const |
Alexander Afanasyev | 7fd74f9 | 2011-08-25 19:40:17 -0700 | [diff] [blame] | 274 | { |
Alexander Afanasyev | a46844b | 2011-11-21 19:13:26 -0800 | [diff] [blame] | 275 | NS_ASSERT_MSG (m_node->GetId () == face.m_node->GetId (), |
Alexander Afanasyev | 91d7c7c | 2013-01-31 15:01:08 -0800 | [diff] [blame] | 276 | "Faces of different nodes should not be compared to each other: " << *this << " == " << face); |
Alexander Afanasyev | 7fd74f9 | 2011-08-25 19:40:17 -0700 | [diff] [blame] | 277 | |
| 278 | return (m_id < face.m_id); |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 279 | } |
| 280 | |
Alexander Afanasyev | c5a23e2 | 2011-09-07 00:37:36 -0700 | [diff] [blame] | 281 | std::ostream& |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 282 | Face::Print (std::ostream &os) const |
Alexander Afanasyev | c5a23e2 | 2011-09-07 00:37:36 -0700 | [diff] [blame] | 283 | { |
| 284 | os << "id=" << GetId (); |
| 285 | return os; |
| 286 | } |
| 287 | |
Alexander Afanasyev | 4aac557 | 2012-08-09 10:49:55 -0700 | [diff] [blame] | 288 | std::ostream& |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 289 | operator<< (std::ostream& os, const Face &face) |
Alexander Afanasyev | 9825610 | 2011-08-14 01:00:02 -0700 | [diff] [blame] | 290 | { |
Alexander Afanasyev | c5a23e2 | 2011-09-07 00:37:36 -0700 | [diff] [blame] | 291 | face.Print (os); |
Alexander Afanasyev | 9825610 | 2011-08-14 01:00:02 -0700 | [diff] [blame] | 292 | return os; |
| 293 | } |
| 294 | |
Alexander Afanasyev | 2b4c947 | 2012-08-09 15:00:38 -0700 | [diff] [blame] | 295 | } // namespace ndn |
| 296 | } // namespace ns3 |
Alexander Afanasyev | 08d984e | 2011-08-13 19:20:22 -0700 | [diff] [blame] | 297 | |