[ndnSIM] How to use hijacker in ndnSIM?

Chengyu Fan chengyu at cs.colostate.edu
Mon Feb 25 23:14:29 PST 2013


I want to use the custom app "hijacker" in ndnSIM, so I modify the code
of ndn-tree-app-delay-tracer.cc.

Basically I replace codes:
  ndn::AppHelper producerHelper ("ns3::ndn::Producer");
  producerHelper.SetAttribute ("PayloadSize", StringValue("1024"));

  ndn::AppHelper producerHelper ("Hijacker");

However, when I run ndn-tree-app-delay-trace, it prompts the error messages:

*assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName:
Hijacker not found", file=../src/core/model/type-id.cc, line=419*
*terminate called without an active exception*
'100'] terminated with signal SIGIOT. Run it under a debugger to get more
information (./waf --run <program> --command-template="gdb --args %s

Does anybody know what the problem is?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130226/989e7775/attachment.html>

More information about the ndnSIM mailing list