26 #ifndef NFD_DAEMON_FACE_LP_FRAGMENTER_HPP
27 #define NFD_DAEMON_FACE_LP_FRAGMENTER_HPP
31 #include <ndn-cxx/lp/packet.hpp>
72 std::tuple<bool, std::vector<lp::Packet>>
For internal use by FaceLogging macros.
fragments network-layer packets into NDNLPv2 link-layer packets
void setOptions(const Options &options)
set options for fragmenter
LpFragmenter(const Options &options, const LinkService *linkService=nullptr)
std::tuple< bool, std::vector< lp::Packet > > fragmentPacket(const lp::Packet &packet, size_t mtu)
fragments a network-layer packet into link-layer packets
const LinkService * getLinkService() const
std::ostream & operator<<(std::ostream &os, const FaceLogHelper< Face > &flh)
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents,...
Options that control the behavior of LpFragmenter.
size_t nMaxFragments
maximum number of fragments in a packet