model: Fixing limit borrowing bug in PerOutFaceLimit and PerFibLimit

When the application sends an Interest, router will borrow limit after
forwarding the Interest. If Data gets dropped in the middle, the
application will retransmit the Interest, and router will borrow another
limit. When Data comes back, limit is only returned once. This may cause
the limit to be wasted.

http://redmine.named-data.net/projects/ndnsim refs #1001
GitHub Issues refs #37
2 files changed
tree: 14f96967764fcf25f0eb87e909bca339376d2e87
  1. apps/
  2. bindings/
  3. disabled/
  4. docs/
  5. examples/
  6. helper/
  7. model/
  8. plugins/
  9. test/
  10. tools/
  11. utils/
  12. .gitignore
  13. AUTHORS
  14. README.md
  15. VERSION
  16. 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