[ndnSIM] How to use hijacker in ndnSIM?
Chengyu Fan
chengyu at cs.colostate.edu
Mon Feb 25 23:14:29 PST 2013
Hi~
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"));
using:
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*
*
*
*Command
['/home/chengyu/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-tree-app-delay-tracer-debug',
'100'] terminated with signal SIGIOT. Run it under a debugger to get more
information (./waf --run <program> --command-template="gdb --args %s
<args>").*
Does anybody know what the problem is?
Thanks,
Chengyu
-------------- 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