summaryrefslogtreecommitdiffstats
path: root/extras/packetforge/parsegraph/nodes/l2tpv2data.json
blob: d9e8b006820de7b18301d7c8a8c0e5cee058884a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
    "type" : "node",
    "name" : "l2tpv2data",
    "layout" : [
        {
            "name" : "t",
            "size" : "1",
            "default" : "0",
            "readonly" : "true"
        },
        {
            "name" : "l",
            "size" : "1"
        },
        {
            "name" : "reserved",
            "size" : "2"
        },
        {
            "name" : "s",
            "size" : "1"
        },
        {
            "name" : "reserved",
            "size" : "1"
        },
        {
            "name" : "o",
            "size" : "1"
        },
        {
            "name" : "p",
            "size" : "1"
        },
        {
            "name" : "reserved",
            "size" : "4"
        },
        {
            "name" : "version",
            "size" : "4",
            "default" : "2",
            "readonly" : "true"
        },
        {
            "name" : "length",
            "size" : "16",
            "optional" : "l=1"
        },
        {
            "name" : "tunnelid",
            "size" : "16"
        },
        {
            "name" : "sessionid",
            "size" : "16"
        },
        {
            "name" : "ns",
            "size" : "16",
            "optional" : "s=1"
        },
        {
            "name" : "nr",
            "size" : "16",
            "optional" : "s=1"
        },
        {
            "name" : "offsetsize",
            "size" : "16",
            "optional" : "o=1"
        },
        {
            "name" : "offsetpad",
            "size" : "offsetsize<<3",
            "optional" : "o=1"
        }
    ]
}