[Ndn-interest] Guidance/Resources for NDN packet structure

Lixia Zhang lixia at cs.ucla.edu
Thu Dec 21 10:56:39 PST 2023


there were some local replies to Navaneet's request for NDN info. Copied below in case others on the list may find them useful:

From Xinyu: What do you plan to do? We have specs, tutorials and software packages.
- If you want a pure technical spec on the format, read: https://docs.named-data.net/NDN-packet-spec/current/  Some topics lack explanation, but enough for you to write your own encoder/decoder.
- If you want some tutorials on NDN workflows, you may try Varun's NDN-101: https://varunpatil.me/ndn101-md/
- If you need any software package, you can try python-ndn, go-ndn, NDNts or ndn-cxx (C++), depending on your programming language. python-ndn is the one with the most detailed documentation.

From Varun: Just to add to Xinyu's comments and since you mention packet structure in particular, there's a packet visualizer in NDN-Play (https://play.ndn.today <https://play.ndn.today/>). You can either create a packet with the NDNts API and pass it to the `visualize` function, or directly inspect an encoded base64 or hex wire.
The NDN-101 packet types section has some notes on the structure (the example TLV structures there also use NDN-Play's visualizer)

FYI, Lixia

> On Dec 20, 2023, at 5:51 AM, Navaneet Y V N . via Ndn-interest <ndn-interest at lists.cs.ucla.edu> wrote:
> 
> Hey Everyone,
> 
> I'm looking to learn more about NDN, the structure of NDN packets in particular. I want to be able to generate NDN packets for my application and hence I have been looking for resources to understand the packet structure in NDN. But, I'm having trouble finding material that is relevant to me. Can someone help look in the right place for resources on shaping custom NDN packets? I'd really appreciate any help you can provide.
> 
> Thank you
> 
> Regards,
> Navaneet
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> https://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20231221/60bd6281/attachment.html>


More information about the Ndn-interest mailing list