[ndnSIM] How to set content packet size?

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Thu Jan 21 09:23:09 PST 2016


just to add something to Yuhang’s response:

You will have to change the value of the following constant variable as well. This variable determines the maximum NDN packet size:


As Yuhang pointed out, though, sending out data packets of size 1MB is not very practical.

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department

> On Jan 21, 2016, at 8:33 AM, Yuhang Ye <yye at research.ait.ie> wrote:
> Hi Muhammad,
> The current version of ndnSIM\NFD are running on the PointToPoint device, the default MTU is 1500 (Ethernet), you can use method "SetMtu()" to change it. However, it is impractical to have 1MB "packets" transmission in real world. So you need to segment the chunks into MTU size packets before transmission.
> Best Regards
> Yuhang

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

More information about the ndnSIM mailing list