-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathold.txt
115 lines (111 loc) · 2.52 KB
/
old.txt
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
//enetNode = proto_tree_add_item(tree, proto_lol, tvb, 0, -1, FALSE);
//lolTree = proto_item_add_subtree(enetTree, ett_lol);
//proto_tree_add_item(lol_tree, hf_lol_magic, tvb, offset, 4, FALSE); offset += 4;
//proto_tree_add_item(lol_tree, hf_lol_tracking, tvb, offset, 1, FALSE); offset += 1;
//proto_tree_add_item(lol_tree, hf_lol_function, tvb, offset, 1, FALSE); offset += 1;
//if(packet_tracking == 0x80)
//{
// proto_tree_add_item(lol_tree, hf_lol_unique, tvb, offset, 2, FALSE); offset += 2;
//}
{ &hf_lol_magic,
{ "Magic number", "lol.magic",
FT_UINT32, BASE_HEX,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_tracking,
{ "Tracking", "lol.tracking",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_function,
{ "Function", "lol.function",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_unique,
{ "Unique number", "lol.unique",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_packet,
{ "Packet", "lol.packet",
FT_NONE, BASE_NONE,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_type,
{ "Type", "lol.type",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_class,
{ "Class", "lol.class",
FT_UINT8, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_unknown16,
{ "Unknown 16", "lol.unknown16",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_length,
{ "Length", "lol.length",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_data,
{ "Data", "lol.data",
FT_NONE, BASE_NONE,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_ack,
{ "Ack", "lol.ack",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_acking,
{ "Acking", "lol.acking",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_segment_size,
{ "Segment size", "lol.segment_size",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_total_packets,
{ "Total packets", "lol.total_packets",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_sequence,
{ "Sequence number", "lol.sequence",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_total_size,
{ "Total size", "lol.total_size",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
},
{ &hf_lol_previous_size,
{ "Previous size", "lol.previous_size",
FT_UINT16, BASE_DEC,
NULL, 0x0,
NULL, HFILL }
}