[ndnSIM] How to set content packet size?

Muhammad Faran m.faran.majeed at gmail.com
Thu Jan 21 23:11:28 PST 2016


Thank you Yuhang and Spyros for your kind reply. :)

Kind regards,

Muhammad Faran Majeed,
AIT, Thailand

On Fri, Jan 22, 2016 at 12:23 AM, Spyridon (Spyros) Mastorakis <
mastorakis at cs.ucla.edu> wrote:

> Folks,
>
> 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:
>
>
> https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39
>
> 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/
> Internet Research Laboratory
> Computer Science Department
> UCLA
>
>
> 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/20160122/b1850561/attachment.html>


More information about the ndnSIM mailing list