| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| * Copyright (C) 2014 Named Data Networking Project |
| * See COPYING for copyright and distribution information. |
| #ifndef NFD_FACE_NDNLP_SLICER_HPP |
| #define NFD_FACE_NDNLP_SLICER_HPP |
| #include "ndnlp-sequence-generator.hpp" |
| typedef shared_ptr<std::vector<Block> > PacketArray; |
| /** \brief provides fragmentation feature at sender |
| class Slicer : noncopyable |
| slice(const Block& block); |
| /// estimate the size of NDNLP header and maximum payload size per packet |
| SequenceGenerator m_seqgen; |
| #endif // NFD_FACE_NDNLP_SLICER_HPP |