commit | 8566f458f2aacc25f06683ce00219f7168ee71f5 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Dec 10 15:21:51 2012 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Mon Dec 10 15:21:51 2012 -0800 |
tree | c0deec82f10047b07699b319dfe6025ef853ed02 | |
parent | 991a0cc81feaaf9de7a02c7a07c27e031e8d69b4 [diff] |
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)
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