provides fragmentation feature at sender More...
#include <ndnlp-slicer.hpp>
Public Member Functions | |
Slicer (size_t mtu) | |
virtual | ~Slicer () |
PacketArray | slice (const Block &block) |
provides fragmentation feature at sender
Definition at line 39 of file ndnlp-slicer.hpp.
|
explicit |
mtu | maximum size of NDNLP header and payload |
Definition at line 33 of file ndnlp-slicer.cpp.
|
virtual |
Definition at line 39 of file ndnlp-slicer.cpp.
PacketArray nfd::ndnlp::Slicer::slice | ( | const Block & | block | ) |
Definition at line 103 of file ndnlp-slicer.cpp.
References ndn::Block::hasWire(), nfd::ndnlp::SequenceGenerator::nextBlock(), ndn::Block::size(), and ndn::Block::wire().