NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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

◆ Slicer()

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.

◆ ~Slicer()

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

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

Member Function Documentation

◆ slice()

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

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