Junxiao Shi | b2ff573 | 2015-06-26 14:09:02 -0700 | [diff] [blame] | 1 | ndn-dissect |
| 2 | =========== |
| 3 | |
| 4 | Usage |
| 5 | ----- |
| 6 | |
| 7 | :: |
| 8 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 9 | ndn-dissect [-hV] [INPUT-FILE] |
Junxiao Shi | b2ff573 | 2015-06-26 14:09:02 -0700 | [diff] [blame] | 10 | |
| 11 | Description |
| 12 | ----------- |
| 13 | |
| 14 | ``ndn-dissect`` is an NDN packet format inspector. |
| 15 | It reads zero or more NDN packets from either an input file or the standard input, |
| 16 | and displays the Type-Length-Value (TLV) structure of those packets on the standard output. |
| 17 | |
| 18 | Options |
| 19 | ------- |
| 20 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 21 | .. option:: -h |
| 22 | |
Junxiao Shi | b2ff573 | 2015-06-26 14:09:02 -0700 | [diff] [blame] | 23 | Print help and exit. |
| 24 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 25 | .. option:: -V |
| 26 | |
Junxiao Shi | b2ff573 | 2015-06-26 14:09:02 -0700 | [diff] [blame] | 27 | Print version and exit. |
| 28 | |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 29 | .. option:: INPUT-FILE |
| 30 | |
Junxiao Shi | b2ff573 | 2015-06-26 14:09:02 -0700 | [diff] [blame] | 31 | The file to read packets from. |
Alexander Afanasyev | 20c85cb | 2018-03-09 17:50:14 -0500 | [diff] [blame^] | 32 | If no :option:`INPUT-FILE` is given, the standard input is used. |
Junxiao Shi | b2ff573 | 2015-06-26 14:09:02 -0700 | [diff] [blame] | 33 | |
| 34 | Examples |
| 35 | -------- |
| 36 | |
| 37 | Inspect the response to Interest ``ndn:/app1/video`` |
| 38 | |
| 39 | :: |
| 40 | |
| 41 | ndnpeek ndn:/app1/video | ndn-dissect |