[Ndn-interest] NDN packet size

Alex Afanasyev aa at CS.UCLA.EDU
Tue Mar 28 14:01:39 PDT 2017


The new ndn-cxx needs to be recompiled and installed, after which all other tools and code needs to be recompiled and reinstalled.

The packet size is used as a compile-time constant in several places (definitely in NFD, not sure about tools), which requires such recompilation.

--
Alex

> On Mar 28, 2017, at 3:55 PM, Thompson, Jeff <jefft0 at remap.UCLA.EDU> wrote:
> 
> A question to the NFD team: To increase the packet size, is it necessary to recompile/install ndn-cxx, then recompile/install NFD?
> - Jeff T
> 
> From: Mohammad Alhowaidi <malhowaidi at gmail.com <mailto:malhowaidi at gmail.com>>
> Date: Tuesday, March 28, 2017 at 13:53:00
> To: Jeff Thompson <jefft0 at remap.ucla.edu <mailto:jefft0 at remap.ucla.edu>>
> Cc: "Spyridon (Spyros) Mastorakis" <mastorakis at cs.ucla.edu <mailto:mastorakis at cs.ucla.edu>>, "ndn-interest at lists.cs.ucla.edu <mailto:ndn-interest at lists.cs.ucla.edu>" <ndn-interest at lists.cs.ucla.edu <mailto:ndn-interest at lists.cs.ucla.edu>>
> Subject: Re: [Ndn-interest] NDN packet size
> 
> I am using ndn-cxx and running the ndn-tool code ( chunks). and yes I am sending it through NFD.
> 
> Thanks,
> Mohammad
> 
> On Tue, Mar 28, 2017 at 3:50 PM, Thompson, Jeff <jefft0 at remap.ucla.edu <mailto:jefft0 at remap.ucla.edu>> wrote:
>> Which library are you using? And are you sending the packet through NFD?
>> - Jeff T
>> 
>> From: Ndn-interest <ndn-interest-bounces at lists.cs.ucla.edu <mailto:ndn-interest-bounces at lists.cs.ucla.edu>> on behalf of Mohammad Alhowaidi <malhowaidi at gmail.com <mailto:malhowaidi at gmail.com>>
>> Date: Tuesday, March 28, 2017 at 13:47:00
>> To: "Spyridon (Spyros) Mastorakis" <mastorakis at CS.UCLA.EDU <mailto:mastorakis at CS.UCLA.EDU>>
>> Cc: "ndn-interest at lists.cs.ucla.edu <mailto:ndn-interest at lists.cs.ucla.edu>" <ndn-interest at lists.cs.ucla.edu <mailto:ndn-interest at lists.cs.ucla.edu>>
>> Subject: Re: [Ndn-interest] NDN packet size
>> 
>> I updated the file with value 32767 but it gives me the following error 
>> 
>> ERROR: Data size exceeds maximum limit
>> 
>> Thanks,
>> Mohammad
>> 
>> On Tue, Mar 28, 2017 at 1:03 PM, Spyridon (Spyros) Mastorakis <mastorakis at cs.ucla.edu <mailto:mastorakis at cs.ucla.edu>> wrote:
>>> Hi,
>>> 
>>> you can change this constant in the ndn-cxx library:
>>> 
>>> https://github.com/named-data/ndn-cxx/blob/e78eeca5cc6c882ea1c72daaffc7678bf42f526b/src/encoding/tlv.hpp#L37 <https://github.com/named-data/ndn-cxx/blob/e78eeca5cc6c882ea1c72daaffc7678bf42f526b/src/encoding/tlv.hpp#L37>
>>> 
>>> Not clear to me if there will be further issues because of this change though.
>>> 
>>> Hope that this helps,
>>> 
>>> Spyridon (Spyros) Mastorakis
>>> Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
>>> Internet Research Laboratory
>>> Computer Science Department
>>> UCLA
>>> 
>>>> On Mar 28, 2017, at 11:02 AM, Mohammad Alhowaidi <malhowaidi at gmail.com <mailto:malhowaidi at gmail.com>> wrote:
>>>> 
>>>> Hello,
>>>> 
>>>> I was wondering how to increase NDN packet size, instead of using 8K? and is there any limitation from increasing it?
>>>> 
>>>> Thanks,
>>>> Mohammad
>>> 
>> 
> 
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20170328/89006a99/attachment-0001.html>


More information about the Ndn-interest mailing list