model: Adding "new" content store with ability to track lifetime of entries

Available options for ndnStackHelper.SetContentStore:
- ns3::ndn::cs::Stats::Lru
- ns3::ndn::cs::Stats::Random
- ns3::ndn::cs::Stats::Fifo

Tracked events include 0-lifetime entries, i.e., when entries are not stored at all.

Config::ConnectWithoutContext ("/NodeList/1/$ns3::ndn::cs::Stats::Random/WillRemoveEntry", MakeCallback (CacheEntryRemoved));

Prototype for the callback is: void (*)(Ptr<const ndn::cs::Entry> entry, Time lifetime)
10 files changed
tree: c0deec82f10047b07699b319dfe6025ef853ed02
  1. apps/
  2. bindings/
  3. disabled/
  4. docs/
  5. examples/
  6. helper/
  7. model/
  8. patches/
  9. plugins/
  10. test/
  11. utils/
  12. .gitignore
  13. README.md
  14. wscript
README.md

To successfully compile ndnSIM, it is necessary to use a custom branch of NS-3.

This branch can be cloned from https://github.com/cawka/ns-3-dev-ndnSIM

    mkdir ndnSIM
    cd ndnSIM
    git clone git://github.com/cawka/ns-3-dev-ndnSIM.git ns-3
    git clone git://github.com/cawka/pybindgen.git pybindgen
    git clone git://github.com/NDN-Routing/ndnSIM.git ns-3/src/ndnSIM

For more information, including downloading and compilation instruction, please refer to documentation in doc/ or on http://ndnsim.net