<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi!</div><div><br></div><div>After checking the pcap scenario I realized that there is no command line processing, so the format was basically hard-coded on line 59.  I just pushed an update, so it fixes the problem and the following should work (note, there is a small difference from the command line you tried):</div><div><br></div><div>./waf --run "ndn-simple-with-pcap --ndn::WireFormat=0"</div><div><br></div><div>and </div><div><br></div><div>./waf --run "ndn-simple-with-pcap --ndn::WireFormat=1"</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Aug 13, 2013, at 2:59 AM, seugxj <<a href="mailto:seugxj2012@163.com">seugxj2012@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; "> Hi Alex,<br>As the following information indicated: <br>       "As of now, ndnSIM supports two packet formats: ndnSIM (efficient processing) and ccnb (compatible with NDNx/CCNx). By default, ndnSIM format is used and can be switched to ccnb using global variable ndn::WireFormat:" (from here: <a href="http://redmine.named-data.net/issues/1008">http://redmine.named-data.net/issues/1008</a>).<br><br>I have run the "ndn-simple-with-pcap.cc" twice with commads as follows:<br>             1   ./waf  --run="ndn-simple-with-pcap     ndn::WireFormat=0"   // Through this ,  I want to get the ndnSIM format  <br>             2   ./waf  --run="ndn-simple-with-pcap     ndn::WireFormat=1"  // Through this , I want to get ccnb format<br><br><br>but, the two reuslts files " ndn-simple-trace.pcap " are the same.  So, I was puzzled.  I don't know where is the problem. Pls, help me.<br></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></body></html>