blob: 803d608be5c4ceff5f0be608ac2a59f11b16d2ef [file] [log] [blame]
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -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>
19 */
20
21#include "simple-limits.h"
22
23#include "ns3/ndn-l3-protocol.h"
24#include "ns3/ndn-interest-header.h"
25#include "ns3/ndn-content-object-header.h"
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070026
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070027#include "best-route.h"
28#include "flooding.h"
29#include "smart-flooding.h"
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070030
31namespace ns3 {
32namespace ndn {
33namespace fw {
34
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070035typedef SimpleLimits<BestRoute> SimpleLimitsBestRoute;
36NS_OBJECT_ENSURE_REGISTERED (SimpleLimitsBestRoute);
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070037
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070038typedef SimpleLimits<Flooding> SimpleLimitsFlooding;
39NS_OBJECT_ENSURE_REGISTERED (SimpleLimitsFlooding);
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070040
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070041typedef SimpleLimits<SmartFlooding> SimpleLimitsSmartFlooding;
42NS_OBJECT_ENSURE_REGISTERED (SimpleLimitsSmartFlooding);
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070043
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070044#ifdef DOXYGEN
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070045
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070046class SimpleLimitsBestRoute : public SimpleLimits<BestRoute> { };
47class SimpleLimitsFlooding : public SimpleLimits<Flooding> { };
48class SimpleLimitsSmartFlooding : public SimpleLimits<SmartFlooding> { };
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070049
Alexander Afanasyev0fff1db2012-10-29 10:14:47 -070050#endif
Alexander Afanasyev1e7bcaf2012-09-05 10:17:53 -070051
52} // namespace fw
53} // namespace ndn
54} // namespace ns3