[ndnSIM] Some doubt about PIT modify

张国治 zguozhi at foxmail.com
Wed Oct 5 21:18:12 PDT 2016


Dear  All,
I want to simulation cache policy which need to modify PIT, however, I meet some  questions:
(1) I am not clear how to modify PIT, for examples, if I want to add some data struct to pit::Entry,  should I modify directly the source of ndn-pit-entry.cc/ndn-pit-entry.h?  Or  is there a another simple method, such as aggregating or others?
(2)I modify directly the source of PIT in src/nsnSIM/modules/pit/ndn-pit-entry.cc, and recompile successfully  the ns-3, and run successfully simulation  in ns-3 directory, such as "ns-3/scratch/first.cc",   but when I run my  simulation in custom directory following the PAGE: http://ndnsim.net/1.0/getting-started.html,  there are some errors prompting"‘class ns3::ndn::pit::Entry’ has no member named ‘AddInfaceCount’"  ,   ‘AddInfaceCount’ is the member function added into pit::Entry in source "src/nsnSIM/modules/pit/ndn-pit-entry.cc".  I so strange to this question, since before this I always run simulaiton  in this directory except modifying PIT.


Please forgive me for my poor English!


Sincerely,
Guozhi zhang
Beijing Jiaotong University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161006/7238bb74/attachment.html>


More information about the ndnSIM mailing list