A partial implementation of NDNLPv2, the link-layer protocol NDN packets are framed in before being sent over a transport.
This crate only implements the parts of NDNLPv2 that ndn-app needs -- it is not a complete implementation of the protocol.
cargo add ndn-ndnlp
Packetis the union of everything that can appear directly on the wire: a bare Interest, a bare Data packet, or an NDNLPv2LpPacket.LpPacketwraps a fragment of an Interest or Data with link-layer metadata -- a sequence number and fragment index/count for reassembly, or a link-layer Nack instead of a fragment.- Headers this crate doesn't have a dedicated type for are preserved as
UnknownHeaderrather than dropped.
ndn-appis an application framework that uses this crate for its link-layer framing.ndn-tlvprovides the TLV encoding/decoding traits this crate's packet types are built on.ndn-protocolimplements the Interest and Data packet types this crate frames.
MIT
Produced as part of a Master's thesis in Computer Science.