Junxiao Shi | b2ff573 | 2015-06-26 14:09:02 -0700 | [diff] [blame^] | 1 | ndn-dissect |
| 2 | =========== |
| 3 | |
| 4 | Usage |
| 5 | ----- |
| 6 | |
| 7 | :: |
| 8 | |
| 9 | ndn-dissect [-hV] [input-file] |
| 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 | |
| 21 | ``-h`` |
| 22 | Print help and exit. |
| 23 | |
| 24 | ``-V`` |
| 25 | Print version and exit. |
| 26 | |
| 27 | ``input-file`` |
| 28 | The file to read packets from. |
| 29 | If no :option:`input-file` is given, the standard input is used. |
| 30 | |
| 31 | Examples |
| 32 | -------- |
| 33 | |
| 34 | Inspect the response to Interest ``ndn:/app1/video`` |
| 35 | |
| 36 | :: |
| 37 | |
| 38 | ndnpeek ndn:/app1/video | ndn-dissect |