NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::ndnlp::Slicer Class Reference

provides fragmentation feature at sender More...

#include <ndnlp-slicer.hpp>

Inheritance diagram for nfd::ndnlp::Slicer:
Collaboration diagram for nfd::ndnlp::Slicer:

Public Member Functions

 Slicer (size_t mtu)
 
virtual ~Slicer ()
 
PacketArray slice (const Block &block)
 

Detailed Description

provides fragmentation feature at sender

Definition at line 39 of file ndnlp-slicer.hpp.

Constructor & Destructor Documentation

nfd::ndnlp::Slicer::Slicer ( size_t  mtu)
explicit
Parameters
mtumaximum size of NDNLP header and payload
Note
If NDNLP packets are to be encapsulated in an additional header (eg. in UDP packets), the caller must deduct such overhead.

Definition at line 33 of file ndnlp-slicer.cpp.

nfd::ndnlp::Slicer::~Slicer ( )
virtual

Member Function Documentation

PacketArray nfd::ndnlp::Slicer::slice ( const Block block)

The documentation for this class was generated from the following files: