model: Updated API for pluggable wire format

As of this commit, the selected (default) wire format is controlled via
global variable ndn::WireFormat:

    Config::SetGlobal ("ndn::WireFormat", IntegerValue (ndn::Wire::WIRE_FORMAT_CCNB));

or

    ./waf --run="... --ndn::WireFormat=1

Refs #1008 (http://redmine.named-data.net/issues/1008)
8 files changed
tree: 90a92d8af4501a71671a9cd43da2dc15ced5a434
  1. apps/
  2. bindings/
  3. docs/
  4. examples/
  5. helper/
  6. model/
  7. ndn.cxx/
  8. plugins/
  9. test/
  10. tools/
  11. utils/
  12. .gitignore
  13. AUTHORS
  14. LICENSE
  15. README.md
  16. VERSION
  17. 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