Skip to content
ndn-cluster-rsPublic

About

A partial implementation of NDNLPv2, the link-layer protocol NDN packets are framed in before being sent over a transport.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ndn-ndnlp

docs.rs crates.io license

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.

Installation

cargo add ndn-ndnlp

How it works

  • Packet is the union of everything that can appear directly on the wire: a bare Interest, a bare Data packet, or an NDNLPv2 LpPacket.
  • LpPacket wraps 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 UnknownHeader rather than dropped.

Related crates

  • ndn-app is an application framework that uses this crate for its link-layer framing.
  • ndn-tlv provides the TLV encoding/decoding traits this crate's packet types are built on.
  • ndn-protocol implements the Interest and Data packet types this crate frames.

License

MIT


Produced as part of a Master's thesis in Computer Science.

About

A partial implementation of NDNLPv2, the link-layer protocol NDN packets are framed in before being sent over a transport.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages