blob: eb509614d5743bdb5542883b50757b4464a054eb [file] [log] [blame]
Alexander Afanasyev151a8552014-04-11 00:54:43 -07001tlvdump
2=======
3
4``tlvdump`` is a simple application allowing to decode structure of TLV-encoded packet.
5
6Usage
7-----
8
9::
10
11 tlvdump [filename]
12
13Description
14-----------
15
16If filename is specified, ``tlvdump`` will attempt to read and decode content of the file,
17otherwise data will be read from standard input.
18
19Example
20-------
21
22::
23
24 $ tlvdump interest.tlv
25 5 (Interest) (size: 89)
26 7 (Name) (size: 20)
27 8 (NameComponent) (size: 5) [[local]]
28 8 (NameComponent) (size: 3) [[ndn]]
29 8 (NameComponent) (size: 6) [[prefix]]
30 9 (Selectors) (size: 55)
31 13 (MinSuffixComponents) (size: 1) [[%01]]
32 14 (MaxSuffixComponents) (size: 1) [[%01]]
33 28 (KeyLocatorDigest) (size: 22)
34 7 (Name) (size: 20)
35 8 (NameComponent) (size: 4) [[test]]
36 8 (NameComponent) (size: 3) [[key]]
37 8 (NameComponent) (size: 7) [[locator]]
38 16 (Exclude) (size: 20)
39 8 (NameComponent) (size: 4) [[alex]]
40 8 (NameComponent) (size: 4) [[xxxx]]
41 19 (Any) (size: 0) [[...]]
42 8 (NameComponent) (size: 4) [[yyyy]]
43 17 (ChildSelector) (size: 1) [[%01]]
44 10 (Nonce) (size: 1) [[%01]]
45 11 (Scope) (size: 1) [[%01]]
46 12 (InterestLifetime) (size: 2) [[%03%E8]]