blob: 552cde5ef62e2cae463c4367f905686833779b54 [file] [log] [blame]
Junxiao Shib2ff5732015-06-26 14:09:02 -07001ndn-dissect
2===========
3
4Usage
5-----
6
7::
8
Alexander Afanasyev20c85cb2018-03-09 17:50:14 -05009 ndn-dissect [-hV] [INPUT-FILE]
Junxiao Shib2ff5732015-06-26 14:09:02 -070010
11Description
12-----------
13
14``ndn-dissect`` is an NDN packet format inspector.
15It reads zero or more NDN packets from either an input file or the standard input,
16and displays the Type-Length-Value (TLV) structure of those packets on the standard output.
17
18Options
19-------
20
Alexander Afanasyev20c85cb2018-03-09 17:50:14 -050021.. option:: -h
22
Junxiao Shib2ff5732015-06-26 14:09:02 -070023 Print help and exit.
24
Alexander Afanasyev20c85cb2018-03-09 17:50:14 -050025.. option:: -V
26
Junxiao Shib2ff5732015-06-26 14:09:02 -070027 Print version and exit.
28
Alexander Afanasyev20c85cb2018-03-09 17:50:14 -050029.. option:: INPUT-FILE
30
Junxiao Shib2ff5732015-06-26 14:09:02 -070031 The file to read packets from.
Alexander Afanasyev20c85cb2018-03-09 17:50:14 -050032 If no :option:`INPUT-FILE` is given, the standard input is used.
Junxiao Shib2ff5732015-06-26 14:09:02 -070033
34Examples
35--------
36
37Inspect the response to Interest ``ndn:/app1/video``
38
39::
40
41 ndnpeek ndn:/app1/video | ndn-dissect