/src/wireshark/epan/dissectors/packet-glow.c
Line | Count | Source |
1 | | /* Do not modify this file. Changes will be overwritten. */ |
2 | | /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ |
3 | | /* packet-glow.c */ |
4 | | /* asn2wrs.py -b -N -q -L -p glow -c ./glow.cnf -s ./packet-glow-template -D . -O ../.. glow.asn */ |
5 | | |
6 | | /* packet-glow.c |
7 | | * Routines for GLOW packet dissection |
8 | | * |
9 | | * Copyright 2018, Gilles Dufour <dufour.gilles@gmail.com> |
10 | | * |
11 | | * Wireshark - Network traffic analyzer |
12 | | * By Gerald Combs <gerald@wireshark.org> |
13 | | * Copyright 1998 Gerald Combs |
14 | | * |
15 | | * SPDX-License-Identifier: GPL-2.0-or-later |
16 | | */ |
17 | | |
18 | | # include "config.h" |
19 | | |
20 | | #include <epan/packet.h> |
21 | | #include <epan/proto_data.h> |
22 | | #include <wsutil/array.h> |
23 | | #include "packet-ber.h" |
24 | | |
25 | | void proto_register_glow(void); |
26 | | |
27 | | static dissector_handle_t glow_handle; |
28 | | static int proto_glow; |
29 | | |
30 | | static int hf_glow_Root_PDU; /* Root */ |
31 | | static int hf_glow_number; /* Integer32 */ |
32 | | static int hf_glow_element; /* TemplateElement */ |
33 | | static int hf_glow_description; /* EmberString */ |
34 | | static int hf_glow_path; /* RELATIVE_OID */ |
35 | | static int hf_glow_parameter; /* Parameter */ |
36 | | static int hf_glow_node; /* Node */ |
37 | | static int hf_glow_matrix; /* Matrix */ |
38 | | static int hf_glow_function; /* Function */ |
39 | | static int hf_glow_contents; /* ParameterContents */ |
40 | | static int hf_glow_children; /* ElementCollection */ |
41 | | static int hf_glow_identifier; /* EmberString */ |
42 | | static int hf_glow_value; /* Value */ |
43 | | static int hf_glow_minimum; /* MinMax */ |
44 | | static int hf_glow_maximum; /* MinMax */ |
45 | | static int hf_glow_access; /* ParameterAccess */ |
46 | | static int hf_glow_format; /* EmberString */ |
47 | | static int hf_glow_enumeration; /* EmberString */ |
48 | | static int hf_glow_factor; /* Integer32 */ |
49 | | static int hf_glow_isOnline; /* BOOLEAN */ |
50 | | static int hf_glow_formula; /* EmberString */ |
51 | | static int hf_glow_step; /* Integer32 */ |
52 | | static int hf_glow_default; /* Value */ |
53 | | static int hf_glow_type; /* ParameterType */ |
54 | | static int hf_glow_streamIdentifier; /* Integer32 */ |
55 | | static int hf_glow_enumMap; /* StringIntegerCollection */ |
56 | | static int hf_glow_streamDescriptor; /* StreamDescription */ |
57 | | static int hf_glow_schemaIdentifiers; /* EmberString */ |
58 | | static int hf_glow_templateReference; /* RELATIVE_OID */ |
59 | | static int hf_glow_integer; /* Integer64 */ |
60 | | static int hf_glow_real; /* REAL */ |
61 | | static int hf_glow_string; /* EmberString */ |
62 | | static int hf_glow_boolean; /* BOOLEAN */ |
63 | | static int hf_glow_octets; /* OCTET_STRING */ |
64 | | static int hf_glow_null; /* NULL */ |
65 | | static int hf_glow_entryString; /* EmberString */ |
66 | | static int hf_glow_entryInteger; /* Integer32 */ |
67 | | static int hf_glow__untag_item; /* StringIntegerPair */ |
68 | | static int hf_glow_streamFormat; /* StreamFormat */ |
69 | | static int hf_glow_offset; /* Integer32 */ |
70 | | static int hf_glow_number_01; /* CommandType */ |
71 | | static int hf_glow_options; /* T_options */ |
72 | | static int hf_glow_dirFieldMask; /* FieldFlags */ |
73 | | static int hf_glow_invocation; /* Invocation */ |
74 | | static int hf_glow_contents_01; /* NodeContents */ |
75 | | static int hf_glow_isRoot; /* BOOLEAN */ |
76 | | static int hf_glow_contents_02; /* MatrixContents */ |
77 | | static int hf_glow_targetList; /* TargetCollection */ |
78 | | static int hf_glow_sourceList; /* SourceCollection */ |
79 | | static int hf_glow_connections; /* ConnectionCollection */ |
80 | | static int hf_glow_type_01; /* MatrixType */ |
81 | | static int hf_glow_addressingMode; /* MatrixAddressingMode */ |
82 | | static int hf_glow_targetCount; /* Integer32 */ |
83 | | static int hf_glow_sourceCount; /* Integer32 */ |
84 | | static int hf_glow_maximumTotalConnects; /* Integer32 */ |
85 | | static int hf_glow_maximumConnectsPerTarget; /* Integer32 */ |
86 | | static int hf_glow_parametersLocation; /* ParametersLocation */ |
87 | | static int hf_glow_gainParameterNumber; /* Integer32 */ |
88 | | static int hf_glow_labels; /* LabelCollection */ |
89 | | static int hf_glow_basePath; /* RELATIVE_OID */ |
90 | | static int hf_glow_inline; /* Integer32 */ |
91 | | static int hf_glow_LabelCollection_item; /* Label */ |
92 | | static int hf_glow_TargetCollection_item; /* Target */ |
93 | | static int hf_glow_SourceCollection_item; /* Source */ |
94 | | static int hf_glow_ConnectionCollection_item; /* Connection */ |
95 | | static int hf_glow_target; /* Integer32 */ |
96 | | static int hf_glow_sources; /* PackedNumbers */ |
97 | | static int hf_glow_operation; /* ConnectionOperation */ |
98 | | static int hf_glow_disposition; /* ConnectionDisposition */ |
99 | | static int hf_glow_contents_03; /* FunctionContents */ |
100 | | static int hf_glow_arguments; /* TupleDescription */ |
101 | | static int hf_glow_result; /* TupleDescription */ |
102 | | static int hf_glow_TupleDescription_item; /* TupleItemDescription */ |
103 | | static int hf_glow_name; /* EmberString */ |
104 | | static int hf_glow_invocationId; /* Integer32 */ |
105 | | static int hf_glow_arguments_01; /* Tuple */ |
106 | | static int hf_glow_Tuple_item; /* Value */ |
107 | | static int hf_glow_success; /* BOOLEAN */ |
108 | | static int hf_glow_result_01; /* Tuple */ |
109 | | static int hf_glow__untag_item_01; /* Element */ |
110 | | static int hf_glow_command; /* Command */ |
111 | | static int hf_glow_template; /* Template */ |
112 | | static int hf_glow_streamValue; /* Value */ |
113 | | static int hf_glow__untag_item_02; /* StreamEntry */ |
114 | | static int hf_glow_elements; /* RootElementCollection */ |
115 | | static int hf_glow_streams; /* StreamCollection */ |
116 | | static int hf_glow_invocationResult; /* InvocationResult */ |
117 | | static int hf_glow__untag_item_03; /* RootElement */ |
118 | | static int hf_glow_element_01; /* Element */ |
119 | | static int hf_glow_qualifiedParameter; /* QualifiedParameter */ |
120 | | static int hf_glow_qualifiedNode; /* QualifiedNode */ |
121 | | static int hf_glow_qualifiedMatrix; /* QualifiedMatrix */ |
122 | | static int hf_glow_qualifiedFunction; /* QualifiedFunction */ |
123 | | static int hf_glow_qualifiedTemplate; /* QualifiedTemplate */ |
124 | | |
125 | | /* Initialize the subtree pointers */ |
126 | | static int ett_glow; |
127 | | |
128 | | static int ett_glow_Template_U; |
129 | | static int ett_glow_QualifiedTemplate_U; |
130 | | static int ett_glow_TemplateElement; |
131 | | static int ett_glow_Parameter_U; |
132 | | static int ett_glow_QualifiedParameter_U; |
133 | | static int ett_glow_ParameterContents; |
134 | | static int ett_glow_Value; |
135 | | static int ett_glow_MinMax; |
136 | | static int ett_glow_StringIntegerPair_U; |
137 | | static int ett_glow_SEQUENCE_OF_StringIntegerPair; |
138 | | static int ett_glow_StreamDescription_U; |
139 | | static int ett_glow_Command_U; |
140 | | static int ett_glow_T_options; |
141 | | static int ett_glow_Node_U; |
142 | | static int ett_glow_QualifiedNode_U; |
143 | | static int ett_glow_NodeContents; |
144 | | static int ett_glow_Matrix_U; |
145 | | static int ett_glow_MatrixContents; |
146 | | static int ett_glow_ParametersLocation; |
147 | | static int ett_glow_LabelCollection; |
148 | | static int ett_glow_Label_U; |
149 | | static int ett_glow_TargetCollection; |
150 | | static int ett_glow_Signal; |
151 | | static int ett_glow_SourceCollection; |
152 | | static int ett_glow_ConnectionCollection; |
153 | | static int ett_glow_Connection_U; |
154 | | static int ett_glow_QualifiedMatrix_U; |
155 | | static int ett_glow_Function_U; |
156 | | static int ett_glow_QualifiedFunction_U; |
157 | | static int ett_glow_FunctionContents; |
158 | | static int ett_glow_TupleDescription; |
159 | | static int ett_glow_TupleItemDescription_U; |
160 | | static int ett_glow_Invocation_U; |
161 | | static int ett_glow_Tuple; |
162 | | static int ett_glow_InvocationResult_U; |
163 | | static int ett_glow_SEQUENCE_OF_Element; |
164 | | static int ett_glow_Element; |
165 | | static int ett_glow_StreamEntry_U; |
166 | | static int ett_glow_SEQUENCE_OF_StreamEntry; |
167 | | static int ett_glow_Root_U; |
168 | | static int ett_glow_SEQUENCE_OF_RootElement; |
169 | | static int ett_glow_RootElement; |
170 | | |
171 | | /*--- Cyclic dependencies ---*/ |
172 | | |
173 | | /* Parameter -> Parameter/_untag -> ElementCollection -> ElementCollection/_untag -> Element -> Parameter */ |
174 | | static unsigned dissect_glow_Parameter(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); |
175 | | |
176 | | /* ElementCollection -> ElementCollection/_untag -> Element -> Node -> Node/_untag -> ElementCollection */ |
177 | | /* ElementCollection -> ElementCollection/_untag -> Element -> Matrix -> Matrix/_untag -> ElementCollection */ |
178 | | /* ElementCollection -> ElementCollection/_untag -> Element -> Function -> Function/_untag -> ElementCollection */ |
179 | | static unsigned dissect_glow_ElementCollection(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); |
180 | | |
181 | | /* Template -> Template/_untag -> TemplateElement -> Parameter -> Parameter/_untag -> ElementCollection -> ElementCollection/_untag -> Element -> Template */ |
182 | | static unsigned dissect_glow_Template(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_); |
183 | | |
184 | | |
185 | | |
186 | | |
187 | | static unsigned |
188 | 0 | dissect_glow_EmberString(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
189 | 0 | offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_UTF8String, |
190 | 0 | actx, tree, tvb, offset, hf_index, |
191 | 0 | NULL); |
192 | |
|
193 | 0 | return offset; |
194 | 0 | } |
195 | | |
196 | | |
197 | | |
198 | | static unsigned |
199 | 0 | dissect_glow_Integer32(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
200 | 0 | offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, |
201 | 0 | NULL); |
202 | |
|
203 | 0 | return offset; |
204 | 0 | } |
205 | | |
206 | | |
207 | | |
208 | | static unsigned |
209 | 0 | dissect_glow_Integer64(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
210 | 0 | offset = dissect_ber_integer64(implicit_tag, actx, tree, tvb, offset, hf_index, |
211 | 0 | NULL); |
212 | |
|
213 | 0 | return offset; |
214 | 0 | } |
215 | | |
216 | | |
217 | | |
218 | | static unsigned |
219 | 0 | dissect_glow_REAL(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
220 | 0 | offset = dissect_ber_real(implicit_tag, actx, tree, tvb, offset, hf_index, |
221 | 0 | NULL); |
222 | |
|
223 | 0 | return offset; |
224 | 0 | } |
225 | | |
226 | | |
227 | | |
228 | | static unsigned |
229 | 0 | dissect_glow_BOOLEAN(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
230 | 0 | offset = dissect_ber_boolean(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); |
231 | |
|
232 | 0 | return offset; |
233 | 0 | } |
234 | | |
235 | | |
236 | | |
237 | | static unsigned |
238 | 0 | dissect_glow_OCTET_STRING(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
239 | 0 | offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, |
240 | 0 | NULL); |
241 | |
|
242 | 0 | return offset; |
243 | 0 | } |
244 | | |
245 | | |
246 | | |
247 | | static unsigned |
248 | 0 | dissect_glow_NULL(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
249 | 0 | offset = dissect_ber_null(implicit_tag, actx, tree, tvb, offset, hf_index); |
250 | |
|
251 | 0 | return offset; |
252 | 0 | } |
253 | | |
254 | | |
255 | | static const value_string glow_Value_vals[] = { |
256 | | { 0, "integer" }, |
257 | | { 1, "real" }, |
258 | | { 2, "string" }, |
259 | | { 3, "boolean" }, |
260 | | { 4, "octets" }, |
261 | | { 5, "null" }, |
262 | | { 0, NULL } |
263 | | }; |
264 | | |
265 | | static const ber_choice_t Value_choice[] = { |
266 | | { 0, &hf_glow_integer , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_glow_Integer64 }, |
267 | | { 1, &hf_glow_real , BER_CLASS_UNI, BER_UNI_TAG_REAL, BER_FLAGS_NOOWNTAG, dissect_glow_REAL }, |
268 | | { 2, &hf_glow_string , BER_CLASS_UNI, BER_UNI_TAG_UTF8String, BER_FLAGS_NOOWNTAG, dissect_glow_EmberString }, |
269 | | { 3, &hf_glow_boolean , BER_CLASS_UNI, BER_UNI_TAG_BOOLEAN, BER_FLAGS_NOOWNTAG, dissect_glow_BOOLEAN }, |
270 | | { 4, &hf_glow_octets , BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_glow_OCTET_STRING }, |
271 | | { 5, &hf_glow_null , BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_glow_NULL }, |
272 | | { 0, NULL, 0, 0, 0, NULL } |
273 | | }; |
274 | | |
275 | | static unsigned |
276 | 0 | dissect_glow_Value(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
277 | 0 | offset = dissect_ber_choice(actx, tree, tvb, offset, |
278 | 0 | Value_choice, hf_index, ett_glow_Value, |
279 | 0 | NULL); |
280 | |
|
281 | 0 | return offset; |
282 | 0 | } |
283 | | |
284 | | |
285 | | static const value_string glow_MinMax_vals[] = { |
286 | | { 0, "integer" }, |
287 | | { 1, "real" }, |
288 | | { 2, "null" }, |
289 | | { 0, NULL } |
290 | | }; |
291 | | |
292 | | static const ber_choice_t MinMax_choice[] = { |
293 | | { 0, &hf_glow_integer , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_glow_Integer64 }, |
294 | | { 1, &hf_glow_real , BER_CLASS_UNI, BER_UNI_TAG_REAL, BER_FLAGS_NOOWNTAG, dissect_glow_REAL }, |
295 | | { 2, &hf_glow_null , BER_CLASS_UNI, BER_UNI_TAG_NULL, BER_FLAGS_NOOWNTAG, dissect_glow_NULL }, |
296 | | { 0, NULL, 0, 0, 0, NULL } |
297 | | }; |
298 | | |
299 | | static unsigned |
300 | 0 | dissect_glow_MinMax(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
301 | 0 | offset = dissect_ber_choice(actx, tree, tvb, offset, |
302 | 0 | MinMax_choice, hf_index, ett_glow_MinMax, |
303 | 0 | NULL); |
304 | |
|
305 | 0 | return offset; |
306 | 0 | } |
307 | | |
308 | | |
309 | | static const value_string glow_ParameterAccess_vals[] = { |
310 | | { 0, "none" }, |
311 | | { 1, "read" }, |
312 | | { 2, "write" }, |
313 | | { 3, "readWrite" }, |
314 | | { 0, NULL } |
315 | | }; |
316 | | |
317 | | |
318 | | static unsigned |
319 | 0 | dissect_glow_ParameterAccess(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
320 | 0 | offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, |
321 | 0 | NULL); |
322 | |
|
323 | 0 | return offset; |
324 | 0 | } |
325 | | |
326 | | |
327 | | static const value_string glow_ParameterType_vals[] = { |
328 | | { 0, "null" }, |
329 | | { 1, "integer" }, |
330 | | { 2, "real" }, |
331 | | { 3, "string" }, |
332 | | { 4, "boolean" }, |
333 | | { 5, "trigger" }, |
334 | | { 6, "enum" }, |
335 | | { 7, "octets" }, |
336 | | { 0, NULL } |
337 | | }; |
338 | | |
339 | | |
340 | | static unsigned |
341 | 0 | dissect_glow_ParameterType(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
342 | 0 | offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, |
343 | 0 | NULL); |
344 | |
|
345 | 0 | return offset; |
346 | 0 | } |
347 | | |
348 | | |
349 | | static const ber_sequence_t StringIntegerPair_U_sequence[] = { |
350 | | { &hf_glow_entryString , BER_CLASS_CON, 0, 0, dissect_glow_EmberString }, |
351 | | { &hf_glow_entryInteger , BER_CLASS_CON, 1, 0, dissect_glow_Integer32 }, |
352 | | { NULL, 0, 0, 0, NULL } |
353 | | }; |
354 | | |
355 | | static unsigned |
356 | 0 | dissect_glow_StringIntegerPair_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
357 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
358 | 0 | StringIntegerPair_U_sequence, hf_index, ett_glow_StringIntegerPair_U); |
359 | |
|
360 | 0 | return offset; |
361 | 0 | } |
362 | | |
363 | | |
364 | | |
365 | | static unsigned |
366 | 0 | dissect_glow_StringIntegerPair(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
367 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
368 | 0 | hf_index, BER_CLASS_APP, 7, true, dissect_glow_StringIntegerPair_U); |
369 | |
|
370 | 0 | return offset; |
371 | 0 | } |
372 | | |
373 | | |
374 | | static const ber_sequence_t SEQUENCE_OF_StringIntegerPair_sequence_of[1] = { |
375 | | { &hf_glow__untag_item , BER_CLASS_CON, 0, 0, dissect_glow_StringIntegerPair }, |
376 | | }; |
377 | | |
378 | | static unsigned |
379 | 0 | dissect_glow_SEQUENCE_OF_StringIntegerPair(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
380 | 0 | offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, |
381 | 0 | SEQUENCE_OF_StringIntegerPair_sequence_of, hf_index, ett_glow_SEQUENCE_OF_StringIntegerPair); |
382 | |
|
383 | 0 | return offset; |
384 | 0 | } |
385 | | |
386 | | |
387 | | |
388 | | static unsigned |
389 | 0 | dissect_glow_StringIntegerCollection(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
390 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
391 | 0 | hf_index, BER_CLASS_APP, 8, true, dissect_glow_SEQUENCE_OF_StringIntegerPair); |
392 | |
|
393 | 0 | return offset; |
394 | 0 | } |
395 | | |
396 | | |
397 | | static const value_string glow_StreamFormat_vals[] = { |
398 | | { 0, "unsignedInt8" }, |
399 | | { 2, "unsignedInt16BigEndian" }, |
400 | | { 3, "unsignedInt16LittleEndian" }, |
401 | | { 4, "unsignedInt32BigEndian" }, |
402 | | { 5, "unsignedInt32LittleEndian" }, |
403 | | { 6, "unsignedInt64BigEndian" }, |
404 | | { 7, "unsignedInt64LittleEndian" }, |
405 | | { 8, "signedInt8" }, |
406 | | { 10, "signedInt16BigEndian" }, |
407 | | { 11, "signedInt16LittleEndian" }, |
408 | | { 12, "signedInt32BigEndian" }, |
409 | | { 13, "signedInt32LittleEndian" }, |
410 | | { 14, "signedInt64BigEndian" }, |
411 | | { 15, "signedInt64LittleEndian" }, |
412 | | { 20, "ieeeFloat32BigEndian" }, |
413 | | { 21, "ieeeFloat32LittleEndian" }, |
414 | | { 22, "ieeeFloat64BigEndian" }, |
415 | | { 23, "ieeeFloat64LittleEndian" }, |
416 | | { 0, NULL } |
417 | | }; |
418 | | |
419 | | |
420 | | static unsigned |
421 | 0 | dissect_glow_StreamFormat(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
422 | 0 | offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, |
423 | 0 | NULL); |
424 | |
|
425 | 0 | return offset; |
426 | 0 | } |
427 | | |
428 | | |
429 | | static const ber_sequence_t StreamDescription_U_sequence[] = { |
430 | | { &hf_glow_streamFormat , BER_CLASS_CON, 0, 0, dissect_glow_StreamFormat }, |
431 | | { &hf_glow_offset , BER_CLASS_CON, 1, 0, dissect_glow_Integer32 }, |
432 | | { NULL, 0, 0, 0, NULL } |
433 | | }; |
434 | | |
435 | | static unsigned |
436 | 0 | dissect_glow_StreamDescription_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
437 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
438 | 0 | StreamDescription_U_sequence, hf_index, ett_glow_StreamDescription_U); |
439 | |
|
440 | 0 | return offset; |
441 | 0 | } |
442 | | |
443 | | |
444 | | |
445 | | static unsigned |
446 | 0 | dissect_glow_StreamDescription(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
447 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
448 | 0 | hf_index, BER_CLASS_APP, 12, true, dissect_glow_StreamDescription_U); |
449 | |
|
450 | 0 | return offset; |
451 | 0 | } |
452 | | |
453 | | |
454 | | |
455 | | static unsigned |
456 | 0 | dissect_glow_RELATIVE_OID(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
457 | 0 | offset = dissect_ber_relative_oid(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); |
458 | |
|
459 | 0 | return offset; |
460 | 0 | } |
461 | | |
462 | | |
463 | | static const ber_sequence_t ParameterContents_set[] = { |
464 | | { &hf_glow_identifier , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
465 | | { &hf_glow_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
466 | | { &hf_glow_value , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_glow_Value }, |
467 | | { &hf_glow_minimum , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_glow_MinMax }, |
468 | | { &hf_glow_maximum , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_glow_MinMax }, |
469 | | { &hf_glow_access , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_glow_ParameterAccess }, |
470 | | { &hf_glow_format , BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
471 | | { &hf_glow_enumeration , BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
472 | | { &hf_glow_factor , BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL, dissect_glow_Integer32 }, |
473 | | { &hf_glow_isOnline , BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL, dissect_glow_BOOLEAN }, |
474 | | { &hf_glow_formula , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
475 | | { &hf_glow_step , BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL, dissect_glow_Integer32 }, |
476 | | { &hf_glow_default , BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_glow_Value }, |
477 | | { &hf_glow_type , BER_CLASS_CON, 13, BER_FLAGS_OPTIONAL, dissect_glow_ParameterType }, |
478 | | { &hf_glow_streamIdentifier, BER_CLASS_CON, 14, BER_FLAGS_OPTIONAL, dissect_glow_Integer32 }, |
479 | | { &hf_glow_enumMap , BER_CLASS_CON, 15, BER_FLAGS_OPTIONAL, dissect_glow_StringIntegerCollection }, |
480 | | { &hf_glow_streamDescriptor, BER_CLASS_CON, 16, BER_FLAGS_OPTIONAL, dissect_glow_StreamDescription }, |
481 | | { &hf_glow_schemaIdentifiers, BER_CLASS_CON, 17, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
482 | | { &hf_glow_templateReference, BER_CLASS_CON, 18, BER_FLAGS_OPTIONAL, dissect_glow_RELATIVE_OID }, |
483 | | { NULL, 0, 0, 0, NULL } |
484 | | }; |
485 | | |
486 | | static unsigned |
487 | 0 | dissect_glow_ParameterContents(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
488 | 0 | offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset, |
489 | 0 | ParameterContents_set, hf_index, ett_glow_ParameterContents); |
490 | |
|
491 | 0 | return offset; |
492 | 0 | } |
493 | | |
494 | | |
495 | | static const ber_sequence_t NodeContents_set[] = { |
496 | | { &hf_glow_identifier , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
497 | | { &hf_glow_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
498 | | { &hf_glow_isRoot , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_BOOLEAN }, |
499 | | { &hf_glow_isOnline , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_glow_BOOLEAN }, |
500 | | { &hf_glow_schemaIdentifiers, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
501 | | { &hf_glow_templateReference, BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_glow_RELATIVE_OID }, |
502 | | { NULL, 0, 0, 0, NULL } |
503 | | }; |
504 | | |
505 | | static unsigned |
506 | 0 | dissect_glow_NodeContents(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
507 | 0 | offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset, |
508 | 0 | NodeContents_set, hf_index, ett_glow_NodeContents); |
509 | |
|
510 | 0 | return offset; |
511 | 0 | } |
512 | | |
513 | | |
514 | | static const ber_sequence_t Node_U_sequence[] = { |
515 | | { &hf_glow_number , BER_CLASS_CON, 0, 0, dissect_glow_Integer32 }, |
516 | | { &hf_glow_contents_01 , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_NodeContents }, |
517 | | { &hf_glow_children , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_ElementCollection }, |
518 | | { NULL, 0, 0, 0, NULL } |
519 | | }; |
520 | | |
521 | | static unsigned |
522 | 0 | dissect_glow_Node_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
523 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
524 | 0 | Node_U_sequence, hf_index, ett_glow_Node_U); |
525 | |
|
526 | 0 | return offset; |
527 | 0 | } |
528 | | |
529 | | |
530 | | |
531 | | static unsigned |
532 | 0 | dissect_glow_Node(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
533 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
534 | 0 | hf_index, BER_CLASS_APP, 3, true, dissect_glow_Node_U); |
535 | |
|
536 | 0 | return offset; |
537 | 0 | } |
538 | | |
539 | | |
540 | | static const value_string glow_CommandType_vals[] = { |
541 | | { 30, "subscribe" }, |
542 | | { 31, "unsubscribe" }, |
543 | | { 32, "getDirectory" }, |
544 | | { 33, "invoke" }, |
545 | | { 0, NULL } |
546 | | }; |
547 | | |
548 | | |
549 | | static unsigned |
550 | 0 | dissect_glow_CommandType(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
551 | 0 | offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, |
552 | 0 | NULL); |
553 | |
|
554 | 0 | return offset; |
555 | 0 | } |
556 | | |
557 | | |
558 | | static const value_string glow_FieldFlags_vals[] = { |
559 | | { -2, "sparse" }, |
560 | | { -1, "all" }, |
561 | | { 0, "default" }, |
562 | | { 1, "identifier" }, |
563 | | { 2, "description" }, |
564 | | { 3, "tree" }, |
565 | | { 4, "value" }, |
566 | | { 5, "connections" }, |
567 | | { 0, NULL } |
568 | | }; |
569 | | |
570 | | |
571 | | static unsigned |
572 | 0 | dissect_glow_FieldFlags(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
573 | 0 | offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, |
574 | 0 | NULL); |
575 | |
|
576 | 0 | return offset; |
577 | 0 | } |
578 | | |
579 | | |
580 | | static const ber_sequence_t Tuple_sequence_of[1] = { |
581 | | { &hf_glow_Tuple_item , BER_CLASS_CON, 0, BER_FLAGS_NOTCHKTAG, dissect_glow_Value }, |
582 | | }; |
583 | | |
584 | | static unsigned |
585 | 0 | dissect_glow_Tuple(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
586 | 0 | offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, |
587 | 0 | Tuple_sequence_of, hf_index, ett_glow_Tuple); |
588 | |
|
589 | 0 | return offset; |
590 | 0 | } |
591 | | |
592 | | |
593 | | static const ber_sequence_t Invocation_U_sequence[] = { |
594 | | { &hf_glow_invocationId , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_glow_Integer32 }, |
595 | | { &hf_glow_arguments_01 , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_Tuple }, |
596 | | { NULL, 0, 0, 0, NULL } |
597 | | }; |
598 | | |
599 | | static unsigned |
600 | 0 | dissect_glow_Invocation_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
601 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
602 | 0 | Invocation_U_sequence, hf_index, ett_glow_Invocation_U); |
603 | |
|
604 | 0 | return offset; |
605 | 0 | } |
606 | | |
607 | | |
608 | | |
609 | | static unsigned |
610 | 0 | dissect_glow_Invocation(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
611 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
612 | 0 | hf_index, BER_CLASS_APP, 22, true, dissect_glow_Invocation_U); |
613 | |
|
614 | 0 | return offset; |
615 | 0 | } |
616 | | |
617 | | |
618 | | static const value_string glow_T_options_vals[] = { |
619 | | { 1, "dirFieldMask" }, |
620 | | { 2, "invocation" }, |
621 | | { 0, NULL } |
622 | | }; |
623 | | |
624 | | static const ber_choice_t T_options_choice[] = { |
625 | | { 1, &hf_glow_dirFieldMask , BER_CLASS_CON, 1, 0, dissect_glow_FieldFlags }, |
626 | | { 2, &hf_glow_invocation , BER_CLASS_CON, 2, 0, dissect_glow_Invocation }, |
627 | | { 0, NULL, 0, 0, 0, NULL } |
628 | | }; |
629 | | |
630 | | static unsigned |
631 | 0 | dissect_glow_T_options(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
632 | 0 | offset = dissect_ber_choice(actx, tree, tvb, offset, |
633 | 0 | T_options_choice, hf_index, ett_glow_T_options, |
634 | 0 | NULL); |
635 | |
|
636 | 0 | return offset; |
637 | 0 | } |
638 | | |
639 | | |
640 | | static const ber_sequence_t Command_U_sequence[] = { |
641 | | { &hf_glow_number_01 , BER_CLASS_CON, 0, 0, dissect_glow_CommandType }, |
642 | | { &hf_glow_options , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_OPTIONAL|BER_FLAGS_NOOWNTAG|BER_FLAGS_NOTCHKTAG, dissect_glow_T_options }, |
643 | | { NULL, 0, 0, 0, NULL } |
644 | | }; |
645 | | |
646 | | static unsigned |
647 | 0 | dissect_glow_Command_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
648 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
649 | 0 | Command_U_sequence, hf_index, ett_glow_Command_U); |
650 | |
|
651 | 0 | return offset; |
652 | 0 | } |
653 | | |
654 | | |
655 | | |
656 | | static unsigned |
657 | 0 | dissect_glow_Command(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
658 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
659 | 0 | hf_index, BER_CLASS_APP, 2, true, dissect_glow_Command_U); |
660 | |
|
661 | 0 | return offset; |
662 | 0 | } |
663 | | |
664 | | |
665 | | static const value_string glow_MatrixType_vals[] = { |
666 | | { 0, "oneToN" }, |
667 | | { 1, "oneToOne" }, |
668 | | { 2, "nToN" }, |
669 | | { 0, NULL } |
670 | | }; |
671 | | |
672 | | |
673 | | static unsigned |
674 | 0 | dissect_glow_MatrixType(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
675 | 0 | offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, |
676 | 0 | NULL); |
677 | |
|
678 | 0 | return offset; |
679 | 0 | } |
680 | | |
681 | | |
682 | | static const value_string glow_MatrixAddressingMode_vals[] = { |
683 | | { 0, "linear" }, |
684 | | { 1, "nonLinear" }, |
685 | | { 0, NULL } |
686 | | }; |
687 | | |
688 | | |
689 | | static unsigned |
690 | 0 | dissect_glow_MatrixAddressingMode(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
691 | 0 | offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, |
692 | 0 | NULL); |
693 | |
|
694 | 0 | return offset; |
695 | 0 | } |
696 | | |
697 | | |
698 | | static const value_string glow_ParametersLocation_vals[] = { |
699 | | { 0, "basePath" }, |
700 | | { 1, "inline" }, |
701 | | { 0, NULL } |
702 | | }; |
703 | | |
704 | | static const ber_choice_t ParametersLocation_choice[] = { |
705 | | { 0, &hf_glow_basePath , BER_CLASS_UNI, BER_UNI_TAG_RELATIVE_OID, BER_FLAGS_NOOWNTAG, dissect_glow_RELATIVE_OID }, |
706 | | { 1, &hf_glow_inline , BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_glow_Integer32 }, |
707 | | { 0, NULL, 0, 0, 0, NULL } |
708 | | }; |
709 | | |
710 | | static unsigned |
711 | 0 | dissect_glow_ParametersLocation(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
712 | 0 | offset = dissect_ber_choice(actx, tree, tvb, offset, |
713 | 0 | ParametersLocation_choice, hf_index, ett_glow_ParametersLocation, |
714 | 0 | NULL); |
715 | |
|
716 | 0 | return offset; |
717 | 0 | } |
718 | | |
719 | | |
720 | | static const ber_sequence_t Label_U_sequence[] = { |
721 | | { &hf_glow_basePath , BER_CLASS_CON, 0, 0, dissect_glow_RELATIVE_OID }, |
722 | | { &hf_glow_description , BER_CLASS_CON, 1, 0, dissect_glow_EmberString }, |
723 | | { NULL, 0, 0, 0, NULL } |
724 | | }; |
725 | | |
726 | | static unsigned |
727 | 0 | dissect_glow_Label_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
728 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
729 | 0 | Label_U_sequence, hf_index, ett_glow_Label_U); |
730 | |
|
731 | 0 | return offset; |
732 | 0 | } |
733 | | |
734 | | |
735 | | |
736 | | static unsigned |
737 | 0 | dissect_glow_Label(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
738 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
739 | 0 | hf_index, BER_CLASS_APP, 18, true, dissect_glow_Label_U); |
740 | |
|
741 | 0 | return offset; |
742 | 0 | } |
743 | | |
744 | | |
745 | | static const ber_sequence_t LabelCollection_sequence_of[1] = { |
746 | | { &hf_glow_LabelCollection_item, BER_CLASS_CON, 0, 0, dissect_glow_Label }, |
747 | | }; |
748 | | |
749 | | static unsigned |
750 | 0 | dissect_glow_LabelCollection(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
751 | 0 | offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, |
752 | 0 | LabelCollection_sequence_of, hf_index, ett_glow_LabelCollection); |
753 | |
|
754 | 0 | return offset; |
755 | 0 | } |
756 | | |
757 | | |
758 | | static const ber_sequence_t MatrixContents_set[] = { |
759 | | { &hf_glow_identifier , BER_CLASS_CON, 0, 0, dissect_glow_EmberString }, |
760 | | { &hf_glow_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
761 | | { &hf_glow_type_01 , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_MatrixType }, |
762 | | { &hf_glow_addressingMode , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_glow_MatrixAddressingMode }, |
763 | | { &hf_glow_targetCount , BER_CLASS_CON, 4, 0, dissect_glow_Integer32 }, |
764 | | { &hf_glow_sourceCount , BER_CLASS_CON, 5, 0, dissect_glow_Integer32 }, |
765 | | { &hf_glow_maximumTotalConnects, BER_CLASS_CON, 6, BER_FLAGS_OPTIONAL, dissect_glow_Integer32 }, |
766 | | { &hf_glow_maximumConnectsPerTarget, BER_CLASS_CON, 7, BER_FLAGS_OPTIONAL, dissect_glow_Integer32 }, |
767 | | { &hf_glow_parametersLocation, BER_CLASS_CON, 8, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_glow_ParametersLocation }, |
768 | | { &hf_glow_gainParameterNumber, BER_CLASS_CON, 9, BER_FLAGS_OPTIONAL, dissect_glow_Integer32 }, |
769 | | { &hf_glow_labels , BER_CLASS_CON, 10, BER_FLAGS_OPTIONAL, dissect_glow_LabelCollection }, |
770 | | { &hf_glow_schemaIdentifiers, BER_CLASS_CON, 11, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
771 | | { &hf_glow_templateReference, BER_CLASS_CON, 12, BER_FLAGS_OPTIONAL, dissect_glow_RELATIVE_OID }, |
772 | | { NULL, 0, 0, 0, NULL } |
773 | | }; |
774 | | |
775 | | static unsigned |
776 | 0 | dissect_glow_MatrixContents(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
777 | 0 | offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset, |
778 | 0 | MatrixContents_set, hf_index, ett_glow_MatrixContents); |
779 | |
|
780 | 0 | return offset; |
781 | 0 | } |
782 | | |
783 | | |
784 | | static const ber_sequence_t Signal_sequence[] = { |
785 | | { &hf_glow_number , BER_CLASS_CON, 0, 0, dissect_glow_Integer32 }, |
786 | | { NULL, 0, 0, 0, NULL } |
787 | | }; |
788 | | |
789 | | static unsigned |
790 | 0 | dissect_glow_Signal(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
791 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
792 | 0 | Signal_sequence, hf_index, ett_glow_Signal); |
793 | |
|
794 | 0 | return offset; |
795 | 0 | } |
796 | | |
797 | | |
798 | | |
799 | | static unsigned |
800 | 0 | dissect_glow_Target(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
801 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
802 | 0 | hf_index, BER_CLASS_APP, 14, true, dissect_glow_Signal); |
803 | |
|
804 | 0 | return offset; |
805 | 0 | } |
806 | | |
807 | | |
808 | | static const ber_sequence_t TargetCollection_sequence_of[1] = { |
809 | | { &hf_glow_TargetCollection_item, BER_CLASS_CON, 0, 0, dissect_glow_Target }, |
810 | | }; |
811 | | |
812 | | static unsigned |
813 | 0 | dissect_glow_TargetCollection(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
814 | 0 | offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, |
815 | 0 | TargetCollection_sequence_of, hf_index, ett_glow_TargetCollection); |
816 | |
|
817 | 0 | return offset; |
818 | 0 | } |
819 | | |
820 | | |
821 | | |
822 | | static unsigned |
823 | 0 | dissect_glow_Source(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
824 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
825 | 0 | hf_index, BER_CLASS_APP, 15, true, dissect_glow_Signal); |
826 | |
|
827 | 0 | return offset; |
828 | 0 | } |
829 | | |
830 | | |
831 | | static const ber_sequence_t SourceCollection_sequence_of[1] = { |
832 | | { &hf_glow_SourceCollection_item, BER_CLASS_CON, 0, 0, dissect_glow_Source }, |
833 | | }; |
834 | | |
835 | | static unsigned |
836 | 0 | dissect_glow_SourceCollection(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
837 | 0 | offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, |
838 | 0 | SourceCollection_sequence_of, hf_index, ett_glow_SourceCollection); |
839 | |
|
840 | 0 | return offset; |
841 | 0 | } |
842 | | |
843 | | |
844 | | |
845 | | static unsigned |
846 | 0 | dissect_glow_PackedNumbers(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
847 | 0 | offset = dissect_ber_relative_oid(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); |
848 | |
|
849 | 0 | return offset; |
850 | 0 | } |
851 | | |
852 | | |
853 | | static const value_string glow_ConnectionOperation_vals[] = { |
854 | | { 0, "absolute" }, |
855 | | { 1, "connect" }, |
856 | | { 2, "disconnect" }, |
857 | | { 0, NULL } |
858 | | }; |
859 | | |
860 | | |
861 | | static unsigned |
862 | 0 | dissect_glow_ConnectionOperation(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
863 | 0 | offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, |
864 | 0 | NULL); |
865 | |
|
866 | 0 | return offset; |
867 | 0 | } |
868 | | |
869 | | |
870 | | static const value_string glow_ConnectionDisposition_vals[] = { |
871 | | { 0, "tally" }, |
872 | | { 1, "modified" }, |
873 | | { 2, "pending" }, |
874 | | { 3, "locked" }, |
875 | | { 0, NULL } |
876 | | }; |
877 | | |
878 | | |
879 | | static unsigned |
880 | 0 | dissect_glow_ConnectionDisposition(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
881 | 0 | offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, |
882 | 0 | NULL); |
883 | |
|
884 | 0 | return offset; |
885 | 0 | } |
886 | | |
887 | | |
888 | | static const ber_sequence_t Connection_U_sequence[] = { |
889 | | { &hf_glow_target , BER_CLASS_CON, 0, 0, dissect_glow_Integer32 }, |
890 | | { &hf_glow_sources , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_PackedNumbers }, |
891 | | { &hf_glow_operation , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_ConnectionOperation }, |
892 | | { &hf_glow_disposition , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_glow_ConnectionDisposition }, |
893 | | { NULL, 0, 0, 0, NULL } |
894 | | }; |
895 | | |
896 | | static unsigned |
897 | 0 | dissect_glow_Connection_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
898 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
899 | 0 | Connection_U_sequence, hf_index, ett_glow_Connection_U); |
900 | |
|
901 | 0 | return offset; |
902 | 0 | } |
903 | | |
904 | | |
905 | | |
906 | | static unsigned |
907 | 0 | dissect_glow_Connection(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
908 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
909 | 0 | hf_index, BER_CLASS_APP, 16, true, dissect_glow_Connection_U); |
910 | |
|
911 | 0 | return offset; |
912 | 0 | } |
913 | | |
914 | | |
915 | | static const ber_sequence_t ConnectionCollection_sequence_of[1] = { |
916 | | { &hf_glow_ConnectionCollection_item, BER_CLASS_CON, 0, 0, dissect_glow_Connection }, |
917 | | }; |
918 | | |
919 | | static unsigned |
920 | 0 | dissect_glow_ConnectionCollection(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
921 | 0 | offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, |
922 | 0 | ConnectionCollection_sequence_of, hf_index, ett_glow_ConnectionCollection); |
923 | |
|
924 | 0 | return offset; |
925 | 0 | } |
926 | | |
927 | | |
928 | | static const ber_sequence_t Matrix_U_sequence[] = { |
929 | | { &hf_glow_number , BER_CLASS_CON, 0, 0, dissect_glow_Integer32 }, |
930 | | { &hf_glow_contents_02 , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_MatrixContents }, |
931 | | { &hf_glow_children , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_ElementCollection }, |
932 | | { &hf_glow_targetList , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_glow_TargetCollection }, |
933 | | { &hf_glow_sourceList , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_glow_SourceCollection }, |
934 | | { &hf_glow_connections , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_glow_ConnectionCollection }, |
935 | | { NULL, 0, 0, 0, NULL } |
936 | | }; |
937 | | |
938 | | static unsigned |
939 | 0 | dissect_glow_Matrix_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
940 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
941 | 0 | Matrix_U_sequence, hf_index, ett_glow_Matrix_U); |
942 | |
|
943 | 0 | return offset; |
944 | 0 | } |
945 | | |
946 | | |
947 | | |
948 | | static unsigned |
949 | 0 | dissect_glow_Matrix(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
950 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
951 | 0 | hf_index, BER_CLASS_APP, 13, true, dissect_glow_Matrix_U); |
952 | |
|
953 | 0 | return offset; |
954 | 0 | } |
955 | | |
956 | | |
957 | | static const ber_sequence_t TupleItemDescription_U_sequence[] = { |
958 | | { &hf_glow_type , BER_CLASS_CON, 0, 0, dissect_glow_ParameterType }, |
959 | | { &hf_glow_name , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
960 | | { NULL, 0, 0, 0, NULL } |
961 | | }; |
962 | | |
963 | | static unsigned |
964 | 0 | dissect_glow_TupleItemDescription_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
965 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
966 | 0 | TupleItemDescription_U_sequence, hf_index, ett_glow_TupleItemDescription_U); |
967 | |
|
968 | 0 | return offset; |
969 | 0 | } |
970 | | |
971 | | |
972 | | |
973 | | static unsigned |
974 | 0 | dissect_glow_TupleItemDescription(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
975 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
976 | 0 | hf_index, BER_CLASS_APP, 21, true, dissect_glow_TupleItemDescription_U); |
977 | |
|
978 | 0 | return offset; |
979 | 0 | } |
980 | | |
981 | | |
982 | | static const ber_sequence_t TupleDescription_sequence_of[1] = { |
983 | | { &hf_glow_TupleDescription_item, BER_CLASS_CON, 0, 0, dissect_glow_TupleItemDescription }, |
984 | | }; |
985 | | |
986 | | static unsigned |
987 | 0 | dissect_glow_TupleDescription(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
988 | 0 | offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, |
989 | 0 | TupleDescription_sequence_of, hf_index, ett_glow_TupleDescription); |
990 | |
|
991 | 0 | return offset; |
992 | 0 | } |
993 | | |
994 | | |
995 | | static const ber_sequence_t FunctionContents_set[] = { |
996 | | { &hf_glow_identifier , BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
997 | | { &hf_glow_description , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
998 | | { &hf_glow_arguments , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_TupleDescription }, |
999 | | { &hf_glow_result , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_glow_TupleDescription }, |
1000 | | { &hf_glow_templateReference, BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_glow_RELATIVE_OID }, |
1001 | | { NULL, 0, 0, 0, NULL } |
1002 | | }; |
1003 | | |
1004 | | static unsigned |
1005 | 0 | dissect_glow_FunctionContents(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1006 | 0 | offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset, |
1007 | 0 | FunctionContents_set, hf_index, ett_glow_FunctionContents); |
1008 | |
|
1009 | 0 | return offset; |
1010 | 0 | } |
1011 | | |
1012 | | |
1013 | | static const ber_sequence_t Function_U_sequence[] = { |
1014 | | { &hf_glow_number , BER_CLASS_CON, 0, 0, dissect_glow_Integer32 }, |
1015 | | { &hf_glow_contents_03 , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_FunctionContents }, |
1016 | | { &hf_glow_children , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_ElementCollection }, |
1017 | | { NULL, 0, 0, 0, NULL } |
1018 | | }; |
1019 | | |
1020 | | static unsigned |
1021 | 0 | dissect_glow_Function_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1022 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
1023 | 0 | Function_U_sequence, hf_index, ett_glow_Function_U); |
1024 | |
|
1025 | 0 | return offset; |
1026 | 0 | } |
1027 | | |
1028 | | |
1029 | | |
1030 | | static unsigned |
1031 | 0 | dissect_glow_Function(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1032 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1033 | 0 | hf_index, BER_CLASS_APP, 19, true, dissect_glow_Function_U); |
1034 | |
|
1035 | 0 | return offset; |
1036 | 0 | } |
1037 | | |
1038 | | |
1039 | | static const value_string glow_Element_vals[] = { |
1040 | | { 1, "parameter" }, |
1041 | | { 3, "node" }, |
1042 | | { 2, "command" }, |
1043 | | { 13, "matrix" }, |
1044 | | { 19, "function" }, |
1045 | | { 24, "template" }, |
1046 | | { 0, NULL } |
1047 | | }; |
1048 | | |
1049 | | static const ber_choice_t Element_choice[] = { |
1050 | | { 1, &hf_glow_parameter , BER_CLASS_APP, 1, BER_FLAGS_NOOWNTAG, dissect_glow_Parameter }, |
1051 | | { 3, &hf_glow_node , BER_CLASS_APP, 3, BER_FLAGS_NOOWNTAG, dissect_glow_Node }, |
1052 | | { 2, &hf_glow_command , BER_CLASS_APP, 2, BER_FLAGS_NOOWNTAG, dissect_glow_Command }, |
1053 | | { 13, &hf_glow_matrix , BER_CLASS_APP, 13, BER_FLAGS_NOOWNTAG, dissect_glow_Matrix }, |
1054 | | { 19, &hf_glow_function , BER_CLASS_APP, 19, BER_FLAGS_NOOWNTAG, dissect_glow_Function }, |
1055 | | { 24, &hf_glow_template , BER_CLASS_APP, 24, BER_FLAGS_NOOWNTAG, dissect_glow_Template }, |
1056 | | { 0, NULL, 0, 0, 0, NULL } |
1057 | | }; |
1058 | | |
1059 | | static unsigned |
1060 | 0 | dissect_glow_Element(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1061 | 0 | offset = dissect_ber_choice(actx, tree, tvb, offset, |
1062 | 0 | Element_choice, hf_index, ett_glow_Element, |
1063 | 0 | NULL); |
1064 | |
|
1065 | 0 | return offset; |
1066 | 0 | } |
1067 | | |
1068 | | |
1069 | | static const ber_sequence_t SEQUENCE_OF_Element_sequence_of[1] = { |
1070 | | { &hf_glow__untag_item_01 , BER_CLASS_CON, 0, BER_FLAGS_NOTCHKTAG, dissect_glow_Element }, |
1071 | | }; |
1072 | | |
1073 | | static unsigned |
1074 | 0 | dissect_glow_SEQUENCE_OF_Element(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1075 | 0 | offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, |
1076 | 0 | SEQUENCE_OF_Element_sequence_of, hf_index, ett_glow_SEQUENCE_OF_Element); |
1077 | |
|
1078 | 0 | return offset; |
1079 | 0 | } |
1080 | | |
1081 | | |
1082 | | |
1083 | | static unsigned |
1084 | 0 | dissect_glow_ElementCollection(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1085 | | // ElementCollection -> ElementCollection/_untag -> Element -> Node -> Node/_untag -> ElementCollection |
1086 | 0 | increment_dissection_depth_by_n(actx->pinfo, 5); |
1087 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1088 | 0 | hf_index, BER_CLASS_APP, 4, true, dissect_glow_SEQUENCE_OF_Element); |
1089 | |
|
1090 | 0 | decrement_dissection_depth_by_n(actx->pinfo, 5); |
1091 | 0 | return offset; |
1092 | 0 | } |
1093 | | |
1094 | | |
1095 | | static const ber_sequence_t Parameter_U_sequence[] = { |
1096 | | { &hf_glow_number , BER_CLASS_CON, 0, 0, dissect_glow_Integer32 }, |
1097 | | { &hf_glow_contents , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_ParameterContents }, |
1098 | | { &hf_glow_children , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_ElementCollection }, |
1099 | | { NULL, 0, 0, 0, NULL } |
1100 | | }; |
1101 | | |
1102 | | static unsigned |
1103 | 0 | dissect_glow_Parameter_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1104 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
1105 | 0 | Parameter_U_sequence, hf_index, ett_glow_Parameter_U); |
1106 | |
|
1107 | 0 | return offset; |
1108 | 0 | } |
1109 | | |
1110 | | |
1111 | | |
1112 | | static unsigned |
1113 | 0 | dissect_glow_Parameter(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1114 | | // Parameter -> Parameter/_untag -> ElementCollection -> ElementCollection/_untag -> Element -> Parameter |
1115 | 0 | increment_dissection_depth_by_n(actx->pinfo, 5); |
1116 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1117 | 0 | hf_index, BER_CLASS_APP, 1, true, dissect_glow_Parameter_U); |
1118 | |
|
1119 | 0 | decrement_dissection_depth_by_n(actx->pinfo, 5); |
1120 | 0 | return offset; |
1121 | 0 | } |
1122 | | |
1123 | | |
1124 | | static const value_string glow_TemplateElement_vals[] = { |
1125 | | { 1, "parameter" }, |
1126 | | { 3, "node" }, |
1127 | | { 13, "matrix" }, |
1128 | | { 19, "function" }, |
1129 | | { 0, NULL } |
1130 | | }; |
1131 | | |
1132 | | static const ber_choice_t TemplateElement_choice[] = { |
1133 | | { 1, &hf_glow_parameter , BER_CLASS_APP, 1, BER_FLAGS_NOOWNTAG, dissect_glow_Parameter }, |
1134 | | { 3, &hf_glow_node , BER_CLASS_APP, 3, BER_FLAGS_NOOWNTAG, dissect_glow_Node }, |
1135 | | { 13, &hf_glow_matrix , BER_CLASS_APP, 13, BER_FLAGS_NOOWNTAG, dissect_glow_Matrix }, |
1136 | | { 19, &hf_glow_function , BER_CLASS_APP, 19, BER_FLAGS_NOOWNTAG, dissect_glow_Function }, |
1137 | | { 0, NULL, 0, 0, 0, NULL } |
1138 | | }; |
1139 | | |
1140 | | static unsigned |
1141 | 0 | dissect_glow_TemplateElement(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1142 | 0 | offset = dissect_ber_choice(actx, tree, tvb, offset, |
1143 | 0 | TemplateElement_choice, hf_index, ett_glow_TemplateElement, |
1144 | 0 | NULL); |
1145 | |
|
1146 | 0 | return offset; |
1147 | 0 | } |
1148 | | |
1149 | | |
1150 | | static const ber_sequence_t Template_U_set[] = { |
1151 | | { &hf_glow_number , BER_CLASS_CON, 0, 0, dissect_glow_Integer32 }, |
1152 | | { &hf_glow_element , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_glow_TemplateElement }, |
1153 | | { &hf_glow_description , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
1154 | | { NULL, 0, 0, 0, NULL } |
1155 | | }; |
1156 | | |
1157 | | static unsigned |
1158 | 0 | dissect_glow_Template_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1159 | 0 | offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset, |
1160 | 0 | Template_U_set, hf_index, ett_glow_Template_U); |
1161 | |
|
1162 | 0 | return offset; |
1163 | 0 | } |
1164 | | |
1165 | | |
1166 | | |
1167 | | static unsigned |
1168 | 0 | dissect_glow_Template(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1169 | | // Template -> Template/_untag -> TemplateElement -> Parameter -> Parameter/_untag -> ElementCollection -> ElementCollection/_untag -> Element -> Template |
1170 | 0 | increment_dissection_depth_by_n(actx->pinfo, 8); |
1171 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1172 | 0 | hf_index, BER_CLASS_APP, 24, true, dissect_glow_Template_U); |
1173 | |
|
1174 | 0 | decrement_dissection_depth_by_n(actx->pinfo, 8); |
1175 | 0 | return offset; |
1176 | 0 | } |
1177 | | |
1178 | | |
1179 | | static const ber_sequence_t QualifiedTemplate_U_set[] = { |
1180 | | { &hf_glow_path , BER_CLASS_CON, 0, 0, dissect_glow_RELATIVE_OID }, |
1181 | | { &hf_glow_element , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL|BER_FLAGS_NOTCHKTAG, dissect_glow_TemplateElement }, |
1182 | | { &hf_glow_description , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_EmberString }, |
1183 | | { NULL, 0, 0, 0, NULL } |
1184 | | }; |
1185 | | |
1186 | | static unsigned |
1187 | 0 | dissect_glow_QualifiedTemplate_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1188 | 0 | offset = dissect_ber_set(implicit_tag, actx, tree, tvb, offset, |
1189 | 0 | QualifiedTemplate_U_set, hf_index, ett_glow_QualifiedTemplate_U); |
1190 | |
|
1191 | 0 | return offset; |
1192 | 0 | } |
1193 | | |
1194 | | |
1195 | | |
1196 | | static unsigned |
1197 | 0 | dissect_glow_QualifiedTemplate(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1198 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1199 | 0 | hf_index, BER_CLASS_APP, 25, true, dissect_glow_QualifiedTemplate_U); |
1200 | |
|
1201 | 0 | return offset; |
1202 | 0 | } |
1203 | | |
1204 | | |
1205 | | static const ber_sequence_t QualifiedParameter_U_sequence[] = { |
1206 | | { &hf_glow_path , BER_CLASS_CON, 0, 0, dissect_glow_RELATIVE_OID }, |
1207 | | { &hf_glow_contents , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_ParameterContents }, |
1208 | | { &hf_glow_children , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_ElementCollection }, |
1209 | | { NULL, 0, 0, 0, NULL } |
1210 | | }; |
1211 | | |
1212 | | static unsigned |
1213 | 0 | dissect_glow_QualifiedParameter_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1214 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
1215 | 0 | QualifiedParameter_U_sequence, hf_index, ett_glow_QualifiedParameter_U); |
1216 | |
|
1217 | 0 | return offset; |
1218 | 0 | } |
1219 | | |
1220 | | |
1221 | | |
1222 | | static unsigned |
1223 | 0 | dissect_glow_QualifiedParameter(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1224 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1225 | 0 | hf_index, BER_CLASS_APP, 9, true, dissect_glow_QualifiedParameter_U); |
1226 | |
|
1227 | 0 | return offset; |
1228 | 0 | } |
1229 | | |
1230 | | |
1231 | | static const ber_sequence_t QualifiedNode_U_sequence[] = { |
1232 | | { &hf_glow_path , BER_CLASS_CON, 0, 0, dissect_glow_RELATIVE_OID }, |
1233 | | { &hf_glow_contents_01 , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_NodeContents }, |
1234 | | { &hf_glow_children , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_ElementCollection }, |
1235 | | { NULL, 0, 0, 0, NULL } |
1236 | | }; |
1237 | | |
1238 | | static unsigned |
1239 | 0 | dissect_glow_QualifiedNode_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1240 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
1241 | 0 | QualifiedNode_U_sequence, hf_index, ett_glow_QualifiedNode_U); |
1242 | |
|
1243 | 0 | return offset; |
1244 | 0 | } |
1245 | | |
1246 | | |
1247 | | |
1248 | | static unsigned |
1249 | 0 | dissect_glow_QualifiedNode(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1250 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1251 | 0 | hf_index, BER_CLASS_APP, 10, true, dissect_glow_QualifiedNode_U); |
1252 | |
|
1253 | 0 | return offset; |
1254 | 0 | } |
1255 | | |
1256 | | |
1257 | | static const ber_sequence_t QualifiedMatrix_U_sequence[] = { |
1258 | | { &hf_glow_path , BER_CLASS_CON, 0, 0, dissect_glow_RELATIVE_OID }, |
1259 | | { &hf_glow_contents_02 , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_MatrixContents }, |
1260 | | { &hf_glow_children , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_ElementCollection }, |
1261 | | { &hf_glow_targetList , BER_CLASS_CON, 3, BER_FLAGS_OPTIONAL, dissect_glow_TargetCollection }, |
1262 | | { &hf_glow_sourceList , BER_CLASS_CON, 4, BER_FLAGS_OPTIONAL, dissect_glow_SourceCollection }, |
1263 | | { &hf_glow_connections , BER_CLASS_CON, 5, BER_FLAGS_OPTIONAL, dissect_glow_ConnectionCollection }, |
1264 | | { NULL, 0, 0, 0, NULL } |
1265 | | }; |
1266 | | |
1267 | | static unsigned |
1268 | 0 | dissect_glow_QualifiedMatrix_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1269 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
1270 | 0 | QualifiedMatrix_U_sequence, hf_index, ett_glow_QualifiedMatrix_U); |
1271 | |
|
1272 | 0 | return offset; |
1273 | 0 | } |
1274 | | |
1275 | | |
1276 | | |
1277 | | static unsigned |
1278 | 0 | dissect_glow_QualifiedMatrix(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1279 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1280 | 0 | hf_index, BER_CLASS_APP, 17, true, dissect_glow_QualifiedMatrix_U); |
1281 | |
|
1282 | 0 | return offset; |
1283 | 0 | } |
1284 | | |
1285 | | |
1286 | | static const ber_sequence_t QualifiedFunction_U_sequence[] = { |
1287 | | { &hf_glow_path , BER_CLASS_CON, 0, 0, dissect_glow_RELATIVE_OID }, |
1288 | | { &hf_glow_contents_03 , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_FunctionContents }, |
1289 | | { &hf_glow_children , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_ElementCollection }, |
1290 | | { NULL, 0, 0, 0, NULL } |
1291 | | }; |
1292 | | |
1293 | | static unsigned |
1294 | 0 | dissect_glow_QualifiedFunction_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1295 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
1296 | 0 | QualifiedFunction_U_sequence, hf_index, ett_glow_QualifiedFunction_U); |
1297 | |
|
1298 | 0 | return offset; |
1299 | 0 | } |
1300 | | |
1301 | | |
1302 | | |
1303 | | static unsigned |
1304 | 0 | dissect_glow_QualifiedFunction(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1305 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1306 | 0 | hf_index, BER_CLASS_APP, 20, true, dissect_glow_QualifiedFunction_U); |
1307 | |
|
1308 | 0 | return offset; |
1309 | 0 | } |
1310 | | |
1311 | | |
1312 | | static const ber_sequence_t InvocationResult_U_sequence[] = { |
1313 | | { &hf_glow_invocationId , BER_CLASS_CON, 0, 0, dissect_glow_Integer32 }, |
1314 | | { &hf_glow_success , BER_CLASS_CON, 1, BER_FLAGS_OPTIONAL, dissect_glow_BOOLEAN }, |
1315 | | { &hf_glow_result_01 , BER_CLASS_CON, 2, BER_FLAGS_OPTIONAL, dissect_glow_Tuple }, |
1316 | | { NULL, 0, 0, 0, NULL } |
1317 | | }; |
1318 | | |
1319 | | static unsigned |
1320 | 0 | dissect_glow_InvocationResult_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1321 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
1322 | 0 | InvocationResult_U_sequence, hf_index, ett_glow_InvocationResult_U); |
1323 | |
|
1324 | 0 | return offset; |
1325 | 0 | } |
1326 | | |
1327 | | |
1328 | | |
1329 | | static unsigned |
1330 | 0 | dissect_glow_InvocationResult(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1331 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1332 | 0 | hf_index, BER_CLASS_APP, 23, true, dissect_glow_InvocationResult_U); |
1333 | |
|
1334 | 0 | return offset; |
1335 | 0 | } |
1336 | | |
1337 | | |
1338 | | static const ber_sequence_t StreamEntry_U_sequence[] = { |
1339 | | { &hf_glow_streamIdentifier, BER_CLASS_CON, 0, 0, dissect_glow_Integer32 }, |
1340 | | { &hf_glow_streamValue , BER_CLASS_CON, 1, BER_FLAGS_NOTCHKTAG, dissect_glow_Value }, |
1341 | | { NULL, 0, 0, 0, NULL } |
1342 | | }; |
1343 | | |
1344 | | static unsigned |
1345 | 0 | dissect_glow_StreamEntry_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1346 | 0 | offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset, |
1347 | 0 | StreamEntry_U_sequence, hf_index, ett_glow_StreamEntry_U); |
1348 | |
|
1349 | 0 | return offset; |
1350 | 0 | } |
1351 | | |
1352 | | |
1353 | | |
1354 | | static unsigned |
1355 | 0 | dissect_glow_StreamEntry(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1356 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1357 | 0 | hf_index, BER_CLASS_APP, 5, true, dissect_glow_StreamEntry_U); |
1358 | |
|
1359 | 0 | return offset; |
1360 | 0 | } |
1361 | | |
1362 | | |
1363 | | static const ber_sequence_t SEQUENCE_OF_StreamEntry_sequence_of[1] = { |
1364 | | { &hf_glow__untag_item_02 , BER_CLASS_CON, 0, 0, dissect_glow_StreamEntry }, |
1365 | | }; |
1366 | | |
1367 | | static unsigned |
1368 | 0 | dissect_glow_SEQUENCE_OF_StreamEntry(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1369 | 0 | offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, |
1370 | 0 | SEQUENCE_OF_StreamEntry_sequence_of, hf_index, ett_glow_SEQUENCE_OF_StreamEntry); |
1371 | |
|
1372 | 0 | return offset; |
1373 | 0 | } |
1374 | | |
1375 | | |
1376 | | |
1377 | | static unsigned |
1378 | 0 | dissect_glow_StreamCollection(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1379 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1380 | 0 | hf_index, BER_CLASS_APP, 6, true, dissect_glow_SEQUENCE_OF_StreamEntry); |
1381 | |
|
1382 | 0 | return offset; |
1383 | 0 | } |
1384 | | |
1385 | | |
1386 | | static const value_string glow_RootElement_vals[] = { |
1387 | | { 0, "element" }, |
1388 | | { 1, "qualifiedParameter" }, |
1389 | | { 2, "qualifiedNode" }, |
1390 | | { 3, "qualifiedMatrix" }, |
1391 | | { 4, "qualifiedFunction" }, |
1392 | | { 5, "qualifiedTemplate" }, |
1393 | | { 0, NULL } |
1394 | | }; |
1395 | | |
1396 | | static const ber_choice_t RootElement_choice[] = { |
1397 | | { 0, &hf_glow_element_01 , BER_CLASS_ANY/*choice*/, -1/*choice*/, BER_FLAGS_NOOWNTAG, dissect_glow_Element }, |
1398 | | { 1, &hf_glow_qualifiedParameter, BER_CLASS_APP, 9, BER_FLAGS_NOOWNTAG, dissect_glow_QualifiedParameter }, |
1399 | | { 2, &hf_glow_qualifiedNode , BER_CLASS_APP, 10, BER_FLAGS_NOOWNTAG, dissect_glow_QualifiedNode }, |
1400 | | { 3, &hf_glow_qualifiedMatrix, BER_CLASS_APP, 17, BER_FLAGS_NOOWNTAG, dissect_glow_QualifiedMatrix }, |
1401 | | { 4, &hf_glow_qualifiedFunction, BER_CLASS_APP, 20, BER_FLAGS_NOOWNTAG, dissect_glow_QualifiedFunction }, |
1402 | | { 5, &hf_glow_qualifiedTemplate, BER_CLASS_APP, 25, BER_FLAGS_NOOWNTAG, dissect_glow_QualifiedTemplate }, |
1403 | | { 0, NULL, 0, 0, 0, NULL } |
1404 | | }; |
1405 | | |
1406 | | static unsigned |
1407 | 0 | dissect_glow_RootElement(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1408 | 0 | offset = dissect_ber_choice(actx, tree, tvb, offset, |
1409 | 0 | RootElement_choice, hf_index, ett_glow_RootElement, |
1410 | 0 | NULL); |
1411 | |
|
1412 | 0 | return offset; |
1413 | 0 | } |
1414 | | |
1415 | | |
1416 | | static const ber_sequence_t SEQUENCE_OF_RootElement_sequence_of[1] = { |
1417 | | { &hf_glow__untag_item_03 , BER_CLASS_CON, 0, BER_FLAGS_NOTCHKTAG, dissect_glow_RootElement }, |
1418 | | }; |
1419 | | |
1420 | | static unsigned |
1421 | 0 | dissect_glow_SEQUENCE_OF_RootElement(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1422 | 0 | offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, |
1423 | 0 | SEQUENCE_OF_RootElement_sequence_of, hf_index, ett_glow_SEQUENCE_OF_RootElement); |
1424 | |
|
1425 | 0 | return offset; |
1426 | 0 | } |
1427 | | |
1428 | | |
1429 | | |
1430 | | static unsigned |
1431 | 0 | dissect_glow_RootElementCollection(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1432 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1433 | 0 | hf_index, BER_CLASS_APP, 11, true, dissect_glow_SEQUENCE_OF_RootElement); |
1434 | |
|
1435 | 0 | return offset; |
1436 | 0 | } |
1437 | | |
1438 | | |
1439 | | static const value_string glow_Root_U_vals[] = { |
1440 | | { 11, "elements" }, |
1441 | | { 6, "streams" }, |
1442 | | { 23, "invocationResult" }, |
1443 | | { 0, NULL } |
1444 | | }; |
1445 | | |
1446 | | static const ber_choice_t Root_U_choice[] = { |
1447 | | { 11, &hf_glow_elements , BER_CLASS_APP, 11, BER_FLAGS_NOOWNTAG, dissect_glow_RootElementCollection }, |
1448 | | { 6, &hf_glow_streams , BER_CLASS_APP, 6, BER_FLAGS_NOOWNTAG, dissect_glow_StreamCollection }, |
1449 | | { 23, &hf_glow_invocationResult, BER_CLASS_APP, 23, BER_FLAGS_NOOWNTAG, dissect_glow_InvocationResult }, |
1450 | | { 0, NULL, 0, 0, 0, NULL } |
1451 | | }; |
1452 | | |
1453 | | static unsigned |
1454 | 0 | dissect_glow_Root_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1455 | 0 | offset = dissect_ber_choice(actx, tree, tvb, offset, |
1456 | 0 | Root_U_choice, hf_index, ett_glow_Root_U, |
1457 | 0 | NULL); |
1458 | |
|
1459 | 0 | return offset; |
1460 | 0 | } |
1461 | | |
1462 | | |
1463 | | |
1464 | | static unsigned |
1465 | 0 | dissect_glow_Root(bool implicit_tag _U_, tvbuff_t *tvb _U_, unsigned offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
1466 | 0 | offset = dissect_ber_tagged_type(implicit_tag, actx, tree, tvb, offset, |
1467 | 0 | hf_index, BER_CLASS_APP, 0, false, dissect_glow_Root_U); |
1468 | |
|
1469 | 0 | return offset; |
1470 | 0 | } |
1471 | | |
1472 | | /*--- PDUs ---*/ |
1473 | | |
1474 | 0 | static int dissect_Root_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { |
1475 | 0 | unsigned offset = 0; |
1476 | 0 | asn1_ctx_t asn1_ctx; |
1477 | 0 | asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, true, pinfo); |
1478 | 0 | offset = dissect_glow_Root(false, tvb, offset, &asn1_ctx, tree, hf_glow_Root_PDU); |
1479 | 0 | return offset; |
1480 | 0 | } |
1481 | | |
1482 | | |
1483 | | static int |
1484 | | dissect_glow(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) |
1485 | 0 | { |
1486 | 0 | proto_item *glow_item = NULL; |
1487 | 0 | proto_tree *glow_tree = NULL; |
1488 | | |
1489 | | /* make entry in the Protocol column on summary display */ |
1490 | 0 | col_set_str(pinfo->cinfo, COL_PROTOCOL, "Glow"); |
1491 | | |
1492 | | /* create the glow protocol tree */ |
1493 | 0 | glow_item = proto_tree_add_item(tree, proto_glow, tvb, 0, -1, ENC_NA); |
1494 | 0 | glow_tree = proto_item_add_subtree(glow_item, ett_glow); |
1495 | |
|
1496 | 0 | dissect_Root_PDU(tvb, pinfo, glow_tree, data); |
1497 | |
|
1498 | 0 | return tvb_captured_length(tvb); |
1499 | 0 | } |
1500 | | |
1501 | 14 | void proto_register_glow(void) { |
1502 | | |
1503 | | /* List of fields */ |
1504 | 14 | static hf_register_info hf[] = { |
1505 | | |
1506 | 14 | { &hf_glow_Root_PDU, |
1507 | 14 | { "Root", "glow.Root", |
1508 | 14 | FT_UINT32, BASE_DEC, VALS(glow_Root_U_vals), 0, |
1509 | 14 | NULL, HFILL }}, |
1510 | 14 | { &hf_glow_number, |
1511 | 14 | { "number", "glow.number", |
1512 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1513 | 14 | "Integer32", HFILL }}, |
1514 | 14 | { &hf_glow_element, |
1515 | 14 | { "element", "glow.element", |
1516 | 14 | FT_UINT32, BASE_DEC, VALS(glow_TemplateElement_vals), 0, |
1517 | 14 | "TemplateElement", HFILL }}, |
1518 | 14 | { &hf_glow_description, |
1519 | 14 | { "description", "glow.description", |
1520 | 14 | FT_STRING, BASE_NONE, NULL, 0, |
1521 | 14 | "EmberString", HFILL }}, |
1522 | 14 | { &hf_glow_path, |
1523 | 14 | { "path", "glow.path", |
1524 | 14 | FT_REL_OID, BASE_NONE, NULL, 0, |
1525 | 14 | "RELATIVE_OID", HFILL }}, |
1526 | 14 | { &hf_glow_parameter, |
1527 | 14 | { "parameter", "glow.parameter_element", |
1528 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1529 | 14 | NULL, HFILL }}, |
1530 | 14 | { &hf_glow_node, |
1531 | 14 | { "node", "glow.node_element", |
1532 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1533 | 14 | NULL, HFILL }}, |
1534 | 14 | { &hf_glow_matrix, |
1535 | 14 | { "matrix", "glow.matrix_element", |
1536 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1537 | 14 | NULL, HFILL }}, |
1538 | 14 | { &hf_glow_function, |
1539 | 14 | { "function", "glow.function_element", |
1540 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1541 | 14 | NULL, HFILL }}, |
1542 | 14 | { &hf_glow_contents, |
1543 | 14 | { "contents", "glow.contents_element", |
1544 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1545 | 14 | "ParameterContents", HFILL }}, |
1546 | 14 | { &hf_glow_children, |
1547 | 14 | { "children", "glow.children", |
1548 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1549 | 14 | "ElementCollection", HFILL }}, |
1550 | 14 | { &hf_glow_identifier, |
1551 | 14 | { "identifier", "glow.identifier", |
1552 | 14 | FT_STRING, BASE_NONE, NULL, 0, |
1553 | 14 | "EmberString", HFILL }}, |
1554 | 14 | { &hf_glow_value, |
1555 | 14 | { "value", "glow.value", |
1556 | 14 | FT_UINT32, BASE_DEC, VALS(glow_Value_vals), 0, |
1557 | 14 | NULL, HFILL }}, |
1558 | 14 | { &hf_glow_minimum, |
1559 | 14 | { "minimum", "glow.minimum", |
1560 | 14 | FT_UINT32, BASE_DEC, VALS(glow_MinMax_vals), 0, |
1561 | 14 | "MinMax", HFILL }}, |
1562 | 14 | { &hf_glow_maximum, |
1563 | 14 | { "maximum", "glow.maximum", |
1564 | 14 | FT_UINT32, BASE_DEC, VALS(glow_MinMax_vals), 0, |
1565 | 14 | "MinMax", HFILL }}, |
1566 | 14 | { &hf_glow_access, |
1567 | 14 | { "access", "glow.access", |
1568 | 14 | FT_INT32, BASE_DEC, VALS(glow_ParameterAccess_vals), 0, |
1569 | 14 | "ParameterAccess", HFILL }}, |
1570 | 14 | { &hf_glow_format, |
1571 | 14 | { "format", "glow.format", |
1572 | 14 | FT_STRING, BASE_NONE, NULL, 0, |
1573 | 14 | "EmberString", HFILL }}, |
1574 | 14 | { &hf_glow_enumeration, |
1575 | 14 | { "enumeration", "glow.enumeration", |
1576 | 14 | FT_STRING, BASE_NONE, NULL, 0, |
1577 | 14 | "EmberString", HFILL }}, |
1578 | 14 | { &hf_glow_factor, |
1579 | 14 | { "factor", "glow.factor", |
1580 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1581 | 14 | "Integer32", HFILL }}, |
1582 | 14 | { &hf_glow_isOnline, |
1583 | 14 | { "isOnline", "glow.isOnline", |
1584 | 14 | FT_BOOLEAN, BASE_NONE, NULL, 0, |
1585 | 14 | "BOOLEAN", HFILL }}, |
1586 | 14 | { &hf_glow_formula, |
1587 | 14 | { "formula", "glow.formula", |
1588 | 14 | FT_STRING, BASE_NONE, NULL, 0, |
1589 | 14 | "EmberString", HFILL }}, |
1590 | 14 | { &hf_glow_step, |
1591 | 14 | { "step", "glow.step", |
1592 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1593 | 14 | "Integer32", HFILL }}, |
1594 | 14 | { &hf_glow_default, |
1595 | 14 | { "default", "glow.default", |
1596 | 14 | FT_UINT32, BASE_DEC, VALS(glow_Value_vals), 0, |
1597 | 14 | "Value", HFILL }}, |
1598 | 14 | { &hf_glow_type, |
1599 | 14 | { "type", "glow.type", |
1600 | 14 | FT_INT32, BASE_DEC, VALS(glow_ParameterType_vals), 0, |
1601 | 14 | "ParameterType", HFILL }}, |
1602 | 14 | { &hf_glow_streamIdentifier, |
1603 | 14 | { "streamIdentifier", "glow.streamIdentifier", |
1604 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1605 | 14 | "Integer32", HFILL }}, |
1606 | 14 | { &hf_glow_enumMap, |
1607 | 14 | { "enumMap", "glow.enumMap", |
1608 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1609 | 14 | "StringIntegerCollection", HFILL }}, |
1610 | 14 | { &hf_glow_streamDescriptor, |
1611 | 14 | { "streamDescriptor", "glow.streamDescriptor_element", |
1612 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1613 | 14 | "StreamDescription", HFILL }}, |
1614 | 14 | { &hf_glow_schemaIdentifiers, |
1615 | 14 | { "schemaIdentifiers", "glow.schemaIdentifiers", |
1616 | 14 | FT_STRING, BASE_NONE, NULL, 0, |
1617 | 14 | "EmberString", HFILL }}, |
1618 | 14 | { &hf_glow_templateReference, |
1619 | 14 | { "templateReference", "glow.templateReference", |
1620 | 14 | FT_REL_OID, BASE_NONE, NULL, 0, |
1621 | 14 | "RELATIVE_OID", HFILL }}, |
1622 | 14 | { &hf_glow_integer, |
1623 | 14 | { "integer", "glow.integer", |
1624 | 14 | FT_INT64, BASE_DEC, NULL, 0, |
1625 | 14 | "Integer64", HFILL }}, |
1626 | 14 | { &hf_glow_real, |
1627 | 14 | { "real", "glow.real", |
1628 | 14 | FT_DOUBLE, BASE_NONE, NULL, 0, |
1629 | 14 | NULL, HFILL }}, |
1630 | 14 | { &hf_glow_string, |
1631 | 14 | { "string", "glow.string", |
1632 | 14 | FT_STRING, BASE_NONE, NULL, 0, |
1633 | 14 | "EmberString", HFILL }}, |
1634 | 14 | { &hf_glow_boolean, |
1635 | 14 | { "boolean", "glow.boolean", |
1636 | 14 | FT_BOOLEAN, BASE_NONE, NULL, 0, |
1637 | 14 | NULL, HFILL }}, |
1638 | 14 | { &hf_glow_octets, |
1639 | 14 | { "octets", "glow.octets", |
1640 | 14 | FT_BYTES, BASE_NONE, NULL, 0, |
1641 | 14 | "OCTET_STRING", HFILL }}, |
1642 | 14 | { &hf_glow_null, |
1643 | 14 | { "null", "glow.null_element", |
1644 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1645 | 14 | NULL, HFILL }}, |
1646 | 14 | { &hf_glow_entryString, |
1647 | 14 | { "entryString", "glow.entryString", |
1648 | 14 | FT_STRING, BASE_NONE, NULL, 0, |
1649 | 14 | "EmberString", HFILL }}, |
1650 | 14 | { &hf_glow_entryInteger, |
1651 | 14 | { "entryInteger", "glow.entryInteger", |
1652 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1653 | 14 | "Integer32", HFILL }}, |
1654 | 14 | { &hf_glow__untag_item, |
1655 | 14 | { "StringIntegerPair", "glow.StringIntegerPair_element", |
1656 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1657 | 14 | NULL, HFILL }}, |
1658 | 14 | { &hf_glow_streamFormat, |
1659 | 14 | { "streamFormat", "glow.streamFormat", |
1660 | 14 | FT_INT32, BASE_DEC, VALS(glow_StreamFormat_vals), 0, |
1661 | 14 | NULL, HFILL }}, |
1662 | 14 | { &hf_glow_offset, |
1663 | 14 | { "offset", "glow.offset", |
1664 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1665 | 14 | "Integer32", HFILL }}, |
1666 | 14 | { &hf_glow_number_01, |
1667 | 14 | { "number", "glow.number", |
1668 | 14 | FT_INT32, BASE_DEC, VALS(glow_CommandType_vals), 0, |
1669 | 14 | "CommandType", HFILL }}, |
1670 | 14 | { &hf_glow_options, |
1671 | 14 | { "options", "glow.options", |
1672 | 14 | FT_UINT32, BASE_DEC, VALS(glow_T_options_vals), 0, |
1673 | 14 | NULL, HFILL }}, |
1674 | 14 | { &hf_glow_dirFieldMask, |
1675 | 14 | { "dirFieldMask", "glow.dirFieldMask", |
1676 | 14 | FT_INT32, BASE_DEC, VALS(glow_FieldFlags_vals), 0, |
1677 | 14 | "FieldFlags", HFILL }}, |
1678 | 14 | { &hf_glow_invocation, |
1679 | 14 | { "invocation", "glow.invocation_element", |
1680 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1681 | 14 | NULL, HFILL }}, |
1682 | 14 | { &hf_glow_contents_01, |
1683 | 14 | { "contents", "glow.contents_element", |
1684 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1685 | 14 | "NodeContents", HFILL }}, |
1686 | 14 | { &hf_glow_isRoot, |
1687 | 14 | { "isRoot", "glow.isRoot", |
1688 | 14 | FT_BOOLEAN, BASE_NONE, NULL, 0, |
1689 | 14 | "BOOLEAN", HFILL }}, |
1690 | 14 | { &hf_glow_contents_02, |
1691 | 14 | { "contents", "glow.contents_element", |
1692 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1693 | 14 | "MatrixContents", HFILL }}, |
1694 | 14 | { &hf_glow_targetList, |
1695 | 14 | { "targetList", "glow.targetList", |
1696 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1697 | 14 | "TargetCollection", HFILL }}, |
1698 | 14 | { &hf_glow_sourceList, |
1699 | 14 | { "sourceList", "glow.sourceList", |
1700 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1701 | 14 | "SourceCollection", HFILL }}, |
1702 | 14 | { &hf_glow_connections, |
1703 | 14 | { "connections", "glow.connections", |
1704 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1705 | 14 | "ConnectionCollection", HFILL }}, |
1706 | 14 | { &hf_glow_type_01, |
1707 | 14 | { "type", "glow.type", |
1708 | 14 | FT_INT32, BASE_DEC, VALS(glow_MatrixType_vals), 0, |
1709 | 14 | "MatrixType", HFILL }}, |
1710 | 14 | { &hf_glow_addressingMode, |
1711 | 14 | { "addressingMode", "glow.addressingMode", |
1712 | 14 | FT_INT32, BASE_DEC, VALS(glow_MatrixAddressingMode_vals), 0, |
1713 | 14 | "MatrixAddressingMode", HFILL }}, |
1714 | 14 | { &hf_glow_targetCount, |
1715 | 14 | { "targetCount", "glow.targetCount", |
1716 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1717 | 14 | "Integer32", HFILL }}, |
1718 | 14 | { &hf_glow_sourceCount, |
1719 | 14 | { "sourceCount", "glow.sourceCount", |
1720 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1721 | 14 | "Integer32", HFILL }}, |
1722 | 14 | { &hf_glow_maximumTotalConnects, |
1723 | 14 | { "maximumTotalConnects", "glow.maximumTotalConnects", |
1724 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1725 | 14 | "Integer32", HFILL }}, |
1726 | 14 | { &hf_glow_maximumConnectsPerTarget, |
1727 | 14 | { "maximumConnectsPerTarget", "glow.maximumConnectsPerTarget", |
1728 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1729 | 14 | "Integer32", HFILL }}, |
1730 | 14 | { &hf_glow_parametersLocation, |
1731 | 14 | { "parametersLocation", "glow.parametersLocation", |
1732 | 14 | FT_UINT32, BASE_DEC, VALS(glow_ParametersLocation_vals), 0, |
1733 | 14 | NULL, HFILL }}, |
1734 | 14 | { &hf_glow_gainParameterNumber, |
1735 | 14 | { "gainParameterNumber", "glow.gainParameterNumber", |
1736 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1737 | 14 | "Integer32", HFILL }}, |
1738 | 14 | { &hf_glow_labels, |
1739 | 14 | { "labels", "glow.labels", |
1740 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1741 | 14 | "LabelCollection", HFILL }}, |
1742 | 14 | { &hf_glow_basePath, |
1743 | 14 | { "basePath", "glow.basePath", |
1744 | 14 | FT_REL_OID, BASE_NONE, NULL, 0, |
1745 | 14 | "RELATIVE_OID", HFILL }}, |
1746 | 14 | { &hf_glow_inline, |
1747 | 14 | { "inline", "glow.inline", |
1748 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1749 | 14 | "Integer32", HFILL }}, |
1750 | 14 | { &hf_glow_LabelCollection_item, |
1751 | 14 | { "Label", "glow.Label_element", |
1752 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1753 | 14 | NULL, HFILL }}, |
1754 | 14 | { &hf_glow_TargetCollection_item, |
1755 | 14 | { "Target", "glow.Target_element", |
1756 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1757 | 14 | NULL, HFILL }}, |
1758 | 14 | { &hf_glow_SourceCollection_item, |
1759 | 14 | { "Source", "glow.Source_element", |
1760 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1761 | 14 | NULL, HFILL }}, |
1762 | 14 | { &hf_glow_ConnectionCollection_item, |
1763 | 14 | { "Connection", "glow.Connection_element", |
1764 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1765 | 14 | NULL, HFILL }}, |
1766 | 14 | { &hf_glow_target, |
1767 | 14 | { "target", "glow.target", |
1768 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1769 | 14 | "Integer32", HFILL }}, |
1770 | 14 | { &hf_glow_sources, |
1771 | 14 | { "sources", "glow.sources", |
1772 | 14 | FT_REL_OID, BASE_NONE, NULL, 0, |
1773 | 14 | "PackedNumbers", HFILL }}, |
1774 | 14 | { &hf_glow_operation, |
1775 | 14 | { "operation", "glow.operation", |
1776 | 14 | FT_INT32, BASE_DEC, VALS(glow_ConnectionOperation_vals), 0, |
1777 | 14 | "ConnectionOperation", HFILL }}, |
1778 | 14 | { &hf_glow_disposition, |
1779 | 14 | { "disposition", "glow.disposition", |
1780 | 14 | FT_INT32, BASE_DEC, VALS(glow_ConnectionDisposition_vals), 0, |
1781 | 14 | "ConnectionDisposition", HFILL }}, |
1782 | 14 | { &hf_glow_contents_03, |
1783 | 14 | { "contents", "glow.contents_element", |
1784 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1785 | 14 | "FunctionContents", HFILL }}, |
1786 | 14 | { &hf_glow_arguments, |
1787 | 14 | { "arguments", "glow.arguments", |
1788 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1789 | 14 | "TupleDescription", HFILL }}, |
1790 | 14 | { &hf_glow_result, |
1791 | 14 | { "result", "glow.result", |
1792 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1793 | 14 | "TupleDescription", HFILL }}, |
1794 | 14 | { &hf_glow_TupleDescription_item, |
1795 | 14 | { "TupleItemDescription", "glow.TupleItemDescription_element", |
1796 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1797 | 14 | NULL, HFILL }}, |
1798 | 14 | { &hf_glow_name, |
1799 | 14 | { "name", "glow.name", |
1800 | 14 | FT_STRING, BASE_NONE, NULL, 0, |
1801 | 14 | "EmberString", HFILL }}, |
1802 | 14 | { &hf_glow_invocationId, |
1803 | 14 | { "invocationId", "glow.invocationId", |
1804 | 14 | FT_INT32, BASE_DEC, NULL, 0, |
1805 | 14 | "Integer32", HFILL }}, |
1806 | 14 | { &hf_glow_arguments_01, |
1807 | 14 | { "arguments", "glow.arguments", |
1808 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1809 | 14 | "Tuple", HFILL }}, |
1810 | 14 | { &hf_glow_Tuple_item, |
1811 | 14 | { "Value", "glow.Value", |
1812 | 14 | FT_UINT32, BASE_DEC, VALS(glow_Value_vals), 0, |
1813 | 14 | NULL, HFILL }}, |
1814 | 14 | { &hf_glow_success, |
1815 | 14 | { "success", "glow.success", |
1816 | 14 | FT_BOOLEAN, BASE_NONE, NULL, 0, |
1817 | 14 | "BOOLEAN", HFILL }}, |
1818 | 14 | { &hf_glow_result_01, |
1819 | 14 | { "result", "glow.result", |
1820 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1821 | 14 | "Tuple", HFILL }}, |
1822 | 14 | { &hf_glow__untag_item_01, |
1823 | 14 | { "Element", "glow.Element", |
1824 | 14 | FT_UINT32, BASE_DEC, VALS(glow_Element_vals), 0, |
1825 | 14 | NULL, HFILL }}, |
1826 | 14 | { &hf_glow_command, |
1827 | 14 | { "command", "glow.command_element", |
1828 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1829 | 14 | NULL, HFILL }}, |
1830 | 14 | { &hf_glow_template, |
1831 | 14 | { "template", "glow.template_element", |
1832 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1833 | 14 | NULL, HFILL }}, |
1834 | 14 | { &hf_glow_streamValue, |
1835 | 14 | { "streamValue", "glow.streamValue", |
1836 | 14 | FT_UINT32, BASE_DEC, VALS(glow_Value_vals), 0, |
1837 | 14 | "Value", HFILL }}, |
1838 | 14 | { &hf_glow__untag_item_02, |
1839 | 14 | { "StreamEntry", "glow.StreamEntry_element", |
1840 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1841 | 14 | NULL, HFILL }}, |
1842 | 14 | { &hf_glow_elements, |
1843 | 14 | { "elements", "glow.elements", |
1844 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1845 | 14 | "RootElementCollection", HFILL }}, |
1846 | 14 | { &hf_glow_streams, |
1847 | 14 | { "streams", "glow.streams", |
1848 | 14 | FT_UINT32, BASE_DEC, NULL, 0, |
1849 | 14 | "StreamCollection", HFILL }}, |
1850 | 14 | { &hf_glow_invocationResult, |
1851 | 14 | { "invocationResult", "glow.invocationResult_element", |
1852 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1853 | 14 | NULL, HFILL }}, |
1854 | 14 | { &hf_glow__untag_item_03, |
1855 | 14 | { "RootElement", "glow.RootElement", |
1856 | 14 | FT_UINT32, BASE_DEC, VALS(glow_RootElement_vals), 0, |
1857 | 14 | NULL, HFILL }}, |
1858 | 14 | { &hf_glow_element_01, |
1859 | 14 | { "element", "glow.element", |
1860 | 14 | FT_UINT32, BASE_DEC, VALS(glow_Element_vals), 0, |
1861 | 14 | NULL, HFILL }}, |
1862 | 14 | { &hf_glow_qualifiedParameter, |
1863 | 14 | { "qualifiedParameter", "glow.qualifiedParameter_element", |
1864 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1865 | 14 | NULL, HFILL }}, |
1866 | 14 | { &hf_glow_qualifiedNode, |
1867 | 14 | { "qualifiedNode", "glow.qualifiedNode_element", |
1868 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1869 | 14 | NULL, HFILL }}, |
1870 | 14 | { &hf_glow_qualifiedMatrix, |
1871 | 14 | { "qualifiedMatrix", "glow.qualifiedMatrix_element", |
1872 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1873 | 14 | NULL, HFILL }}, |
1874 | 14 | { &hf_glow_qualifiedFunction, |
1875 | 14 | { "qualifiedFunction", "glow.qualifiedFunction_element", |
1876 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1877 | 14 | NULL, HFILL }}, |
1878 | 14 | { &hf_glow_qualifiedTemplate, |
1879 | 14 | { "qualifiedTemplate", "glow.qualifiedTemplate_element", |
1880 | 14 | FT_NONE, BASE_NONE, NULL, 0, |
1881 | 14 | NULL, HFILL }}, |
1882 | 14 | }; |
1883 | | |
1884 | | /* List of subtrees */ |
1885 | 14 | static int *ett[] = { |
1886 | 14 | &ett_glow, |
1887 | 14 | &ett_glow_Template_U, |
1888 | 14 | &ett_glow_QualifiedTemplate_U, |
1889 | 14 | &ett_glow_TemplateElement, |
1890 | 14 | &ett_glow_Parameter_U, |
1891 | 14 | &ett_glow_QualifiedParameter_U, |
1892 | 14 | &ett_glow_ParameterContents, |
1893 | 14 | &ett_glow_Value, |
1894 | 14 | &ett_glow_MinMax, |
1895 | 14 | &ett_glow_StringIntegerPair_U, |
1896 | 14 | &ett_glow_SEQUENCE_OF_StringIntegerPair, |
1897 | 14 | &ett_glow_StreamDescription_U, |
1898 | 14 | &ett_glow_Command_U, |
1899 | 14 | &ett_glow_T_options, |
1900 | 14 | &ett_glow_Node_U, |
1901 | 14 | &ett_glow_QualifiedNode_U, |
1902 | 14 | &ett_glow_NodeContents, |
1903 | 14 | &ett_glow_Matrix_U, |
1904 | 14 | &ett_glow_MatrixContents, |
1905 | 14 | &ett_glow_ParametersLocation, |
1906 | 14 | &ett_glow_LabelCollection, |
1907 | 14 | &ett_glow_Label_U, |
1908 | 14 | &ett_glow_TargetCollection, |
1909 | 14 | &ett_glow_Signal, |
1910 | 14 | &ett_glow_SourceCollection, |
1911 | 14 | &ett_glow_ConnectionCollection, |
1912 | 14 | &ett_glow_Connection_U, |
1913 | 14 | &ett_glow_QualifiedMatrix_U, |
1914 | 14 | &ett_glow_Function_U, |
1915 | 14 | &ett_glow_QualifiedFunction_U, |
1916 | 14 | &ett_glow_FunctionContents, |
1917 | 14 | &ett_glow_TupleDescription, |
1918 | 14 | &ett_glow_TupleItemDescription_U, |
1919 | 14 | &ett_glow_Invocation_U, |
1920 | 14 | &ett_glow_Tuple, |
1921 | 14 | &ett_glow_InvocationResult_U, |
1922 | 14 | &ett_glow_SEQUENCE_OF_Element, |
1923 | 14 | &ett_glow_Element, |
1924 | 14 | &ett_glow_StreamEntry_U, |
1925 | 14 | &ett_glow_SEQUENCE_OF_StreamEntry, |
1926 | 14 | &ett_glow_Root_U, |
1927 | 14 | &ett_glow_SEQUENCE_OF_RootElement, |
1928 | 14 | &ett_glow_RootElement, |
1929 | 14 | }; |
1930 | | |
1931 | | |
1932 | | /* Register protocol */ |
1933 | 14 | proto_glow = proto_register_protocol("Glow", "GLOW", "glow"); |
1934 | 14 | glow_handle = register_dissector("glow", dissect_glow, proto_glow); |
1935 | | |
1936 | | /* Register fields and subtrees */ |
1937 | 14 | proto_register_field_array(proto_glow, hf, array_length(hf)); |
1938 | 14 | proto_register_subtree_array(ett, array_length(ett)); |
1939 | 14 | } |
1940 | | |
1941 | | |
1942 | | /* |
1943 | | * Editor modelines - https://www.wireshark.org/tools/modelines.html |
1944 | | * |
1945 | | * Local variables: |
1946 | | * c-basic-offset: 4 |
1947 | | * tab-width: 8 |
1948 | | * indent-tabs-mode: nil |
1949 | | * End: |
1950 | | * |
1951 | | * vi: set shiftwidth=4 tabstop=8 expandtab: |
1952 | | * :indentSize=4:tabSize=8:noTabs=true: |
1953 | | */ |