Project

General

Profile

Actions

Task #3407

closed

Replace hardcoded values in ndn-cxx by MAX_NDN_PACKET_SIZE

Added by susmit shannigrahi almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Base
Target version:
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 #2

Updated by susmit shannigrahi almost 9 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Alex Afanasyev almost 9 years ago

  • Category set to Base
  • Status changed from In Progress to Closed
  • Assignee set to susmit shannigrahi
  • Target version set to v0.5
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF