[ndnSIM] CCN Segmentation

Saeid Montazeri saeid.montazeri at gmail.com
Fri Dec 28 01:42:43 PST 2012

Hi Wali,

I have a little bit experience in ndnSIM.

Alex please correct me if I am wrong.

You can have a content with several packets by setting MaxSeq attribute of
CcnxAppHelper class.
For example I have added the bold line bellow to the code in ndn-grid.cc.
By the line, I asked CcnxAllHelper to generate Interest for 250 Data
packets of the content with name "/prefix". ("/prefix/0", "/prefix/1", ..

std::string prefix = "/prefix";

CcnxAppHelper consumerHelper ("ns3::CcnxConsumerCbr");
consumerHelper.SetPrefix (prefix);
consumerHelper.SetAttribute ("Frequency", StringValue ("10")); // 10
interests a second
*consumerHelper.SetAttribute ("MaxSeq", StringValue("250")); *

Best Regards,

On Fri, Dec 28, 2012 at 4:37 PM, Wali <ahmed.waliullah.kazi at gmail.com>wrote:

> Hi Alex,
> I was skimming through the ndnSIIM documentation. I did not find reference
> to any notion of segmentation. Is the present implementation following the
> simple model of one interest packet for one object, which is satisfied by
> one data packet? Hence, presently, we cannot have very large objects which
> will be requested with multiple interest packets and satisfied
> with corresponding data packets?
> Thank you very much for your time.
> Best regards,
> Wali.
> _______________________________________________
> 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/20121228/13b85074/attachment.html>

More information about the ndnSIM mailing list