summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-glow.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:53 +0000
commita86c5f7cae7ec9a3398300555a0b644689d946a1 (patch)
tree39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /epan/dissectors/packet-glow.c
parentReleasing progress-linux version 4.2.6-1~progress7.99u1. (diff)
downloadwireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz
wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-glow.c')
-rw-r--r--epan/dissectors/packet-glow.c349
1 files changed, 175 insertions, 174 deletions
diff --git a/epan/dissectors/packet-glow.c b/epan/dissectors/packet-glow.c
index d374395c..fb19da61 100644
--- a/epan/dissectors/packet-glow.c
+++ b/epan/dissectors/packet-glow.c
@@ -1,7 +1,7 @@
/* 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 -L -p glow -c ./glow.cnf -s ./packet-glow-template -D . -O ../.. glow.asn */
+/* 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
@@ -19,6 +19,7 @@
#include <epan/packet.h>
#include <epan/proto_data.h>
+#include <wsutil/array.h>
#include "packet-ber.h"
#define PNAME "Glow"
@@ -27,149 +28,149 @@
void proto_register_glow(void);
-static dissector_handle_t glow_handle=NULL;
-static int proto_glow = -1;
-
-static int hf_glow_Root_PDU = -1; /* Root */
-static int hf_glow_number = -1; /* Integer32 */
-static int hf_glow_element = -1; /* TemplateElement */
-static int hf_glow_description = -1; /* EmberString */
-static int hf_glow_path = -1; /* RELATIVE_OID */
-static int hf_glow_parameter = -1; /* Parameter */
-static int hf_glow_node = -1; /* Node */
-static int hf_glow_matrix = -1; /* Matrix */
-static int hf_glow_function = -1; /* Function */
-static int hf_glow_contents = -1; /* ParameterContents */
-static int hf_glow_children = -1; /* ElementCollection */
-static int hf_glow_identifier = -1; /* EmberString */
-static int hf_glow_value = -1; /* Value */
-static int hf_glow_minimum = -1; /* MinMax */
-static int hf_glow_maximum = -1; /* MinMax */
-static int hf_glow_access = -1; /* ParameterAccess */
-static int hf_glow_format = -1; /* EmberString */
-static int hf_glow_enumeration = -1; /* EmberString */
-static int hf_glow_factor = -1; /* Integer32 */
-static int hf_glow_isOnline = -1; /* BOOLEAN */
-static int hf_glow_formula = -1; /* EmberString */
-static int hf_glow_step = -1; /* Integer32 */
-static int hf_glow_default = -1; /* Value */
-static int hf_glow_type = -1; /* ParameterType */
-static int hf_glow_streamIdentifier = -1; /* Integer32 */
-static int hf_glow_enumMap = -1; /* StringIntegerCollection */
-static int hf_glow_streamDescriptor = -1; /* StreamDescription */
-static int hf_glow_schemaIdentifiers = -1; /* EmberString */
-static int hf_glow_templateReference = -1; /* RELATIVE_OID */
-static int hf_glow_integer = -1; /* Integer64 */
-static int hf_glow_real = -1; /* REAL */
-static int hf_glow_string = -1; /* EmberString */
-static int hf_glow_boolean = -1; /* BOOLEAN */
-static int hf_glow_octets = -1; /* OCTET_STRING */
-static int hf_glow_null = -1; /* NULL */
-static int hf_glow_entryString = -1; /* EmberString */
-static int hf_glow_entryInteger = -1; /* Integer32 */
-static int hf_glow__untag_item = -1; /* StringIntegerPair */
-static int hf_glow_streamFormat = -1; /* StreamFormat */
-static int hf_glow_offset = -1; /* Integer32 */
-static int hf_glow_number_01 = -1; /* CommandType */
-static int hf_glow_options = -1; /* T_options */
-static int hf_glow_dirFieldMask = -1; /* FieldFlags */
-static int hf_glow_invocation = -1; /* Invocation */
-static int hf_glow_contents_01 = -1; /* NodeContents */
-static int hf_glow_isRoot = -1; /* BOOLEAN */
-static int hf_glow_contents_02 = -1; /* MatrixContents */
-static int hf_glow_targetList = -1; /* TargetCollection */
-static int hf_glow_sourceList = -1; /* SourceCollection */
-static int hf_glow_connections = -1; /* ConnectionCollection */
-static int hf_glow_type_01 = -1; /* MatrixType */
-static int hf_glow_addressingMode = -1; /* MatrixAddressingMode */
-static int hf_glow_targetCount = -1; /* Integer32 */
-static int hf_glow_sourceCount = -1; /* Integer32 */
-static int hf_glow_maximumTotalConnects = -1; /* Integer32 */
-static int hf_glow_maximumConnectsPerTarget = -1; /* Integer32 */
-static int hf_glow_parametersLocation = -1; /* ParametersLocation */
-static int hf_glow_gainParameterNumber = -1; /* Integer32 */
-static int hf_glow_labels = -1; /* LabelCollection */
-static int hf_glow_basePath = -1; /* RELATIVE_OID */
-static int hf_glow_inline = -1; /* Integer32 */
-static int hf_glow_LabelCollection_item = -1; /* Label */
-static int hf_glow_TargetCollection_item = -1; /* Target */
-static int hf_glow_SourceCollection_item = -1; /* Source */
-static int hf_glow_ConnectionCollection_item = -1; /* Connection */
-static int hf_glow_target = -1; /* Integer32 */
-static int hf_glow_sources = -1; /* PackedNumbers */
-static int hf_glow_operation = -1; /* ConnectionOperation */
-static int hf_glow_disposition = -1; /* ConnectionDisposition */
-static int hf_glow_contents_03 = -1; /* FunctionContents */
-static int hf_glow_arguments = -1; /* TupleDescription */
-static int hf_glow_result = -1; /* TupleDescription */
-static int hf_glow_TupleDescription_item = -1; /* TupleItemDescription */
-static int hf_glow_name = -1; /* EmberString */
-static int hf_glow_invocationId = -1; /* Integer32 */
-static int hf_glow_arguments_01 = -1; /* Tuple */
-static int hf_glow_Tuple_item = -1; /* Value */
-static int hf_glow_success = -1; /* BOOLEAN */
-static int hf_glow_result_01 = -1; /* Tuple */
-static int hf_glow__untag_item_01 = -1; /* Element */
-static int hf_glow_command = -1; /* Command */
-static int hf_glow_template = -1; /* Template */
-static int hf_glow_streamValue = -1; /* Value */
-static int hf_glow__untag_item_02 = -1; /* StreamEntry */
-static int hf_glow_elements = -1; /* RootElementCollection */
-static int hf_glow_streams = -1; /* StreamCollection */
-static int hf_glow_invocationResult = -1; /* InvocationResult */
-static int hf_glow__untag_item_03 = -1; /* RootElement */
-static int hf_glow_element_01 = -1; /* Element */
-static int hf_glow_qualifiedParameter = -1; /* QualifiedParameter */
-static int hf_glow_qualifiedNode = -1; /* QualifiedNode */
-static int hf_glow_qualifiedMatrix = -1; /* QualifiedMatrix */
-static int hf_glow_qualifiedFunction = -1; /* QualifiedFunction */
-static int hf_glow_qualifiedTemplate = -1; /* QualifiedTemplate */
+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 = -1;
-
-static gint ett_glow_Template_U = -1;
-static gint ett_glow_QualifiedTemplate_U = -1;
-static gint ett_glow_TemplateElement = -1;
-static gint ett_glow_Parameter_U = -1;
-static gint ett_glow_QualifiedParameter_U = -1;
-static gint ett_glow_ParameterContents = -1;
-static gint ett_glow_Value = -1;
-static gint ett_glow_MinMax = -1;
-static gint ett_glow_StringIntegerPair_U = -1;
-static gint ett_glow_SEQUENCE_OF_StringIntegerPair = -1;
-static gint ett_glow_StreamDescription_U = -1;
-static gint ett_glow_Command_U = -1;
-static gint ett_glow_T_options = -1;
-static gint ett_glow_Node_U = -1;
-static gint ett_glow_QualifiedNode_U = -1;
-static gint ett_glow_NodeContents = -1;
-static gint ett_glow_Matrix_U = -1;
-static gint ett_glow_MatrixContents = -1;
-static gint ett_glow_ParametersLocation = -1;
-static gint ett_glow_LabelCollection = -1;
-static gint ett_glow_Label_U = -1;
-static gint ett_glow_TargetCollection = -1;
-static gint ett_glow_Signal = -1;
-static gint ett_glow_SourceCollection = -1;
-static gint ett_glow_ConnectionCollection = -1;
-static gint ett_glow_Connection_U = -1;
-static gint ett_glow_QualifiedMatrix_U = -1;
-static gint ett_glow_Function_U = -1;
-static gint ett_glow_QualifiedFunction_U = -1;
-static gint ett_glow_FunctionContents = -1;
-static gint ett_glow_TupleDescription = -1;
-static gint ett_glow_TupleItemDescription_U = -1;
-static gint ett_glow_Invocation_U = -1;
-static gint ett_glow_Tuple = -1;
-static gint ett_glow_InvocationResult_U = -1;
-static gint ett_glow_SEQUENCE_OF_Element = -1;
-static gint ett_glow_Element = -1;
-static gint ett_glow_StreamEntry_U = -1;
-static gint ett_glow_SEQUENCE_OF_StreamEntry = -1;
-static gint ett_glow_Root_U = -1;
-static gint ett_glow_SEQUENCE_OF_RootElement = -1;
-static gint ett_glow_RootElement = -1;
+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 ---*/
@@ -368,7 +369,7 @@ dissect_glow_StringIntegerPair_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int o
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);
+ hf_index, BER_CLASS_APP, 7, true, dissect_glow_StringIntegerPair_U);
return offset;
}
@@ -391,7 +392,7 @@ dissect_glow_SEQUENCE_OF_StringIntegerPair(bool implicit_tag _U_, tvbuff_t *tvb
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);
+ hf_index, BER_CLASS_APP, 8, true, dissect_glow_SEQUENCE_OF_StringIntegerPair);
return offset;
}
@@ -448,7 +449,7 @@ dissect_glow_StreamDescription_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int o
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);
+ hf_index, BER_CLASS_APP, 12, true, dissect_glow_StreamDescription_U);
return offset;
}
@@ -534,7 +535,7 @@ dissect_glow_Node_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, as
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);
+ hf_index, BER_CLASS_APP, 3, true, dissect_glow_Node_U);
return offset;
}
@@ -612,7 +613,7 @@ dissect_glow_Invocation_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int 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);
+ hf_index, BER_CLASS_APP, 22, true, dissect_glow_Invocation_U);
return offset;
}
@@ -659,7 +660,7 @@ dissect_glow_Command_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_,
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);
+ hf_index, BER_CLASS_APP, 2, true, dissect_glow_Command_U);
return offset;
}
@@ -739,7 +740,7 @@ dissect_glow_Label_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, a
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);
+ hf_index, BER_CLASS_APP, 18, true, dissect_glow_Label_U);
return offset;
}
@@ -802,7 +803,7 @@ dissect_glow_Signal(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, as
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);
+ hf_index, BER_CLASS_APP, 14, true, dissect_glow_Signal);
return offset;
}
@@ -825,7 +826,7 @@ dissect_glow_TargetCollection(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offs
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);
+ hf_index, BER_CLASS_APP, 15, true, dissect_glow_Signal);
return offset;
}
@@ -909,7 +910,7 @@ dissect_glow_Connection_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int 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);
+ hf_index, BER_CLASS_APP, 16, true, dissect_glow_Connection_U);
return offset;
}
@@ -951,7 +952,7 @@ dissect_glow_Matrix_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_,
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);
+ hf_index, BER_CLASS_APP, 13, true, dissect_glow_Matrix_U);
return offset;
}
@@ -976,7 +977,7 @@ dissect_glow_TupleItemDescription_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, in
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);
+ hf_index, BER_CLASS_APP, 21, true, dissect_glow_TupleItemDescription_U);
return offset;
}
@@ -1033,7 +1034,7 @@ dissect_glow_Function_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_
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);
+ hf_index, BER_CLASS_APP, 19, true, dissect_glow_Function_U);
return offset;
}
@@ -1085,11 +1086,11 @@ dissect_glow_SEQUENCE_OF_Element(bool implicit_tag _U_, tvbuff_t *tvb _U_, int o
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
+ // 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);
+ hf_index, BER_CLASS_APP, 4, true, dissect_glow_SEQUENCE_OF_Element);
actx->pinfo->dissection_depth -= 5;
decrement_dissection_depth(actx->pinfo);
@@ -1116,11 +1117,11 @@ dissect_glow_Parameter_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U
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
+ // 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);
+ hf_index, BER_CLASS_APP, 1, true, dissect_glow_Parameter_U);
actx->pinfo->dissection_depth -= 5;
decrement_dissection_depth(actx->pinfo);
@@ -1173,11 +1174,11 @@ dissect_glow_Template_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_
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
+ // 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);
+ hf_index, BER_CLASS_APP, 24, true, dissect_glow_Template_U);
actx->pinfo->dissection_depth -= 8;
decrement_dissection_depth(actx->pinfo);
@@ -1205,7 +1206,7 @@ dissect_glow_QualifiedTemplate_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int o
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);
+ hf_index, BER_CLASS_APP, 25, true, dissect_glow_QualifiedTemplate_U);
return offset;
}
@@ -1231,7 +1232,7 @@ dissect_glow_QualifiedParameter_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int
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);
+ hf_index, BER_CLASS_APP, 9, true, dissect_glow_QualifiedParameter_U);
return offset;
}
@@ -1257,7 +1258,7 @@ dissect_glow_QualifiedNode_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offse
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);
+ hf_index, BER_CLASS_APP, 10, true, dissect_glow_QualifiedNode_U);
return offset;
}
@@ -1286,7 +1287,7 @@ dissect_glow_QualifiedMatrix_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int off
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);
+ hf_index, BER_CLASS_APP, 17, true, dissect_glow_QualifiedMatrix_U);
return offset;
}
@@ -1312,7 +1313,7 @@ dissect_glow_QualifiedFunction_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int o
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);
+ hf_index, BER_CLASS_APP, 20, true, dissect_glow_QualifiedFunction_U);
return offset;
}
@@ -1338,7 +1339,7 @@ dissect_glow_InvocationResult_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int of
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);
+ hf_index, BER_CLASS_APP, 23, true, dissect_glow_InvocationResult_U);
return offset;
}
@@ -1363,7 +1364,7 @@ dissect_glow_StreamEntry_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int 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);
+ hf_index, BER_CLASS_APP, 5, true, dissect_glow_StreamEntry_U);
return offset;
}
@@ -1386,7 +1387,7 @@ dissect_glow_SEQUENCE_OF_StreamEntry(bool implicit_tag _U_, tvbuff_t *tvb _U_, i
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);
+ hf_index, BER_CLASS_APP, 6, true, dissect_glow_SEQUENCE_OF_StreamEntry);
return offset;
}
@@ -1439,7 +1440,7 @@ dissect_glow_SEQUENCE_OF_RootElement(bool implicit_tag _U_, tvbuff_t *tvb _U_, i
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);
+ hf_index, BER_CLASS_APP, 11, true, dissect_glow_SEQUENCE_OF_RootElement);
return offset;
}
@@ -1473,7 +1474,7 @@ dissect_glow_Root_U(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, as
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);
+ hf_index, BER_CLASS_APP, 0, false, dissect_glow_Root_U);
return offset;
}
@@ -1483,8 +1484,8 @@ dissect_glow_Root(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1
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);
+ 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;
}
@@ -1891,7 +1892,7 @@ void proto_register_glow(void) {
};
/* List of subtrees */
- static gint *ett[] = {
+ static int *ett[] = {
&ett_glow,
&ett_glow_Template_U,
&ett_glow_QualifiedTemplate_U,