[Ndn-interest] [Nfd-dev] NFD_Data_Packet_MTU

Susmit susmit at cs.colostate.edu
Thu Jan 18 09:06:16 PST 2018


On Thu, Jan 18, 2018 at 9:50 AM, Giuseppe Carella <gcarella228 at gmail.com> wrote:
> Good morning community,
>
> Could you tell me what is the maximum dimension I can assign to a data
> packet?
> I made some tests and I tried to change the dimension of the data packet (I
> changed the variable  MAX_NDN_PACKET_SIZE) and it seems that the MTU is 8800
> Byte.

There is no hard limit. However, if you set it too large, you might
run out of memory.

> If I create a data packet having a dimension bigger than 8800 I get the
> following error:
>
> "ERROR: error while sending data to socket (Broken pipe)"
>
> Is there any solution on that?

You will need to recompile ndn-cxx and NFD before the change takes place.


> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>



-- 

====================================
http://www.cs.colostate.edu/~susmit
====================================


More information about the Ndn-interest mailing list