26#ifndef NFD_DAEMON_FACE_LP_FRAGMENTER_HPP
27#define NFD_DAEMON_FACE_LP_FRAGMENTER_HPP
31#include <ndn-cxx/lp/packet.hpp>
83 std::tuple<bool, std::vector<lp::Packet>>
92operator<<(std::ostream& os,
const FaceLogHelper<LpFragmenter>& flh);
The upper half of a Face.
Fragments network-layer packets into NDNLPv2 link-layer packets.
void setOptions(const Options &options)
Set options for fragmenter.
const LinkService * getLinkService() const noexcept
Returns the LinkService that owns this instance.
std::tuple< bool, std::vector< lp::Packet > > fragmentPacket(const lp::Packet &packet, size_t mtu)
Fragments a network-layer packet into link-layer packets.
std::ostream & operator<<(std::ostream &os, const FaceLogHelper< Face > &flh)
Options that control the behavior of LpFragmenter.
size_t nMaxFragments
Maximum number of fragments in a packet.