{ | |
"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" | |
} | |
] | |
} |