[ndnSIM] What is the maximum size of a Data packet ?

Adrien Thibaud adrien.thibaud at tesa.prd.fr
Tue Mar 20 02:42:46 PDT 2018


Hi everyone,

I am a little bit confused about the maximum size a NDN packet can have.

In the specification 
(http://named-data.net/doc/NDN-packet-spec/current/tlv.html), it says 
that the length can be encoded on 8 octets, so the maximum size should 
be 2^64 octets.

But in the code, there is a constante MAX_NDN_PACKET_SIZE set to 8800 
(octet) and is define as the "practical limit of network layer packet 
size" 
(https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39).

Does anyone know which is the real maximum size ?

Maybe the specification is not up-to-date ...

Thank you,

Adrien

-- 
Adrien THIBAUD
PhD Student
INP Toulouse - ENSEEIHT
University of Toulouse, France
TéSA Cooperative research laboratory
IRIT Research Laboratory



More information about the ndnSIM mailing list