<div dir="ltr">Renato,<div><br></div><div>My own experience has been that I needed to add code to the onContentStoreHit and onContentStoreMiss member functions (methods) of the Forwarder class that's in NFD/daemon/fw directory (<a href="https://ndnsim.net/2.4/doxygen/forwarder_8cpp_source.html">https://ndnsim.net/2.4/doxygen/forwarder_8cpp_source.html</a>)</div><div><br></div><div>After doing so, you need to go to the ns3 directory and ./waf and then sudo ./waf install so that ndnSIM itself is rebuilt.  Then, you can build your scenarios using the ./waf for the scenarios for ndnSIM.</div><div><br></div><div>Not ideal, but after months of trying other things and asking dozens of questions, reading hundreds of articles - this appears to be the best way to do any type of custom hit/miss tracing for the NFD.</div><div><br></div><div>Hope this helps!</div><div><br></div><div>John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 20, 2017 at 12:18 AM, Renato Cavalcante <span dir="ltr"><<a href="mailto:renato.frca@gmail.com" target="_blank">renato.frca@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi everyone.</div><div><br></div><div>How to use the callback cache hit/miss from Cs class from NFD?</div><div><br></div><div>The CsTracer just works with ContentStore from ndnSIM.</div><div><br></div>Thank you advance.<span class="HOEnZb"><font color="#888888"><br><div><br></div>-- <br><div class="m_3646476705675182360gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font color="#000000"><span style="font-size:12.8px">Renato Araújo</span><br></font></div><div><font color="#000000"><span style="font-size:12.8px">Computer Science Department</span><br style="font-size:12.8px"><span style="font-size:12.8px">UFBA -- Brazil</span></font><br><div><br><br><br></div></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/ndnsim</a><br>
<br></blockquote></div><br></div>