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