[ndnSIM] About "ndnSIM format " and " ccnb format"

Alex Afanasyev alexander.afanasyev at ucla.edu
Tue Aug 13 10:13:28 PDT 2013


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):

./waf --run "ndn-simple-with-pcap --ndn::WireFormat=0"


./waf --run "ndn-simple-with-pcap --ndn::WireFormat=1"


On Aug 13, 2013, at 2:59 AM, seugxj <seugxj2012 at 163.com> wrote:

>  Hi Alex,
> As the following information indicated: 
>        "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: http://redmine.named-data.net/issues/1008).
> I have run the "ndn-simple-with-pcap.cc" twice with commads as follows:
>              1   ./waf  --run="ndn-simple-with-pcap     ndn::WireFormat=0"   // Through this ,  I want to get the ndnSIM format  
>              2   ./waf  --run="ndn-simple-with-pcap     ndn::WireFormat=1"  // Through this , I want to get ccnb format
> 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.
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

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

More information about the ndnSIM mailing list