Actions
Task #3407
closedReplace hardcoded values in ndn-cxx by MAX_NDN_PACKET_SIZE
Start date:
01/12/2016
Due date:
% Done:
100%
Estimated time:
Description
ndn-cxx uses 8800 instead of MAX_NDN_PACKET_SIZE at various places.
src/encoding/encoder.hpp: Encoder(size_t totalReserve = 8800, size_t reserveFromBack = 400);
src/encoding/encoder.cpp:Encoder::Encoder(size_t totalReserve/* = 8800*/, size_t reserveFromBack/* = 400*/)
src/encoding/tlv.hpp:const size_t MAX_NDN_PACKET_SIZE = 8800;
src/encoding/encoding-buffer.hpp: EncodingImpl(size_t totalReserve = 8800, size_t reserveFromBack = 400)
src/encoding/block.cpp:const size_t MAX_SIZE_OF_BLOCK_FROM_STREAM = 8800;
Actions