<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;" class="">Folks,<div class=""><br class=""></div><div class="">just to add something to Yuhang’s response:</div><div class=""><br class=""></div><div class="">You will have to change the value of the following constant variable as well. This variable determines the maximum NDN packet size:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39" class="">https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39</a></div><div class=""><br class=""></div><div class="">As Yuhang pointed out, though, sending out data packets of size 1MB is not very practical.</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><span class="" style="float: none; display: inline !important;"><br class=""></span></div></div></div><div class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class="">On Jan 21, 2016, at 8:33 AM, Yuhang Ye <<a href="mailto:yye@research.ait.ie" class="">yye@research.ait.ie</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi <span style="font-size:12.8px" class="">Muhammad,</span><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">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.</span></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class="">Best Regards</span></div><div class=""><span style="font-size:12.8px" class="">Yuhang</span></div></div><br class=""></div></blockquote></div><br class=""></div></body></html>