├── RELEASE_NOTES.rst ├── bindings ├── callbacks_list.py ├── module-helpers.cpp └── module-helpers.hpp ├── docs ├── .gitignore ├── source │ ├── meta │ │ └── authors.rst │ ├── _static │ │ ├── root-rates.png │ │ ├── l2-rate-tracer.png │ │ ├── ndnSIM-structure.pdf │ │ ├── ndnSIM-structure.png │ │ ├── topo-tree-25-node.png │ │ ├── nfd-forwarding-overview.pdf │ │ ├── nfd-forwarding-overview.png │ │ └── apps │ │ │ ├── zipf-n100-frq100-duration10.png │ │ │ ├── zipf-n100-frq100-duration50.png │ │ │ ├── zipf-n100-frq100-duration100.png │ │ │ └── zipf-n100-frq100-duration1000.png │ ├── community-contributions.rst │ ├── tutorial.rst │ └── cs.rst ├── ns3_html_theme │ ├── static │ │ ├── bc_s.png │ │ ├── nav_f.png │ │ ├── tab_b.png │ │ ├── bar-top.png │ │ ├── favicon.ico │ │ ├── irl-logo.png │ │ ├── ndn-logo.png │ │ ├── ns-3-small.png │ │ ├── ns-3-inverted-notext-small.png │ │ └── ns3_stylesheet.css │ ├── ns3_doxy_footer.html │ ├── theme.conf │ ├── ns3_doxy_header.html │ ├── layout.html │ └── README.rst ├── analytics.html ├── doxygen.hpp └── redmine_issue.py ├── .gitignore ├── examples ├── README.md ├── wscript ├── graphs │ ├── drop-graph.R │ └── rate-graph.R ├── topologies │ ├── topo-6-node.txt │ ├── topo-tree.txt │ ├── topo-grid.txt │ ├── topo-abilene.txt │ ├── topo-load-balancer.txt │ ├── topo-tree-25-node.txt │ ├── topo-grid-3x3.txt │ ├── topo-grid-3x3-loss.txt │ ├── topo-11-node-two-bottlenecks.txt │ └── topo-grid-3x3-red-queues.txt ├── ndn-custom-apps │ ├── hijacker.hpp │ ├── hijacker.cpp │ └── custom-app.hpp ├── ndn-cxx-simple.cpp ├── ndn-simple-with-content-freshness │ ├── one-interest-requester.hpp │ └── one-interest-requester.cpp ├── ndn-custom-apps.cpp ├── ndn-cxx-simple │ ├── real-app-starter.hpp │ └── real-app.hpp ├── ndn-load-balancer │ └── random-load-balancer-strategy.hpp ├── ndn-simple.py └── ndn-simple-for-nrt-helper │ └── requester-app.cpp ├── .jenkins ├── .gitmodules ├── .jenkins.d ├── 20-tests.sh ├── 00-prepare.sh ├── util.sh ├── 10-build.sh ├── README.md └── 01-deps.sh ├── .waf-tools ├── compiler-features.py ├── dependency-checker.py ├── type_traits.py ├── version.py └── sphinx_build.py ├── tests ├── unit-tests │ ├── README.md │ ├── tests-common.hpp │ ├── helper │ │ ├── ndn-stack-helper.t.cpp │ │ └── ndn-fib-helper.t.cpp │ └── NFD │ │ └── ncc.t.cpp ├── wscript ├── main.cpp ├── boost-test.hpp └── other │ └── ndn-test.sh ├── .clang-format ├── model ├── ndn-common.cpp ├── ndn-block-header.hpp ├── null-transport.hpp ├── ndn-app-link-service.hpp ├── ndn-global-router.cpp ├── ndn-common.hpp ├── ndn-app-link-service.cpp └── ndn-net-device-transport.hpp ├── README.md ├── utils ├── ndn-ns3-packet-tag.hpp ├── batches.cpp ├── ndn-time.hpp ├── tracers │ ├── l2-tracer.cpp │ ├── l2-tracer.hpp │ ├── ndn-l3-tracer.cpp │ └── l2-rate-tracer.hpp ├── ndn-time.cpp ├── batches.hpp ├── ndn-rtt-mean-deviation.hpp ├── mem-usage.hpp └── topology │ └── rocketfuel-weights-reader.hpp ├── helper ├── lfid │ ├── remove-loops.hpp │ └── fib-nexthop.cpp ├── ndn-network-region-table-helper.hpp ├── ndn-strategy-choice-helper.cpp └── ndn-link-control-helper.hpp ├── apps ├── ndn-consumer-batches.hpp ├── ndn-producer.hpp ├── ndn-consumer-cbr.hpp ├── ndn-consumer-window.hpp ├── ndn-consumer-zipf-mandelbrot.hpp ├── ndn-consumer-batches.cpp └── ndn-consumer-pcon.hpp ├── ndn-all.hpp ├── .travis.yml └── AUTHORS.rst /RELEASE_NOTES.rst: -------------------------------------------------------------------------------- 1 | docs/source/RELEASE_NOTES.rst -------------------------------------------------------------------------------- /bindings/callbacks_list.py: -------------------------------------------------------------------------------- 1 | callback_classes = [ 2 | ] 3 | -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | doxygen/ 3 | introspected-doxygen.h 4 | ndnSIM.tag 5 | 6 | -------------------------------------------------------------------------------- /docs/source/meta/authors.rst: -------------------------------------------------------------------------------- 1 | ndnSIM Team 2 | =========== 3 | 4 | .. include:: ../../../AUTHORS.rst 5 | -------------------------------------------------------------------------------- /docs/source/_static/root-rates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/source/_static/root-rates.png -------------------------------------------------------------------------------- /docs/ns3_html_theme/static/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/ns3_html_theme/static/bc_s.png -------------------------------------------------------------------------------- /docs/ns3_html_theme/static/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/ns3_html_theme/static/nav_f.png -------------------------------------------------------------------------------- /docs/ns3_html_theme/static/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/ns3_html_theme/static/tab_b.png -------------------------------------------------------------------------------- /docs/ns3_html_theme/static/bar-top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/ns3_html_theme/static/bar-top.png -------------------------------------------------------------------------------- /docs/ns3_html_theme/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/ns3_html_theme/static/favicon.ico -------------------------------------------------------------------------------- /docs/ns3_html_theme/static/irl-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/ns3_html_theme/static/irl-logo.png -------------------------------------------------------------------------------- /docs/ns3_html_theme/static/ndn-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/ns3_html_theme/static/ndn-logo.png -------------------------------------------------------------------------------- /docs/source/_static/l2-rate-tracer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/source/_static/l2-rate-tracer.png -------------------------------------------------------------------------------- /docs/ns3_html_theme/static/ns-3-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/ns3_html_theme/static/ns-3-small.png -------------------------------------------------------------------------------- /docs/source/_static/ndnSIM-structure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/source/_static/ndnSIM-structure.pdf -------------------------------------------------------------------------------- /docs/source/_static/ndnSIM-structure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/source/_static/ndnSIM-structure.png -------------------------------------------------------------------------------- /docs/source/_static/topo-tree-25-node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/source/_static/topo-tree-25-node.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | .waf3-* 3 | .waf-1* 4 | *~ 5 | .DS_Store 6 | docs/doxygen.warnings.log 7 | docs/introspected-doxygen.hpp 8 | docs/ndnSIM.tag 9 | -------------------------------------------------------------------------------- /docs/source/_static/nfd-forwarding-overview.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/source/_static/nfd-forwarding-overview.pdf -------------------------------------------------------------------------------- /docs/source/_static/nfd-forwarding-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/source/_static/nfd-forwarding-overview.png -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- 1 | Please refer to http://ndnsim.net/examples.html (../docs/source/examples.rst) 2 | for detailed information about the examples. 3 | 4 | -------------------------------------------------------------------------------- /docs/source/_static/apps/zipf-n100-frq100-duration10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/source/_static/apps/zipf-n100-frq100-duration10.png -------------------------------------------------------------------------------- /docs/source/_static/apps/zipf-n100-frq100-duration50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/source/_static/apps/zipf-n100-frq100-duration50.png -------------------------------------------------------------------------------- /docs/ns3_html_theme/static/ns-3-inverted-notext-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/ns3_html_theme/static/ns-3-inverted-notext-small.png -------------------------------------------------------------------------------- /docs/source/_static/apps/zipf-n100-frq100-duration100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/source/_static/apps/zipf-n100-frq100-duration100.png -------------------------------------------------------------------------------- /docs/source/_static/apps/zipf-n100-frq100-duration1000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/named-data-ndnSIM/ndnSIM/HEAD/docs/source/_static/apps/zipf-n100-frq100-duration1000.png -------------------------------------------------------------------------------- /.jenkins: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) 5 | 6 | for file in "$DIR"/.jenkins.d/*; do 7 | [[ -f $file && -x $file ]] || continue 8 | echo "Run: $file" 9 | "$file" 10 | done 11 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "NFD"] 2 | path = NFD 3 | url = https://github.com/named-data-ndnSIM/NFD 4 | branch = NFD-0.7.0-ndnSIM 5 | [submodule "ndn-cxx"] 6 | path = ndn-cxx 7 | url = https://github.com/named-data-ndnSIM/ndn-cxx 8 | branch = ndn-cxx-0.7.0-ndnSIM 9 | -------------------------------------------------------------------------------- /.jenkins.d/20-tests.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | JDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) 5 | source "$JDIR"/util.sh 6 | 7 | set -x 8 | 9 | pushd ns-3 >/dev/null 10 | 11 | export BOOST_TEST_BUILD_INFO=1 12 | export BOOST_TEST_COLOR_OUTPUT=1 13 | export BOOST_TEST_DETECT_MEMORY_LEAK=0 14 | export BOOST_TEST_LOGGER=HRF,test_suite,stdout:XML,all,build/xunit-log.xml 15 | 16 | # Run unit tests 17 | ./waf --run "ndnSIM-unit-tests" 18 | 19 | popd >/dev/null 20 | -------------------------------------------------------------------------------- /.jenkins.d/00-prepare.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | set -x 4 | 5 | git rm -qrf . 6 | git clone --depth=1 https://github.com/named-data-ndnSIM/ns-3-dev ns-3 7 | git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen 8 | mkdir -p ns-3/src/ndnSIM 9 | mv .git ns-3/src/ndnSIM/ 10 | (cd ns-3/src/ndnSIM/ && git reset -q && git checkout . && git submodule update --init) 11 | 12 | mv ns-3/src/ndnSIM/.jenkins.d . # move CI scripts back, so the rest of them can be executed 13 | -------------------------------------------------------------------------------- /.waf-tools/compiler-features.py: -------------------------------------------------------------------------------- 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- 2 | 3 | from waflib.Configure import conf 4 | 5 | OVERRIDE = ''' 6 | class Base 7 | { 8 | virtual void 9 | f(int a); 10 | }; 11 | 12 | class Derived : public Base 13 | { 14 | virtual void 15 | f(int a) override; 16 | }; 17 | ''' 18 | 19 | @conf 20 | def check_override(self): 21 | if self.check_cxx(msg='Checking for override specifier', 22 | fragment=OVERRIDE, 23 | features='cxx', mandatory=False): 24 | self.define('HAVE_CXX_OVERRIDE', 1) 25 | 26 | def configure(conf): 27 | conf.check_override() 28 | -------------------------------------------------------------------------------- /examples/wscript: -------------------------------------------------------------------------------- 1 | ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- 2 | 3 | from waflib import Utils, Logs 4 | 5 | def build(bld): 6 | # This may be necessary for visualizer to work 7 | all_modules = [mod[len("ns3-"):] for mod in bld.env['NS3_ENABLED_MODULES']] 8 | 9 | examples = bld.path.ant_glob(['*.cpp'], excl=['*-mpi.cpp']) 10 | if 'NS3_MPI' in bld.env['DEFINES_MPI']: 11 | examples += bld.path.ant_glob(['*-mpi.cpp']) 12 | 13 | for i in examples: 14 | name = i.change_ext('').path_from(bld.path.get_bld()) 15 | obj = bld.create_ns3_program(name, all_modules) 16 | obj.source = [i] + bld.path.ant_glob(['%s/**/*.cpp' % name]) 17 | 18 | -------------------------------------------------------------------------------- /docs/analytics.html: -------------------------------------------------------------------------------- 1 |
2 | ndnSIM: NS-3 based NDN simulator API Reference - Generated using Doxygen $doxygenversion 3 | 4 | 5 | 18 | 19 |