diff options
Diffstat (limited to 'epan/dissectors/packet-ranap.c')
-rw-r--r-- | epan/dissectors/packet-ranap.c | 4631 |
1 files changed, 2316 insertions, 2315 deletions
diff --git a/epan/dissectors/packet-ranap.c b/epan/dissectors/packet-ranap.c index 14a4c3b736..62aa20453e 100644 --- a/epan/dissectors/packet-ranap.c +++ b/epan/dissectors/packet-ranap.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ -/* It is created automatically by the ASN.1 to Wireshark dissector compiler */ +/* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* .\packet-ranap.c */ -/* ../../tools/asn2eth.py -e -p ranap -c ranap.cnf -s packet-ranap-template ranap.asn */ +/* ../../tools/asn2wrs.py -e -p ranap -c ranap.cnf -s packet-ranap-template ranap.asn */ /* Input file: packet-ranap-template.c */ @@ -868,10 +868,10 @@ static guint type_of_message; static guint32 ProcedureCode; static guint32 ProtocolIE_ID; -static int dissect_ranap_ies(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); -static int dissect_ranap_FirstValue_ies(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); -static int dissect_ranap_SecondValue_ies(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); -static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); +static int dissect_ranap_ies(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree); +static int dissect_ranap_FirstValue_ies(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree); +static int dissect_ranap_SecondValue_ies(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree); +static int dissect_ranap_messages(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree); /*--- Included file: packet-ranap-fn.c ---*/ #line 1 "packet-ranap-fn.c" @@ -927,20 +927,20 @@ static const value_string ranap_ProcedureCode_vals[] = { static int -dissect_ranap_ProcedureCode(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 255U, &ProcedureCode, NULL, FALSE); +dissect_ranap_ProcedureCode(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 255U, &ProcedureCode, FALSE); #line 33 "ranap.cnf" - if (check_col(pinfo->cinfo, COL_INFO)) - col_add_fstr(pinfo->cinfo, COL_INFO, "%s ", + if (check_col(actx->pinfo->cinfo, COL_INFO)) + col_add_fstr(actx->pinfo->cinfo, COL_INFO, "%s ", val_to_str(ProcedureCode, ranap_ProcedureCode_vals, "unknown message")); return offset; } -static int dissect_procedureCode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProcedureCode(tvb, offset, pinfo, tree, hf_ranap_procedureCode); +static int dissect_procedureCode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProcedureCode(tvb, offset, actx, tree, hf_ranap_procedureCode); } @@ -953,42 +953,42 @@ static const value_string ranap_Criticality_vals[] = { static int -dissect_ranap_Criticality(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 3, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_Criticality(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 3, NULL, FALSE, 0, NULL); return offset; } -static int dissect_criticality(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Criticality(tvb, offset, pinfo, tree, hf_ranap_criticality); +static int dissect_criticality(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Criticality(tvb, offset, actx, tree, hf_ranap_criticality); } -static int dissect_procedureCriticality(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Criticality(tvb, offset, pinfo, tree, hf_ranap_procedureCriticality); +static int dissect_procedureCriticality(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Criticality(tvb, offset, actx, tree, hf_ranap_procedureCriticality); } -static int dissect_iECriticality(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Criticality(tvb, offset, pinfo, tree, hf_ranap_iECriticality); +static int dissect_iECriticality(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Criticality(tvb, offset, actx, tree, hf_ranap_iECriticality); } -static int dissect_firstCriticality(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Criticality(tvb, offset, pinfo, tree, hf_ranap_firstCriticality); +static int dissect_firstCriticality(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Criticality(tvb, offset, actx, tree, hf_ranap_firstCriticality); } -static int dissect_secondCriticality(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Criticality(tvb, offset, pinfo, tree, hf_ranap_secondCriticality); +static int dissect_secondCriticality(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Criticality(tvb, offset, actx, tree, hf_ranap_secondCriticality); } static int -dissect_ranap_Value(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { +dissect_ranap_Value(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { #line 46 "ranap.cnf" - offset = dissect_ranap_messages(tvb, offset, pinfo, tree); + offset = dissect_ranap_messages(tvb, offset, actx, tree); return offset; } -static int dissect_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Value(tvb, offset, pinfo, tree, hf_ranap_value); +static int dissect_value(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Value(tvb, offset, actx, tree, hf_ranap_value); } @@ -1000,14 +1000,14 @@ static const per_sequence_t InitiatingMessage_sequence[] = { }; static int -dissect_ranap_InitiatingMessage(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_InitiatingMessage(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_InitiatingMessage, InitiatingMessage_sequence); return offset; } -static int dissect_initiatingMessage(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InitiatingMessage(tvb, offset, pinfo, tree, hf_ranap_initiatingMessage); +static int dissect_initiatingMessage(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InitiatingMessage(tvb, offset, actx, tree, hf_ranap_initiatingMessage); } @@ -1019,14 +1019,14 @@ static const per_sequence_t SuccessfulOutcome_sequence[] = { }; static int -dissect_ranap_SuccessfulOutcome(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SuccessfulOutcome(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SuccessfulOutcome, SuccessfulOutcome_sequence); return offset; } -static int dissect_successfulOutcome(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SuccessfulOutcome(tvb, offset, pinfo, tree, hf_ranap_successfulOutcome); +static int dissect_successfulOutcome(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SuccessfulOutcome(tvb, offset, actx, tree, hf_ranap_successfulOutcome); } @@ -1038,14 +1038,14 @@ static const per_sequence_t UnsuccessfulOutcome_sequence[] = { }; static int -dissect_ranap_UnsuccessfulOutcome(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UnsuccessfulOutcome(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_UnsuccessfulOutcome, UnsuccessfulOutcome_sequence); return offset; } -static int dissect_unsuccessfulOutcome(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UnsuccessfulOutcome(tvb, offset, pinfo, tree, hf_ranap_unsuccessfulOutcome); +static int dissect_unsuccessfulOutcome(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UnsuccessfulOutcome(tvb, offset, actx, tree, hf_ranap_unsuccessfulOutcome); } @@ -1057,14 +1057,14 @@ static const per_sequence_t Outcome_sequence[] = { }; static int -dissect_ranap_Outcome(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Outcome(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Outcome, Outcome_sequence); return offset; } -static int dissect_outcome(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Outcome(tvb, offset, pinfo, tree, hf_ranap_outcome); +static int dissect_outcome(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Outcome(tvb, offset, actx, tree, hf_ranap_outcome); } @@ -1085,8 +1085,8 @@ static const per_choice_t RANAP_PDU_choice[] = { }; static int -dissect_ranap_RANAP_PDU(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RANAP_PDU(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_RANAP_PDU, RANAP_PDU_choice, &type_of_message); @@ -1254,33 +1254,33 @@ static const value_string ranap_ProtocolIE_ID_vals[] = { static int -dissect_ranap_ProtocolIE_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 65535U, &ProtocolIE_ID, NULL, FALSE); +dissect_ranap_ProtocolIE_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 65535U, &ProtocolIE_ID, FALSE); return offset; } -static int dissect_iE_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolIE_ID(tvb, offset, pinfo, tree, hf_ranap_iE_ID); +static int dissect_iE_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolIE_ID(tvb, offset, actx, tree, hf_ranap_iE_ID); } -static int dissect_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolIE_ID(tvb, offset, pinfo, tree, hf_ranap_id); +static int dissect_id(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolIE_ID(tvb, offset, actx, tree, hf_ranap_id); } static int -dissect_ranap_RANAP_PROTOCOL_IES_Value(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { +dissect_ranap_RANAP_PROTOCOL_IES_Value(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { #line 50 "ranap.cnf" - offset = dissect_ranap_ies(tvb, offset, pinfo, tree); + offset = dissect_ranap_ies(tvb, offset, actx, tree); return offset; } -static int dissect_ie_field_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RANAP_PROTOCOL_IES_Value(tvb, offset, pinfo, tree, hf_ranap_ie_field_value); +static int dissect_ie_field_value(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RANAP_PROTOCOL_IES_Value(tvb, offset, actx, tree, hf_ranap_ie_field_value); } @@ -1292,14 +1292,14 @@ static const per_sequence_t ProtocolIE_Field_sequence[] = { }; static int -dissect_ranap_ProtocolIE_Field(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolIE_Field(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolIE_Field, ProtocolIE_Field_sequence); return offset; } -static int dissect_ProtocolIE_Container_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolIE_Field(tvb, offset, pinfo, tree, hf_ranap_ProtocolIE_Container_item); +static int dissect_ProtocolIE_Container_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolIE_Field(tvb, offset, actx, tree, hf_ranap_ProtocolIE_Container_item); } @@ -1308,56 +1308,56 @@ static const per_sequence_t ProtocolIE_Container_sequence_of[1] = { }; static int -dissect_ranap_ProtocolIE_Container(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolIE_Container(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolIE_Container, ProtocolIE_Container_sequence_of, 0, 65535); return offset; } -static int dissect_protocolIEs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolIE_Container(tvb, offset, pinfo, tree, hf_ranap_protocolIEs); +static int dissect_protocolIEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolIE_Container(tvb, offset, actx, tree, hf_ranap_protocolIEs); } -static int dissect_ProtocolIE_ContainerList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolIE_Container(tvb, offset, pinfo, tree, hf_ranap_ProtocolIE_ContainerList_item); +static int dissect_ProtocolIE_ContainerList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolIE_Container(tvb, offset, actx, tree, hf_ranap_ProtocolIE_ContainerList_item); } -static int dissect_ProtocolIE_ContainerList15_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolIE_Container(tvb, offset, pinfo, tree, hf_ranap_ProtocolIE_ContainerList15_item); +static int dissect_ProtocolIE_ContainerList15_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolIE_Container(tvb, offset, actx, tree, hf_ranap_ProtocolIE_ContainerList15_item); } -static int dissect_ProtocolIE_ContainerList256_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolIE_Container(tvb, offset, pinfo, tree, hf_ranap_ProtocolIE_ContainerList256_item); +static int dissect_ProtocolIE_ContainerList256_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolIE_Container(tvb, offset, actx, tree, hf_ranap_ProtocolIE_ContainerList256_item); } -static int dissect_ProtocolIE_ContainerList250_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolIE_Container(tvb, offset, pinfo, tree, hf_ranap_ProtocolIE_ContainerList250_item); +static int dissect_ProtocolIE_ContainerList250_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolIE_Container(tvb, offset, actx, tree, hf_ranap_ProtocolIE_ContainerList250_item); } static int -dissect_ranap_ProtocolExtensionID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 65535U, &ProtocolIE_ID, NULL, FALSE); +dissect_ranap_ProtocolExtensionID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 65535U, &ProtocolIE_ID, FALSE); return offset; } -static int dissect_ext_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolExtensionID(tvb, offset, pinfo, tree, hf_ranap_ext_id); +static int dissect_ext_id(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolExtensionID(tvb, offset, actx, tree, hf_ranap_ext_id); } static int -dissect_ranap_Extension(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { +dissect_ranap_Extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { #line 69 "ranap.cnf" - offset = dissect_ranap_ies(tvb, offset, pinfo, tree); + offset = dissect_ranap_ies(tvb, offset, actx, tree); return offset; } -static int dissect_extensionValue(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Extension(tvb, offset, pinfo, tree, hf_ranap_extensionValue); +static int dissect_extensionValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Extension(tvb, offset, actx, tree, hf_ranap_extensionValue); } @@ -1369,14 +1369,14 @@ static const per_sequence_t ProtocolExtensionField_sequence[] = { }; static int -dissect_ranap_ProtocolExtensionField(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolExtensionField(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolExtensionField, ProtocolExtensionField_sequence); return offset; } -static int dissect_ProtocolExtensionContainer_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolExtensionField(tvb, offset, pinfo, tree, hf_ranap_ProtocolExtensionContainer_item); +static int dissect_ProtocolExtensionContainer_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolExtensionField(tvb, offset, actx, tree, hf_ranap_ProtocolExtensionContainer_item); } @@ -1385,18 +1385,18 @@ static const per_sequence_t ProtocolExtensionContainer_sequence_of[1] = { }; static int -dissect_ranap_ProtocolExtensionContainer(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolExtensionContainer(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolExtensionContainer, ProtocolExtensionContainer_sequence_of, 1, 65535); return offset; } -static int dissect_protocolExtensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolExtensionContainer(tvb, offset, pinfo, tree, hf_ranap_protocolExtensions); +static int dissect_protocolExtensions(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolExtensionContainer(tvb, offset, actx, tree, hf_ranap_protocolExtensions); } -static int dissect_iE_Extensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolExtensionContainer(tvb, offset, pinfo, tree, hf_ranap_iE_Extensions); +static int dissect_iE_Extensions(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolExtensionContainer(tvb, offset, actx, tree, hf_ranap_iE_Extensions); } @@ -1407,14 +1407,14 @@ static const per_sequence_t Iu_ReleaseCommand_sequence[] = { }; static int -dissect_ranap_Iu_ReleaseCommand(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Iu_ReleaseCommand(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Iu_ReleaseCommand, Iu_ReleaseCommand_sequence); return offset; } -static int dissect_iu_ReleaseCommand(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Iu_ReleaseCommand(tvb, offset, pinfo, tree, hf_ranap_iu_ReleaseCommand); +static int dissect_iu_ReleaseCommand(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Iu_ReleaseCommand(tvb, offset, actx, tree, hf_ranap_iu_ReleaseCommand); } @@ -1425,14 +1425,14 @@ static const per_sequence_t RelocationRequired_sequence[] = { }; static int -dissect_ranap_RelocationRequired(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RelocationRequired(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RelocationRequired, RelocationRequired_sequence); return offset; } -static int dissect_relocationRequired(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationRequired(tvb, offset, pinfo, tree, hf_ranap_relocationRequired); +static int dissect_relocationRequired(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationRequired(tvb, offset, actx, tree, hf_ranap_relocationRequired); } @@ -1443,14 +1443,14 @@ static const per_sequence_t RelocationRequest_sequence[] = { }; static int -dissect_ranap_RelocationRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RelocationRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RelocationRequest, RelocationRequest_sequence); return offset; } -static int dissect_relocationRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationRequest(tvb, offset, pinfo, tree, hf_ranap_relocationRequest); +static int dissect_relocationRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationRequest(tvb, offset, actx, tree, hf_ranap_relocationRequest); } @@ -1461,14 +1461,14 @@ static const per_sequence_t RelocationCancel_sequence[] = { }; static int -dissect_ranap_RelocationCancel(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RelocationCancel(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RelocationCancel, RelocationCancel_sequence); return offset; } -static int dissect_relocationCancel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationCancel(tvb, offset, pinfo, tree, hf_ranap_relocationCancel); +static int dissect_relocationCancel(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationCancel(tvb, offset, actx, tree, hf_ranap_relocationCancel); } @@ -1479,14 +1479,14 @@ static const per_sequence_t SRNS_ContextRequest_sequence[] = { }; static int -dissect_ranap_SRNS_ContextRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SRNS_ContextRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SRNS_ContextRequest, SRNS_ContextRequest_sequence); return offset; } -static int dissect_sRNS_ContextRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SRNS_ContextRequest(tvb, offset, pinfo, tree, hf_ranap_sRNS_ContextRequest); +static int dissect_sRNS_ContextRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SRNS_ContextRequest(tvb, offset, actx, tree, hf_ranap_sRNS_ContextRequest); } @@ -1497,14 +1497,14 @@ static const per_sequence_t SecurityModeCommand_sequence[] = { }; static int -dissect_ranap_SecurityModeCommand(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SecurityModeCommand(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SecurityModeCommand, SecurityModeCommand_sequence); return offset; } -static int dissect_securityModeCommand(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SecurityModeCommand(tvb, offset, pinfo, tree, hf_ranap_securityModeCommand); +static int dissect_securityModeCommand(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SecurityModeCommand(tvb, offset, actx, tree, hf_ranap_securityModeCommand); } @@ -1515,14 +1515,14 @@ static const per_sequence_t DataVolumeReportRequest_sequence[] = { }; static int -dissect_ranap_DataVolumeReportRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_DataVolumeReportRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_DataVolumeReportRequest, DataVolumeReportRequest_sequence); return offset; } -static int dissect_dataVolumeReportRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DataVolumeReportRequest(tvb, offset, pinfo, tree, hf_ranap_dataVolumeReportRequest); +static int dissect_dataVolumeReportRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DataVolumeReportRequest(tvb, offset, actx, tree, hf_ranap_dataVolumeReportRequest); } @@ -1533,14 +1533,14 @@ static const per_sequence_t Reset_sequence[] = { }; static int -dissect_ranap_Reset(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Reset(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Reset, Reset_sequence); return offset; } -static int dissect_reset(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Reset(tvb, offset, pinfo, tree, hf_ranap_reset); +static int dissect_reset(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Reset(tvb, offset, actx, tree, hf_ranap_reset); } @@ -1551,14 +1551,14 @@ static const per_sequence_t RAB_ReleaseRequest_sequence[] = { }; static int -dissect_ranap_RAB_ReleaseRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_ReleaseRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_ReleaseRequest, RAB_ReleaseRequest_sequence); return offset; } -static int dissect_rAB_ReleaseRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ReleaseRequest(tvb, offset, pinfo, tree, hf_ranap_rAB_ReleaseRequest); +static int dissect_rAB_ReleaseRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ReleaseRequest(tvb, offset, actx, tree, hf_ranap_rAB_ReleaseRequest); } @@ -1569,14 +1569,14 @@ static const per_sequence_t Iu_ReleaseRequest_sequence[] = { }; static int -dissect_ranap_Iu_ReleaseRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Iu_ReleaseRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Iu_ReleaseRequest, Iu_ReleaseRequest_sequence); return offset; } -static int dissect_iu_ReleaseRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Iu_ReleaseRequest(tvb, offset, pinfo, tree, hf_ranap_iu_ReleaseRequest); +static int dissect_iu_ReleaseRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Iu_ReleaseRequest(tvb, offset, actx, tree, hf_ranap_iu_ReleaseRequest); } @@ -1587,14 +1587,14 @@ static const per_sequence_t RelocationDetect_sequence[] = { }; static int -dissect_ranap_RelocationDetect(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RelocationDetect(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RelocationDetect, RelocationDetect_sequence); return offset; } -static int dissect_relocationDetect(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationDetect(tvb, offset, pinfo, tree, hf_ranap_relocationDetect); +static int dissect_relocationDetect(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationDetect(tvb, offset, actx, tree, hf_ranap_relocationDetect); } @@ -1605,14 +1605,14 @@ static const per_sequence_t RelocationComplete_sequence[] = { }; static int -dissect_ranap_RelocationComplete(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RelocationComplete(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RelocationComplete, RelocationComplete_sequence); return offset; } -static int dissect_relocationComplete(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationComplete(tvb, offset, pinfo, tree, hf_ranap_relocationComplete); +static int dissect_relocationComplete(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationComplete(tvb, offset, actx, tree, hf_ranap_relocationComplete); } @@ -1623,14 +1623,14 @@ static const per_sequence_t Paging_sequence[] = { }; static int -dissect_ranap_Paging(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Paging(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Paging, Paging_sequence); return offset; } -static int dissect_paging(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Paging(tvb, offset, pinfo, tree, hf_ranap_paging); +static int dissect_paging(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Paging(tvb, offset, actx, tree, hf_ranap_paging); } @@ -1641,14 +1641,14 @@ static const per_sequence_t CommonID_sequence[] = { }; static int -dissect_ranap_CommonID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_CommonID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_CommonID, CommonID_sequence); return offset; } -static int dissect_commonID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CommonID(tvb, offset, pinfo, tree, hf_ranap_commonID); +static int dissect_commonID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CommonID(tvb, offset, actx, tree, hf_ranap_commonID); } @@ -1659,14 +1659,14 @@ static const per_sequence_t CN_InvokeTrace_sequence[] = { }; static int -dissect_ranap_CN_InvokeTrace(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_CN_InvokeTrace(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_CN_InvokeTrace, CN_InvokeTrace_sequence); return offset; } -static int dissect_cN_InvokeTrace(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CN_InvokeTrace(tvb, offset, pinfo, tree, hf_ranap_cN_InvokeTrace); +static int dissect_cN_InvokeTrace(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CN_InvokeTrace(tvb, offset, actx, tree, hf_ranap_cN_InvokeTrace); } @@ -1677,14 +1677,14 @@ static const per_sequence_t CN_DeactivateTrace_sequence[] = { }; static int -dissect_ranap_CN_DeactivateTrace(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_CN_DeactivateTrace(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_CN_DeactivateTrace, CN_DeactivateTrace_sequence); return offset; } -static int dissect_cN_DeactivateTrace(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CN_DeactivateTrace(tvb, offset, pinfo, tree, hf_ranap_cN_DeactivateTrace); +static int dissect_cN_DeactivateTrace(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CN_DeactivateTrace(tvb, offset, actx, tree, hf_ranap_cN_DeactivateTrace); } @@ -1695,14 +1695,14 @@ static const per_sequence_t LocationReportingControl_sequence[] = { }; static int -dissect_ranap_LocationReportingControl(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LocationReportingControl(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_LocationReportingControl, LocationReportingControl_sequence); return offset; } -static int dissect_locationReportingControl(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LocationReportingControl(tvb, offset, pinfo, tree, hf_ranap_locationReportingControl); +static int dissect_locationReportingControl(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LocationReportingControl(tvb, offset, actx, tree, hf_ranap_locationReportingControl); } @@ -1713,14 +1713,14 @@ static const per_sequence_t LocationReport_sequence[] = { }; static int -dissect_ranap_LocationReport(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LocationReport(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_LocationReport, LocationReport_sequence); return offset; } -static int dissect_locationReport(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LocationReport(tvb, offset, pinfo, tree, hf_ranap_locationReport); +static int dissect_locationReport(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LocationReport(tvb, offset, actx, tree, hf_ranap_locationReport); } @@ -1731,14 +1731,14 @@ static const per_sequence_t InitialUE_Message_sequence[] = { }; static int -dissect_ranap_InitialUE_Message(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_InitialUE_Message(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_InitialUE_Message, InitialUE_Message_sequence); return offset; } -static int dissect_initialUE_Message(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InitialUE_Message(tvb, offset, pinfo, tree, hf_ranap_initialUE_Message); +static int dissect_initialUE_Message(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InitialUE_Message(tvb, offset, actx, tree, hf_ranap_initialUE_Message); } @@ -1749,14 +1749,14 @@ static const per_sequence_t DirectTransfer_sequence[] = { }; static int -dissect_ranap_DirectTransfer(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_DirectTransfer(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_DirectTransfer, DirectTransfer_sequence); return offset; } -static int dissect_directTransfer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DirectTransfer(tvb, offset, pinfo, tree, hf_ranap_directTransfer); +static int dissect_directTransfer(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DirectTransfer(tvb, offset, actx, tree, hf_ranap_directTransfer); } @@ -1767,14 +1767,14 @@ static const per_sequence_t Overload_sequence[] = { }; static int -dissect_ranap_Overload(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Overload(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Overload, Overload_sequence); return offset; } -static int dissect_overload(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Overload(tvb, offset, pinfo, tree, hf_ranap_overload); +static int dissect_overload(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Overload(tvb, offset, actx, tree, hf_ranap_overload); } @@ -1785,14 +1785,14 @@ static const per_sequence_t ErrorIndication_sequence[] = { }; static int -dissect_ranap_ErrorIndication(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ErrorIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_ErrorIndication, ErrorIndication_sequence); return offset; } -static int dissect_errorIndication(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ErrorIndication(tvb, offset, pinfo, tree, hf_ranap_errorIndication); +static int dissect_errorIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ErrorIndication(tvb, offset, actx, tree, hf_ranap_errorIndication); } @@ -1803,14 +1803,14 @@ static const per_sequence_t SRNS_DataForwardCommand_sequence[] = { }; static int -dissect_ranap_SRNS_DataForwardCommand(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SRNS_DataForwardCommand(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SRNS_DataForwardCommand, SRNS_DataForwardCommand_sequence); return offset; } -static int dissect_sRNS_DataForwardCommand(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SRNS_DataForwardCommand(tvb, offset, pinfo, tree, hf_ranap_sRNS_DataForwardCommand); +static int dissect_sRNS_DataForwardCommand(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SRNS_DataForwardCommand(tvb, offset, actx, tree, hf_ranap_sRNS_DataForwardCommand); } @@ -1821,14 +1821,14 @@ static const per_sequence_t ForwardSRNS_Context_sequence[] = { }; static int -dissect_ranap_ForwardSRNS_Context(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ForwardSRNS_Context(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_ForwardSRNS_Context, ForwardSRNS_Context_sequence); return offset; } -static int dissect_forwardSRNS_Context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ForwardSRNS_Context(tvb, offset, pinfo, tree, hf_ranap_forwardSRNS_Context); +static int dissect_forwardSRNS_Context(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ForwardSRNS_Context(tvb, offset, actx, tree, hf_ranap_forwardSRNS_Context); } @@ -1839,42 +1839,42 @@ static const per_sequence_t RAB_AssignmentRequest_sequence[] = { }; static int -dissect_ranap_RAB_AssignmentRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_AssignmentRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_AssignmentRequest, RAB_AssignmentRequest_sequence); return offset; } -static int dissect_rAB_AssignmentRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_AssignmentRequest(tvb, offset, pinfo, tree, hf_ranap_rAB_AssignmentRequest); +static int dissect_rAB_AssignmentRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_AssignmentRequest(tvb, offset, actx, tree, hf_ranap_rAB_AssignmentRequest); } static int -dissect_ranap_INTEGER_0_65535(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 65535U, NULL, NULL, FALSE); +dissect_ranap_INTEGER_0_65535(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 65535U, NULL, FALSE); return offset; } -static int dissect_innerRadius(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_65535(tvb, offset, pinfo, tree, hf_ranap_innerRadius); +static int dissect_innerRadius(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_65535(tvb, offset, actx, tree, hf_ranap_innerRadius); } -static int dissect_local(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_65535(tvb, offset, pinfo, tree, hf_ranap_local); +static int dissect_local(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_65535(tvb, offset, actx, tree, hf_ranap_local); } static int -dissect_ranap_OBJECT_IDENTIFIER(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_object_identifier(tvb, offset, pinfo, tree, hf_index, NULL); +dissect_ranap_OBJECT_IDENTIFIER(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_object_identifier(tvb, offset, actx, tree, hf_index, NULL); return offset; } -static int dissect_global(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_OBJECT_IDENTIFIER(tvb, offset, pinfo, tree, hf_ranap_global); +static int dissect_global(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_OBJECT_IDENTIFIER(tvb, offset, actx, tree, hf_ranap_global); } @@ -1891,21 +1891,21 @@ static const per_choice_t PrivateIE_ID_choice[] = { }; static int -dissect_ranap_PrivateIE_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PrivateIE_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_PrivateIE_ID, PrivateIE_ID_choice, NULL); return offset; } -static int dissect_private_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PrivateIE_ID(tvb, offset, pinfo, tree, hf_ranap_private_id); +static int dissect_private_id(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PrivateIE_ID(tvb, offset, actx, tree, hf_ranap_private_id); } static int -dissect_ranap_RANAP_PRIVATE_IES_Value(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { +dissect_ranap_RANAP_PRIVATE_IES_Value(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { #line 73 "ranap.cnf" /* FIX ME */ @@ -1913,8 +1913,8 @@ dissect_ranap_RANAP_PRIVATE_IES_Value(tvbuff_t *tvb, int offset, packet_info *pi return offset; } -static int dissect_private_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RANAP_PRIVATE_IES_Value(tvb, offset, pinfo, tree, hf_ranap_private_value); +static int dissect_private_value(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RANAP_PRIVATE_IES_Value(tvb, offset, actx, tree, hf_ranap_private_value); } @@ -1926,14 +1926,14 @@ static const per_sequence_t PrivateIE_Field_sequence[] = { }; static int -dissect_ranap_PrivateIE_Field(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PrivateIE_Field(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_PrivateIE_Field, PrivateIE_Field_sequence); return offset; } -static int dissect_PrivateIE_Container_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PrivateIE_Field(tvb, offset, pinfo, tree, hf_ranap_PrivateIE_Container_item); +static int dissect_PrivateIE_Container_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PrivateIE_Field(tvb, offset, actx, tree, hf_ranap_PrivateIE_Container_item); } @@ -1942,15 +1942,15 @@ static const per_sequence_t PrivateIE_Container_sequence_of[1] = { }; static int -dissect_ranap_PrivateIE_Container(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PrivateIE_Container(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_PrivateIE_Container, PrivateIE_Container_sequence_of, 1, 65535); return offset; } -static int dissect_privateIEs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PrivateIE_Container(tvb, offset, pinfo, tree, hf_ranap_privateIEs); +static int dissect_privateIEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PrivateIE_Container(tvb, offset, actx, tree, hf_ranap_privateIEs); } @@ -1960,14 +1960,14 @@ static const per_sequence_t PrivateMessage_sequence[] = { }; static int -dissect_ranap_PrivateMessage(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PrivateMessage(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_PrivateMessage, PrivateMessage_sequence); return offset; } -static int dissect_privateMessage(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PrivateMessage(tvb, offset, pinfo, tree, hf_ranap_privateMessage); +static int dissect_privateMessage(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PrivateMessage(tvb, offset, actx, tree, hf_ranap_privateMessage); } @@ -1978,14 +1978,14 @@ static const per_sequence_t ResetResource_sequence[] = { }; static int -dissect_ranap_ResetResource(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ResetResource(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_ResetResource, ResetResource_sequence); return offset; } -static int dissect_resetResource(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ResetResource(tvb, offset, pinfo, tree, hf_ranap_resetResource); +static int dissect_resetResource(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ResetResource(tvb, offset, actx, tree, hf_ranap_resetResource); } @@ -1996,14 +1996,14 @@ static const per_sequence_t RANAP_RelocationInformation_sequence[] = { }; static int -dissect_ranap_RANAP_RelocationInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RANAP_RelocationInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RANAP_RelocationInformation, RANAP_RelocationInformation_sequence); return offset; } -static int dissect_rANAP_RelocationInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RANAP_RelocationInformation(tvb, offset, pinfo, tree, hf_ranap_rANAP_RelocationInformation); +static int dissect_rANAP_RelocationInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RANAP_RelocationInformation(tvb, offset, actx, tree, hf_ranap_rANAP_RelocationInformation); } @@ -2014,14 +2014,14 @@ static const per_sequence_t RAB_ModifyRequest_sequence[] = { }; static int -dissect_ranap_RAB_ModifyRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_ModifyRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_ModifyRequest, RAB_ModifyRequest_sequence); return offset; } -static int dissect_rAB_ModifyRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ModifyRequest(tvb, offset, pinfo, tree, hf_ranap_rAB_ModifyRequest); +static int dissect_rAB_ModifyRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ModifyRequest(tvb, offset, actx, tree, hf_ranap_rAB_ModifyRequest); } @@ -2032,14 +2032,14 @@ static const per_sequence_t LocationRelatedDataRequest_sequence[] = { }; static int -dissect_ranap_LocationRelatedDataRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LocationRelatedDataRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_LocationRelatedDataRequest, LocationRelatedDataRequest_sequence); return offset; } -static int dissect_locationRelatedDataRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LocationRelatedDataRequest(tvb, offset, pinfo, tree, hf_ranap_locationRelatedDataRequest); +static int dissect_locationRelatedDataRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LocationRelatedDataRequest(tvb, offset, actx, tree, hf_ranap_locationRelatedDataRequest); } @@ -2050,14 +2050,14 @@ static const per_sequence_t InformationTransferIndication_sequence[] = { }; static int -dissect_ranap_InformationTransferIndication(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_InformationTransferIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_InformationTransferIndication, InformationTransferIndication_sequence); return offset; } -static int dissect_informationTransferIndication(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InformationTransferIndication(tvb, offset, pinfo, tree, hf_ranap_informationTransferIndication); +static int dissect_informationTransferIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InformationTransferIndication(tvb, offset, actx, tree, hf_ranap_informationTransferIndication); } @@ -2068,14 +2068,14 @@ static const per_sequence_t UESpecificInformationIndication_sequence[] = { }; static int -dissect_ranap_UESpecificInformationIndication(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UESpecificInformationIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_UESpecificInformationIndication, UESpecificInformationIndication_sequence); return offset; } -static int dissect_uESpecificInformationIndication(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UESpecificInformationIndication(tvb, offset, pinfo, tree, hf_ranap_uESpecificInformationIndication); +static int dissect_uESpecificInformationIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UESpecificInformationIndication(tvb, offset, actx, tree, hf_ranap_uESpecificInformationIndication); } @@ -2086,14 +2086,14 @@ static const per_sequence_t DirectInformationTransfer_sequence[] = { }; static int -dissect_ranap_DirectInformationTransfer(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_DirectInformationTransfer(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_DirectInformationTransfer, DirectInformationTransfer_sequence); return offset; } -static int dissect_directInformationTransfer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DirectInformationTransfer(tvb, offset, pinfo, tree, hf_ranap_directInformationTransfer); +static int dissect_directInformationTransfer(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DirectInformationTransfer(tvb, offset, actx, tree, hf_ranap_directInformationTransfer); } @@ -2104,14 +2104,14 @@ static const per_sequence_t UplinkInformationExchangeRequest_sequence[] = { }; static int -dissect_ranap_UplinkInformationExchangeRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UplinkInformationExchangeRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_UplinkInformationExchangeRequest, UplinkInformationExchangeRequest_sequence); return offset; } -static int dissect_uplinkInformationExchangeRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UplinkInformationExchangeRequest(tvb, offset, pinfo, tree, hf_ranap_uplinkInformationExchangeRequest); +static int dissect_uplinkInformationExchangeRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UplinkInformationExchangeRequest(tvb, offset, actx, tree, hf_ranap_uplinkInformationExchangeRequest); } @@ -2122,14 +2122,14 @@ static const per_sequence_t MBMSSessionStart_sequence[] = { }; static int -dissect_ranap_MBMSSessionStart(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSSessionStart(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSSessionStart, MBMSSessionStart_sequence); return offset; } -static int dissect_mBMSSessionStart(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSSessionStart(tvb, offset, pinfo, tree, hf_ranap_mBMSSessionStart); +static int dissect_mBMSSessionStart(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSSessionStart(tvb, offset, actx, tree, hf_ranap_mBMSSessionStart); } @@ -2140,14 +2140,14 @@ static const per_sequence_t MBMSSessionUpdate_sequence[] = { }; static int -dissect_ranap_MBMSSessionUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSSessionUpdate(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSSessionUpdate, MBMSSessionUpdate_sequence); return offset; } -static int dissect_mBMSSessionUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSSessionUpdate(tvb, offset, pinfo, tree, hf_ranap_mBMSSessionUpdate); +static int dissect_mBMSSessionUpdate(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSSessionUpdate(tvb, offset, actx, tree, hf_ranap_mBMSSessionUpdate); } @@ -2158,14 +2158,14 @@ static const per_sequence_t MBMSSessionStop_sequence[] = { }; static int -dissect_ranap_MBMSSessionStop(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSSessionStop(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSSessionStop, MBMSSessionStop_sequence); return offset; } -static int dissect_mMBMSSessionStop(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSSessionStop(tvb, offset, pinfo, tree, hf_ranap_mMBMSSessionStop); +static int dissect_mMBMSSessionStop(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSSessionStop(tvb, offset, actx, tree, hf_ranap_mMBMSSessionStop); } @@ -2176,14 +2176,14 @@ static const per_sequence_t MBMSUELinkingRequest_sequence[] = { }; static int -dissect_ranap_MBMSUELinkingRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSUELinkingRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSUELinkingRequest, MBMSUELinkingRequest_sequence); return offset; } -static int dissect_mBMSUELinkingRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSUELinkingRequest(tvb, offset, pinfo, tree, hf_ranap_mBMSUELinkingRequest); +static int dissect_mBMSUELinkingRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSUELinkingRequest(tvb, offset, actx, tree, hf_ranap_mBMSUELinkingRequest); } @@ -2194,14 +2194,14 @@ static const per_sequence_t MBMSRegistrationRequest_sequence[] = { }; static int -dissect_ranap_MBMSRegistrationRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSRegistrationRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSRegistrationRequest, MBMSRegistrationRequest_sequence); return offset; } -static int dissect_mBMSRegistrationRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSRegistrationRequest(tvb, offset, pinfo, tree, hf_ranap_mBMSRegistrationRequest); +static int dissect_mBMSRegistrationRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSRegistrationRequest(tvb, offset, actx, tree, hf_ranap_mBMSRegistrationRequest); } @@ -2212,14 +2212,14 @@ static const per_sequence_t MBMSCNDe_RegistrationRequest_sequence[] = { }; static int -dissect_ranap_MBMSCNDe_RegistrationRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSCNDe_RegistrationRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSCNDe_RegistrationRequest, MBMSCNDe_RegistrationRequest_sequence); return offset; } -static int dissect_mBMSCNDe_RegistrationRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSCNDe_RegistrationRequest(tvb, offset, pinfo, tree, hf_ranap_mBMSCNDe_RegistrationRequest); +static int dissect_mBMSCNDe_RegistrationRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSCNDe_RegistrationRequest(tvb, offset, actx, tree, hf_ranap_mBMSCNDe_RegistrationRequest); } @@ -2230,14 +2230,14 @@ static const per_sequence_t MBMSRABEstablishmentIndication_sequence[] = { }; static int -dissect_ranap_MBMSRABEstablishmentIndication(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSRABEstablishmentIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSRABEstablishmentIndication, MBMSRABEstablishmentIndication_sequence); return offset; } -static int dissect_mBMSRABEstablishmentIndication(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSRABEstablishmentIndication(tvb, offset, pinfo, tree, hf_ranap_mBMSRABEstablishmentIndication); +static int dissect_mBMSRABEstablishmentIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSRABEstablishmentIndication(tvb, offset, actx, tree, hf_ranap_mBMSRABEstablishmentIndication); } @@ -2248,14 +2248,14 @@ static const per_sequence_t MBMSRABReleaseRequest_sequence[] = { }; static int -dissect_ranap_MBMSRABReleaseRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSRABReleaseRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSRABReleaseRequest, MBMSRABReleaseRequest_sequence); return offset; } -static int dissect_mBMSRABReleaseRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSRABReleaseRequest(tvb, offset, pinfo, tree, hf_ranap_mBMSRABReleaseRequest); +static int dissect_mBMSRABReleaseRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSRABReleaseRequest(tvb, offset, actx, tree, hf_ranap_mBMSRABReleaseRequest); } @@ -2352,8 +2352,8 @@ static const per_choice_t Dummy_initiating_messages_choice[] = { }; static int -dissect_ranap_Dummy_initiating_messages(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Dummy_initiating_messages(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_Dummy_initiating_messages, Dummy_initiating_messages_choice, NULL); @@ -2368,14 +2368,14 @@ static const per_sequence_t Iu_ReleaseComplete_sequence[] = { }; static int -dissect_ranap_Iu_ReleaseComplete(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Iu_ReleaseComplete(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Iu_ReleaseComplete, Iu_ReleaseComplete_sequence); return offset; } -static int dissect_iu_ReleaseComplete(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Iu_ReleaseComplete(tvb, offset, pinfo, tree, hf_ranap_iu_ReleaseComplete); +static int dissect_iu_ReleaseComplete(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Iu_ReleaseComplete(tvb, offset, actx, tree, hf_ranap_iu_ReleaseComplete); } @@ -2386,14 +2386,14 @@ static const per_sequence_t RelocationCommand_sequence[] = { }; static int -dissect_ranap_RelocationCommand(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RelocationCommand(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RelocationCommand, RelocationCommand_sequence); return offset; } -static int dissect_relocationCommand(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationCommand(tvb, offset, pinfo, tree, hf_ranap_relocationCommand); +static int dissect_relocationCommand(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationCommand(tvb, offset, actx, tree, hf_ranap_relocationCommand); } @@ -2404,14 +2404,14 @@ static const per_sequence_t RelocationRequestAcknowledge_sequence[] = { }; static int -dissect_ranap_RelocationRequestAcknowledge(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RelocationRequestAcknowledge(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RelocationRequestAcknowledge, RelocationRequestAcknowledge_sequence); return offset; } -static int dissect_relocationRequestAcknowledge(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationRequestAcknowledge(tvb, offset, pinfo, tree, hf_ranap_relocationRequestAcknowledge); +static int dissect_relocationRequestAcknowledge(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationRequestAcknowledge(tvb, offset, actx, tree, hf_ranap_relocationRequestAcknowledge); } @@ -2422,14 +2422,14 @@ static const per_sequence_t RelocationCancelAcknowledge_sequence[] = { }; static int -dissect_ranap_RelocationCancelAcknowledge(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RelocationCancelAcknowledge(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RelocationCancelAcknowledge, RelocationCancelAcknowledge_sequence); return offset; } -static int dissect_relocationCancelAcknowledge(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationCancelAcknowledge(tvb, offset, pinfo, tree, hf_ranap_relocationCancelAcknowledge); +static int dissect_relocationCancelAcknowledge(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationCancelAcknowledge(tvb, offset, actx, tree, hf_ranap_relocationCancelAcknowledge); } @@ -2440,14 +2440,14 @@ static const per_sequence_t SRNS_ContextResponse_sequence[] = { }; static int -dissect_ranap_SRNS_ContextResponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SRNS_ContextResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SRNS_ContextResponse, SRNS_ContextResponse_sequence); return offset; } -static int dissect_sRNS_ContextResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SRNS_ContextResponse(tvb, offset, pinfo, tree, hf_ranap_sRNS_ContextResponse); +static int dissect_sRNS_ContextResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SRNS_ContextResponse(tvb, offset, actx, tree, hf_ranap_sRNS_ContextResponse); } @@ -2458,14 +2458,14 @@ static const per_sequence_t SecurityModeComplete_sequence[] = { }; static int -dissect_ranap_SecurityModeComplete(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SecurityModeComplete(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SecurityModeComplete, SecurityModeComplete_sequence); return offset; } -static int dissect_securityModeComplete(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SecurityModeComplete(tvb, offset, pinfo, tree, hf_ranap_securityModeComplete); +static int dissect_securityModeComplete(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SecurityModeComplete(tvb, offset, actx, tree, hf_ranap_securityModeComplete); } @@ -2476,14 +2476,14 @@ static const per_sequence_t DataVolumeReport_sequence[] = { }; static int -dissect_ranap_DataVolumeReport(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_DataVolumeReport(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_DataVolumeReport, DataVolumeReport_sequence); return offset; } -static int dissect_dataVolumeReport(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DataVolumeReport(tvb, offset, pinfo, tree, hf_ranap_dataVolumeReport); +static int dissect_dataVolumeReport(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DataVolumeReport(tvb, offset, actx, tree, hf_ranap_dataVolumeReport); } @@ -2494,14 +2494,14 @@ static const per_sequence_t ResetAcknowledge_sequence[] = { }; static int -dissect_ranap_ResetAcknowledge(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ResetAcknowledge(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_ResetAcknowledge, ResetAcknowledge_sequence); return offset; } -static int dissect_resetAcknowledge(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ResetAcknowledge(tvb, offset, pinfo, tree, hf_ranap_resetAcknowledge); +static int dissect_resetAcknowledge(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ResetAcknowledge(tvb, offset, actx, tree, hf_ranap_resetAcknowledge); } @@ -2512,14 +2512,14 @@ static const per_sequence_t ResetResourceAcknowledge_sequence[] = { }; static int -dissect_ranap_ResetResourceAcknowledge(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ResetResourceAcknowledge(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_ResetResourceAcknowledge, ResetResourceAcknowledge_sequence); return offset; } -static int dissect_resetResourceAcknowledge(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ResetResourceAcknowledge(tvb, offset, pinfo, tree, hf_ranap_resetResourceAcknowledge); +static int dissect_resetResourceAcknowledge(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ResetResourceAcknowledge(tvb, offset, actx, tree, hf_ranap_resetResourceAcknowledge); } @@ -2530,14 +2530,14 @@ static const per_sequence_t LocationRelatedDataResponse_sequence[] = { }; static int -dissect_ranap_LocationRelatedDataResponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LocationRelatedDataResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_LocationRelatedDataResponse, LocationRelatedDataResponse_sequence); return offset; } -static int dissect_locationRelatedDataResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LocationRelatedDataResponse(tvb, offset, pinfo, tree, hf_ranap_locationRelatedDataResponse); +static int dissect_locationRelatedDataResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LocationRelatedDataResponse(tvb, offset, actx, tree, hf_ranap_locationRelatedDataResponse); } @@ -2548,14 +2548,14 @@ static const per_sequence_t InformationTransferConfirmation_sequence[] = { }; static int -dissect_ranap_InformationTransferConfirmation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_InformationTransferConfirmation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_InformationTransferConfirmation, InformationTransferConfirmation_sequence); return offset; } -static int dissect_informationTransferConfirmation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InformationTransferConfirmation(tvb, offset, pinfo, tree, hf_ranap_informationTransferConfirmation); +static int dissect_informationTransferConfirmation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InformationTransferConfirmation(tvb, offset, actx, tree, hf_ranap_informationTransferConfirmation); } @@ -2566,14 +2566,14 @@ static const per_sequence_t UplinkInformationExchangeResponse_sequence[] = { }; static int -dissect_ranap_UplinkInformationExchangeResponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UplinkInformationExchangeResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_UplinkInformationExchangeResponse, UplinkInformationExchangeResponse_sequence); return offset; } -static int dissect_uplinkInformationExchangeResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UplinkInformationExchangeResponse(tvb, offset, pinfo, tree, hf_ranap_uplinkInformationExchangeResponse); +static int dissect_uplinkInformationExchangeResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UplinkInformationExchangeResponse(tvb, offset, actx, tree, hf_ranap_uplinkInformationExchangeResponse); } @@ -2584,14 +2584,14 @@ static const per_sequence_t MBMSSessionStartResponse_sequence[] = { }; static int -dissect_ranap_MBMSSessionStartResponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSSessionStartResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSSessionStartResponse, MBMSSessionStartResponse_sequence); return offset; } -static int dissect_mBMSSessionStartResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSSessionStartResponse(tvb, offset, pinfo, tree, hf_ranap_mBMSSessionStartResponse); +static int dissect_mBMSSessionStartResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSSessionStartResponse(tvb, offset, actx, tree, hf_ranap_mBMSSessionStartResponse); } @@ -2602,14 +2602,14 @@ static const per_sequence_t MBMSSessionUpdateResponse_sequence[] = { }; static int -dissect_ranap_MBMSSessionUpdateResponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSSessionUpdateResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSSessionUpdateResponse, MBMSSessionUpdateResponse_sequence); return offset; } -static int dissect_mBMSSessionUpdateResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSSessionUpdateResponse(tvb, offset, pinfo, tree, hf_ranap_mBMSSessionUpdateResponse); +static int dissect_mBMSSessionUpdateResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSSessionUpdateResponse(tvb, offset, actx, tree, hf_ranap_mBMSSessionUpdateResponse); } @@ -2620,14 +2620,14 @@ static const per_sequence_t MBMSSessionStopResponse_sequence[] = { }; static int -dissect_ranap_MBMSSessionStopResponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSSessionStopResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSSessionStopResponse, MBMSSessionStopResponse_sequence); return offset; } -static int dissect_mBMSSessionStopResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSSessionStopResponse(tvb, offset, pinfo, tree, hf_ranap_mBMSSessionStopResponse); +static int dissect_mBMSSessionStopResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSSessionStopResponse(tvb, offset, actx, tree, hf_ranap_mBMSSessionStopResponse); } @@ -2638,14 +2638,14 @@ static const per_sequence_t MBMSRegistrationResponse_sequence[] = { }; static int -dissect_ranap_MBMSRegistrationResponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSRegistrationResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSRegistrationResponse, MBMSRegistrationResponse_sequence); return offset; } -static int dissect_mBMSRegistrationResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSRegistrationResponse(tvb, offset, pinfo, tree, hf_ranap_mBMSRegistrationResponse); +static int dissect_mBMSRegistrationResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSRegistrationResponse(tvb, offset, actx, tree, hf_ranap_mBMSRegistrationResponse); } @@ -2656,14 +2656,14 @@ static const per_sequence_t MBMSCNDe_RegistrationResponse_sequence[] = { }; static int -dissect_ranap_MBMSCNDe_RegistrationResponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSCNDe_RegistrationResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSCNDe_RegistrationResponse, MBMSCNDe_RegistrationResponse_sequence); return offset; } -static int dissect_mBMSCNDeRegistrationResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSCNDe_RegistrationResponse(tvb, offset, pinfo, tree, hf_ranap_mBMSCNDeRegistrationResponse); +static int dissect_mBMSCNDeRegistrationResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSCNDe_RegistrationResponse(tvb, offset, actx, tree, hf_ranap_mBMSCNDeRegistrationResponse); } @@ -2674,14 +2674,14 @@ static const per_sequence_t MBMSRABRelease_sequence[] = { }; static int -dissect_ranap_MBMSRABRelease(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSRABRelease(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSRABRelease, MBMSRABRelease_sequence); return offset; } -static int dissect_mBMSRABRelease(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSRABRelease(tvb, offset, pinfo, tree, hf_ranap_mBMSRABRelease); +static int dissect_mBMSRABRelease(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSRABRelease(tvb, offset, actx, tree, hf_ranap_mBMSRABRelease); } @@ -2730,8 +2730,8 @@ static const per_choice_t Dummy_SuccessfulOutcome_messages_choice[] = { }; static int -dissect_ranap_Dummy_SuccessfulOutcome_messages(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Dummy_SuccessfulOutcome_messages(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_Dummy_SuccessfulOutcome_messages, Dummy_SuccessfulOutcome_messages_choice, NULL); @@ -2746,14 +2746,14 @@ static const per_sequence_t RelocationPreparationFailure_sequence[] = { }; static int -dissect_ranap_RelocationPreparationFailure(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RelocationPreparationFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RelocationPreparationFailure, RelocationPreparationFailure_sequence); return offset; } -static int dissect_relocationPreparationFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationPreparationFailure(tvb, offset, pinfo, tree, hf_ranap_relocationPreparationFailure); +static int dissect_relocationPreparationFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationPreparationFailure(tvb, offset, actx, tree, hf_ranap_relocationPreparationFailure); } @@ -2764,14 +2764,14 @@ static const per_sequence_t RelocationFailure_sequence[] = { }; static int -dissect_ranap_RelocationFailure(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RelocationFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RelocationFailure, RelocationFailure_sequence); return offset; } -static int dissect_relocationFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationFailure(tvb, offset, pinfo, tree, hf_ranap_relocationFailure); +static int dissect_relocationFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationFailure(tvb, offset, actx, tree, hf_ranap_relocationFailure); } @@ -2782,14 +2782,14 @@ static const per_sequence_t SecurityModeReject_sequence[] = { }; static int -dissect_ranap_SecurityModeReject(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SecurityModeReject(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SecurityModeReject, SecurityModeReject_sequence); return offset; } -static int dissect_securityModeReject(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SecurityModeReject(tvb, offset, pinfo, tree, hf_ranap_securityModeReject); +static int dissect_securityModeReject(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SecurityModeReject(tvb, offset, actx, tree, hf_ranap_securityModeReject); } @@ -2800,14 +2800,14 @@ static const per_sequence_t LocationRelatedDataFailure_sequence[] = { }; static int -dissect_ranap_LocationRelatedDataFailure(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LocationRelatedDataFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_LocationRelatedDataFailure, LocationRelatedDataFailure_sequence); return offset; } -static int dissect_locationRelatedDataFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LocationRelatedDataFailure(tvb, offset, pinfo, tree, hf_ranap_locationRelatedDataFailure); +static int dissect_locationRelatedDataFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LocationRelatedDataFailure(tvb, offset, actx, tree, hf_ranap_locationRelatedDataFailure); } @@ -2818,14 +2818,14 @@ static const per_sequence_t InformationTransferFailure_sequence[] = { }; static int -dissect_ranap_InformationTransferFailure(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_InformationTransferFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_InformationTransferFailure, InformationTransferFailure_sequence); return offset; } -static int dissect_informationTransferFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InformationTransferFailure(tvb, offset, pinfo, tree, hf_ranap_informationTransferFailure); +static int dissect_informationTransferFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InformationTransferFailure(tvb, offset, actx, tree, hf_ranap_informationTransferFailure); } @@ -2836,14 +2836,14 @@ static const per_sequence_t UplinkInformationExchangeFailure_sequence[] = { }; static int -dissect_ranap_UplinkInformationExchangeFailure(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UplinkInformationExchangeFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_UplinkInformationExchangeFailure, UplinkInformationExchangeFailure_sequence); return offset; } -static int dissect_uplinkInformationExchangeFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UplinkInformationExchangeFailure(tvb, offset, pinfo, tree, hf_ranap_uplinkInformationExchangeFailure); +static int dissect_uplinkInformationExchangeFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UplinkInformationExchangeFailure(tvb, offset, actx, tree, hf_ranap_uplinkInformationExchangeFailure); } @@ -2854,14 +2854,14 @@ static const per_sequence_t MBMSSessionStartFailure_sequence[] = { }; static int -dissect_ranap_MBMSSessionStartFailure(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSSessionStartFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSSessionStartFailure, MBMSSessionStartFailure_sequence); return offset; } -static int dissect_mBMSSessionStartFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSSessionStartFailure(tvb, offset, pinfo, tree, hf_ranap_mBMSSessionStartFailure); +static int dissect_mBMSSessionStartFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSSessionStartFailure(tvb, offset, actx, tree, hf_ranap_mBMSSessionStartFailure); } @@ -2872,14 +2872,14 @@ static const per_sequence_t MBMSSessionUpdateFailure_sequence[] = { }; static int -dissect_ranap_MBMSSessionUpdateFailure(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSSessionUpdateFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSSessionUpdateFailure, MBMSSessionUpdateFailure_sequence); return offset; } -static int dissect_mBMSSessionUpdateFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSSessionUpdateFailure(tvb, offset, pinfo, tree, hf_ranap_mBMSSessionUpdateFailure); +static int dissect_mBMSSessionUpdateFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSSessionUpdateFailure(tvb, offset, actx, tree, hf_ranap_mBMSSessionUpdateFailure); } @@ -2890,14 +2890,14 @@ static const per_sequence_t MBMSRegistrationFailure_sequence[] = { }; static int -dissect_ranap_MBMSRegistrationFailure(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSRegistrationFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSRegistrationFailure, MBMSRegistrationFailure_sequence); return offset; } -static int dissect_mBMSRegistrationFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSRegistrationFailure(tvb, offset, pinfo, tree, hf_ranap_mBMSRegistrationFailure); +static int dissect_mBMSRegistrationFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSRegistrationFailure(tvb, offset, actx, tree, hf_ranap_mBMSRegistrationFailure); } @@ -2908,14 +2908,14 @@ static const per_sequence_t MBMSRABReleaseFailure_sequence[] = { }; static int -dissect_ranap_MBMSRABReleaseFailure(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSRABReleaseFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSRABReleaseFailure, MBMSRABReleaseFailure_sequence); return offset; } -static int dissect_mBMSRABReleaseFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSRABReleaseFailure(tvb, offset, pinfo, tree, hf_ranap_mBMSRABReleaseFailure); +static int dissect_mBMSRABReleaseFailure(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSRABReleaseFailure(tvb, offset, actx, tree, hf_ranap_mBMSRABReleaseFailure); } @@ -2948,8 +2948,8 @@ static const per_choice_t Dummy_UnsuccessfulOutcome_messages_choice[] = { }; static int -dissect_ranap_Dummy_UnsuccessfulOutcome_messages(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Dummy_UnsuccessfulOutcome_messages(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_Dummy_UnsuccessfulOutcome_messages, Dummy_UnsuccessfulOutcome_messages_choice, NULL); @@ -2964,14 +2964,14 @@ static const per_sequence_t RAB_AssignmentResponse_sequence[] = { }; static int -dissect_ranap_RAB_AssignmentResponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_AssignmentResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_AssignmentResponse, RAB_AssignmentResponse_sequence); return offset; } -static int dissect_rAB_AssignmentResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_AssignmentResponse(tvb, offset, pinfo, tree, hf_ranap_rAB_AssignmentResponse); +static int dissect_rAB_AssignmentResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_AssignmentResponse(tvb, offset, actx, tree, hf_ranap_rAB_AssignmentResponse); } @@ -2982,14 +2982,14 @@ static const per_sequence_t MBMSUELinkingResponse_sequence[] = { }; static int -dissect_ranap_MBMSUELinkingResponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSUELinkingResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSUELinkingResponse, MBMSUELinkingResponse_sequence); return offset; } -static int dissect_mBMSUELinkingResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSUELinkingResponse(tvb, offset, pinfo, tree, hf_ranap_mBMSUELinkingResponse); +static int dissect_mBMSUELinkingResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSUELinkingResponse(tvb, offset, actx, tree, hf_ranap_mBMSUELinkingResponse); } @@ -3008,8 +3008,8 @@ static const per_choice_t Dummy_Outcome_messages_choice[] = { }; static int -dissect_ranap_Dummy_Outcome_messages(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Dummy_Outcome_messages(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_Dummy_Outcome_messages, Dummy_Outcome_messages_choice, NULL); @@ -3025,41 +3025,41 @@ static const value_string ranap_AccuracyFulfilmentIndicator_vals[] = { static int -dissect_ranap_AccuracyFulfilmentIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_AccuracyFulfilmentIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_AccuracyFulfilmentIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_AccuracyFulfilmentIndicator(tvb, offset, pinfo, tree, hf_ranap_id_AccuracyFulfilmentIndicator); +static int dissect_id_AccuracyFulfilmentIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_AccuracyFulfilmentIndicator(tvb, offset, actx, tree, hf_ranap_id_AccuracyFulfilmentIndicator); } static int -dissect_ranap_APN(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_APN(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 1, 255, NULL); return offset; } -static int dissect_id_APN(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_APN(tvb, offset, pinfo, tree, hf_ranap_id_APN); +static int dissect_id_APN(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_APN(tvb, offset, actx, tree, hf_ranap_id_APN); } -static int dissect_aPN(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_APN(tvb, offset, pinfo, tree, hf_ranap_aPN); +static int dissect_aPN(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_APN(tvb, offset, actx, tree, hf_ranap_aPN); } static int -dissect_ranap_PLMNidentity(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { +dissect_ranap_PLMNidentity(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { #line 76 "ranap.cnf" tvbuff_t *parameter_tvb=NULL; - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 3, ¶meter_tvb); @@ -3071,37 +3071,37 @@ dissect_ranap_PLMNidentity(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, pr return offset; } -static int dissect_id_SelectedPLMN_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PLMNidentity(tvb, offset, pinfo, tree, hf_ranap_id_SelectedPLMN_ID); +static int dissect_id_SelectedPLMN_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PLMNidentity(tvb, offset, actx, tree, hf_ranap_id_SelectedPLMN_ID); } -static int dissect_pLMNidentity(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PLMNidentity(tvb, offset, pinfo, tree, hf_ranap_pLMNidentity); +static int dissect_pLMNidentity(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PLMNidentity(tvb, offset, actx, tree, hf_ranap_pLMNidentity); } static int -dissect_ranap_LAC(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LAC(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 2, 2, NULL); return offset; } -static int dissect_lAC(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LAC(tvb, offset, pinfo, tree, hf_ranap_lAC); +static int dissect_lAC(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LAC(tvb, offset, actx, tree, hf_ranap_lAC); } static int -dissect_ranap_SAC(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SAC(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 2, 2, NULL); return offset; } -static int dissect_sAC(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SAC(tvb, offset, pinfo, tree, hf_ranap_sAC); +static int dissect_sAC(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SAC(tvb, offset, actx, tree, hf_ranap_sAC); } @@ -3114,17 +3114,17 @@ static const per_sequence_t SAI_sequence[] = { }; static int -dissect_ranap_SAI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SAI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SAI, SAI_sequence); return offset; } -static int dissect_id_SAI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SAI(tvb, offset, pinfo, tree, hf_ranap_id_SAI); +static int dissect_id_SAI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SAI(tvb, offset, actx, tree, hf_ranap_id_SAI); } -static int dissect_sAI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SAI(tvb, offset, pinfo, tree, hf_ranap_sAI); +static int dissect_sAI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SAI(tvb, offset, actx, tree, hf_ranap_sAI); } @@ -3136,40 +3136,40 @@ static const value_string ranap_T_latitudeSign_vals[] = { static int -dissect_ranap_T_latitudeSign(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_T_latitudeSign(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, FALSE, 0, NULL); return offset; } -static int dissect_latitudeSign(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_T_latitudeSign(tvb, offset, pinfo, tree, hf_ranap_latitudeSign); +static int dissect_latitudeSign(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_T_latitudeSign(tvb, offset, actx, tree, hf_ranap_latitudeSign); } static int -dissect_ranap_INTEGER_0_8388607(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 8388607U, NULL, NULL, FALSE); +dissect_ranap_INTEGER_0_8388607(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 8388607U, NULL, FALSE); return offset; } -static int dissect_latitude(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_8388607(tvb, offset, pinfo, tree, hf_ranap_latitude); +static int dissect_latitude(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_8388607(tvb, offset, actx, tree, hf_ranap_latitude); } static int -dissect_ranap_INTEGER_M8388608_8388607(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - -8388608, 8388607U, NULL, NULL, FALSE); +dissect_ranap_INTEGER_M8388608_8388607(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + -8388608, 8388607U, NULL, FALSE); return offset; } -static int dissect_longitude(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_M8388608_8388607(tvb, offset, pinfo, tree, hf_ranap_longitude); +static int dissect_longitude(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_M8388608_8388607(tvb, offset, actx, tree, hf_ranap_longitude); } @@ -3182,14 +3182,14 @@ static const per_sequence_t GeographicalCoordinates_sequence[] = { }; static int -dissect_ranap_GeographicalCoordinates(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GeographicalCoordinates(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GeographicalCoordinates, GeographicalCoordinates_sequence); return offset; } -static int dissect_geographicalCoordinates(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GeographicalCoordinates(tvb, offset, pinfo, tree, hf_ranap_geographicalCoordinates); +static int dissect_geographicalCoordinates(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GeographicalCoordinates(tvb, offset, actx, tree, hf_ranap_geographicalCoordinates); } @@ -3200,45 +3200,45 @@ static const per_sequence_t GA_Point_sequence[] = { }; static int -dissect_ranap_GA_Point(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GA_Point(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GA_Point, GA_Point_sequence); return offset; } -static int dissect_point(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GA_Point(tvb, offset, pinfo, tree, hf_ranap_point); +static int dissect_point(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GA_Point(tvb, offset, actx, tree, hf_ranap_point); } static int -dissect_ranap_INTEGER_0_127(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 127U, NULL, NULL, FALSE); +dissect_ranap_INTEGER_0_127(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 127U, NULL, FALSE); return offset; } -static int dissect_uncertaintyRadius(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_127(tvb, offset, pinfo, tree, hf_ranap_uncertaintyRadius); +static int dissect_uncertaintyRadius(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_127(tvb, offset, actx, tree, hf_ranap_uncertaintyRadius); } -static int dissect_confidence(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_127(tvb, offset, pinfo, tree, hf_ranap_confidence); +static int dissect_confidence(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_127(tvb, offset, actx, tree, hf_ranap_confidence); } -static int dissect_uncertaintyAltitude(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_127(tvb, offset, pinfo, tree, hf_ranap_uncertaintyAltitude); +static int dissect_uncertaintyAltitude(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_127(tvb, offset, actx, tree, hf_ranap_uncertaintyAltitude); } -static int dissect_uncertaintyCode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_127(tvb, offset, pinfo, tree, hf_ranap_uncertaintyCode); +static int dissect_uncertaintyCode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_127(tvb, offset, actx, tree, hf_ranap_uncertaintyCode); } -static int dissect_uncertaintySemi_major(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_127(tvb, offset, pinfo, tree, hf_ranap_uncertaintySemi_major); +static int dissect_uncertaintySemi_major(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_127(tvb, offset, actx, tree, hf_ranap_uncertaintySemi_major); } -static int dissect_uncertaintySemi_minor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_127(tvb, offset, pinfo, tree, hf_ranap_uncertaintySemi_minor); +static int dissect_uncertaintySemi_minor(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_127(tvb, offset, actx, tree, hf_ranap_uncertaintySemi_minor); } -static int dissect_accuracyCode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_127(tvb, offset, pinfo, tree, hf_ranap_accuracyCode); +static int dissect_accuracyCode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_127(tvb, offset, actx, tree, hf_ranap_accuracyCode); } @@ -3250,14 +3250,14 @@ static const per_sequence_t GA_PointWithUnCertainty_sequence[] = { }; static int -dissect_ranap_GA_PointWithUnCertainty(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GA_PointWithUnCertainty(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GA_PointWithUnCertainty, GA_PointWithUnCertainty_sequence); return offset; } -static int dissect_pointWithUnCertainty(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GA_PointWithUnCertainty(tvb, offset, pinfo, tree, hf_ranap_pointWithUnCertainty); +static int dissect_pointWithUnCertainty(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GA_PointWithUnCertainty(tvb, offset, actx, tree, hf_ranap_pointWithUnCertainty); } @@ -3268,14 +3268,14 @@ static const per_sequence_t GA_Polygon_item_sequence[] = { }; static int -dissect_ranap_GA_Polygon_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GA_Polygon_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GA_Polygon_item, GA_Polygon_item_sequence); return offset; } -static int dissect_GA_Polygon_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GA_Polygon_item(tvb, offset, pinfo, tree, hf_ranap_GA_Polygon_item); +static int dissect_GA_Polygon_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GA_Polygon_item(tvb, offset, actx, tree, hf_ranap_GA_Polygon_item); } @@ -3284,34 +3284,34 @@ static const per_sequence_t GA_Polygon_sequence_of[1] = { }; static int -dissect_ranap_GA_Polygon(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GA_Polygon(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_GA_Polygon, GA_Polygon_sequence_of, 1, 15); return offset; } -static int dissect_polygon(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GA_Polygon(tvb, offset, pinfo, tree, hf_ranap_polygon); +static int dissect_polygon(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GA_Polygon(tvb, offset, actx, tree, hf_ranap_polygon); } static int -dissect_ranap_INTEGER_0_179(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 179U, NULL, NULL, FALSE); +dissect_ranap_INTEGER_0_179(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 179U, NULL, FALSE); return offset; } -static int dissect_offsetAngle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_179(tvb, offset, pinfo, tree, hf_ranap_offsetAngle); +static int dissect_offsetAngle(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_179(tvb, offset, actx, tree, hf_ranap_offsetAngle); } -static int dissect_includedAngle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_179(tvb, offset, pinfo, tree, hf_ranap_includedAngle); +static int dissect_includedAngle(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_179(tvb, offset, actx, tree, hf_ranap_includedAngle); } -static int dissect_orientationOfMajorAxis(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_179(tvb, offset, pinfo, tree, hf_ranap_orientationOfMajorAxis); +static int dissect_orientationOfMajorAxis(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_179(tvb, offset, actx, tree, hf_ranap_orientationOfMajorAxis); } @@ -3323,14 +3323,14 @@ static const per_sequence_t GA_UncertaintyEllipse_sequence[] = { }; static int -dissect_ranap_GA_UncertaintyEllipse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GA_UncertaintyEllipse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GA_UncertaintyEllipse, GA_UncertaintyEllipse_sequence); return offset; } -static int dissect_uncertaintyEllipse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GA_UncertaintyEllipse(tvb, offset, pinfo, tree, hf_ranap_uncertaintyEllipse); +static int dissect_uncertaintyEllipse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GA_UncertaintyEllipse(tvb, offset, actx, tree, hf_ranap_uncertaintyEllipse); } @@ -3343,14 +3343,14 @@ static const per_sequence_t GA_PointWithUnCertaintyEllipse_sequence[] = { }; static int -dissect_ranap_GA_PointWithUnCertaintyEllipse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GA_PointWithUnCertaintyEllipse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GA_PointWithUnCertaintyEllipse, GA_PointWithUnCertaintyEllipse_sequence); return offset; } -static int dissect_pointWithUncertaintyEllipse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GA_PointWithUnCertaintyEllipse(tvb, offset, pinfo, tree, hf_ranap_pointWithUncertaintyEllipse); +static int dissect_pointWithUncertaintyEllipse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GA_PointWithUnCertaintyEllipse(tvb, offset, actx, tree, hf_ranap_pointWithUncertaintyEllipse); } @@ -3362,30 +3362,30 @@ static const value_string ranap_T_directionOfAltitude_vals[] = { static int -dissect_ranap_T_directionOfAltitude(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_T_directionOfAltitude(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, FALSE, 0, NULL); return offset; } -static int dissect_directionOfAltitude(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_T_directionOfAltitude(tvb, offset, pinfo, tree, hf_ranap_directionOfAltitude); +static int dissect_directionOfAltitude(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_T_directionOfAltitude(tvb, offset, actx, tree, hf_ranap_directionOfAltitude); } static int -dissect_ranap_INTEGER_0_32767(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 32767U, NULL, NULL, FALSE); +dissect_ranap_INTEGER_0_32767(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 32767U, NULL, FALSE); return offset; } -static int dissect_altitude(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_32767(tvb, offset, pinfo, tree, hf_ranap_altitude); +static int dissect_altitude(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_32767(tvb, offset, actx, tree, hf_ranap_altitude); } -static int dissect_ageOfSAI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_0_32767(tvb, offset, pinfo, tree, hf_ranap_ageOfSAI); +static int dissect_ageOfSAI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_0_32767(tvb, offset, actx, tree, hf_ranap_ageOfSAI); } @@ -3396,14 +3396,14 @@ static const per_sequence_t GA_AltitudeAndDirection_sequence[] = { }; static int -dissect_ranap_GA_AltitudeAndDirection(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GA_AltitudeAndDirection(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GA_AltitudeAndDirection, GA_AltitudeAndDirection_sequence); return offset; } -static int dissect_altitudeAndDirection(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GA_AltitudeAndDirection(tvb, offset, pinfo, tree, hf_ranap_altitudeAndDirection); +static int dissect_altitudeAndDirection(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GA_AltitudeAndDirection(tvb, offset, actx, tree, hf_ranap_altitudeAndDirection); } @@ -3415,14 +3415,14 @@ static const per_sequence_t GA_PointWithAltitude_sequence[] = { }; static int -dissect_ranap_GA_PointWithAltitude(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GA_PointWithAltitude(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GA_PointWithAltitude, GA_PointWithAltitude_sequence); return offset; } -static int dissect_pointWithAltitude(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GA_PointWithAltitude(tvb, offset, pinfo, tree, hf_ranap_pointWithAltitude); +static int dissect_pointWithAltitude(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GA_PointWithAltitude(tvb, offset, actx, tree, hf_ranap_pointWithAltitude); } @@ -3437,14 +3437,14 @@ static const per_sequence_t GA_PointWithAltitudeAndUncertaintyEllipsoid_sequence }; static int -dissect_ranap_GA_PointWithAltitudeAndUncertaintyEllipsoid(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GA_PointWithAltitudeAndUncertaintyEllipsoid(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GA_PointWithAltitudeAndUncertaintyEllipsoid, GA_PointWithAltitudeAndUncertaintyEllipsoid_sequence); return offset; } -static int dissect_pointWithAltitudeAndUncertaintyEllipsoid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GA_PointWithAltitudeAndUncertaintyEllipsoid(tvb, offset, pinfo, tree, hf_ranap_pointWithAltitudeAndUncertaintyEllipsoid); +static int dissect_pointWithAltitudeAndUncertaintyEllipsoid(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GA_PointWithAltitudeAndUncertaintyEllipsoid(tvb, offset, actx, tree, hf_ranap_pointWithAltitudeAndUncertaintyEllipsoid); } @@ -3460,14 +3460,14 @@ static const per_sequence_t GA_EllipsoidArc_sequence[] = { }; static int -dissect_ranap_GA_EllipsoidArc(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GA_EllipsoidArc(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GA_EllipsoidArc, GA_EllipsoidArc_sequence); return offset; } -static int dissect_ellipsoidArc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GA_EllipsoidArc(tvb, offset, pinfo, tree, hf_ranap_ellipsoidArc); +static int dissect_ellipsoidArc(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GA_EllipsoidArc(tvb, offset, actx, tree, hf_ranap_ellipsoidArc); } @@ -3494,15 +3494,15 @@ static const per_choice_t GeographicalArea_choice[] = { }; static int -dissect_ranap_GeographicalArea(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GeographicalArea(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_GeographicalArea, GeographicalArea_choice, NULL); return offset; } -static int dissect_geographicalArea(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GeographicalArea(tvb, offset, pinfo, tree, hf_ranap_geographicalArea); +static int dissect_geographicalArea(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GeographicalArea(tvb, offset, actx, tree, hf_ranap_geographicalArea); } @@ -3519,15 +3519,15 @@ static const per_choice_t AreaIdentity_choice[] = { }; static int -dissect_ranap_AreaIdentity(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_AreaIdentity(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_AreaIdentity, AreaIdentity_choice, NULL); return offset; } -static int dissect_id_AreaIdentity(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_AreaIdentity(tvb, offset, pinfo, tree, hf_ranap_id_AreaIdentity); +static int dissect_id_AreaIdentity(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_AreaIdentity(tvb, offset, actx, tree, hf_ranap_id_AreaIdentity); } @@ -3540,36 +3540,36 @@ static const value_string ranap_Alt_RAB_Parameter_MaxBitrateType_vals[] = { static int -dissect_ranap_Alt_RAB_Parameter_MaxBitrateType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 3, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_Alt_RAB_Parameter_MaxBitrateType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 3, NULL, TRUE, 0, NULL); return offset; } -static int dissect_altMaxBitrateType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Alt_RAB_Parameter_MaxBitrateType(tvb, offset, pinfo, tree, hf_ranap_altMaxBitrateType); +static int dissect_altMaxBitrateType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Alt_RAB_Parameter_MaxBitrateType(tvb, offset, actx, tree, hf_ranap_altMaxBitrateType); } static int -dissect_ranap_MaxBitrate(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 1U, 16000000U, NULL, NULL, FALSE); +dissect_ranap_MaxBitrate(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 1U, 16000000U, NULL, FALSE); return offset; } -static int dissect_Alt_RAB_Parameter_MaxBitrateList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MaxBitrate(tvb, offset, pinfo, tree, hf_ranap_Alt_RAB_Parameter_MaxBitrateList_item); +static int dissect_Alt_RAB_Parameter_MaxBitrateList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MaxBitrate(tvb, offset, actx, tree, hf_ranap_Alt_RAB_Parameter_MaxBitrateList_item); } -static int dissect_Ass_RAB_Parameter_MaxBitrateList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MaxBitrate(tvb, offset, pinfo, tree, hf_ranap_Ass_RAB_Parameter_MaxBitrateList_item); +static int dissect_Ass_RAB_Parameter_MaxBitrateList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MaxBitrate(tvb, offset, actx, tree, hf_ranap_Ass_RAB_Parameter_MaxBitrateList_item); } -static int dissect_RAB_Parameter_MaxBitrateList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MaxBitrate(tvb, offset, pinfo, tree, hf_ranap_RAB_Parameter_MaxBitrateList_item); +static int dissect_RAB_Parameter_MaxBitrateList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MaxBitrate(tvb, offset, actx, tree, hf_ranap_RAB_Parameter_MaxBitrateList_item); } -static int dissect_Requested_RAB_Parameter_MaxBitrateList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MaxBitrate(tvb, offset, pinfo, tree, hf_ranap_Requested_RAB_Parameter_MaxBitrateList_item); +static int dissect_Requested_RAB_Parameter_MaxBitrateList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MaxBitrate(tvb, offset, actx, tree, hf_ranap_Requested_RAB_Parameter_MaxBitrateList_item); } @@ -3578,15 +3578,15 @@ static const per_sequence_t Alt_RAB_Parameter_MaxBitrateList_sequence_of[1] = { }; static int -dissect_ranap_Alt_RAB_Parameter_MaxBitrateList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Alt_RAB_Parameter_MaxBitrateList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_Alt_RAB_Parameter_MaxBitrateList, Alt_RAB_Parameter_MaxBitrateList_sequence_of, 1, 2); return offset; } -static int dissect_Alt_RAB_Parameter_MaxBitrates_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Alt_RAB_Parameter_MaxBitrateList(tvb, offset, pinfo, tree, hf_ranap_Alt_RAB_Parameter_MaxBitrates_item); +static int dissect_Alt_RAB_Parameter_MaxBitrates_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Alt_RAB_Parameter_MaxBitrateList(tvb, offset, actx, tree, hf_ranap_Alt_RAB_Parameter_MaxBitrates_item); } @@ -3595,15 +3595,15 @@ static const per_sequence_t Alt_RAB_Parameter_MaxBitrates_sequence_of[1] = { }; static int -dissect_ranap_Alt_RAB_Parameter_MaxBitrates(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Alt_RAB_Parameter_MaxBitrates(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_Alt_RAB_Parameter_MaxBitrates, Alt_RAB_Parameter_MaxBitrates_sequence_of, 1, 16); return offset; } -static int dissect_altMaxBitrates(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Alt_RAB_Parameter_MaxBitrates(tvb, offset, pinfo, tree, hf_ranap_altMaxBitrates); +static int dissect_altMaxBitrates(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Alt_RAB_Parameter_MaxBitrates(tvb, offset, actx, tree, hf_ranap_altMaxBitrates); } @@ -3614,14 +3614,14 @@ static const per_sequence_t Alt_RAB_Parameter_MaxBitrateInf_sequence[] = { }; static int -dissect_ranap_Alt_RAB_Parameter_MaxBitrateInf(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Alt_RAB_Parameter_MaxBitrateInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Alt_RAB_Parameter_MaxBitrateInf, Alt_RAB_Parameter_MaxBitrateInf_sequence); return offset; } -static int dissect_altMaxBitrateInf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Alt_RAB_Parameter_MaxBitrateInf(tvb, offset, pinfo, tree, hf_ranap_altMaxBitrateInf); +static int dissect_altMaxBitrateInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Alt_RAB_Parameter_MaxBitrateInf(tvb, offset, actx, tree, hf_ranap_altMaxBitrateInf); } @@ -3634,36 +3634,36 @@ static const value_string ranap_Alt_RAB_Parameter_GuaranteedBitrateType_vals[] = static int -dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 3, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 3, NULL, TRUE, 0, NULL); return offset; } -static int dissect_altGuaranteedBitrateType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateType(tvb, offset, pinfo, tree, hf_ranap_altGuaranteedBitrateType); +static int dissect_altGuaranteedBitrateType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateType(tvb, offset, actx, tree, hf_ranap_altGuaranteedBitrateType); } static int -dissect_ranap_GuaranteedBitrate(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 16000000U, NULL, NULL, FALSE); +dissect_ranap_GuaranteedBitrate(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 16000000U, NULL, FALSE); return offset; } -static int dissect_Alt_RAB_Parameter_GuaranteedBitrateList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GuaranteedBitrate(tvb, offset, pinfo, tree, hf_ranap_Alt_RAB_Parameter_GuaranteedBitrateList_item); +static int dissect_Alt_RAB_Parameter_GuaranteedBitrateList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GuaranteedBitrate(tvb, offset, actx, tree, hf_ranap_Alt_RAB_Parameter_GuaranteedBitrateList_item); } -static int dissect_Ass_RAB_Parameter_GuaranteedBitrateList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GuaranteedBitrate(tvb, offset, pinfo, tree, hf_ranap_Ass_RAB_Parameter_GuaranteedBitrateList_item); +static int dissect_Ass_RAB_Parameter_GuaranteedBitrateList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GuaranteedBitrate(tvb, offset, actx, tree, hf_ranap_Ass_RAB_Parameter_GuaranteedBitrateList_item); } -static int dissect_RAB_Parameter_GuaranteedBitrateList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GuaranteedBitrate(tvb, offset, pinfo, tree, hf_ranap_RAB_Parameter_GuaranteedBitrateList_item); +static int dissect_RAB_Parameter_GuaranteedBitrateList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GuaranteedBitrate(tvb, offset, actx, tree, hf_ranap_RAB_Parameter_GuaranteedBitrateList_item); } -static int dissect_Requested_RAB_Parameter_GuaranteedBitrateList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GuaranteedBitrate(tvb, offset, pinfo, tree, hf_ranap_Requested_RAB_Parameter_GuaranteedBitrateList_item); +static int dissect_Requested_RAB_Parameter_GuaranteedBitrateList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GuaranteedBitrate(tvb, offset, actx, tree, hf_ranap_Requested_RAB_Parameter_GuaranteedBitrateList_item); } @@ -3672,15 +3672,15 @@ static const per_sequence_t Alt_RAB_Parameter_GuaranteedBitrateList_sequence_of[ }; static int -dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_Alt_RAB_Parameter_GuaranteedBitrateList, Alt_RAB_Parameter_GuaranteedBitrateList_sequence_of, 1, 2); return offset; } -static int dissect_Alt_RAB_Parameter_GuaranteedBitrates_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateList(tvb, offset, pinfo, tree, hf_ranap_Alt_RAB_Parameter_GuaranteedBitrates_item); +static int dissect_Alt_RAB_Parameter_GuaranteedBitrates_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateList(tvb, offset, actx, tree, hf_ranap_Alt_RAB_Parameter_GuaranteedBitrates_item); } @@ -3689,15 +3689,15 @@ static const per_sequence_t Alt_RAB_Parameter_GuaranteedBitrates_sequence_of[1] }; static int -dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrates(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrates(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_Alt_RAB_Parameter_GuaranteedBitrates, Alt_RAB_Parameter_GuaranteedBitrates_sequence_of, 1, 16); return offset; } -static int dissect_altGuaranteedBitrates(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrates(tvb, offset, pinfo, tree, hf_ranap_altGuaranteedBitrates); +static int dissect_altGuaranteedBitrates(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrates(tvb, offset, actx, tree, hf_ranap_altGuaranteedBitrates); } @@ -3708,14 +3708,14 @@ static const per_sequence_t Alt_RAB_Parameter_GuaranteedBitrateInf_sequence[] = }; static int -dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateInf(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Alt_RAB_Parameter_GuaranteedBitrateInf, Alt_RAB_Parameter_GuaranteedBitrateInf_sequence); return offset; } -static int dissect_altGuaranteedBitRateInf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateInf(tvb, offset, pinfo, tree, hf_ranap_altGuaranteedBitRateInf); +static int dissect_altGuaranteedBitRateInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Alt_RAB_Parameter_GuaranteedBitrateInf(tvb, offset, actx, tree, hf_ranap_altGuaranteedBitRateInf); } @@ -3727,14 +3727,14 @@ static const per_sequence_t Alt_RAB_Parameters_sequence[] = { }; static int -dissect_ranap_Alt_RAB_Parameters(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Alt_RAB_Parameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Alt_RAB_Parameters, Alt_RAB_Parameters_sequence); return offset; } -static int dissect_id_Alt_RAB_Parameters(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Alt_RAB_Parameters(tvb, offset, pinfo, tree, hf_ranap_id_Alt_RAB_Parameters); +static int dissect_id_Alt_RAB_Parameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Alt_RAB_Parameters(tvb, offset, actx, tree, hf_ranap_id_Alt_RAB_Parameters); } @@ -3743,15 +3743,15 @@ static const per_sequence_t Ass_RAB_Parameter_MaxBitrateList_sequence_of[1] = { }; static int -dissect_ranap_Ass_RAB_Parameter_MaxBitrateList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Ass_RAB_Parameter_MaxBitrateList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_Ass_RAB_Parameter_MaxBitrateList, Ass_RAB_Parameter_MaxBitrateList_sequence_of, 1, 2); return offset; } -static int dissect_assMaxBitrateInf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Ass_RAB_Parameter_MaxBitrateList(tvb, offset, pinfo, tree, hf_ranap_assMaxBitrateInf); +static int dissect_assMaxBitrateInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Ass_RAB_Parameter_MaxBitrateList(tvb, offset, actx, tree, hf_ranap_assMaxBitrateInf); } @@ -3760,15 +3760,15 @@ static const per_sequence_t Ass_RAB_Parameter_GuaranteedBitrateList_sequence_of[ }; static int -dissect_ranap_Ass_RAB_Parameter_GuaranteedBitrateList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Ass_RAB_Parameter_GuaranteedBitrateList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_Ass_RAB_Parameter_GuaranteedBitrateList, Ass_RAB_Parameter_GuaranteedBitrateList_sequence_of, 1, 2); return offset; } -static int dissect_assGuaranteedBitRateInf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Ass_RAB_Parameter_GuaranteedBitrateList(tvb, offset, pinfo, tree, hf_ranap_assGuaranteedBitRateInf); +static int dissect_assGuaranteedBitRateInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Ass_RAB_Parameter_GuaranteedBitrateList(tvb, offset, actx, tree, hf_ranap_assGuaranteedBitRateInf); } @@ -3780,43 +3780,43 @@ static const per_sequence_t Ass_RAB_Parameters_sequence[] = { }; static int -dissect_ranap_Ass_RAB_Parameters(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Ass_RAB_Parameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Ass_RAB_Parameters, Ass_RAB_Parameters_sequence); return offset; } -static int dissect_id_Ass_RAB_Parameters(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Ass_RAB_Parameters(tvb, offset, pinfo, tree, hf_ranap_id_Ass_RAB_Parameters); +static int dissect_id_Ass_RAB_Parameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Ass_RAB_Parameters(tvb, offset, actx, tree, hf_ranap_id_Ass_RAB_Parameters); } static int -dissect_ranap_BIT_STRING_SIZE_1(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_BIT_STRING_SIZE_1(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 1, FALSE); return offset; } -static int dissect_cipheringKeyFlag(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_BIT_STRING_SIZE_1(tvb, offset, pinfo, tree, hf_ranap_cipheringKeyFlag); +static int dissect_cipheringKeyFlag(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_BIT_STRING_SIZE_1(tvb, offset, actx, tree, hf_ranap_cipheringKeyFlag); } static int -dissect_ranap_BIT_STRING_SIZE_56(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_BIT_STRING_SIZE_56(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 56, 56, FALSE); return offset; } -static int dissect_currentDecipheringKey(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_BIT_STRING_SIZE_56(tvb, offset, pinfo, tree, hf_ranap_currentDecipheringKey); +static int dissect_currentDecipheringKey(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_BIT_STRING_SIZE_56(tvb, offset, actx, tree, hf_ranap_currentDecipheringKey); } -static int dissect_nextDecipheringKey(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_BIT_STRING_SIZE_56(tvb, offset, pinfo, tree, hf_ranap_nextDecipheringKey); +static int dissect_nextDecipheringKey(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_BIT_STRING_SIZE_56(tvb, offset, actx, tree, hf_ranap_nextDecipheringKey); } @@ -3828,14 +3828,14 @@ static const per_sequence_t BroadcastAssistanceDataDecipheringKeys_sequence[] = }; static int -dissect_ranap_BroadcastAssistanceDataDecipheringKeys(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_BroadcastAssistanceDataDecipheringKeys(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_BroadcastAssistanceDataDecipheringKeys, BroadcastAssistanceDataDecipheringKeys_sequence); return offset; } -static int dissect_id_BroadcastAssistanceDataDecipheringKeys(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_BroadcastAssistanceDataDecipheringKeys(tvb, offset, pinfo, tree, hf_ranap_id_BroadcastAssistanceDataDecipheringKeys); +static int dissect_id_BroadcastAssistanceDataDecipheringKeys(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_BroadcastAssistanceDataDecipheringKeys(tvb, offset, actx, tree, hf_ranap_id_BroadcastAssistanceDataDecipheringKeys); } @@ -3849,27 +3849,27 @@ static const value_string ranap_RequestedLocationRelatedDataType_vals[] = { static int -dissect_ranap_RequestedLocationRelatedDataType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 4, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_RequestedLocationRelatedDataType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 4, NULL, TRUE, 0, NULL); return offset; } -static int dissect_requestedLocationRelatedDataType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RequestedLocationRelatedDataType(tvb, offset, pinfo, tree, hf_ranap_requestedLocationRelatedDataType); +static int dissect_requestedLocationRelatedDataType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RequestedLocationRelatedDataType(tvb, offset, actx, tree, hf_ranap_requestedLocationRelatedDataType); } static int -dissect_ranap_RequestedGPSAssistanceData(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RequestedGPSAssistanceData(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 1, 38, NULL); return offset; } -static int dissect_requestedGPSAssistanceData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RequestedGPSAssistanceData(tvb, offset, pinfo, tree, hf_ranap_requestedGPSAssistanceData); +static int dissect_requestedGPSAssistanceData(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RequestedGPSAssistanceData(tvb, offset, actx, tree, hf_ranap_requestedGPSAssistanceData); } @@ -3880,14 +3880,14 @@ static const per_sequence_t LocationRelatedDataRequestType_sequence[] = { }; static int -dissect_ranap_LocationRelatedDataRequestType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LocationRelatedDataRequestType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_LocationRelatedDataRequestType, LocationRelatedDataRequestType_sequence); return offset; } -static int dissect_id_LocationRelatedDataRequestType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LocationRelatedDataRequestType(tvb, offset, pinfo, tree, hf_ranap_id_LocationRelatedDataRequestType); +static int dissect_id_LocationRelatedDataRequestType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LocationRelatedDataRequestType(tvb, offset, actx, tree, hf_ranap_id_LocationRelatedDataRequestType); } @@ -3899,17 +3899,17 @@ static const value_string ranap_CN_DomainIndicator_vals[] = { static int -dissect_ranap_CN_DomainIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_CN_DomainIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, FALSE, 0, NULL); return offset; } -static int dissect_id_CN_DomainIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CN_DomainIndicator(tvb, offset, pinfo, tree, hf_ranap_id_CN_DomainIndicator); +static int dissect_id_CN_DomainIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CN_DomainIndicator(tvb, offset, actx, tree, hf_ranap_id_CN_DomainIndicator); } -static int dissect_cN_DomainIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CN_DomainIndicator(tvb, offset, pinfo, tree, hf_ranap_cN_DomainIndicator); +static int dissect_cN_DomainIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CN_DomainIndicator(tvb, offset, actx, tree, hf_ranap_cN_DomainIndicator); } @@ -3983,14 +3983,14 @@ static const value_string ranap_CauseRadioNetwork_vals[] = { static int -dissect_ranap_CauseRadioNetwork(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 1U, 64U, NULL, NULL, FALSE); +dissect_ranap_CauseRadioNetwork(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 1U, 64U, NULL, FALSE); return offset; } -static int dissect_radioNetwork(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CauseRadioNetwork(tvb, offset, pinfo, tree, hf_ranap_radioNetwork); +static int dissect_radioNetwork(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CauseRadioNetwork(tvb, offset, actx, tree, hf_ranap_radioNetwork); } @@ -4002,14 +4002,14 @@ static const value_string ranap_CauseTransmissionNetwork_vals[] = { static int -dissect_ranap_CauseTransmissionNetwork(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 65U, 80U, NULL, NULL, FALSE); +dissect_ranap_CauseTransmissionNetwork(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 65U, 80U, NULL, FALSE); return offset; } -static int dissect_transmissionNetwork(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CauseTransmissionNetwork(tvb, offset, pinfo, tree, hf_ranap_transmissionNetwork); +static int dissect_transmissionNetwork(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CauseTransmissionNetwork(tvb, offset, actx, tree, hf_ranap_transmissionNetwork); } @@ -4022,14 +4022,14 @@ static const value_string ranap_CauseNAS_vals[] = { static int -dissect_ranap_CauseNAS(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 81U, 96U, NULL, NULL, FALSE); +dissect_ranap_CauseNAS(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 81U, 96U, NULL, FALSE); return offset; } -static int dissect_nAS(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CauseNAS(tvb, offset, pinfo, tree, hf_ranap_nAS); +static int dissect_nAS(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CauseNAS(tvb, offset, actx, tree, hf_ranap_nAS); } @@ -4045,14 +4045,14 @@ static const value_string ranap_CauseProtocol_vals[] = { static int -dissect_ranap_CauseProtocol(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 97U, 112U, NULL, NULL, FALSE); +dissect_ranap_CauseProtocol(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 97U, 112U, NULL, FALSE); return offset; } -static int dissect_protocol(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CauseProtocol(tvb, offset, pinfo, tree, hf_ranap_protocol); +static int dissect_protocol(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CauseProtocol(tvb, offset, actx, tree, hf_ranap_protocol); } @@ -4066,27 +4066,27 @@ static const value_string ranap_CauseMisc_vals[] = { static int -dissect_ranap_CauseMisc(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 113U, 128U, NULL, NULL, FALSE); +dissect_ranap_CauseMisc(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 113U, 128U, NULL, FALSE); return offset; } -static int dissect_misc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CauseMisc(tvb, offset, pinfo, tree, hf_ranap_misc); +static int dissect_misc(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CauseMisc(tvb, offset, actx, tree, hf_ranap_misc); } static int -dissect_ranap_CauseNon_Standard(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 129U, 256U, NULL, NULL, FALSE); +dissect_ranap_CauseNon_Standard(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 129U, 256U, NULL, FALSE); return offset; } -static int dissect_non_Standard(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CauseNon_Standard(tvb, offset, pinfo, tree, hf_ranap_non_Standard); +static int dissect_non_Standard(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CauseNon_Standard(tvb, offset, actx, tree, hf_ranap_non_Standard); } @@ -4101,14 +4101,14 @@ static const value_string ranap_CauseRadioNetworkExtension_vals[] = { static int -dissect_ranap_CauseRadioNetworkExtension(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 257U, 512U, NULL, NULL, FALSE); +dissect_ranap_CauseRadioNetworkExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 257U, 512U, NULL, FALSE); return offset; } -static int dissect_radioNetworkExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CauseRadioNetworkExtension(tvb, offset, pinfo, tree, hf_ranap_radioNetworkExtension); +static int dissect_radioNetworkExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CauseRadioNetworkExtension(tvb, offset, actx, tree, hf_ranap_radioNetworkExtension); } @@ -4135,18 +4135,18 @@ static const per_choice_t Cause_choice[] = { }; static int -dissect_ranap_Cause(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Cause(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_Cause, Cause_choice, NULL); return offset; } -static int dissect_id_Cause(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Cause(tvb, offset, pinfo, tree, hf_ranap_id_Cause); +static int dissect_id_Cause(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Cause(tvb, offset, actx, tree, hf_ranap_id_Cause); } -static int dissect_cause(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Cause(tvb, offset, pinfo, tree, hf_ranap_cause); +static int dissect_cause(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Cause(tvb, offset, actx, tree, hf_ranap_cause); } @@ -4158,35 +4158,35 @@ static const value_string ranap_EncryptionAlgorithm_vals[] = { static int -dissect_ranap_EncryptionAlgorithm(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 15U, NULL, NULL, FALSE); +dissect_ranap_EncryptionAlgorithm(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 15U, NULL, FALSE); return offset; } -static int dissect_PermittedEncryptionAlgorithms_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_EncryptionAlgorithm(tvb, offset, pinfo, tree, hf_ranap_PermittedEncryptionAlgorithms_item); +static int dissect_PermittedEncryptionAlgorithms_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_EncryptionAlgorithm(tvb, offset, actx, tree, hf_ranap_PermittedEncryptionAlgorithms_item); } static int -dissect_ranap_ChosenEncryptionAlgorithm(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_EncryptionAlgorithm(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_ChosenEncryptionAlgorithm(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_EncryptionAlgorithm(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_ChosenEncryptionAlgorithm(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ChosenEncryptionAlgorithm(tvb, offset, pinfo, tree, hf_ranap_id_ChosenEncryptionAlgorithm); +static int dissect_id_ChosenEncryptionAlgorithm(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ChosenEncryptionAlgorithm(tvb, offset, actx, tree, hf_ranap_id_ChosenEncryptionAlgorithm); } -static int dissect_chosenEncryptionAlgorithForSignalling(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ChosenEncryptionAlgorithm(tvb, offset, pinfo, tree, hf_ranap_chosenEncryptionAlgorithForSignalling); +static int dissect_chosenEncryptionAlgorithForSignalling(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ChosenEncryptionAlgorithm(tvb, offset, actx, tree, hf_ranap_chosenEncryptionAlgorithForSignalling); } -static int dissect_chosenEncryptionAlgorithForCS(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ChosenEncryptionAlgorithm(tvb, offset, pinfo, tree, hf_ranap_chosenEncryptionAlgorithForCS); +static int dissect_chosenEncryptionAlgorithForCS(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ChosenEncryptionAlgorithm(tvb, offset, actx, tree, hf_ranap_chosenEncryptionAlgorithForCS); } -static int dissect_chosenEncryptionAlgorithForPS(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ChosenEncryptionAlgorithm(tvb, offset, pinfo, tree, hf_ranap_chosenEncryptionAlgorithForPS); +static int dissect_chosenEncryptionAlgorithForPS(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ChosenEncryptionAlgorithm(tvb, offset, actx, tree, hf_ranap_chosenEncryptionAlgorithForPS); } @@ -4198,55 +4198,55 @@ static const value_string ranap_IntegrityProtectionAlgorithm_vals[] = { static int -dissect_ranap_IntegrityProtectionAlgorithm(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 15U, NULL, NULL, FALSE); +dissect_ranap_IntegrityProtectionAlgorithm(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 15U, NULL, FALSE); return offset; } -static int dissect_PermittedIntegrityProtectionAlgorithms_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IntegrityProtectionAlgorithm(tvb, offset, pinfo, tree, hf_ranap_PermittedIntegrityProtectionAlgorithms_item); +static int dissect_PermittedIntegrityProtectionAlgorithms_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IntegrityProtectionAlgorithm(tvb, offset, actx, tree, hf_ranap_PermittedIntegrityProtectionAlgorithms_item); } static int -dissect_ranap_ChosenIntegrityProtectionAlgorithm(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_IntegrityProtectionAlgorithm(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_ChosenIntegrityProtectionAlgorithm(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_IntegrityProtectionAlgorithm(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_ChosenIntegrityProtectionAlgorithm(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ChosenIntegrityProtectionAlgorithm(tvb, offset, pinfo, tree, hf_ranap_id_ChosenIntegrityProtectionAlgorithm); +static int dissect_id_ChosenIntegrityProtectionAlgorithm(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ChosenIntegrityProtectionAlgorithm(tvb, offset, actx, tree, hf_ranap_id_ChosenIntegrityProtectionAlgorithm); } -static int dissect_chosenIntegrityProtectionAlgorithm(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ChosenIntegrityProtectionAlgorithm(tvb, offset, pinfo, tree, hf_ranap_chosenIntegrityProtectionAlgorithm); +static int dissect_chosenIntegrityProtectionAlgorithm(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ChosenIntegrityProtectionAlgorithm(tvb, offset, actx, tree, hf_ranap_chosenIntegrityProtectionAlgorithm); } static int -dissect_ranap_ClassmarkInformation2(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ClassmarkInformation2(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, NULL); return offset; } -static int dissect_id_ClassmarkInformation2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ClassmarkInformation2(tvb, offset, pinfo, tree, hf_ranap_id_ClassmarkInformation2); +static int dissect_id_ClassmarkInformation2(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ClassmarkInformation2(tvb, offset, actx, tree, hf_ranap_id_ClassmarkInformation2); } static int -dissect_ranap_ClassmarkInformation3(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ClassmarkInformation3(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, NULL); return offset; } -static int dissect_id_ClassmarkInformation3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ClassmarkInformation3(tvb, offset, pinfo, tree, hf_ranap_id_ClassmarkInformation3); +static int dissect_id_ClassmarkInformation3(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ClassmarkInformation3(tvb, offset, actx, tree, hf_ranap_id_ClassmarkInformation3); } @@ -4264,27 +4264,27 @@ static const value_string ranap_ClientType_vals[] = { static int -dissect_ranap_ClientType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 8, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_ClientType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 8, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_ClientType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ClientType(tvb, offset, pinfo, tree, hf_ranap_id_ClientType); +static int dissect_id_ClientType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ClientType(tvb, offset, actx, tree, hf_ranap_id_ClientType); } static int -dissect_ranap_OCTET_STRING_SIZE_3(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_OCTET_STRING_SIZE_3(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 3, NULL); return offset; } -static int dissect_serviceID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_OCTET_STRING_SIZE_3(tvb, offset, pinfo, tree, hf_ranap_serviceID); +static int dissect_serviceID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_OCTET_STRING_SIZE_3(tvb, offset, actx, tree, hf_ranap_serviceID); } @@ -4296,36 +4296,36 @@ static const per_sequence_t TMGI_sequence[] = { }; static int -dissect_ranap_TMGI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TMGI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_TMGI, TMGI_sequence); return offset; } -static int dissect_id_TMGI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TMGI(tvb, offset, pinfo, tree, hf_ranap_id_TMGI); +static int dissect_id_TMGI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TMGI(tvb, offset, actx, tree, hf_ranap_id_TMGI); } -static int dissect_tMGI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TMGI(tvb, offset, pinfo, tree, hf_ranap_tMGI); +static int dissect_tMGI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TMGI(tvb, offset, actx, tree, hf_ranap_tMGI); } -static int dissect_MBMSIPMulticastAddressandAPNRequest_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TMGI(tvb, offset, pinfo, tree, hf_ranap_MBMSIPMulticastAddressandAPNRequest_item); +static int dissect_MBMSIPMulticastAddressandAPNRequest_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TMGI(tvb, offset, actx, tree, hf_ranap_MBMSIPMulticastAddressandAPNRequest_item); } -static int dissect_RequestedMulticastServiceList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TMGI(tvb, offset, pinfo, tree, hf_ranap_RequestedMulticastServiceList_item); +static int dissect_RequestedMulticastServiceList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TMGI(tvb, offset, actx, tree, hf_ranap_RequestedMulticastServiceList_item); } static int -dissect_ranap_MBMS_PTP_RAB_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMS_PTP_RAB_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE); return offset; } -static int dissect_mBMS_PTP_RAB_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMS_PTP_RAB_ID(tvb, offset, pinfo, tree, hf_ranap_mBMS_PTP_RAB_ID); +static int dissect_mBMS_PTP_RAB_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMS_PTP_RAB_ID(tvb, offset, actx, tree, hf_ranap_mBMS_PTP_RAB_ID); } @@ -4337,14 +4337,14 @@ static const per_sequence_t JoinedMBMSBearerService_IEs_item_sequence[] = { }; static int -dissect_ranap_JoinedMBMSBearerService_IEs_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_JoinedMBMSBearerService_IEs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_JoinedMBMSBearerService_IEs_item, JoinedMBMSBearerService_IEs_item_sequence); return offset; } -static int dissect_JoinedMBMSBearerService_IEs_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_JoinedMBMSBearerService_IEs_item(tvb, offset, pinfo, tree, hf_ranap_JoinedMBMSBearerService_IEs_item); +static int dissect_JoinedMBMSBearerService_IEs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_JoinedMBMSBearerService_IEs_item(tvb, offset, actx, tree, hf_ranap_JoinedMBMSBearerService_IEs_item); } @@ -4353,18 +4353,18 @@ static const per_sequence_t JoinedMBMSBearerService_IEs_sequence_of[1] = { }; static int -dissect_ranap_JoinedMBMSBearerService_IEs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_JoinedMBMSBearerService_IEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_JoinedMBMSBearerService_IEs, JoinedMBMSBearerService_IEs_sequence_of, 1, 128); return offset; } -static int dissect_id_JoinedMBMSBearerServicesList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_JoinedMBMSBearerService_IEs(tvb, offset, pinfo, tree, hf_ranap_id_JoinedMBMSBearerServicesList); +static int dissect_id_JoinedMBMSBearerServicesList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_JoinedMBMSBearerService_IEs(tvb, offset, actx, tree, hf_ranap_id_JoinedMBMSBearerServicesList); } -static int dissect_joinedMBMSBearerService_IEs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_JoinedMBMSBearerService_IEs(tvb, offset, pinfo, tree, hf_ranap_joinedMBMSBearerService_IEs); +static int dissect_joinedMBMSBearerService_IEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_JoinedMBMSBearerService_IEs(tvb, offset, actx, tree, hf_ranap_joinedMBMSBearerService_IEs); } @@ -4375,14 +4375,14 @@ static const per_sequence_t CNMBMSLinkingInformation_sequence[] = { }; static int -dissect_ranap_CNMBMSLinkingInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_CNMBMSLinkingInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_CNMBMSLinkingInformation, CNMBMSLinkingInformation_sequence); return offset; } -static int dissect_id_CNMBMSLinkingInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CNMBMSLinkingInformation(tvb, offset, pinfo, tree, hf_ranap_id_CNMBMSLinkingInformation); +static int dissect_id_CNMBMSLinkingInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CNMBMSLinkingInformation(tvb, offset, actx, tree, hf_ranap_id_CNMBMSLinkingInformation); } @@ -4396,27 +4396,27 @@ static const value_string ranap_TriggeringMessage_vals[] = { static int -dissect_ranap_TriggeringMessage(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 4, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_TriggeringMessage(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 4, NULL, FALSE, 0, NULL); return offset; } -static int dissect_triggeringMessage(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TriggeringMessage(tvb, offset, pinfo, tree, hf_ranap_triggeringMessage); +static int dissect_triggeringMessage(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TriggeringMessage(tvb, offset, actx, tree, hf_ranap_triggeringMessage); } static int -dissect_ranap_RepetitionNumber0(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 255U, NULL, NULL, FALSE); +dissect_ranap_RepetitionNumber0(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 255U, NULL, FALSE); return offset; } -static int dissect_repetitionNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RepetitionNumber0(tvb, offset, pinfo, tree, hf_ranap_repetitionNumber); +static int dissect_repetitionNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RepetitionNumber0(tvb, offset, actx, tree, hf_ranap_repetitionNumber); } @@ -4429,14 +4429,14 @@ static const per_sequence_t CriticalityDiagnostics_IE_List_item_sequence[] = { }; static int -dissect_ranap_CriticalityDiagnostics_IE_List_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_CriticalityDiagnostics_IE_List_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_CriticalityDiagnostics_IE_List_item, CriticalityDiagnostics_IE_List_item_sequence); return offset; } -static int dissect_CriticalityDiagnostics_IE_List_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CriticalityDiagnostics_IE_List_item(tvb, offset, pinfo, tree, hf_ranap_CriticalityDiagnostics_IE_List_item); +static int dissect_CriticalityDiagnostics_IE_List_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CriticalityDiagnostics_IE_List_item(tvb, offset, actx, tree, hf_ranap_CriticalityDiagnostics_IE_List_item); } @@ -4445,15 +4445,15 @@ static const per_sequence_t CriticalityDiagnostics_IE_List_sequence_of[1] = { }; static int -dissect_ranap_CriticalityDiagnostics_IE_List(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_CriticalityDiagnostics_IE_List(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_CriticalityDiagnostics_IE_List, CriticalityDiagnostics_IE_List_sequence_of, 1, 256); return offset; } -static int dissect_iEsCriticalityDiagnostics(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CriticalityDiagnostics_IE_List(tvb, offset, pinfo, tree, hf_ranap_iEsCriticalityDiagnostics); +static int dissect_iEsCriticalityDiagnostics(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CriticalityDiagnostics_IE_List(tvb, offset, actx, tree, hf_ranap_iEsCriticalityDiagnostics); } @@ -4467,39 +4467,39 @@ static const per_sequence_t CriticalityDiagnostics_sequence[] = { }; static int -dissect_ranap_CriticalityDiagnostics(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_CriticalityDiagnostics(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_CriticalityDiagnostics, CriticalityDiagnostics_sequence); return offset; } -static int dissect_id_CriticalityDiagnostics(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CriticalityDiagnostics(tvb, offset, pinfo, tree, hf_ranap_id_CriticalityDiagnostics); +static int dissect_id_CriticalityDiagnostics(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CriticalityDiagnostics(tvb, offset, actx, tree, hf_ranap_id_CriticalityDiagnostics); } static int -dissect_ranap_RAC(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAC(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 1, 1, NULL); return offset; } -static int dissect_id_RAC(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAC(tvb, offset, pinfo, tree, hf_ranap_id_RAC); +static int dissect_id_RAC(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAC(tvb, offset, actx, tree, hf_ranap_id_RAC); } -static int dissect_NewRAListofIdleModeUEs_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAC(tvb, offset, pinfo, tree, hf_ranap_NewRAListofIdleModeUEs_item); +static int dissect_NewRAListofIdleModeUEs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAC(tvb, offset, actx, tree, hf_ranap_NewRAListofIdleModeUEs_item); } -static int dissect_RAListwithNoIdleModeUEsAnyMore_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAC(tvb, offset, pinfo, tree, hf_ranap_RAListwithNoIdleModeUEsAnyMore_item); +static int dissect_RAListwithNoIdleModeUEsAnyMore_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAC(tvb, offset, actx, tree, hf_ranap_RAListwithNoIdleModeUEsAnyMore_item); } -static int dissect_rAC(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAC(tvb, offset, pinfo, tree, hf_ranap_rAC); +static int dissect_rAC(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAC(tvb, offset, actx, tree, hf_ranap_rAC); } -static int dissect_RAofIdleModeUEs_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAC(tvb, offset, pinfo, tree, hf_ranap_RAofIdleModeUEs_item); +static int dissect_RAofIdleModeUEs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAC(tvb, offset, actx, tree, hf_ranap_RAofIdleModeUEs_item); } @@ -4508,15 +4508,15 @@ static const per_sequence_t NewRAListofIdleModeUEs_sequence_of[1] = { }; static int -dissect_ranap_NewRAListofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_NewRAListofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_NewRAListofIdleModeUEs, NewRAListofIdleModeUEs_sequence_of, 1, 65536); return offset; } -static int dissect_newRAListofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_NewRAListofIdleModeUEs(tvb, offset, pinfo, tree, hf_ranap_newRAListofIdleModeUEs); +static int dissect_newRAListofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_NewRAListofIdleModeUEs(tvb, offset, actx, tree, hf_ranap_newRAListofIdleModeUEs); } @@ -4525,15 +4525,15 @@ static const per_sequence_t RAListwithNoIdleModeUEsAnyMore_sequence_of[1] = { }; static int -dissect_ranap_RAListwithNoIdleModeUEsAnyMore(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAListwithNoIdleModeUEsAnyMore(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_RAListwithNoIdleModeUEsAnyMore, RAListwithNoIdleModeUEsAnyMore_sequence_of, 1, 65536); return offset; } -static int dissect_rAListwithNoIdleModeUEsAnyMore(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAListwithNoIdleModeUEsAnyMore(tvb, offset, pinfo, tree, hf_ranap_rAListwithNoIdleModeUEsAnyMore); +static int dissect_rAListwithNoIdleModeUEsAnyMore(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAListwithNoIdleModeUEsAnyMore(tvb, offset, actx, tree, hf_ranap_rAListwithNoIdleModeUEsAnyMore); } @@ -4545,53 +4545,53 @@ static const per_sequence_t DeltaRAListofIdleModeUEs_sequence[] = { }; static int -dissect_ranap_DeltaRAListofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_DeltaRAListofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_DeltaRAListofIdleModeUEs, DeltaRAListofIdleModeUEs_sequence); return offset; } -static int dissect_id_DeltaRAListofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DeltaRAListofIdleModeUEs(tvb, offset, pinfo, tree, hf_ranap_id_DeltaRAListofIdleModeUEs); +static int dissect_id_DeltaRAListofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DeltaRAListofIdleModeUEs(tvb, offset, actx, tree, hf_ranap_id_DeltaRAListofIdleModeUEs); } static int -dissect_ranap_DRX_CycleLengthCoefficient(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 6U, 9U, NULL, NULL, FALSE); +dissect_ranap_DRX_CycleLengthCoefficient(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 6U, 9U, NULL, FALSE); return offset; } -static int dissect_id_DRX_CycleLengthCoefficient(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DRX_CycleLengthCoefficient(tvb, offset, pinfo, tree, hf_ranap_id_DRX_CycleLengthCoefficient); +static int dissect_id_DRX_CycleLengthCoefficient(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DRX_CycleLengthCoefficient(tvb, offset, actx, tree, hf_ranap_id_DRX_CycleLengthCoefficient); } static int -dissect_ranap_NAS_PDU(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { +dissect_ranap_NAS_PDU(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { #line 54 "ranap.cnf" tvbuff_t *nas_pdu_tvb=NULL; - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, &nas_pdu_tvb); if (nas_pdu_tvb) - dissector_try_port(nas_pdu_dissector_table, 0x1, nas_pdu_tvb, pinfo, top_tree); + dissector_try_port(nas_pdu_dissector_table, 0x1, nas_pdu_tvb, actx->pinfo, top_tree); return offset; } -static int dissect_id_NAS_PDU(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_NAS_PDU(tvb, offset, pinfo, tree, hf_ranap_id_NAS_PDU); +static int dissect_id_NAS_PDU(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_NAS_PDU(tvb, offset, actx, tree, hf_ranap_id_NAS_PDU); } -static int dissect_nAS_PDU(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_NAS_PDU(tvb, offset, pinfo, tree, hf_ranap_nAS_PDU); +static int dissect_nAS_PDU(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_NAS_PDU(tvb, offset, actx, tree, hf_ranap_nAS_PDU); } @@ -4603,17 +4603,17 @@ static const value_string ranap_SAPI_vals[] = { static int -dissect_ranap_SAPI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_SAPI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_SAPI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SAPI(tvb, offset, pinfo, tree, hf_ranap_id_SAPI); +static int dissect_id_SAPI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SAPI(tvb, offset, actx, tree, hf_ranap_id_SAPI); } -static int dissect_sAPI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SAPI(tvb, offset, pinfo, tree, hf_ranap_sAPI); +static int dissect_sAPI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SAPI(tvb, offset, actx, tree, hf_ranap_sAPI); } @@ -4626,14 +4626,14 @@ static const per_sequence_t DirectTransferInformationItem_RANAP_RelocInf_sequenc }; static int -dissect_ranap_DirectTransferInformationItem_RANAP_RelocInf(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_DirectTransferInformationItem_RANAP_RelocInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_DirectTransferInformationItem_RANAP_RelocInf, DirectTransferInformationItem_RANAP_RelocInf_sequence); return offset; } -static int dissect_id_DirectTransferInformationItem_RANAP_RelocInf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DirectTransferInformationItem_RANAP_RelocInf(tvb, offset, pinfo, tree, hf_ranap_id_DirectTransferInformationItem_RANAP_RelocInf); +static int dissect_id_DirectTransferInformationItem_RANAP_RelocInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DirectTransferInformationItem_RANAP_RelocInf(tvb, offset, actx, tree, hf_ranap_id_DirectTransferInformationItem_RANAP_RelocInf); } @@ -4642,8 +4642,8 @@ static const per_sequence_t ProtocolIE_ContainerList15_sequence_of[1] = { }; static int -dissect_ranap_ProtocolIE_ContainerList15(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolIE_ContainerList15(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolIE_ContainerList15, ProtocolIE_ContainerList15_sequence_of, 1, 15); @@ -4653,8 +4653,8 @@ dissect_ranap_ProtocolIE_ContainerList15(tvbuff_t *tvb, int offset, packet_info static int -dissect_ranap_DirectTransfer_IE_ContainerList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_ProtocolIE_ContainerList15(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_DirectTransfer_IE_ContainerList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_ProtocolIE_ContainerList15(tvb, offset, actx, tree, hf_index); return offset; } @@ -4662,32 +4662,32 @@ dissect_ranap_DirectTransfer_IE_ContainerList(tvbuff_t *tvb, int offset, packet_ static int -dissect_ranap_DirectTransferInformationList_RANAP_RelocInf(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_DirectTransfer_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_DirectTransferInformationList_RANAP_RelocInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_DirectTransfer_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_DirectTransferInformationList_RANAP_RelocInf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DirectTransferInformationList_RANAP_RelocInf(tvb, offset, pinfo, tree, hf_ranap_id_DirectTransferInformationList_RANAP_RelocInf); +static int dissect_id_DirectTransferInformationList_RANAP_RelocInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DirectTransferInformationList_RANAP_RelocInf(tvb, offset, actx, tree, hf_ranap_id_DirectTransferInformationList_RANAP_RelocInf); } static int -dissect_ranap_DL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 65535U, NULL, NULL, FALSE); +dissect_ranap_DL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 65535U, NULL, FALSE); return offset; } -static int dissect_id_DL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DL_GTP_PDU_SequenceNumber(tvb, offset, pinfo, tree, hf_ranap_id_DL_GTP_PDU_SequenceNumber); +static int dissect_id_DL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DL_GTP_PDU_SequenceNumber(tvb, offset, actx, tree, hf_ranap_id_DL_GTP_PDU_SequenceNumber); } -static int dissect_dL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DL_GTP_PDU_SequenceNumber(tvb, offset, pinfo, tree, hf_ranap_dL_GTP_PDU_SequenceNumber); +static int dissect_dL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DL_GTP_PDU_SequenceNumber(tvb, offset, actx, tree, hf_ranap_dL_GTP_PDU_SequenceNumber); } -static int dissect_dl_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DL_GTP_PDU_SequenceNumber(tvb, offset, pinfo, tree, hf_ranap_dl_GTP_PDU_SequenceNumber); +static int dissect_dl_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DL_GTP_PDU_SequenceNumber(tvb, offset, actx, tree, hf_ranap_dl_GTP_PDU_SequenceNumber); } @@ -4696,31 +4696,31 @@ static const per_sequence_t PermittedEncryptionAlgorithms_sequence_of[1] = { }; static int -dissect_ranap_PermittedEncryptionAlgorithms(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PermittedEncryptionAlgorithms(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_PermittedEncryptionAlgorithms, PermittedEncryptionAlgorithms_sequence_of, 1, 16); return offset; } -static int dissect_encryptionpermittedAlgorithms(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PermittedEncryptionAlgorithms(tvb, offset, pinfo, tree, hf_ranap_encryptionpermittedAlgorithms); +static int dissect_encryptionpermittedAlgorithms(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PermittedEncryptionAlgorithms(tvb, offset, actx, tree, hf_ranap_encryptionpermittedAlgorithms); } static int -dissect_ranap_EncryptionKey(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_EncryptionKey(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 128, 128, FALSE); return offset; } -static int dissect_encryptionkey(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_EncryptionKey(tvb, offset, pinfo, tree, hf_ranap_encryptionkey); +static int dissect_encryptionkey(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_EncryptionKey(tvb, offset, actx, tree, hf_ranap_encryptionkey); } -static int dissect_cipheringKey(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_EncryptionKey(tvb, offset, pinfo, tree, hf_ranap_cipheringKey); +static int dissect_cipheringKey(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_EncryptionKey(tvb, offset, actx, tree, hf_ranap_cipheringKey); } @@ -4732,14 +4732,14 @@ static const per_sequence_t EncryptionInformation_sequence[] = { }; static int -dissect_ranap_EncryptionInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_EncryptionInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_EncryptionInformation, EncryptionInformation_sequence); return offset; } -static int dissect_id_EncryptionInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_EncryptionInformation(tvb, offset, pinfo, tree, hf_ranap_id_EncryptionInformation); +static int dissect_id_EncryptionInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_EncryptionInformation(tvb, offset, actx, tree, hf_ranap_id_EncryptionInformation); } @@ -4750,59 +4750,59 @@ static const value_string ranap_FrequenceLayerConvergenceFlag_vals[] = { static int -dissect_ranap_FrequenceLayerConvergenceFlag(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 1, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_FrequenceLayerConvergenceFlag(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 1, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_FrequenceLayerConvergenceFlag(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_FrequenceLayerConvergenceFlag(tvb, offset, pinfo, tree, hf_ranap_id_FrequenceLayerConvergenceFlag); +static int dissect_id_FrequenceLayerConvergenceFlag(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_FrequenceLayerConvergenceFlag(tvb, offset, actx, tree, hf_ranap_id_FrequenceLayerConvergenceFlag); } static int -dissect_ranap_GERAN_BSC_Container(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GERAN_BSC_Container(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, NULL); return offset; } -static int dissect_id_GERAN_BSC_Container(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GERAN_BSC_Container(tvb, offset, pinfo, tree, hf_ranap_id_GERAN_BSC_Container); +static int dissect_id_GERAN_BSC_Container(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GERAN_BSC_Container(tvb, offset, actx, tree, hf_ranap_id_GERAN_BSC_Container); } static int -dissect_ranap_GERAN_Classmark(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GERAN_Classmark(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, NULL); return offset; } -static int dissect_id_GERAN_Classmark(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GERAN_Classmark(tvb, offset, pinfo, tree, hf_ranap_id_GERAN_Classmark); +static int dissect_id_GERAN_Classmark(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GERAN_Classmark(tvb, offset, actx, tree, hf_ranap_id_GERAN_Classmark); } -static int dissect_gERAN_Classmark(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GERAN_Classmark(tvb, offset, pinfo, tree, hf_ranap_gERAN_Classmark); +static int dissect_gERAN_Classmark(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GERAN_Classmark(tvb, offset, actx, tree, hf_ranap_gERAN_Classmark); } static int -dissect_ranap_RAB_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 8, 8, FALSE); return offset; } -static int dissect_id_RAB_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ID(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ID); +static int dissect_id_RAB_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ID(tvb, offset, actx, tree, hf_ranap_id_RAB_ID); } -static int dissect_rAB_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ID(tvb, offset, pinfo, tree, hf_ranap_rAB_ID); +static int dissect_rAB_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ID(tvb, offset, actx, tree, hf_ranap_rAB_ID); } @@ -4815,14 +4815,14 @@ static const per_sequence_t GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item_seque }; static int -dissect_ranap_GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item, GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item_sequence); return offset; } -static int dissect_id_GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item(tvb, offset, pinfo, tree, hf_ranap_id_GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item); +static int dissect_id_GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item(tvb, offset, actx, tree, hf_ranap_id_GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item); } @@ -4831,8 +4831,8 @@ static const per_sequence_t ProtocolIE_ContainerList256_sequence_of[1] = { }; static int -dissect_ranap_ProtocolIE_ContainerList256(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolIE_ContainerList256(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolIE_ContainerList256, ProtocolIE_ContainerList256_sequence_of, 1, 256); @@ -4842,8 +4842,8 @@ dissect_ranap_ProtocolIE_ContainerList256(tvbuff_t *tvb, int offset, packet_info static int -dissect_ranap_RAB_IE_ContainerList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_ProtocolIE_ContainerList256(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_IE_ContainerList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_ProtocolIE_ContainerList256(tvb, offset, actx, tree, hf_index); return offset; } @@ -4851,26 +4851,26 @@ dissect_ranap_RAB_IE_ContainerList(tvbuff_t *tvb, int offset, packet_info *pinfo static int -dissect_ranap_GERAN_Iumode_RAB_FailedList_RABAssgntResponse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_GERAN_Iumode_RAB_FailedList_RABAssgntResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_GERAN_Iumode_RAB_FailedList_RABAssgntResponse(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GERAN_Iumode_RAB_FailedList_RABAssgntResponse(tvb, offset, pinfo, tree, hf_ranap_id_GERAN_Iumode_RAB_FailedList_RABAssgntResponse); +static int dissect_id_GERAN_Iumode_RAB_FailedList_RABAssgntResponse(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GERAN_Iumode_RAB_FailedList_RABAssgntResponse(tvb, offset, actx, tree, hf_ranap_id_GERAN_Iumode_RAB_FailedList_RABAssgntResponse); } static int -dissect_ranap_CN_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 4095U, NULL, NULL, FALSE); +dissect_ranap_CN_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 4095U, NULL, FALSE); return offset; } -static int dissect_cN_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CN_ID(tvb, offset, pinfo, tree, hf_ranap_cN_ID); +static int dissect_cN_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CN_ID(tvb, offset, actx, tree, hf_ranap_cN_ID); } @@ -4881,27 +4881,27 @@ static const per_sequence_t GlobalCN_ID_sequence[] = { }; static int -dissect_ranap_GlobalCN_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GlobalCN_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GlobalCN_ID, GlobalCN_ID_sequence); return offset; } -static int dissect_id_GlobalCN_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GlobalCN_ID(tvb, offset, pinfo, tree, hf_ranap_id_GlobalCN_ID); +static int dissect_id_GlobalCN_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GlobalCN_ID(tvb, offset, actx, tree, hf_ranap_id_GlobalCN_ID); } static int -dissect_ranap_RNC_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 4095U, NULL, NULL, FALSE); +dissect_ranap_RNC_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 4095U, NULL, FALSE); return offset; } -static int dissect_rNC_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RNC_ID(tvb, offset, pinfo, tree, hf_ranap_rNC_ID); +static int dissect_rNC_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RNC_ID(tvb, offset, actx, tree, hf_ranap_rNC_ID); } @@ -4912,30 +4912,30 @@ static const per_sequence_t GlobalRNC_ID_sequence[] = { }; static int -dissect_ranap_GlobalRNC_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GlobalRNC_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GlobalRNC_ID, GlobalRNC_ID_sequence); return offset; } -static int dissect_id_GlobalRNC_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GlobalRNC_ID(tvb, offset, pinfo, tree, hf_ranap_id_GlobalRNC_ID); +static int dissect_id_GlobalRNC_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GlobalRNC_ID(tvb, offset, actx, tree, hf_ranap_id_GlobalRNC_ID); } -static int dissect_globalRNC_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GlobalRNC_ID(tvb, offset, pinfo, tree, hf_ranap_globalRNC_ID); +static int dissect_globalRNC_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GlobalRNC_ID(tvb, offset, actx, tree, hf_ranap_globalRNC_ID); } static int -dissect_ranap_InformationExchangeID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 1048575U, NULL, NULL, FALSE); +dissect_ranap_InformationExchangeID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 1048575U, NULL, FALSE); return offset; } -static int dissect_id_InformationExchangeID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InformationExchangeID(tvb, offset, pinfo, tree, hf_ranap_id_InformationExchangeID); +static int dissect_id_InformationExchangeID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InformationExchangeID(tvb, offset, actx, tree, hf_ranap_id_InformationExchangeID); } @@ -4947,30 +4947,30 @@ static const value_string ranap_InformationExchangeType_vals[] = { static int -dissect_ranap_InformationExchangeType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_InformationExchangeType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_InformationExchangeType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InformationExchangeType(tvb, offset, pinfo, tree, hf_ranap_id_InformationExchangeType); +static int dissect_id_InformationExchangeType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InformationExchangeType(tvb, offset, actx, tree, hf_ranap_id_InformationExchangeType); } static int -dissect_ranap_IPMulticastAddress(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IPMulticastAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 16, NULL); return offset; } -static int dissect_id_IPMulticastAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IPMulticastAddress(tvb, offset, pinfo, tree, hf_ranap_id_IPMulticastAddress); +static int dissect_id_IPMulticastAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IPMulticastAddress(tvb, offset, actx, tree, hf_ranap_id_IPMulticastAddress); } -static int dissect_iPMulticastAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IPMulticastAddress(tvb, offset, pinfo, tree, hf_ranap_iPMulticastAddress); +static int dissect_iPMulticastAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IPMulticastAddress(tvb, offset, actx, tree, hf_ranap_iPMulticastAddress); } @@ -4983,14 +4983,14 @@ static const per_sequence_t MBMSIPMulticastAddressandAPNlist_sequence[] = { }; static int -dissect_ranap_MBMSIPMulticastAddressandAPNlist(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSIPMulticastAddressandAPNlist(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSIPMulticastAddressandAPNlist, MBMSIPMulticastAddressandAPNlist_sequence); return offset; } -static int dissect_RequestedMBMSIPMulticastAddressandAPNRequest_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSIPMulticastAddressandAPNlist(tvb, offset, pinfo, tree, hf_ranap_RequestedMBMSIPMulticastAddressandAPNRequest_item); +static int dissect_RequestedMBMSIPMulticastAddressandAPNRequest_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSIPMulticastAddressandAPNlist(tvb, offset, actx, tree, hf_ranap_RequestedMBMSIPMulticastAddressandAPNRequest_item); } @@ -4999,15 +4999,15 @@ static const per_sequence_t RequestedMBMSIPMulticastAddressandAPNRequest_sequenc }; static int -dissect_ranap_RequestedMBMSIPMulticastAddressandAPNRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RequestedMBMSIPMulticastAddressandAPNRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_RequestedMBMSIPMulticastAddressandAPNRequest, RequestedMBMSIPMulticastAddressandAPNRequest_sequence_of, 1, 512); return offset; } -static int dissect_requestedMBMSIPMulticastAddressandAPNRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RequestedMBMSIPMulticastAddressandAPNRequest(tvb, offset, pinfo, tree, hf_ranap_requestedMBMSIPMulticastAddressandAPNRequest); +static int dissect_requestedMBMSIPMulticastAddressandAPNRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RequestedMBMSIPMulticastAddressandAPNRequest(tvb, offset, actx, tree, hf_ranap_requestedMBMSIPMulticastAddressandAPNRequest); } @@ -5016,15 +5016,15 @@ static const per_sequence_t RequestedMulticastServiceList_sequence_of[1] = { }; static int -dissect_ranap_RequestedMulticastServiceList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RequestedMulticastServiceList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_RequestedMulticastServiceList, RequestedMulticastServiceList_sequence_of, 1, 128); return offset; } -static int dissect_requestedMulticastServiceList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RequestedMulticastServiceList(tvb, offset, pinfo, tree, hf_ranap_requestedMulticastServiceList); +static int dissect_requestedMulticastServiceList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RequestedMulticastServiceList(tvb, offset, actx, tree, hf_ranap_requestedMulticastServiceList); } @@ -5041,15 +5041,15 @@ static const per_choice_t InformationRequested_choice[] = { }; static int -dissect_ranap_InformationRequested(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_InformationRequested(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_InformationRequested, InformationRequested_choice, NULL); return offset; } -static int dissect_id_InformationRequested(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InformationRequested(tvb, offset, pinfo, tree, hf_ranap_id_InformationRequested); +static int dissect_id_InformationRequested(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InformationRequested(tvb, offset, actx, tree, hf_ranap_id_InformationRequested); } @@ -5058,31 +5058,31 @@ static const per_sequence_t MBMSIPMulticastAddressandAPNRequest_sequence_of[1] = }; static int -dissect_ranap_MBMSIPMulticastAddressandAPNRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSIPMulticastAddressandAPNRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSIPMulticastAddressandAPNRequest, MBMSIPMulticastAddressandAPNRequest_sequence_of, 1, 512); return offset; } -static int dissect_mBMSIPMulticastAddressandAPNRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSIPMulticastAddressandAPNRequest(tvb, offset, pinfo, tree, hf_ranap_mBMSIPMulticastAddressandAPNRequest); +static int dissect_mBMSIPMulticastAddressandAPNRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSIPMulticastAddressandAPNRequest(tvb, offset, actx, tree, hf_ranap_mBMSIPMulticastAddressandAPNRequest); } static int -dissect_ranap_IMSI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IMSI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 8, NULL); return offset; } -static int dissect_iMSI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMSI(tvb, offset, pinfo, tree, hf_ranap_iMSI); +static int dissect_iMSI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMSI(tvb, offset, actx, tree, hf_ranap_iMSI); } -static int dissect_imsi(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMSI(tvb, offset, pinfo, tree, hf_ranap_imsi); +static int dissect_imsi(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMSI(tvb, offset, actx, tree, hf_ranap_imsi); } @@ -5097,18 +5097,18 @@ static const per_choice_t PermanentNAS_UE_ID_choice[] = { }; static int -dissect_ranap_PermanentNAS_UE_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PermanentNAS_UE_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_PermanentNAS_UE_ID, PermanentNAS_UE_ID_choice, NULL); return offset; } -static int dissect_id_PermanentNAS_UE_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PermanentNAS_UE_ID(tvb, offset, pinfo, tree, hf_ranap_id_PermanentNAS_UE_ID); +static int dissect_id_PermanentNAS_UE_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PermanentNAS_UE_ID(tvb, offset, actx, tree, hf_ranap_id_PermanentNAS_UE_ID); } -static int dissect_permanentNAS_UE_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PermanentNAS_UE_ID(tvb, offset, pinfo, tree, hf_ranap_permanentNAS_UE_ID); +static int dissect_permanentNAS_UE_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PermanentNAS_UE_ID(tvb, offset, actx, tree, hf_ranap_permanentNAS_UE_ID); } @@ -5125,44 +5125,44 @@ static const per_choice_t InformationRequestType_choice[] = { }; static int -dissect_ranap_InformationRequestType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_InformationRequestType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_InformationRequestType, InformationRequestType_choice, NULL); return offset; } -static int dissect_id_InformationRequestType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InformationRequestType(tvb, offset, pinfo, tree, hf_ranap_id_InformationRequestType); +static int dissect_id_InformationRequestType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InformationRequestType(tvb, offset, actx, tree, hf_ranap_id_InformationRequestType); } static int -dissect_ranap_InformationTransferID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 1048575U, NULL, NULL, FALSE); +dissect_ranap_InformationTransferID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 1048575U, NULL, FALSE); return offset; } -static int dissect_id_InformationTransferID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InformationTransferID(tvb, offset, pinfo, tree, hf_ranap_id_InformationTransferID); +static int dissect_id_InformationTransferID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InformationTransferID(tvb, offset, actx, tree, hf_ranap_id_InformationTransferID); } static int -dissect_ranap_TraceReference(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TraceReference(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 2, 3, NULL); return offset; } -static int dissect_id_TraceReference(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TraceReference(tvb, offset, pinfo, tree, hf_ranap_id_TraceReference); +static int dissect_id_TraceReference(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TraceReference(tvb, offset, actx, tree, hf_ranap_id_TraceReference); } -static int dissect_traceReference(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TraceReference(tvb, offset, pinfo, tree, hf_ranap_traceReference); +static int dissect_traceReference(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TraceReference(tvb, offset, actx, tree, hf_ranap_traceReference); } @@ -5174,33 +5174,33 @@ static const value_string ranap_T_traceActivationIndicator_vals[] = { static int -dissect_ranap_T_traceActivationIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_T_traceActivationIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, FALSE, 0, NULL); return offset; } -static int dissect_traceActivationIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_T_traceActivationIndicator(tvb, offset, pinfo, tree, hf_ranap_traceActivationIndicator); +static int dissect_traceActivationIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_T_traceActivationIndicator(tvb, offset, actx, tree, hf_ranap_traceActivationIndicator); } static int -dissect_ranap_IMEI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IMEI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 8, 8, NULL); return offset; } -static int dissect_iMEI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMEI(tvb, offset, pinfo, tree, hf_ranap_iMEI); +static int dissect_iMEI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMEI(tvb, offset, actx, tree, hf_ranap_iMEI); } -static int dissect_IMEIList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMEI(tvb, offset, pinfo, tree, hf_ranap_IMEIList_item); +static int dissect_IMEIList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMEI(tvb, offset, actx, tree, hf_ranap_IMEIList_item); } -static int dissect_imei(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMEI(tvb, offset, pinfo, tree, hf_ranap_imei); +static int dissect_imei(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMEI(tvb, offset, actx, tree, hf_ranap_imei); } @@ -5209,34 +5209,34 @@ static const per_sequence_t IMEIList_sequence_of[1] = { }; static int -dissect_ranap_IMEIList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IMEIList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_IMEIList, IMEIList_sequence_of, 1, 64); return offset; } -static int dissect_iMEIlist(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMEIList(tvb, offset, pinfo, tree, hf_ranap_iMEIlist); +static int dissect_iMEIlist(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMEIList(tvb, offset, actx, tree, hf_ranap_iMEIlist); } static int -dissect_ranap_IMEISV(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IMEISV(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 8, 8, NULL); return offset; } -static int dissect_iMEISV(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMEISV(tvb, offset, pinfo, tree, hf_ranap_iMEISV); +static int dissect_iMEISV(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMEISV(tvb, offset, actx, tree, hf_ranap_iMEISV); } -static int dissect_IMEISVList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMEISV(tvb, offset, pinfo, tree, hf_ranap_IMEISVList_item); +static int dissect_IMEISVList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMEISV(tvb, offset, actx, tree, hf_ranap_IMEISVList_item); } -static int dissect_imeisv(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMEISV(tvb, offset, pinfo, tree, hf_ranap_imeisv); +static int dissect_imeisv(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMEISV(tvb, offset, actx, tree, hf_ranap_imeisv); } @@ -5245,31 +5245,31 @@ static const per_sequence_t IMEISVList_sequence_of[1] = { }; static int -dissect_ranap_IMEISVList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IMEISVList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_IMEISVList, IMEISVList_sequence_of, 1, 64); return offset; } -static int dissect_iMEISVlist(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMEISVList(tvb, offset, pinfo, tree, hf_ranap_iMEISVlist); +static int dissect_iMEISVlist(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMEISVList(tvb, offset, actx, tree, hf_ranap_iMEISVlist); } static int -dissect_ranap_BIT_STRING_SIZE_7(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_BIT_STRING_SIZE_7(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 7, 7, FALSE); return offset; } -static int dissect_iMEIMask(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_BIT_STRING_SIZE_7(tvb, offset, pinfo, tree, hf_ranap_iMEIMask); +static int dissect_iMEIMask(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_BIT_STRING_SIZE_7(tvb, offset, actx, tree, hf_ranap_iMEIMask); } -static int dissect_iMEISVMask(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_BIT_STRING_SIZE_7(tvb, offset, pinfo, tree, hf_ranap_iMEISVMask); +static int dissect_iMEISVMask(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_BIT_STRING_SIZE_7(tvb, offset, actx, tree, hf_ranap_iMEISVMask); } @@ -5281,14 +5281,14 @@ static const per_sequence_t IMEIGroup_sequence[] = { }; static int -dissect_ranap_IMEIGroup(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IMEIGroup(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_IMEIGroup, IMEIGroup_sequence); return offset; } -static int dissect_iMEIgroup(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMEIGroup(tvb, offset, pinfo, tree, hf_ranap_iMEIgroup); +static int dissect_iMEIgroup(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMEIGroup(tvb, offset, actx, tree, hf_ranap_iMEIgroup); } @@ -5300,14 +5300,14 @@ static const per_sequence_t IMEISVGroup_sequence[] = { }; static int -dissect_ranap_IMEISVGroup(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IMEISVGroup(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_IMEISVGroup, IMEISVGroup_sequence); return offset; } -static int dissect_iMEISVgroup(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IMEISVGroup(tvb, offset, pinfo, tree, hf_ranap_iMEISVgroup); +static int dissect_iMEISVgroup(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IMEISVGroup(tvb, offset, actx, tree, hf_ranap_iMEISVgroup); } @@ -5328,15 +5328,15 @@ static const per_choice_t EquipmentsToBeTraced_choice[] = { }; static int -dissect_ranap_EquipmentsToBeTraced(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_EquipmentsToBeTraced(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_EquipmentsToBeTraced, EquipmentsToBeTraced_choice, NULL); return offset; } -static int dissect_equipmentsToBeTraced(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_EquipmentsToBeTraced(tvb, offset, pinfo, tree, hf_ranap_equipmentsToBeTraced); +static int dissect_equipmentsToBeTraced(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_EquipmentsToBeTraced(tvb, offset, actx, tree, hf_ranap_equipmentsToBeTraced); } @@ -5349,14 +5349,14 @@ static const per_sequence_t RNCTraceInformation_sequence[] = { }; static int -dissect_ranap_RNCTraceInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RNCTraceInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RNCTraceInformation, RNCTraceInformation_sequence); return offset; } -static int dissect_rNCTraceInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RNCTraceInformation(tvb, offset, pinfo, tree, hf_ranap_rNCTraceInformation); +static int dissect_rNCTraceInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RNCTraceInformation(tvb, offset, actx, tree, hf_ranap_rNCTraceInformation); } @@ -5371,28 +5371,28 @@ static const per_choice_t InformationTransferType_choice[] = { }; static int -dissect_ranap_InformationTransferType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_InformationTransferType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_InformationTransferType, InformationTransferType_choice, NULL); return offset; } -static int dissect_id_InformationTransferType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InformationTransferType(tvb, offset, pinfo, tree, hf_ranap_id_InformationTransferType); +static int dissect_id_InformationTransferType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InformationTransferType(tvb, offset, actx, tree, hf_ranap_id_InformationTransferType); } static int -dissect_ranap_TraceRecordingSessionReference(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 65535U, NULL, NULL, FALSE); +dissect_ranap_TraceRecordingSessionReference(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 65535U, NULL, FALSE); return offset; } -static int dissect_traceRecordingSessionReference(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TraceRecordingSessionReference(tvb, offset, pinfo, tree, hf_ranap_traceRecordingSessionReference); +static int dissect_traceRecordingSessionReference(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TraceRecordingSessionReference(tvb, offset, actx, tree, hf_ranap_traceRecordingSessionReference); } @@ -5404,14 +5404,14 @@ static const per_sequence_t TraceRecordingSessionInformation_sequence[] = { }; static int -dissect_ranap_TraceRecordingSessionInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TraceRecordingSessionInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_TraceRecordingSessionInformation, TraceRecordingSessionInformation_sequence); return offset; } -static int dissect_id_TraceRecordingSessionInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TraceRecordingSessionInformation(tvb, offset, pinfo, tree, hf_ranap_id_TraceRecordingSessionInformation); +static int dissect_id_TraceRecordingSessionInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TraceRecordingSessionInformation(tvb, offset, actx, tree, hf_ranap_id_TraceRecordingSessionInformation); } @@ -5420,31 +5420,31 @@ static const per_sequence_t PermittedIntegrityProtectionAlgorithms_sequence_of[1 }; static int -dissect_ranap_PermittedIntegrityProtectionAlgorithms(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PermittedIntegrityProtectionAlgorithms(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_PermittedIntegrityProtectionAlgorithms, PermittedIntegrityProtectionAlgorithms_sequence_of, 1, 16); return offset; } -static int dissect_permittedAlgorithms(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PermittedIntegrityProtectionAlgorithms(tvb, offset, pinfo, tree, hf_ranap_permittedAlgorithms); +static int dissect_permittedAlgorithms(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PermittedIntegrityProtectionAlgorithms(tvb, offset, actx, tree, hf_ranap_permittedAlgorithms); } static int -dissect_ranap_IntegrityProtectionKey(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IntegrityProtectionKey(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 128, 128, FALSE); return offset; } -static int dissect_key(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IntegrityProtectionKey(tvb, offset, pinfo, tree, hf_ranap_key); +static int dissect_key(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IntegrityProtectionKey(tvb, offset, actx, tree, hf_ranap_key); } -static int dissect_integrityProtectionKey(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IntegrityProtectionKey(tvb, offset, pinfo, tree, hf_ranap_integrityProtectionKey); +static int dissect_integrityProtectionKey(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IntegrityProtectionKey(tvb, offset, actx, tree, hf_ranap_integrityProtectionKey); } @@ -5456,27 +5456,27 @@ static const per_sequence_t IntegrityProtectionInformation_sequence[] = { }; static int -dissect_ranap_IntegrityProtectionInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IntegrityProtectionInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_IntegrityProtectionInformation, IntegrityProtectionInformation_sequence); return offset; } -static int dissect_id_IntegrityProtectionInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IntegrityProtectionInformation(tvb, offset, pinfo, tree, hf_ranap_id_IntegrityProtectionInformation); +static int dissect_id_IntegrityProtectionInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IntegrityProtectionInformation(tvb, offset, actx, tree, hf_ranap_id_IntegrityProtectionInformation); } static int -dissect_ranap_RIMInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RIMInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, NULL); return offset; } -static int dissect_rIMInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RIMInformation(tvb, offset, pinfo, tree, hf_ranap_rIMInformation); +static int dissect_rIMInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RIMInformation(tvb, offset, actx, tree, hf_ranap_rIMInformation); } @@ -5488,30 +5488,30 @@ static const per_sequence_t LAI_sequence[] = { }; static int -dissect_ranap_LAI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LAI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_LAI, LAI_sequence); return offset; } -static int dissect_id_LAI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LAI(tvb, offset, pinfo, tree, hf_ranap_id_LAI); +static int dissect_id_LAI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LAI(tvb, offset, actx, tree, hf_ranap_id_LAI); } -static int dissect_lAI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LAI(tvb, offset, pinfo, tree, hf_ranap_lAI); +static int dissect_lAI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LAI(tvb, offset, actx, tree, hf_ranap_lAI); } static int -dissect_ranap_CI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_CI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 2, 2, NULL); return offset; } -static int dissect_cI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CI(tvb, offset, pinfo, tree, hf_ranap_cI); +static int dissect_cI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CI(tvb, offset, actx, tree, hf_ranap_cI); } @@ -5524,14 +5524,14 @@ static const per_sequence_t GERAN_Cell_ID_sequence[] = { }; static int -dissect_ranap_GERAN_Cell_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GERAN_Cell_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_GERAN_Cell_ID, GERAN_Cell_ID_sequence); return offset; } -static int dissect_gERAN_Cell_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GERAN_Cell_ID(tvb, offset, pinfo, tree, hf_ranap_gERAN_Cell_ID); +static int dissect_gERAN_Cell_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GERAN_Cell_ID(tvb, offset, actx, tree, hf_ranap_gERAN_Cell_ID); } @@ -5548,15 +5548,15 @@ static const per_choice_t RIMRoutingAddress_choice[] = { }; static int -dissect_ranap_RIMRoutingAddress(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RIMRoutingAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_RIMRoutingAddress, RIMRoutingAddress_choice, NULL); return offset; } -static int dissect_rIMRoutingAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RIMRoutingAddress(tvb, offset, pinfo, tree, hf_ranap_rIMRoutingAddress); +static int dissect_rIMRoutingAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RIMRoutingAddress(tvb, offset, actx, tree, hf_ranap_rIMRoutingAddress); } @@ -5568,14 +5568,14 @@ static const per_sequence_t RIM_Transfer_sequence[] = { }; static int -dissect_ranap_RIM_Transfer(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RIM_Transfer(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RIM_Transfer, RIM_Transfer_sequence); return offset; } -static int dissect_rIM_Transfer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RIM_Transfer(tvb, offset, pinfo, tree, hf_ranap_rIM_Transfer); +static int dissect_rIM_Transfer(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RIM_Transfer(tvb, offset, actx, tree, hf_ranap_rIM_Transfer); } @@ -5590,67 +5590,67 @@ static const per_choice_t InterSystemInformationTransferType_choice[] = { }; static int -dissect_ranap_InterSystemInformationTransferType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_InterSystemInformationTransferType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_InterSystemInformationTransferType, InterSystemInformationTransferType_choice, NULL); return offset; } -static int dissect_id_InterSystemInformationTransferType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InterSystemInformationTransferType(tvb, offset, pinfo, tree, hf_ranap_id_InterSystemInformationTransferType); +static int dissect_id_InterSystemInformationTransferType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InterSystemInformationTransferType(tvb, offset, actx, tree, hf_ranap_id_InterSystemInformationTransferType); } static int -dissect_ranap_Cell_Capacity_Class_Value(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 1U, 100U, NULL, NULL, TRUE); +dissect_ranap_Cell_Capacity_Class_Value(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 1U, 100U, NULL, TRUE); return offset; } -static int dissect_cell_Capacity_Class_Value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Cell_Capacity_Class_Value(tvb, offset, pinfo, tree, hf_ranap_cell_Capacity_Class_Value); +static int dissect_cell_Capacity_Class_Value(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Cell_Capacity_Class_Value(tvb, offset, actx, tree, hf_ranap_cell_Capacity_Class_Value); } static int -dissect_ranap_LoadValue(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 100U, NULL, NULL, FALSE); +dissect_ranap_LoadValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 100U, NULL, FALSE); return offset; } -static int dissect_loadValue(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LoadValue(tvb, offset, pinfo, tree, hf_ranap_loadValue); +static int dissect_loadValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LoadValue(tvb, offset, actx, tree, hf_ranap_loadValue); } static int -dissect_ranap_RTLoadValue(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 100U, NULL, NULL, FALSE); +dissect_ranap_RTLoadValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 100U, NULL, FALSE); return offset; } -static int dissect_rTLoadValue(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RTLoadValue(tvb, offset, pinfo, tree, hf_ranap_rTLoadValue); +static int dissect_rTLoadValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RTLoadValue(tvb, offset, actx, tree, hf_ranap_rTLoadValue); } static int -dissect_ranap_NRTLoadInformationValue(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 3U, NULL, NULL, FALSE); +dissect_ranap_NRTLoadInformationValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 3U, NULL, FALSE); return offset; } -static int dissect_nRTLoadInformationValue(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_NRTLoadInformationValue(tvb, offset, pinfo, tree, hf_ranap_nRTLoadInformationValue); +static int dissect_nRTLoadInformationValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_NRTLoadInformationValue(tvb, offset, actx, tree, hf_ranap_nRTLoadInformationValue); } @@ -5664,17 +5664,17 @@ static const per_sequence_t CellLoadInformation_sequence[] = { }; static int -dissect_ranap_CellLoadInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_CellLoadInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_CellLoadInformation, CellLoadInformation_sequence); return offset; } -static int dissect_uplinkCellLoadInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CellLoadInformation(tvb, offset, pinfo, tree, hf_ranap_uplinkCellLoadInformation); +static int dissect_uplinkCellLoadInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CellLoadInformation(tvb, offset, actx, tree, hf_ranap_uplinkCellLoadInformation); } -static int dissect_downlinkCellLoadInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CellLoadInformation(tvb, offset, pinfo, tree, hf_ranap_downlinkCellLoadInformation); +static int dissect_downlinkCellLoadInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CellLoadInformation(tvb, offset, actx, tree, hf_ranap_downlinkCellLoadInformation); } @@ -5686,30 +5686,30 @@ static const per_sequence_t InterSystemInformation_TransparentContainer_sequence }; static int -dissect_ranap_InterSystemInformation_TransparentContainer(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_InterSystemInformation_TransparentContainer(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_InterSystemInformation_TransparentContainer, InterSystemInformation_TransparentContainer_sequence); return offset; } -static int dissect_id_InterSystemInformation_TransparentContainer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InterSystemInformation_TransparentContainer(tvb, offset, pinfo, tree, hf_ranap_id_InterSystemInformation_TransparentContainer); +static int dissect_id_InterSystemInformation_TransparentContainer(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InterSystemInformation_TransparentContainer(tvb, offset, actx, tree, hf_ranap_id_InterSystemInformation_TransparentContainer); } static int -dissect_ranap_IuSignallingConnectionIdentifier(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IuSignallingConnectionIdentifier(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 24, 24, FALSE); return offset; } -static int dissect_id_IuSigConId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IuSignallingConnectionIdentifier(tvb, offset, pinfo, tree, hf_ranap_id_IuSigConId); +static int dissect_id_IuSigConId(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IuSignallingConnectionIdentifier(tvb, offset, actx, tree, hf_ranap_id_IuSigConId); } -static int dissect_iuSigConId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IuSignallingConnectionIdentifier(tvb, offset, pinfo, tree, hf_ranap_iuSigConId); +static int dissect_iuSigConId(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IuSignallingConnectionIdentifier(tvb, offset, actx, tree, hf_ranap_iuSigConId); } @@ -5720,14 +5720,14 @@ static const per_sequence_t ResetResourceAckItem_sequence[] = { }; static int -dissect_ranap_ResetResourceAckItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ResetResourceAckItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_ResetResourceAckItem, ResetResourceAckItem_sequence); return offset; } -static int dissect_id_IuSigConIdItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ResetResourceAckItem(tvb, offset, pinfo, tree, hf_ranap_id_IuSigConIdItem); +static int dissect_id_IuSigConIdItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ResetResourceAckItem(tvb, offset, actx, tree, hf_ranap_id_IuSigConIdItem); } @@ -5736,8 +5736,8 @@ static const per_sequence_t ProtocolIE_ContainerList250_sequence_of[1] = { }; static int -dissect_ranap_ProtocolIE_ContainerList250(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolIE_ContainerList250(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolIE_ContainerList250, ProtocolIE_ContainerList250_sequence_of, 1, 250); @@ -5747,8 +5747,8 @@ dissect_ranap_ProtocolIE_ContainerList250(tvbuff_t *tvb, int offset, packet_info static int -dissect_ranap_IuSigConId_IE_ContainerList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_ProtocolIE_ContainerList250(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_IuSigConId_IE_ContainerList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_ProtocolIE_ContainerList250(tvb, offset, actx, tree, hf_index); return offset; } @@ -5756,39 +5756,39 @@ dissect_ranap_IuSigConId_IE_ContainerList(tvbuff_t *tvb, int offset, packet_info static int -dissect_ranap_ResetResourceAckList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_IuSigConId_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_ResetResourceAckList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_IuSigConId_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_IuSigConIdList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ResetResourceAckList(tvb, offset, pinfo, tree, hf_ranap_id_IuSigConIdList); +static int dissect_id_IuSigConIdList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ResetResourceAckList(tvb, offset, actx, tree, hf_ranap_id_IuSigConIdList); } static int -dissect_ranap_GTP_TEI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_GTP_TEI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 4, NULL); return offset; } -static int dissect_gTP_TEI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_GTP_TEI(tvb, offset, pinfo, tree, hf_ranap_gTP_TEI); +static int dissect_gTP_TEI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_GTP_TEI(tvb, offset, actx, tree, hf_ranap_gTP_TEI); } static int -dissect_ranap_BindingID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_BindingID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 4, NULL); return offset; } -static int dissect_bindingID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_BindingID(tvb, offset, pinfo, tree, hf_ranap_bindingID); +static int dissect_bindingID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_BindingID(tvb, offset, actx, tree, hf_ranap_bindingID); } @@ -5805,18 +5805,18 @@ static const per_choice_t IuTransportAssociation_choice[] = { }; static int -dissect_ranap_IuTransportAssociation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_IuTransportAssociation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_IuTransportAssociation, IuTransportAssociation_choice, NULL); return offset; } -static int dissect_id_IuTransportAssociation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IuTransportAssociation(tvb, offset, pinfo, tree, hf_ranap_id_IuTransportAssociation); +static int dissect_id_IuTransportAssociation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IuTransportAssociation(tvb, offset, actx, tree, hf_ranap_id_IuTransportAssociation); } -static int dissect_iuTransportAssociation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_IuTransportAssociation(tvb, offset, pinfo, tree, hf_ranap_iuTransportAssociation); +static int dissect_iuTransportAssociation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_IuTransportAssociation(tvb, offset, actx, tree, hf_ranap_iuTransportAssociation); } @@ -5828,27 +5828,27 @@ static const value_string ranap_KeyStatus_vals[] = { static int -dissect_ranap_KeyStatus(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_KeyStatus(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_KeyStatus(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_KeyStatus(tvb, offset, pinfo, tree, hf_ranap_id_KeyStatus); +static int dissect_id_KeyStatus(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_KeyStatus(tvb, offset, actx, tree, hf_ranap_id_KeyStatus); } static int -dissect_ranap_L3_Information(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_L3_Information(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, NULL); return offset; } -static int dissect_id_L3_Information(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_L3_Information(tvb, offset, pinfo, tree, hf_ranap_id_L3_Information); +static int dissect_id_L3_Information(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_L3_Information(tvb, offset, actx, tree, hf_ranap_id_L3_Information); } @@ -5860,66 +5860,66 @@ static const per_sequence_t LastKnownServiceArea_sequence[] = { }; static int -dissect_ranap_LastKnownServiceArea(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LastKnownServiceArea(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_LastKnownServiceArea, LastKnownServiceArea_sequence); return offset; } -static int dissect_id_LastKnownServiceArea(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LastKnownServiceArea(tvb, offset, pinfo, tree, hf_ranap_id_LastKnownServiceArea); +static int dissect_id_LastKnownServiceArea(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LastKnownServiceArea(tvb, offset, actx, tree, hf_ranap_id_LastKnownServiceArea); } static int -dissect_ranap_SRB_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 1U, 32U, NULL, NULL, FALSE); +dissect_ranap_SRB_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 1U, 32U, NULL, FALSE); return offset; } -static int dissect_sRB_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SRB_ID(tvb, offset, pinfo, tree, hf_ranap_sRB_ID); +static int dissect_sRB_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SRB_ID(tvb, offset, actx, tree, hf_ranap_sRB_ID); } static int -dissect_ranap_DCH_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 255U, NULL, NULL, FALSE); +dissect_ranap_DCH_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 255U, NULL, FALSE); return offset; } -static int dissect_dCH_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DCH_ID(tvb, offset, pinfo, tree, hf_ranap_dCH_ID); +static int dissect_dCH_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DCH_ID(tvb, offset, actx, tree, hf_ranap_dCH_ID); } static int -dissect_ranap_DSCH_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 255U, NULL, NULL, FALSE); +dissect_ranap_DSCH_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 255U, NULL, FALSE); return offset; } -static int dissect_dSCH_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DSCH_ID(tvb, offset, pinfo, tree, hf_ranap_dSCH_ID); +static int dissect_dSCH_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DSCH_ID(tvb, offset, actx, tree, hf_ranap_dSCH_ID); } static int -dissect_ranap_USCH_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 255U, NULL, NULL, FALSE); +dissect_ranap_USCH_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 255U, NULL, FALSE); return offset; } -static int dissect_uSCH_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_USCH_ID(tvb, offset, pinfo, tree, hf_ranap_uSCH_ID); +static int dissect_uSCH_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_USCH_ID(tvb, offset, actx, tree, hf_ranap_uSCH_ID); } @@ -5932,17 +5932,17 @@ static const per_sequence_t TrCH_ID_sequence[] = { }; static int -dissect_ranap_TrCH_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TrCH_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_TrCH_ID, TrCH_ID_sequence); return offset; } -static int dissect_trCH_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TrCH_ID(tvb, offset, pinfo, tree, hf_ranap_trCH_ID); +static int dissect_trCH_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TrCH_ID(tvb, offset, actx, tree, hf_ranap_trCH_ID); } -static int dissect_TrCH_ID_List_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TrCH_ID(tvb, offset, pinfo, tree, hf_ranap_TrCH_ID_List_item); +static int dissect_TrCH_ID_List_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TrCH_ID(tvb, offset, actx, tree, hf_ranap_TrCH_ID_List_item); } @@ -5954,14 +5954,14 @@ static const per_sequence_t SRB_TrCH_MappingItem_sequence[] = { }; static int -dissect_ranap_SRB_TrCH_MappingItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SRB_TrCH_MappingItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SRB_TrCH_MappingItem, SRB_TrCH_MappingItem_sequence); return offset; } -static int dissect_SRB_TrCH_Mapping_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SRB_TrCH_MappingItem(tvb, offset, pinfo, tree, hf_ranap_SRB_TrCH_Mapping_item); +static int dissect_SRB_TrCH_Mapping_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SRB_TrCH_MappingItem(tvb, offset, actx, tree, hf_ranap_SRB_TrCH_Mapping_item); } @@ -5970,15 +5970,15 @@ static const per_sequence_t SRB_TrCH_Mapping_sequence_of[1] = { }; static int -dissect_ranap_SRB_TrCH_Mapping(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SRB_TrCH_Mapping(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_SRB_TrCH_Mapping, SRB_TrCH_Mapping_sequence_of, 1, 8); return offset; } -static int dissect_id_SRB_TrCH_Mapping(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SRB_TrCH_Mapping(tvb, offset, pinfo, tree, hf_ranap_id_SRB_TrCH_Mapping); +static int dissect_id_SRB_TrCH_Mapping(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SRB_TrCH_Mapping(tvb, offset, actx, tree, hf_ranap_id_SRB_TrCH_Mapping); } @@ -5988,14 +5988,14 @@ static const per_sequence_t LeftMBMSBearerService_IEs_item_sequence[] = { }; static int -dissect_ranap_LeftMBMSBearerService_IEs_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LeftMBMSBearerService_IEs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_LeftMBMSBearerService_IEs_item, LeftMBMSBearerService_IEs_item_sequence); return offset; } -static int dissect_LeftMBMSBearerService_IEs_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LeftMBMSBearerService_IEs_item(tvb, offset, pinfo, tree, hf_ranap_LeftMBMSBearerService_IEs_item); +static int dissect_LeftMBMSBearerService_IEs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LeftMBMSBearerService_IEs_item(tvb, offset, actx, tree, hf_ranap_LeftMBMSBearerService_IEs_item); } @@ -6004,15 +6004,15 @@ static const per_sequence_t LeftMBMSBearerService_IEs_sequence_of[1] = { }; static int -dissect_ranap_LeftMBMSBearerService_IEs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LeftMBMSBearerService_IEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_LeftMBMSBearerService_IEs, LeftMBMSBearerService_IEs_sequence_of, 1, 128); return offset; } -static int dissect_id_LeftMBMSBearerServicesList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LeftMBMSBearerService_IEs(tvb, offset, pinfo, tree, hf_ranap_id_LeftMBMSBearerServicesList); +static int dissect_id_LeftMBMSBearerServicesList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LeftMBMSBearerService_IEs(tvb, offset, actx, tree, hf_ranap_id_LeftMBMSBearerServicesList); } @@ -6025,14 +6025,14 @@ static const value_string ranap_LocationRelatedDataRequestTypeSpecificToGERANIuM static int -dissect_ranap_LocationRelatedDataRequestTypeSpecificToGERANIuMode(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 3, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_LocationRelatedDataRequestTypeSpecificToGERANIuMode(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 3, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_LocationRelatedDataRequestTypeSpecificToGERANIuMode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LocationRelatedDataRequestTypeSpecificToGERANIuMode(tvb, offset, pinfo, tree, hf_ranap_id_LocationRelatedDataRequestTypeSpecificToGERANIuMode); +static int dissect_id_LocationRelatedDataRequestTypeSpecificToGERANIuMode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LocationRelatedDataRequestTypeSpecificToGERANIuMode(tvb, offset, actx, tree, hf_ranap_id_LocationRelatedDataRequestTypeSpecificToGERANIuMode); } @@ -6043,43 +6043,43 @@ static const value_string ranap_SignallingIndication_vals[] = { static int -dissect_ranap_SignallingIndication(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 1, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_SignallingIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 1, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_SignallingIndication(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SignallingIndication(tvb, offset, pinfo, tree, hf_ranap_id_SignallingIndication); +static int dissect_id_SignallingIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SignallingIndication(tvb, offset, actx, tree, hf_ranap_id_SignallingIndication); } static int -dissect_ranap_HS_DSCH_MAC_d_Flow_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 7U, NULL, NULL, FALSE); +dissect_ranap_HS_DSCH_MAC_d_Flow_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 7U, NULL, FALSE); return offset; } -static int dissect_id_hS_DSCH_MAC_d_Flow_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_HS_DSCH_MAC_d_Flow_ID(tvb, offset, pinfo, tree, hf_ranap_id_hS_DSCH_MAC_d_Flow_ID); +static int dissect_id_hS_DSCH_MAC_d_Flow_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_HS_DSCH_MAC_d_Flow_ID(tvb, offset, actx, tree, hf_ranap_id_hS_DSCH_MAC_d_Flow_ID); } static int -dissect_ranap_TargetCellId(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 268435455U, NULL, NULL, FALSE); +dissect_ranap_TargetCellId(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 268435455U, NULL, FALSE); return offset; } -static int dissect_targetCellId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TargetCellId(tvb, offset, pinfo, tree, hf_ranap_targetCellId); +static int dissect_targetCellId(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TargetCellId(tvb, offset, actx, tree, hf_ranap_targetCellId); } -static int dissect_uTRANcellID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TargetCellId(tvb, offset, pinfo, tree, hf_ranap_uTRANcellID); +static int dissect_uTRANcellID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TargetCellId(tvb, offset, actx, tree, hf_ranap_uTRANcellID); } @@ -6091,14 +6091,14 @@ static const per_sequence_t SourceUTRANCellID_sequence[] = { }; static int -dissect_ranap_SourceUTRANCellID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SourceUTRANCellID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SourceUTRANCellID, SourceUTRANCellID_sequence); return offset; } -static int dissect_sourceUTRANCellID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SourceUTRANCellID(tvb, offset, pinfo, tree, hf_ranap_sourceUTRANCellID); +static int dissect_sourceUTRANCellID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SourceUTRANCellID(tvb, offset, actx, tree, hf_ranap_sourceUTRANCellID); } @@ -6111,17 +6111,17 @@ static const per_sequence_t CGI_sequence[] = { }; static int -dissect_ranap_CGI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_CGI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_CGI, CGI_sequence); return offset; } -static int dissect_sourceGERANCellID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CGI(tvb, offset, pinfo, tree, hf_ranap_sourceGERANCellID); +static int dissect_sourceGERANCellID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CGI(tvb, offset, actx, tree, hf_ranap_sourceGERANCellID); } -static int dissect_cGI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CGI(tvb, offset, pinfo, tree, hf_ranap_cGI); +static int dissect_cGI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CGI(tvb, offset, actx, tree, hf_ranap_cGI); } @@ -6138,15 +6138,15 @@ static const per_choice_t SourceCellID_choice[] = { }; static int -dissect_ranap_SourceCellID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SourceCellID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_SourceCellID, SourceCellID_choice, NULL); return offset; } -static int dissect_sourceCellID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SourceCellID(tvb, offset, pinfo, tree, hf_ranap_sourceCellID); +static int dissect_sourceCellID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SourceCellID(tvb, offset, actx, tree, hf_ranap_sourceCellID); } @@ -6159,14 +6159,14 @@ static const per_sequence_t CellLoadInformationGroup_sequence[] = { }; static int -dissect_ranap_CellLoadInformationGroup(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_CellLoadInformationGroup(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_CellLoadInformationGroup, CellLoadInformationGroup_sequence); return offset; } -static int dissect_id_CellLoadInformationGroup(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_CellLoadInformationGroup(tvb, offset, pinfo, tree, hf_ranap_id_CellLoadInformationGroup); +static int dissect_id_CellLoadInformationGroup(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_CellLoadInformationGroup(tvb, offset, actx, tree, hf_ranap_id_CellLoadInformationGroup); } @@ -6178,14 +6178,14 @@ static const value_string ranap_MBMSBearerServiceType_vals[] = { static int -dissect_ranap_MBMSBearerServiceType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_MBMSBearerServiceType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_MBMSBearerServiceType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSBearerServiceType(tvb, offset, pinfo, tree, hf_ranap_id_MBMSBearerServiceType); +static int dissect_id_MBMSBearerServiceType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSBearerServiceType(tvb, offset, actx, tree, hf_ranap_id_MBMSBearerServiceType); } @@ -6197,14 +6197,14 @@ static const value_string ranap_MBMSCNDe_Registration_vals[] = { static int -dissect_ranap_MBMSCNDe_Registration(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_MBMSCNDe_Registration(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_MBMSCNDe_Registration(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSCNDe_Registration(tvb, offset, pinfo, tree, hf_ranap_id_MBMSCNDe_Registration); +static int dissect_id_MBMSCNDe_Registration(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSCNDe_Registration(tvb, offset, actx, tree, hf_ranap_id_MBMSCNDe_Registration); } @@ -6216,27 +6216,27 @@ static const value_string ranap_MBMSRegistrationRequestType_vals[] = { static int -dissect_ranap_MBMSRegistrationRequestType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_MBMSRegistrationRequestType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_MBMSRegistrationRequestType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSRegistrationRequestType(tvb, offset, pinfo, tree, hf_ranap_id_MBMSRegistrationRequestType); +static int dissect_id_MBMSRegistrationRequestType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSRegistrationRequestType(tvb, offset, actx, tree, hf_ranap_id_MBMSRegistrationRequestType); } static int -dissect_ranap_MBMSServiceAreaCode(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 65535U, NULL, NULL, FALSE); +dissect_ranap_MBMSServiceAreaCode(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 65535U, NULL, FALSE); return offset; } -static int dissect_MBMSServiceAreaList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSServiceAreaCode(tvb, offset, pinfo, tree, hf_ranap_MBMSServiceAreaList_item); +static int dissect_MBMSServiceAreaList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSServiceAreaCode(tvb, offset, actx, tree, hf_ranap_MBMSServiceAreaList_item); } @@ -6245,15 +6245,15 @@ static const per_sequence_t MBMSServiceAreaList_sequence_of[1] = { }; static int -dissect_ranap_MBMSServiceAreaList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSServiceAreaList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSServiceAreaList, MBMSServiceAreaList_sequence_of, 1, 256); return offset; } -static int dissect_mBMSServiceAreaList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSServiceAreaList(tvb, offset, pinfo, tree, hf_ranap_mBMSServiceAreaList); +static int dissect_mBMSServiceAreaList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSServiceAreaList(tvb, offset, actx, tree, hf_ranap_mBMSServiceAreaList); } @@ -6264,79 +6264,79 @@ static const per_sequence_t MBMSServiceArea_sequence[] = { }; static int -dissect_ranap_MBMSServiceArea(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSServiceArea(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MBMSServiceArea, MBMSServiceArea_sequence); return offset; } -static int dissect_id_MBMSServiceArea(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSServiceArea(tvb, offset, pinfo, tree, hf_ranap_id_MBMSServiceArea); +static int dissect_id_MBMSServiceArea(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSServiceArea(tvb, offset, actx, tree, hf_ranap_id_MBMSServiceArea); } static int -dissect_ranap_MBMSSessionDuration(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSSessionDuration(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 3, NULL); return offset; } -static int dissect_id_MBMSSessionDuration(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSSessionDuration(tvb, offset, pinfo, tree, hf_ranap_id_MBMSSessionDuration); +static int dissect_id_MBMSSessionDuration(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSSessionDuration(tvb, offset, actx, tree, hf_ranap_id_MBMSSessionDuration); } static int -dissect_ranap_MBMSSessionIdentity(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MBMSSessionIdentity(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 1, 1, NULL); return offset; } -static int dissect_id_MBMSSessionIdentity(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSSessionIdentity(tvb, offset, pinfo, tree, hf_ranap_id_MBMSSessionIdentity); +static int dissect_id_MBMSSessionIdentity(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSSessionIdentity(tvb, offset, actx, tree, hf_ranap_id_MBMSSessionIdentity); } static int -dissect_ranap_MBMSSessionRepetitionNumber(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 255U, NULL, NULL, FALSE); +dissect_ranap_MBMSSessionRepetitionNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 255U, NULL, FALSE); return offset; } -static int dissect_id_MBMSSessionRepetitionNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSSessionRepetitionNumber(tvb, offset, pinfo, tree, hf_ranap_id_MBMSSessionRepetitionNumber); +static int dissect_id_MBMSSessionRepetitionNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSSessionRepetitionNumber(tvb, offset, actx, tree, hf_ranap_id_MBMSSessionRepetitionNumber); } static int -dissect_ranap_NAS_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_NAS_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 2, 2, FALSE); return offset; } -static int dissect_id_NAS_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_NAS_SequenceNumber(tvb, offset, pinfo, tree, hf_ranap_id_NAS_SequenceNumber); +static int dissect_id_NAS_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_NAS_SequenceNumber(tvb, offset, actx, tree, hf_ranap_id_NAS_SequenceNumber); } static int -dissect_ranap_NewBSS_To_OldBSS_Information(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_NewBSS_To_OldBSS_Information(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, NULL); return offset; } -static int dissect_id_NewBSS_To_OldBSS_Information(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_NewBSS_To_OldBSS_Information(tvb, offset, pinfo, tree, hf_ranap_id_NewBSS_To_OldBSS_Information); +static int dissect_id_NewBSS_To_OldBSS_Information(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_NewBSS_To_OldBSS_Information(tvb, offset, actx, tree, hf_ranap_id_NewBSS_To_OldBSS_Information); } @@ -6348,53 +6348,53 @@ static const value_string ranap_NonSearchingIndication_vals[] = { static int -dissect_ranap_NonSearchingIndication(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_NonSearchingIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, FALSE, 0, NULL); return offset; } -static int dissect_id_NonSearchingIndication(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_NonSearchingIndication(tvb, offset, pinfo, tree, hf_ranap_id_NonSearchingIndication); +static int dissect_id_NonSearchingIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_NonSearchingIndication(tvb, offset, actx, tree, hf_ranap_id_NonSearchingIndication); } static int -dissect_ranap_NumberOfSteps(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 1U, 16U, NULL, NULL, FALSE); +dissect_ranap_NumberOfSteps(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 1U, 16U, NULL, FALSE); return offset; } -static int dissect_id_NumberOfSteps(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_NumberOfSteps(tvb, offset, pinfo, tree, hf_ranap_id_NumberOfSteps); +static int dissect_id_NumberOfSteps(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_NumberOfSteps(tvb, offset, actx, tree, hf_ranap_id_NumberOfSteps); } static int -dissect_ranap_OMC_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_OMC_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 22, NULL); return offset; } -static int dissect_id_OMC_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_OMC_ID(tvb, offset, pinfo, tree, hf_ranap_id_OMC_ID); +static int dissect_id_OMC_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_OMC_ID(tvb, offset, actx, tree, hf_ranap_id_OMC_ID); } static int -dissect_ranap_OldBSS_ToNewBSS_Information(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_OldBSS_ToNewBSS_Information(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, NULL); return offset; } -static int dissect_id_OldBSS_ToNewBSS_Information(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_OldBSS_ToNewBSS_Information(tvb, offset, pinfo, tree, hf_ranap_id_OldBSS_ToNewBSS_Information); +static int dissect_id_OldBSS_ToNewBSS_Information(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_OldBSS_ToNewBSS_Information(tvb, offset, actx, tree, hf_ranap_id_OldBSS_ToNewBSS_Information); } @@ -6406,14 +6406,14 @@ static const per_sequence_t RAI_sequence[] = { }; static int -dissect_ranap_RAI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAI, RAI_sequence); return offset; } -static int dissect_rAI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAI(tvb, offset, pinfo, tree, hf_ranap_rAI); +static int dissect_rAI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAI(tvb, offset, actx, tree, hf_ranap_rAI); } @@ -6430,15 +6430,15 @@ static const per_choice_t PagingAreaID_choice[] = { }; static int -dissect_ranap_PagingAreaID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PagingAreaID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_PagingAreaID, PagingAreaID_choice, NULL); return offset; } -static int dissect_id_PagingAreaID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PagingAreaID(tvb, offset, pinfo, tree, hf_ranap_id_PagingAreaID); +static int dissect_id_PagingAreaID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PagingAreaID(tvb, offset, actx, tree, hf_ranap_id_PagingAreaID); } @@ -6454,14 +6454,14 @@ static const value_string ranap_PagingCause_vals[] = { static int -dissect_ranap_PagingCause(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 5, NULL, NULL, TRUE, 1, NULL); +dissect_ranap_PagingCause(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 5, NULL, TRUE, 1, NULL); return offset; } -static int dissect_id_PagingCause(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PagingCause(tvb, offset, pinfo, tree, hf_ranap_id_PagingCause); +static int dissect_id_PagingCause(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PagingCause(tvb, offset, actx, tree, hf_ranap_id_PagingCause); } @@ -6476,14 +6476,14 @@ static const value_string ranap_PDP_Type_vals[] = { static int -dissect_ranap_PDP_Type(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 5, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_PDP_Type(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 5, NULL, TRUE, 0, NULL); return offset; } -static int dissect_PDP_TypeInformation_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PDP_Type(tvb, offset, pinfo, tree, hf_ranap_PDP_TypeInformation_item); +static int dissect_PDP_TypeInformation_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PDP_Type(tvb, offset, actx, tree, hf_ranap_PDP_TypeInformation_item); } @@ -6492,44 +6492,44 @@ static const per_sequence_t PDP_TypeInformation_sequence_of[1] = { }; static int -dissect_ranap_PDP_TypeInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PDP_TypeInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_PDP_TypeInformation, PDP_TypeInformation_sequence_of, 1, 2); return offset; } -static int dissect_id_PDP_TypeInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PDP_TypeInformation(tvb, offset, pinfo, tree, hf_ranap_id_PDP_TypeInformation); +static int dissect_id_PDP_TypeInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PDP_TypeInformation(tvb, offset, actx, tree, hf_ranap_id_PDP_TypeInformation); } -static int dissect_pDP_TypeInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PDP_TypeInformation(tvb, offset, pinfo, tree, hf_ranap_pDP_TypeInformation); +static int dissect_pDP_TypeInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PDP_TypeInformation(tvb, offset, actx, tree, hf_ranap_pDP_TypeInformation); } static int -dissect_ranap_PositioningDataDiscriminator(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PositioningDataDiscriminator(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 4, 4, FALSE); return offset; } -static int dissect_positioningDataDiscriminator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PositioningDataDiscriminator(tvb, offset, pinfo, tree, hf_ranap_positioningDataDiscriminator); +static int dissect_positioningDataDiscriminator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PositioningDataDiscriminator(tvb, offset, actx, tree, hf_ranap_positioningDataDiscriminator); } static int -dissect_ranap_PositioningMethodAndUsage(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PositioningMethodAndUsage(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 1, 1, NULL); return offset; } -static int dissect_PositioningDataSet_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PositioningMethodAndUsage(tvb, offset, pinfo, tree, hf_ranap_PositioningDataSet_item); +static int dissect_PositioningDataSet_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PositioningMethodAndUsage(tvb, offset, actx, tree, hf_ranap_PositioningDataSet_item); } @@ -6538,15 +6538,15 @@ static const per_sequence_t PositioningDataSet_sequence_of[1] = { }; static int -dissect_ranap_PositioningDataSet(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PositioningDataSet(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_PositioningDataSet, PositioningDataSet_sequence_of, 1, 9); return offset; } -static int dissect_positioningDataSet(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PositioningDataSet(tvb, offset, pinfo, tree, hf_ranap_positioningDataSet); +static int dissect_positioningDataSet(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PositioningDataSet(tvb, offset, actx, tree, hf_ranap_positioningDataSet); } @@ -6558,27 +6558,27 @@ static const per_sequence_t PositionData_sequence[] = { }; static int -dissect_ranap_PositionData(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PositionData(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_PositionData, PositionData_sequence); return offset; } -static int dissect_id_PositionData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PositionData(tvb, offset, pinfo, tree, hf_ranap_id_PositionData); +static int dissect_id_PositionData(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PositionData(tvb, offset, actx, tree, hf_ranap_id_PositionData); } static int -dissect_ranap_PositionDataSpecificToGERANIuMode(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PositionDataSpecificToGERANIuMode(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, NULL); return offset; } -static int dissect_id_PositionDataSpecificToGERANIuMode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PositionDataSpecificToGERANIuMode(tvb, offset, pinfo, tree, hf_ranap_id_PositionDataSpecificToGERANIuMode); +static int dissect_id_PositionDataSpecificToGERANIuMode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PositionDataSpecificToGERANIuMode(tvb, offset, actx, tree, hf_ranap_id_PositionDataSpecificToGERANIuMode); } @@ -6590,30 +6590,30 @@ static const value_string ranap_PositioningPriority_vals[] = { static int -dissect_ranap_PositioningPriority(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_PositioningPriority(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_PositioningPriority(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PositioningPriority(tvb, offset, pinfo, tree, hf_ranap_id_PositioningPriority); +static int dissect_id_PositioningPriority(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PositioningPriority(tvb, offset, actx, tree, hf_ranap_id_PositioningPriority); } static int -dissect_ranap_SNAC(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 65535U, NULL, NULL, FALSE); +dissect_ranap_SNAC(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 65535U, NULL, FALSE); return offset; } -static int dissect_AuthorisedSNAs_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SNAC(tvb, offset, pinfo, tree, hf_ranap_AuthorisedSNAs_item); +static int dissect_AuthorisedSNAs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SNAC(tvb, offset, actx, tree, hf_ranap_AuthorisedSNAs_item); } -static int dissect_ListOF_SNAs_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SNAC(tvb, offset, pinfo, tree, hf_ranap_ListOF_SNAs_item); +static int dissect_ListOF_SNAs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SNAC(tvb, offset, actx, tree, hf_ranap_ListOF_SNAs_item); } @@ -6622,15 +6622,15 @@ static const per_sequence_t ListOF_SNAs_sequence_of[1] = { }; static int -dissect_ranap_ListOF_SNAs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ListOF_SNAs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_ListOF_SNAs, ListOF_SNAs_sequence_of, 1, 65536); return offset; } -static int dissect_listOF_SNAs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ListOF_SNAs(tvb, offset, pinfo, tree, hf_ranap_listOF_SNAs); +static int dissect_listOF_SNAs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ListOF_SNAs(tvb, offset, actx, tree, hf_ranap_listOF_SNAs); } @@ -6642,14 +6642,14 @@ static const per_sequence_t LA_LIST_item_sequence[] = { }; static int -dissect_ranap_LA_LIST_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LA_LIST_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_LA_LIST_item, LA_LIST_item_sequence); return offset; } -static int dissect_LA_LIST_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LA_LIST_item(tvb, offset, pinfo, tree, hf_ranap_LA_LIST_item); +static int dissect_LA_LIST_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LA_LIST_item(tvb, offset, actx, tree, hf_ranap_LA_LIST_item); } @@ -6658,15 +6658,15 @@ static const per_sequence_t LA_LIST_sequence_of[1] = { }; static int -dissect_ranap_LA_LIST(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_LA_LIST(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_LA_LIST, LA_LIST_sequence_of, 1, 65536); return offset; } -static int dissect_lA_LIST(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_LA_LIST(tvb, offset, pinfo, tree, hf_ranap_lA_LIST); +static int dissect_lA_LIST(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_LA_LIST(tvb, offset, actx, tree, hf_ranap_lA_LIST); } @@ -6677,14 +6677,14 @@ static const per_sequence_t PLMNs_in_shared_network_item_sequence[] = { }; static int -dissect_ranap_PLMNs_in_shared_network_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PLMNs_in_shared_network_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_PLMNs_in_shared_network_item, PLMNs_in_shared_network_item_sequence); return offset; } -static int dissect_PLMNs_in_shared_network_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PLMNs_in_shared_network_item(tvb, offset, pinfo, tree, hf_ranap_PLMNs_in_shared_network_item); +static int dissect_PLMNs_in_shared_network_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PLMNs_in_shared_network_item(tvb, offset, actx, tree, hf_ranap_PLMNs_in_shared_network_item); } @@ -6693,15 +6693,15 @@ static const per_sequence_t PLMNs_in_shared_network_sequence_of[1] = { }; static int -dissect_ranap_PLMNs_in_shared_network(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_PLMNs_in_shared_network(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_PLMNs_in_shared_network, PLMNs_in_shared_network_sequence_of, 1, 32); return offset; } -static int dissect_pLMNs_in_shared_network(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PLMNs_in_shared_network(tvb, offset, pinfo, tree, hf_ranap_pLMNs_in_shared_network); +static int dissect_pLMNs_in_shared_network(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PLMNs_in_shared_network(tvb, offset, actx, tree, hf_ranap_pLMNs_in_shared_network); } @@ -6712,14 +6712,14 @@ static const per_sequence_t Shared_Network_Information_sequence[] = { }; static int -dissect_ranap_Shared_Network_Information(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Shared_Network_Information(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Shared_Network_Information, Shared_Network_Information_sequence); return offset; } -static int dissect_shared_network_information(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Shared_Network_Information(tvb, offset, pinfo, tree, hf_ranap_shared_network_information); +static int dissect_shared_network_information(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Shared_Network_Information(tvb, offset, actx, tree, hf_ranap_shared_network_information); } @@ -6734,60 +6734,60 @@ static const per_choice_t ProvidedData_choice[] = { }; static int -dissect_ranap_ProvidedData(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProvidedData(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_ProvidedData, ProvidedData_choice, NULL); return offset; } -static int dissect_id_ProvidedData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProvidedData(tvb, offset, pinfo, tree, hf_ranap_id_ProvidedData); +static int dissect_id_ProvidedData(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProvidedData(tvb, offset, actx, tree, hf_ranap_id_ProvidedData); } static int -dissect_ranap_UL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 65535U, NULL, NULL, FALSE); +dissect_ranap_UL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 65535U, NULL, FALSE); return offset; } -static int dissect_id_UL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UL_GTP_PDU_SequenceNumber(tvb, offset, pinfo, tree, hf_ranap_id_UL_GTP_PDU_SequenceNumber); +static int dissect_id_UL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UL_GTP_PDU_SequenceNumber(tvb, offset, actx, tree, hf_ranap_id_UL_GTP_PDU_SequenceNumber); } -static int dissect_uL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UL_GTP_PDU_SequenceNumber(tvb, offset, pinfo, tree, hf_ranap_uL_GTP_PDU_SequenceNumber); +static int dissect_uL_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UL_GTP_PDU_SequenceNumber(tvb, offset, actx, tree, hf_ranap_uL_GTP_PDU_SequenceNumber); } -static int dissect_ul_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UL_GTP_PDU_SequenceNumber(tvb, offset, pinfo, tree, hf_ranap_ul_GTP_PDU_SequenceNumber); +static int dissect_ul_GTP_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UL_GTP_PDU_SequenceNumber(tvb, offset, actx, tree, hf_ranap_ul_GTP_PDU_SequenceNumber); } static int -dissect_ranap_DL_N_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 65535U, NULL, NULL, FALSE); +dissect_ranap_DL_N_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 65535U, NULL, FALSE); return offset; } -static int dissect_dl_N_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DL_N_PDU_SequenceNumber(tvb, offset, pinfo, tree, hf_ranap_dl_N_PDU_SequenceNumber); +static int dissect_dl_N_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DL_N_PDU_SequenceNumber(tvb, offset, actx, tree, hf_ranap_dl_N_PDU_SequenceNumber); } static int -dissect_ranap_UL_N_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 65535U, NULL, NULL, FALSE); +dissect_ranap_UL_N_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 65535U, NULL, FALSE); return offset; } -static int dissect_ul_N_PDU_SequenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UL_N_PDU_SequenceNumber(tvb, offset, pinfo, tree, hf_ranap_ul_N_PDU_SequenceNumber); +static int dissect_ul_N_PDU_SequenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UL_N_PDU_SequenceNumber(tvb, offset, actx, tree, hf_ranap_ul_N_PDU_SequenceNumber); } @@ -6802,26 +6802,26 @@ static const per_sequence_t RAB_ContextItem_sequence[] = { }; static int -dissect_ranap_RAB_ContextItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_ContextItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_ContextItem, RAB_ContextItem_sequence); return offset; } -static int dissect_id_RAB_ContextItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ContextItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ContextItem); +static int dissect_id_RAB_ContextItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ContextItem(tvb, offset, actx, tree, hf_ranap_id_RAB_ContextItem); } static int -dissect_ranap_RAB_ContextList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_ContextList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_ContextList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ContextList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ContextList); +static int dissect_id_RAB_ContextList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ContextList(tvb, offset, actx, tree, hf_ranap_id_RAB_ContextList); } @@ -6833,26 +6833,26 @@ static const per_sequence_t RABs_ContextFailedtoTransferItem_sequence[] = { }; static int -dissect_ranap_RABs_ContextFailedtoTransferItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RABs_ContextFailedtoTransferItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RABs_ContextFailedtoTransferItem, RABs_ContextFailedtoTransferItem_sequence); return offset; } -static int dissect_id_RAB_ContextFailedtoTransferItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RABs_ContextFailedtoTransferItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ContextFailedtoTransferItem); +static int dissect_id_RAB_ContextFailedtoTransferItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RABs_ContextFailedtoTransferItem(tvb, offset, actx, tree, hf_ranap_id_RAB_ContextFailedtoTransferItem); } static int -dissect_ranap_RAB_ContextFailedtoTransferList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_ContextFailedtoTransferList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_ContextFailedtoTransferList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ContextFailedtoTransferList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ContextFailedtoTransferList); +static int dissect_id_RAB_ContextFailedtoTransferList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ContextFailedtoTransferList(tvb, offset, actx, tree, hf_ranap_id_RAB_ContextFailedtoTransferList); } @@ -6867,42 +6867,42 @@ static const per_sequence_t RAB_ContextItem_RANAP_RelocInf_sequence[] = { }; static int -dissect_ranap_RAB_ContextItem_RANAP_RelocInf(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_ContextItem_RANAP_RelocInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_ContextItem_RANAP_RelocInf, RAB_ContextItem_RANAP_RelocInf_sequence); return offset; } -static int dissect_id_RAB_ContextItem_RANAP_RelocInf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ContextItem_RANAP_RelocInf(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ContextItem_RANAP_RelocInf); +static int dissect_id_RAB_ContextItem_RANAP_RelocInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ContextItem_RANAP_RelocInf(tvb, offset, actx, tree, hf_ranap_id_RAB_ContextItem_RANAP_RelocInf); } static int -dissect_ranap_RAB_ContextList_RANAP_RelocInf(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_ContextList_RANAP_RelocInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_ContextList_RANAP_RelocInf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ContextList_RANAP_RelocInf(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ContextList_RANAP_RelocInf); +static int dissect_id_RAB_ContextList_RANAP_RelocInf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ContextList_RANAP_RelocInf(tvb, offset, actx, tree, hf_ranap_id_RAB_ContextList_RANAP_RelocInf); } static int -dissect_ranap_TransportLayerAddress(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TransportLayerAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 160, TRUE); return offset; } -static int dissect_id_TransportLayerAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TransportLayerAddress(tvb, offset, pinfo, tree, hf_ranap_id_TransportLayerAddress); +static int dissect_id_TransportLayerAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TransportLayerAddress(tvb, offset, actx, tree, hf_ranap_id_TransportLayerAddress); } -static int dissect_transportLayerAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TransportLayerAddress(tvb, offset, pinfo, tree, hf_ranap_transportLayerAddress); +static int dissect_transportLayerAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TransportLayerAddress(tvb, offset, actx, tree, hf_ranap_transportLayerAddress); } @@ -6915,14 +6915,14 @@ static const per_sequence_t RAB_DataForwardingItem_sequence[] = { }; static int -dissect_ranap_RAB_DataForwardingItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_DataForwardingItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_DataForwardingItem, RAB_DataForwardingItem_sequence); return offset; } -static int dissect_id_RAB_DataForwardingItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_DataForwardingItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_DataForwardingItem); +static int dissect_id_RAB_DataForwardingItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_DataForwardingItem(tvb, offset, actx, tree, hf_ranap_id_RAB_DataForwardingItem); } @@ -6933,64 +6933,64 @@ static const per_sequence_t RAB_DataForwardingItem_SRNS_CtxReq_sequence[] = { }; static int -dissect_ranap_RAB_DataForwardingItem_SRNS_CtxReq(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_DataForwardingItem_SRNS_CtxReq(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_DataForwardingItem_SRNS_CtxReq, RAB_DataForwardingItem_SRNS_CtxReq_sequence); return offset; } -static int dissect_id_RAB_DataForwardingItem_SRNS_CtxReq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_DataForwardingItem_SRNS_CtxReq(tvb, offset, pinfo, tree, hf_ranap_id_RAB_DataForwardingItem_SRNS_CtxReq); +static int dissect_id_RAB_DataForwardingItem_SRNS_CtxReq(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_DataForwardingItem_SRNS_CtxReq(tvb, offset, actx, tree, hf_ranap_id_RAB_DataForwardingItem_SRNS_CtxReq); } static int -dissect_ranap_RAB_DataForwardingList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_DataForwardingList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_DataForwardingList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_DataForwardingList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_DataForwardingList); +static int dissect_id_RAB_DataForwardingList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_DataForwardingList(tvb, offset, actx, tree, hf_ranap_id_RAB_DataForwardingList); } static int -dissect_ranap_RAB_DataForwardingList_SRNS_CtxReq(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_DataForwardingList_SRNS_CtxReq(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_DataForwardingList_SRNS_CtxReq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_DataForwardingList_SRNS_CtxReq(tvb, offset, pinfo, tree, hf_ranap_id_RAB_DataForwardingList_SRNS_CtxReq); +static int dissect_id_RAB_DataForwardingList_SRNS_CtxReq(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_DataForwardingList_SRNS_CtxReq(tvb, offset, actx, tree, hf_ranap_id_RAB_DataForwardingList_SRNS_CtxReq); } static int -dissect_ranap_UnsuccessfullyTransmittedDataVolume(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 4294967295U, NULL, NULL, FALSE); +dissect_ranap_UnsuccessfullyTransmittedDataVolume(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 4294967295U, NULL, FALSE); return offset; } -static int dissect_dl_UnsuccessfullyTransmittedDataVolume(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UnsuccessfullyTransmittedDataVolume(tvb, offset, pinfo, tree, hf_ranap_dl_UnsuccessfullyTransmittedDataVolume); +static int dissect_dl_UnsuccessfullyTransmittedDataVolume(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UnsuccessfullyTransmittedDataVolume(tvb, offset, actx, tree, hf_ranap_dl_UnsuccessfullyTransmittedDataVolume); } static int -dissect_ranap_DataVolumeReference(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 255U, NULL, NULL, FALSE); +dissect_ranap_DataVolumeReference(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 255U, NULL, FALSE); return offset; } -static int dissect_dataVolumeReference(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DataVolumeReference(tvb, offset, pinfo, tree, hf_ranap_dataVolumeReference); +static int dissect_dataVolumeReference(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DataVolumeReference(tvb, offset, actx, tree, hf_ranap_dataVolumeReference); } @@ -7002,14 +7002,14 @@ static const per_sequence_t DataVolumeList_item_sequence[] = { }; static int -dissect_ranap_DataVolumeList_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_DataVolumeList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_DataVolumeList_item, DataVolumeList_item_sequence); return offset; } -static int dissect_DataVolumeList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DataVolumeList_item(tvb, offset, pinfo, tree, hf_ranap_DataVolumeList_item); +static int dissect_DataVolumeList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DataVolumeList_item(tvb, offset, actx, tree, hf_ranap_DataVolumeList_item); } @@ -7018,18 +7018,18 @@ static const per_sequence_t DataVolumeList_sequence_of[1] = { }; static int -dissect_ranap_DataVolumeList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_DataVolumeList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_DataVolumeList, DataVolumeList_sequence_of, 1, 2); return offset; } -static int dissect_rab_dl_UnsuccessfullyTransmittedDataVolume(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DataVolumeList(tvb, offset, pinfo, tree, hf_ranap_rab_dl_UnsuccessfullyTransmittedDataVolume); +static int dissect_rab_dl_UnsuccessfullyTransmittedDataVolume(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DataVolumeList(tvb, offset, actx, tree, hf_ranap_rab_dl_UnsuccessfullyTransmittedDataVolume); } -static int dissect_dl_dataVolumes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DataVolumeList(tvb, offset, pinfo, tree, hf_ranap_dl_dataVolumes); +static int dissect_dl_dataVolumes(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DataVolumeList(tvb, offset, actx, tree, hf_ranap_dl_dataVolumes); } @@ -7041,26 +7041,26 @@ static const per_sequence_t RAB_DataVolumeReportItem_sequence[] = { }; static int -dissect_ranap_RAB_DataVolumeReportItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_DataVolumeReportItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_DataVolumeReportItem, RAB_DataVolumeReportItem_sequence); return offset; } -static int dissect_id_RAB_DataVolumeReportItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_DataVolumeReportItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_DataVolumeReportItem); +static int dissect_id_RAB_DataVolumeReportItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_DataVolumeReportItem(tvb, offset, actx, tree, hf_ranap_id_RAB_DataVolumeReportItem); } static int -dissect_ranap_RAB_DataVolumeReportList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_DataVolumeReportList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_DataVolumeReportList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_DataVolumeReportList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_DataVolumeReportList); +static int dissect_id_RAB_DataVolumeReportList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_DataVolumeReportList(tvb, offset, actx, tree, hf_ranap_id_RAB_DataVolumeReportList); } @@ -7071,26 +7071,26 @@ static const per_sequence_t RAB_DataVolumeReportRequestItem_sequence[] = { }; static int -dissect_ranap_RAB_DataVolumeReportRequestItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_DataVolumeReportRequestItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_DataVolumeReportRequestItem, RAB_DataVolumeReportRequestItem_sequence); return offset; } -static int dissect_id_RAB_DataVolumeReportRequestItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_DataVolumeReportRequestItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_DataVolumeReportRequestItem); +static int dissect_id_RAB_DataVolumeReportRequestItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_DataVolumeReportRequestItem(tvb, offset, actx, tree, hf_ranap_id_RAB_DataVolumeReportRequestItem); } static int -dissect_ranap_RAB_DataVolumeReportRequestList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_DataVolumeReportRequestList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_DataVolumeReportRequestList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_DataVolumeReportRequestList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_DataVolumeReportRequestList); +static int dissect_id_RAB_DataVolumeReportRequestList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_DataVolumeReportRequestList(tvb, offset, actx, tree, hf_ranap_id_RAB_DataVolumeReportRequestList); } @@ -7102,26 +7102,26 @@ static const per_sequence_t RAB_FailedItem_sequence[] = { }; static int -dissect_ranap_RAB_FailedItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_FailedItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_FailedItem, RAB_FailedItem_sequence); return offset; } -static int dissect_id_RAB_FailedItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_FailedItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_FailedItem); +static int dissect_id_RAB_FailedItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_FailedItem(tvb, offset, actx, tree, hf_ranap_id_RAB_FailedItem); } static int -dissect_ranap_RAB_FailedList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_FailedList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_FailedList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_FailedList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_FailedList); +static int dissect_id_RAB_FailedList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_FailedList(tvb, offset, actx, tree, hf_ranap_id_RAB_FailedList); } @@ -7133,38 +7133,38 @@ static const per_sequence_t RABs_failed_to_reportItem_sequence[] = { }; static int -dissect_ranap_RABs_failed_to_reportItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RABs_failed_to_reportItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RABs_failed_to_reportItem, RABs_failed_to_reportItem_sequence); return offset; } -static int dissect_id_RAB_FailedtoReportItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RABs_failed_to_reportItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_FailedtoReportItem); +static int dissect_id_RAB_FailedtoReportItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RABs_failed_to_reportItem(tvb, offset, actx, tree, hf_ranap_id_RAB_FailedtoReportItem); } static int -dissect_ranap_RAB_FailedtoReportList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_FailedtoReportList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_FailedtoReportList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_FailedtoReportList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_FailedtoReportList); +static int dissect_id_RAB_FailedtoReportList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_FailedtoReportList(tvb, offset, actx, tree, hf_ranap_id_RAB_FailedtoReportList); } static int -dissect_ranap_RAB_ModifyList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_ModifyList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_ModifyList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ModifyList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ModifyList); +static int dissect_id_RAB_ModifyList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ModifyList(tvb, offset, actx, tree, hf_ranap_id_RAB_ModifyList); } @@ -7173,15 +7173,15 @@ static const per_sequence_t Requested_RAB_Parameter_MaxBitrateList_sequence_of[1 }; static int -dissect_ranap_Requested_RAB_Parameter_MaxBitrateList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Requested_RAB_Parameter_MaxBitrateList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_Requested_RAB_Parameter_MaxBitrateList, Requested_RAB_Parameter_MaxBitrateList_sequence_of, 1, 2); return offset; } -static int dissect_requestedMaxBitrates(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Requested_RAB_Parameter_MaxBitrateList(tvb, offset, pinfo, tree, hf_ranap_requestedMaxBitrates); +static int dissect_requestedMaxBitrates(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Requested_RAB_Parameter_MaxBitrateList(tvb, offset, actx, tree, hf_ranap_requestedMaxBitrates); } @@ -7190,15 +7190,15 @@ static const per_sequence_t Requested_RAB_Parameter_GuaranteedBitrateList_sequen }; static int -dissect_ranap_Requested_RAB_Parameter_GuaranteedBitrateList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Requested_RAB_Parameter_GuaranteedBitrateList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_Requested_RAB_Parameter_GuaranteedBitrateList, Requested_RAB_Parameter_GuaranteedBitrateList_sequence_of, 1, 2); return offset; } -static int dissect_requestedGuaranteedBitrates(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Requested_RAB_Parameter_GuaranteedBitrateList(tvb, offset, pinfo, tree, hf_ranap_requestedGuaranteedBitrates); +static int dissect_requestedGuaranteedBitrates(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Requested_RAB_Parameter_GuaranteedBitrateList(tvb, offset, actx, tree, hf_ranap_requestedGuaranteedBitrates); } @@ -7210,14 +7210,14 @@ static const per_sequence_t Requested_RAB_Parameter_Values_sequence[] = { }; static int -dissect_ranap_Requested_RAB_Parameter_Values(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Requested_RAB_Parameter_Values(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_Requested_RAB_Parameter_Values, Requested_RAB_Parameter_Values_sequence); return offset; } -static int dissect_requested_RAB_Parameter_Values(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Requested_RAB_Parameter_Values(tvb, offset, pinfo, tree, hf_ranap_requested_RAB_Parameter_Values); +static int dissect_requested_RAB_Parameter_Values(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Requested_RAB_Parameter_Values(tvb, offset, actx, tree, hf_ranap_requested_RAB_Parameter_Values); } @@ -7229,14 +7229,14 @@ static const per_sequence_t RAB_ModifyItem_sequence[] = { }; static int -dissect_ranap_RAB_ModifyItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_ModifyItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_ModifyItem, RAB_ModifyItem_sequence); return offset; } -static int dissect_id_RAB_ModifyItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ModifyItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ModifyItem); +static int dissect_id_RAB_ModifyItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ModifyItem(tvb, offset, actx, tree, hf_ranap_id_RAB_ModifyItem); } @@ -7248,14 +7248,14 @@ static const value_string ranap_TypeOfError_vals[] = { static int -dissect_ranap_TypeOfError(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_TypeOfError(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_TypeOfError(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TypeOfError(tvb, offset, pinfo, tree, hf_ranap_id_TypeOfError); +static int dissect_id_TypeOfError(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TypeOfError(tvb, offset, actx, tree, hf_ranap_id_TypeOfError); } @@ -7269,14 +7269,14 @@ static const value_string ranap_TrafficClass_vals[] = { static int -dissect_ranap_TrafficClass(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 4, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_TrafficClass(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 4, NULL, TRUE, 0, NULL); return offset; } -static int dissect_trafficClass(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TrafficClass(tvb, offset, pinfo, tree, hf_ranap_trafficClass); +static int dissect_trafficClass(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TrafficClass(tvb, offset, actx, tree, hf_ranap_trafficClass); } @@ -7290,14 +7290,14 @@ static const value_string ranap_RAB_AsymmetryIndicator_vals[] = { static int -dissect_ranap_RAB_AsymmetryIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 4, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_RAB_AsymmetryIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 4, NULL, TRUE, 0, NULL); return offset; } -static int dissect_rAB_AsymmetryIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_AsymmetryIndicator(tvb, offset, pinfo, tree, hf_ranap_rAB_AsymmetryIndicator); +static int dissect_rAB_AsymmetryIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_AsymmetryIndicator(tvb, offset, actx, tree, hf_ranap_rAB_AsymmetryIndicator); } @@ -7306,15 +7306,15 @@ static const per_sequence_t RAB_Parameter_MaxBitrateList_sequence_of[1] = { }; static int -dissect_ranap_RAB_Parameter_MaxBitrateList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_Parameter_MaxBitrateList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_Parameter_MaxBitrateList, RAB_Parameter_MaxBitrateList_sequence_of, 1, 2); return offset; } -static int dissect_maxBitrate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_Parameter_MaxBitrateList(tvb, offset, pinfo, tree, hf_ranap_maxBitrate); +static int dissect_maxBitrate(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_Parameter_MaxBitrateList(tvb, offset, actx, tree, hf_ranap_maxBitrate); } @@ -7323,15 +7323,15 @@ static const per_sequence_t RAB_Parameter_GuaranteedBitrateList_sequence_of[1] = }; static int -dissect_ranap_RAB_Parameter_GuaranteedBitrateList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_Parameter_GuaranteedBitrateList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_Parameter_GuaranteedBitrateList, RAB_Parameter_GuaranteedBitrateList_sequence_of, 1, 2); return offset; } -static int dissect_guaranteedBitRate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_Parameter_GuaranteedBitrateList(tvb, offset, pinfo, tree, hf_ranap_guaranteedBitRate); +static int dissect_guaranteedBitRate(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_Parameter_GuaranteedBitrateList(tvb, offset, actx, tree, hf_ranap_guaranteedBitRate); } @@ -7343,53 +7343,53 @@ static const value_string ranap_DeliveryOrder_vals[] = { static int -dissect_ranap_DeliveryOrder(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_DeliveryOrder(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, FALSE, 0, NULL); return offset; } -static int dissect_deliveryOrder(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DeliveryOrder(tvb, offset, pinfo, tree, hf_ranap_deliveryOrder); +static int dissect_deliveryOrder(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DeliveryOrder(tvb, offset, actx, tree, hf_ranap_deliveryOrder); } static int -dissect_ranap_MaxSDU_Size(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 32768U, NULL, NULL, FALSE); +dissect_ranap_MaxSDU_Size(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 32768U, NULL, FALSE); return offset; } -static int dissect_maxSDU_Size(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MaxSDU_Size(tvb, offset, pinfo, tree, hf_ranap_maxSDU_Size); +static int dissect_maxSDU_Size(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MaxSDU_Size(tvb, offset, actx, tree, hf_ranap_maxSDU_Size); } static int -dissect_ranap_INTEGER_1_9(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 1U, 9U, NULL, NULL, FALSE); +dissect_ranap_INTEGER_1_9(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 1U, 9U, NULL, FALSE); return offset; } -static int dissect_mantissa(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_1_9(tvb, offset, pinfo, tree, hf_ranap_mantissa); +static int dissect_mantissa(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_1_9(tvb, offset, actx, tree, hf_ranap_mantissa); } static int -dissect_ranap_INTEGER_1_6(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 1U, 6U, NULL, NULL, FALSE); +dissect_ranap_INTEGER_1_6(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 1U, 6U, NULL, FALSE); return offset; } -static int dissect_exponent_1_8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_1_6(tvb, offset, pinfo, tree, hf_ranap_exponent_1_8); +static int dissect_exponent_1_8(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_1_6(tvb, offset, actx, tree, hf_ranap_exponent_1_8); } @@ -7401,27 +7401,27 @@ static const per_sequence_t SDU_ErrorRatio_sequence[] = { }; static int -dissect_ranap_SDU_ErrorRatio(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SDU_ErrorRatio(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SDU_ErrorRatio, SDU_ErrorRatio_sequence); return offset; } -static int dissect_sDU_ErrorRatio(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SDU_ErrorRatio(tvb, offset, pinfo, tree, hf_ranap_sDU_ErrorRatio); +static int dissect_sDU_ErrorRatio(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SDU_ErrorRatio(tvb, offset, actx, tree, hf_ranap_sDU_ErrorRatio); } static int -dissect_ranap_INTEGER_1_8(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 1U, 8U, NULL, NULL, FALSE); +dissect_ranap_INTEGER_1_8(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 1U, 8U, NULL, FALSE); return offset; } -static int dissect_exponent(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_INTEGER_1_8(tvb, offset, pinfo, tree, hf_ranap_exponent); +static int dissect_exponent(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_INTEGER_1_8(tvb, offset, actx, tree, hf_ranap_exponent); } @@ -7433,14 +7433,14 @@ static const per_sequence_t ResidualBitErrorRatio_sequence[] = { }; static int -dissect_ranap_ResidualBitErrorRatio(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ResidualBitErrorRatio(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_ResidualBitErrorRatio, ResidualBitErrorRatio_sequence); return offset; } -static int dissect_residualBitErrorRatio(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ResidualBitErrorRatio(tvb, offset, pinfo, tree, hf_ranap_residualBitErrorRatio); +static int dissect_residualBitErrorRatio(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ResidualBitErrorRatio(tvb, offset, actx, tree, hf_ranap_residualBitErrorRatio); } @@ -7453,40 +7453,40 @@ static const value_string ranap_DeliveryOfErroneousSDU_vals[] = { static int -dissect_ranap_DeliveryOfErroneousSDU(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 3, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_DeliveryOfErroneousSDU(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 3, NULL, FALSE, 0, NULL); return offset; } -static int dissect_deliveryOfErroneousSDU(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DeliveryOfErroneousSDU(tvb, offset, pinfo, tree, hf_ranap_deliveryOfErroneousSDU); +static int dissect_deliveryOfErroneousSDU(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DeliveryOfErroneousSDU(tvb, offset, actx, tree, hf_ranap_deliveryOfErroneousSDU); } static int -dissect_ranap_SubflowSDU_Size(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 4095U, NULL, NULL, FALSE); +dissect_ranap_SubflowSDU_Size(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 4095U, NULL, FALSE); return offset; } -static int dissect_subflowSDU_Size(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SubflowSDU_Size(tvb, offset, pinfo, tree, hf_ranap_subflowSDU_Size); +static int dissect_subflowSDU_Size(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SubflowSDU_Size(tvb, offset, actx, tree, hf_ranap_subflowSDU_Size); } static int -dissect_ranap_RAB_SubflowCombinationBitRate(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 16000000U, NULL, NULL, FALSE); +dissect_ranap_RAB_SubflowCombinationBitRate(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 16000000U, NULL, FALSE); return offset; } -static int dissect_rAB_SubflowCombinationBitRate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_SubflowCombinationBitRate(tvb, offset, pinfo, tree, hf_ranap_rAB_SubflowCombinationBitRate); +static int dissect_rAB_SubflowCombinationBitRate(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_SubflowCombinationBitRate(tvb, offset, actx, tree, hf_ranap_rAB_SubflowCombinationBitRate); } @@ -7498,14 +7498,14 @@ static const per_sequence_t SDU_FormatInformationParameters_item_sequence[] = { }; static int -dissect_ranap_SDU_FormatInformationParameters_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SDU_FormatInformationParameters_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SDU_FormatInformationParameters_item, SDU_FormatInformationParameters_item_sequence); return offset; } -static int dissect_SDU_FormatInformationParameters_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SDU_FormatInformationParameters_item(tvb, offset, pinfo, tree, hf_ranap_SDU_FormatInformationParameters_item); +static int dissect_SDU_FormatInformationParameters_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SDU_FormatInformationParameters_item(tvb, offset, actx, tree, hf_ranap_SDU_FormatInformationParameters_item); } @@ -7514,15 +7514,15 @@ static const per_sequence_t SDU_FormatInformationParameters_sequence_of[1] = { }; static int -dissect_ranap_SDU_FormatInformationParameters(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SDU_FormatInformationParameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_SDU_FormatInformationParameters, SDU_FormatInformationParameters_sequence_of, 1, 64); return offset; } -static int dissect_sDU_FormatInformationParameters(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SDU_FormatInformationParameters(tvb, offset, pinfo, tree, hf_ranap_sDU_FormatInformationParameters); +static int dissect_sDU_FormatInformationParameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SDU_FormatInformationParameters(tvb, offset, actx, tree, hf_ranap_sDU_FormatInformationParameters); } @@ -7536,14 +7536,14 @@ static const per_sequence_t SDU_Parameters_item_sequence[] = { }; static int -dissect_ranap_SDU_Parameters_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SDU_Parameters_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SDU_Parameters_item, SDU_Parameters_item_sequence); return offset; } -static int dissect_SDU_Parameters_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SDU_Parameters_item(tvb, offset, pinfo, tree, hf_ranap_SDU_Parameters_item); +static int dissect_SDU_Parameters_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SDU_Parameters_item(tvb, offset, actx, tree, hf_ranap_SDU_Parameters_item); } @@ -7552,28 +7552,28 @@ static const per_sequence_t SDU_Parameters_sequence_of[1] = { }; static int -dissect_ranap_SDU_Parameters(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SDU_Parameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_SDU_Parameters, SDU_Parameters_sequence_of, 1, 7); return offset; } -static int dissect_sDU_Parameters(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SDU_Parameters(tvb, offset, pinfo, tree, hf_ranap_sDU_Parameters); +static int dissect_sDU_Parameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SDU_Parameters(tvb, offset, actx, tree, hf_ranap_sDU_Parameters); } static int -dissect_ranap_TransferDelay(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 65535U, NULL, NULL, FALSE); +dissect_ranap_TransferDelay(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 65535U, NULL, FALSE); return offset; } -static int dissect_transferDelay(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TransferDelay(tvb, offset, pinfo, tree, hf_ranap_transferDelay); +static int dissect_transferDelay(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TransferDelay(tvb, offset, actx, tree, hf_ranap_transferDelay); } @@ -7587,14 +7587,14 @@ static const value_string ranap_TrafficHandlingPriority_vals[] = { static int -dissect_ranap_TrafficHandlingPriority(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 15U, NULL, NULL, FALSE); +dissect_ranap_TrafficHandlingPriority(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 15U, NULL, FALSE); return offset; } -static int dissect_trafficHandlingPriority(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TrafficHandlingPriority(tvb, offset, pinfo, tree, hf_ranap_trafficHandlingPriority); +static int dissect_trafficHandlingPriority(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TrafficHandlingPriority(tvb, offset, actx, tree, hf_ranap_trafficHandlingPriority); } @@ -7608,14 +7608,14 @@ static const value_string ranap_PriorityLevel_vals[] = { static int -dissect_ranap_PriorityLevel(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 15U, NULL, NULL, FALSE); +dissect_ranap_PriorityLevel(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 15U, NULL, FALSE); return offset; } -static int dissect_priorityLevel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_PriorityLevel(tvb, offset, pinfo, tree, hf_ranap_priorityLevel); +static int dissect_priorityLevel(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_PriorityLevel(tvb, offset, actx, tree, hf_ranap_priorityLevel); } @@ -7627,14 +7627,14 @@ static const value_string ranap_Pre_emptionCapability_vals[] = { static int -dissect_ranap_Pre_emptionCapability(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_Pre_emptionCapability(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, FALSE, 0, NULL); return offset; } -static int dissect_pre_emptionCapability(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Pre_emptionCapability(tvb, offset, pinfo, tree, hf_ranap_pre_emptionCapability); +static int dissect_pre_emptionCapability(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Pre_emptionCapability(tvb, offset, actx, tree, hf_ranap_pre_emptionCapability); } @@ -7646,14 +7646,14 @@ static const value_string ranap_Pre_emptionVulnerability_vals[] = { static int -dissect_ranap_Pre_emptionVulnerability(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_Pre_emptionVulnerability(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, FALSE, 0, NULL); return offset; } -static int dissect_pre_emptionVulnerability(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Pre_emptionVulnerability(tvb, offset, pinfo, tree, hf_ranap_pre_emptionVulnerability); +static int dissect_pre_emptionVulnerability(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Pre_emptionVulnerability(tvb, offset, actx, tree, hf_ranap_pre_emptionVulnerability); } @@ -7665,14 +7665,14 @@ static const value_string ranap_QueuingAllowed_vals[] = { static int -dissect_ranap_QueuingAllowed(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_QueuingAllowed(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, FALSE, 0, NULL); return offset; } -static int dissect_queuingAllowed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_QueuingAllowed(tvb, offset, pinfo, tree, hf_ranap_queuingAllowed); +static int dissect_queuingAllowed(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_QueuingAllowed(tvb, offset, actx, tree, hf_ranap_queuingAllowed); } @@ -7686,14 +7686,14 @@ static const per_sequence_t AllocationOrRetentionPriority_sequence[] = { }; static int -dissect_ranap_AllocationOrRetentionPriority(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_AllocationOrRetentionPriority(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_AllocationOrRetentionPriority, AllocationOrRetentionPriority_sequence); return offset; } -static int dissect_allocationOrRetentionPriority(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_AllocationOrRetentionPriority(tvb, offset, pinfo, tree, hf_ranap_allocationOrRetentionPriority); +static int dissect_allocationOrRetentionPriority(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_AllocationOrRetentionPriority(tvb, offset, actx, tree, hf_ranap_allocationOrRetentionPriority); } @@ -7705,14 +7705,14 @@ static const value_string ranap_SourceStatisticsDescriptor_vals[] = { static int -dissect_ranap_SourceStatisticsDescriptor(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_SourceStatisticsDescriptor(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_sourceStatisticsDescriptor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SourceStatisticsDescriptor(tvb, offset, pinfo, tree, hf_ranap_sourceStatisticsDescriptor); +static int dissect_sourceStatisticsDescriptor(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SourceStatisticsDescriptor(tvb, offset, actx, tree, hf_ranap_sourceStatisticsDescriptor); } @@ -7724,14 +7724,14 @@ static const value_string ranap_RelocationRequirement_vals[] = { static int -dissect_ranap_RelocationRequirement(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_RelocationRequirement(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_relocationRequirement(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationRequirement(tvb, offset, pinfo, tree, hf_ranap_relocationRequirement); +static int dissect_relocationRequirement(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationRequirement(tvb, offset, actx, tree, hf_ranap_relocationRequirement); } @@ -7753,20 +7753,20 @@ static const per_sequence_t RAB_Parameters_sequence[] = { }; static int -dissect_ranap_RAB_Parameters(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_Parameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_Parameters, RAB_Parameters_sequence); return offset; } -static int dissect_id_RAB_Parameters(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_Parameters(tvb, offset, pinfo, tree, hf_ranap_id_RAB_Parameters); +static int dissect_id_RAB_Parameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_Parameters(tvb, offset, actx, tree, hf_ranap_id_RAB_Parameters); } -static int dissect_id_AlternativeRABConfiguration(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_Parameters(tvb, offset, pinfo, tree, hf_ranap_id_AlternativeRABConfiguration); +static int dissect_id_AlternativeRABConfiguration(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_Parameters(tvb, offset, actx, tree, hf_ranap_id_AlternativeRABConfiguration); } -static int dissect_rAB_Parameters(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_Parameters(tvb, offset, pinfo, tree, hf_ranap_rAB_Parameters); +static int dissect_rAB_Parameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_Parameters(tvb, offset, actx, tree, hf_ranap_rAB_Parameters); } @@ -7777,38 +7777,38 @@ static const per_sequence_t RAB_QueuedItem_sequence[] = { }; static int -dissect_ranap_RAB_QueuedItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_QueuedItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_QueuedItem, RAB_QueuedItem_sequence); return offset; } -static int dissect_id_RAB_QueuedItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_QueuedItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_QueuedItem); +static int dissect_id_RAB_QueuedItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_QueuedItem(tvb, offset, actx, tree, hf_ranap_id_RAB_QueuedItem); } static int -dissect_ranap_RAB_QueuedList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_QueuedList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_QueuedList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_QueuedList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_QueuedList); +static int dissect_id_RAB_QueuedList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_QueuedList(tvb, offset, actx, tree, hf_ranap_id_RAB_QueuedList); } static int -dissect_ranap_RAB_ReleaseFailedList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_FailedList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_ReleaseFailedList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_FailedList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_ReleaseFailedList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ReleaseFailedList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ReleaseFailedList); +static int dissect_id_RAB_ReleaseFailedList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ReleaseFailedList(tvb, offset, actx, tree, hf_ranap_id_RAB_ReleaseFailedList); } @@ -7820,14 +7820,14 @@ static const per_sequence_t RAB_ReleaseItem_sequence[] = { }; static int -dissect_ranap_RAB_ReleaseItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_ReleaseItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_ReleaseItem, RAB_ReleaseItem_sequence); return offset; } -static int dissect_id_RAB_ReleaseItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ReleaseItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ReleaseItem); +static int dissect_id_RAB_ReleaseItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ReleaseItem(tvb, offset, actx, tree, hf_ranap_id_RAB_ReleaseItem); } @@ -7840,27 +7840,27 @@ static const per_sequence_t RAB_ReleasedItem_IuRelComp_sequence[] = { }; static int -dissect_ranap_RAB_ReleasedItem_IuRelComp(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_ReleasedItem_IuRelComp(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_ReleasedItem_IuRelComp, RAB_ReleasedItem_IuRelComp_sequence); return offset; } -static int dissect_id_RAB_ReleasedItem_IuRelComp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ReleasedItem_IuRelComp(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ReleasedItem_IuRelComp); +static int dissect_id_RAB_ReleasedItem_IuRelComp(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ReleasedItem_IuRelComp(tvb, offset, actx, tree, hf_ranap_id_RAB_ReleasedItem_IuRelComp); } static int -dissect_ranap_RepetitionNumber1(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 1U, 256U, NULL, NULL, FALSE); +dissect_ranap_RepetitionNumber1(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 1U, 256U, NULL, FALSE); return offset; } -static int dissect_item_repetitionNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RepetitionNumber1(tvb, offset, pinfo, tree, hf_ranap_item_repetitionNumber); +static int dissect_item_repetitionNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RepetitionNumber1(tvb, offset, actx, tree, hf_ranap_item_repetitionNumber); } @@ -7872,14 +7872,14 @@ static const per_sequence_t MessageStructure_item_sequence[] = { }; static int -dissect_ranap_MessageStructure_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MessageStructure_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_MessageStructure_item, MessageStructure_item_sequence); return offset; } -static int dissect_MessageStructure_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MessageStructure_item(tvb, offset, pinfo, tree, hf_ranap_MessageStructure_item); +static int dissect_MessageStructure_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MessageStructure_item(tvb, offset, actx, tree, hf_ranap_MessageStructure_item); } @@ -7888,27 +7888,27 @@ static const per_sequence_t MessageStructure_sequence_of[1] = { }; static int -dissect_ranap_MessageStructure(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_MessageStructure(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_MessageStructure, MessageStructure_sequence_of, 1, 256); return offset; } -static int dissect_id_MessageStructure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MessageStructure(tvb, offset, pinfo, tree, hf_ranap_id_MessageStructure); +static int dissect_id_MessageStructure(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MessageStructure(tvb, offset, actx, tree, hf_ranap_id_MessageStructure); } static int -dissect_ranap_RAB_ReleaseList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_ReleaseList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_ReleaseList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ReleaseList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ReleaseList); +static int dissect_id_RAB_ReleaseList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ReleaseList(tvb, offset, actx, tree, hf_ranap_id_RAB_ReleaseList); } @@ -7922,38 +7922,38 @@ static const per_sequence_t RAB_ReleasedItem_sequence[] = { }; static int -dissect_ranap_RAB_ReleasedItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_ReleasedItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_ReleasedItem, RAB_ReleasedItem_sequence); return offset; } -static int dissect_id_RAB_ReleasedItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ReleasedItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ReleasedItem); +static int dissect_id_RAB_ReleasedItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ReleasedItem(tvb, offset, actx, tree, hf_ranap_id_RAB_ReleasedItem); } static int -dissect_ranap_RAB_ReleasedList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_ReleasedList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_ReleasedList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ReleasedList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ReleasedList); +static int dissect_id_RAB_ReleasedList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ReleasedList(tvb, offset, actx, tree, hf_ranap_id_RAB_ReleasedList); } static int -dissect_ranap_RAB_ReleasedList_IuRelComp(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_ReleasedList_IuRelComp(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_ReleasedList_IuRelComp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_ReleasedList_IuRelComp(tvb, offset, pinfo, tree, hf_ranap_id_RAB_ReleasedList_IuRelComp); +static int dissect_id_RAB_ReleasedList_IuRelComp(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_ReleasedList_IuRelComp(tvb, offset, actx, tree, hf_ranap_id_RAB_ReleasedList_IuRelComp); } @@ -7964,39 +7964,39 @@ static const per_sequence_t RAB_RelocationReleaseItem_sequence[] = { }; static int -dissect_ranap_RAB_RelocationReleaseItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_RelocationReleaseItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_RelocationReleaseItem, RAB_RelocationReleaseItem_sequence); return offset; } -static int dissect_id_RAB_RelocationReleaseItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_RelocationReleaseItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_RelocationReleaseItem); +static int dissect_id_RAB_RelocationReleaseItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_RelocationReleaseItem(tvb, offset, actx, tree, hf_ranap_id_RAB_RelocationReleaseItem); } static int -dissect_ranap_RAB_RelocationReleaseList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_RelocationReleaseList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_RelocationReleaseList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_RelocationReleaseList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_RelocationReleaseList); +static int dissect_id_RAB_RelocationReleaseList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_RelocationReleaseList(tvb, offset, actx, tree, hf_ranap_id_RAB_RelocationReleaseList); } static int -dissect_ranap_NAS_SynchronisationIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_NAS_SynchronisationIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 4, 4, FALSE); return offset; } -static int dissect_nAS_SynchronisationIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_NAS_SynchronisationIndicator(tvb, offset, pinfo, tree, hf_ranap_nAS_SynchronisationIndicator); +static int dissect_nAS_SynchronisationIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_NAS_SynchronisationIndicator(tvb, offset, actx, tree, hf_ranap_nAS_SynchronisationIndicator); } @@ -8008,14 +8008,14 @@ static const value_string ranap_DataVolumeReportingIndication_vals[] = { static int -dissect_ranap_DataVolumeReportingIndication(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_DataVolumeReportingIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, FALSE, 0, NULL); return offset; } -static int dissect_dataVolumeReportingIndication(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_DataVolumeReportingIndication(tvb, offset, pinfo, tree, hf_ranap_dataVolumeReportingIndication); +static int dissect_dataVolumeReportingIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_DataVolumeReportingIndication(tvb, offset, actx, tree, hf_ranap_dataVolumeReportingIndication); } @@ -8027,27 +8027,27 @@ static const value_string ranap_UserPlaneMode_vals[] = { static int -dissect_ranap_UserPlaneMode(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_UserPlaneMode(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_userPlaneMode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UserPlaneMode(tvb, offset, pinfo, tree, hf_ranap_userPlaneMode); +static int dissect_userPlaneMode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UserPlaneMode(tvb, offset, actx, tree, hf_ranap_userPlaneMode); } static int -dissect_ranap_UP_ModeVersions(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UP_ModeVersions(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 16, 16, FALSE); return offset; } -static int dissect_uP_ModeVersions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UP_ModeVersions(tvb, offset, pinfo, tree, hf_ranap_uP_ModeVersions); +static int dissect_uP_ModeVersions(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UP_ModeVersions(tvb, offset, actx, tree, hf_ranap_uP_ModeVersions); } @@ -8059,14 +8059,14 @@ static const per_sequence_t UserPlaneInformation_sequence[] = { }; static int -dissect_ranap_UserPlaneInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UserPlaneInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_UserPlaneInformation, UserPlaneInformation_sequence); return offset; } -static int dissect_userPlaneInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UserPlaneInformation(tvb, offset, pinfo, tree, hf_ranap_userPlaneInformation); +static int dissect_userPlaneInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UserPlaneInformation(tvb, offset, actx, tree, hf_ranap_userPlaneInformation); } @@ -8079,14 +8079,14 @@ static const value_string ranap_Service_Handover_vals[] = { static int -dissect_ranap_Service_Handover(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 3, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_Service_Handover(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 3, NULL, TRUE, 0, NULL); return offset; } -static int dissect_service_Handover(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Service_Handover(tvb, offset, pinfo, tree, hf_ranap_service_Handover); +static int dissect_service_Handover(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Service_Handover(tvb, offset, actx, tree, hf_ranap_service_Handover); } @@ -8105,14 +8105,14 @@ static const per_sequence_t RAB_SetupItem_RelocReq_sequence[] = { }; static int -dissect_ranap_RAB_SetupItem_RelocReq(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_SetupItem_RelocReq(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_SetupItem_RelocReq, RAB_SetupItem_RelocReq_sequence); return offset; } -static int dissect_id_RAB_SetupItem_RelocReq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_SetupItem_RelocReq(tvb, offset, pinfo, tree, hf_ranap_id_RAB_SetupItem_RelocReq); +static int dissect_id_RAB_SetupItem_RelocReq(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_SetupItem_RelocReq(tvb, offset, actx, tree, hf_ranap_id_RAB_SetupItem_RelocReq); } @@ -8125,38 +8125,38 @@ static const per_sequence_t RAB_SetupItem_RelocReqAck_sequence[] = { }; static int -dissect_ranap_RAB_SetupItem_RelocReqAck(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_SetupItem_RelocReqAck(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_SetupItem_RelocReqAck, RAB_SetupItem_RelocReqAck_sequence); return offset; } -static int dissect_id_RAB_SetupItem_RelocReqAck(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_SetupItem_RelocReqAck(tvb, offset, pinfo, tree, hf_ranap_id_RAB_SetupItem_RelocReqAck); +static int dissect_id_RAB_SetupItem_RelocReqAck(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_SetupItem_RelocReqAck(tvb, offset, actx, tree, hf_ranap_id_RAB_SetupItem_RelocReqAck); } static int -dissect_ranap_RAB_SetupList_RelocReq(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_SetupList_RelocReq(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_SetupList_RelocReq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_SetupList_RelocReq(tvb, offset, pinfo, tree, hf_ranap_id_RAB_SetupList_RelocReq); +static int dissect_id_RAB_SetupList_RelocReq(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_SetupList_RelocReq(tvb, offset, actx, tree, hf_ranap_id_RAB_SetupList_RelocReq); } static int -dissect_ranap_RAB_SetupList_RelocReqAck(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_SetupList_RelocReqAck(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_SetupList_RelocReqAck(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_SetupList_RelocReqAck(tvb, offset, pinfo, tree, hf_ranap_id_RAB_SetupList_RelocReqAck); +static int dissect_id_RAB_SetupList_RelocReqAck(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_SetupList_RelocReqAck(tvb, offset, actx, tree, hf_ranap_id_RAB_SetupList_RelocReqAck); } @@ -8170,56 +8170,56 @@ static const per_sequence_t RAB_SetupOrModifiedItem_sequence[] = { }; static int -dissect_ranap_RAB_SetupOrModifiedItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_SetupOrModifiedItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_SetupOrModifiedItem, RAB_SetupOrModifiedItem_sequence); return offset; } -static int dissect_id_RAB_SetupOrModifiedItem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_SetupOrModifiedItem(tvb, offset, pinfo, tree, hf_ranap_id_RAB_SetupOrModifiedItem); +static int dissect_id_RAB_SetupOrModifiedItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_SetupOrModifiedItem(tvb, offset, actx, tree, hf_ranap_id_RAB_SetupOrModifiedItem); } static int -dissect_ranap_RAB_SetupOrModifiedList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_SetupOrModifiedList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_SetupOrModifiedList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_SetupOrModifiedList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_SetupOrModifiedList); +static int dissect_id_RAB_SetupOrModifiedList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_SetupOrModifiedList(tvb, offset, actx, tree, hf_ranap_id_RAB_SetupOrModifiedList); } static int -dissect_ranap_FirstValue(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { +dissect_ranap_FirstValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { #line 66 "ranap.cnf" - offset = dissect_ranap_FirstValue_ies(tvb, offset, pinfo, tree); + offset = dissect_ranap_FirstValue_ies(tvb, offset, actx, tree); return offset; } -static int dissect_firstValue(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_FirstValue(tvb, offset, pinfo, tree, hf_ranap_firstValue); +static int dissect_firstValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_FirstValue(tvb, offset, actx, tree, hf_ranap_firstValue); } static int -dissect_ranap_SecondValue(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { +dissect_ranap_SecondValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { #line 63 "ranap.cnf" - offset = dissect_ranap_SecondValue_ies(tvb, offset, pinfo, tree); + offset = dissect_ranap_SecondValue_ies(tvb, offset, actx, tree); return offset; } -static int dissect_secondValue(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SecondValue(tvb, offset, pinfo, tree, hf_ranap_secondValue); +static int dissect_secondValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SecondValue(tvb, offset, actx, tree, hf_ranap_secondValue); } @@ -8233,14 +8233,14 @@ static const per_sequence_t ProtocolIE_FieldPair_sequence[] = { }; static int -dissect_ranap_ProtocolIE_FieldPair(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolIE_FieldPair(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolIE_FieldPair, ProtocolIE_FieldPair_sequence); return offset; } -static int dissect_ProtocolIE_ContainerPair_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolIE_FieldPair(tvb, offset, pinfo, tree, hf_ranap_ProtocolIE_ContainerPair_item); +static int dissect_ProtocolIE_ContainerPair_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolIE_FieldPair(tvb, offset, actx, tree, hf_ranap_ProtocolIE_ContainerPair_item); } @@ -8249,18 +8249,18 @@ static const per_sequence_t ProtocolIE_ContainerPair_sequence_of[1] = { }; static int -dissect_ranap_ProtocolIE_ContainerPair(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolIE_ContainerPair(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolIE_ContainerPair, ProtocolIE_ContainerPair_sequence_of, 0, 65535); return offset; } -static int dissect_ProtocolIE_ContainerPairList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolIE_ContainerPair(tvb, offset, pinfo, tree, hf_ranap_ProtocolIE_ContainerPairList_item); +static int dissect_ProtocolIE_ContainerPairList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolIE_ContainerPair(tvb, offset, actx, tree, hf_ranap_ProtocolIE_ContainerPairList_item); } -static int dissect_ProtocolIE_ContainerPairList256_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ProtocolIE_ContainerPair(tvb, offset, pinfo, tree, hf_ranap_ProtocolIE_ContainerPairList256_item); +static int dissect_ProtocolIE_ContainerPairList256_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ProtocolIE_ContainerPair(tvb, offset, actx, tree, hf_ranap_ProtocolIE_ContainerPairList256_item); } @@ -8269,8 +8269,8 @@ static const per_sequence_t ProtocolIE_ContainerPairList256_sequence_of[1] = { }; static int -dissect_ranap_ProtocolIE_ContainerPairList256(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolIE_ContainerPairList256(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolIE_ContainerPairList256, ProtocolIE_ContainerPairList256_sequence_of, 1, 256); @@ -8280,8 +8280,8 @@ dissect_ranap_ProtocolIE_ContainerPairList256(tvbuff_t *tvb, int offset, packet_ static int -dissect_ranap_RAB_IE_ContainerPairList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_ProtocolIE_ContainerPairList256(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_IE_ContainerPairList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_ProtocolIE_ContainerPairList256(tvb, offset, actx, tree, hf_index); return offset; } @@ -8289,13 +8289,13 @@ dissect_ranap_RAB_IE_ContainerPairList(tvbuff_t *tvb, int offset, packet_info *p static int -dissect_ranap_RAB_SetupOrModifyList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_RAB_IE_ContainerPairList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RAB_SetupOrModifyList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_RAB_IE_ContainerPairList(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RAB_SetupOrModifyList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_SetupOrModifyList(tvb, offset, pinfo, tree, hf_ranap_id_RAB_SetupOrModifyList); +static int dissect_id_RAB_SetupOrModifyList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_SetupOrModifyList(tvb, offset, actx, tree, hf_ranap_id_RAB_SetupOrModifyList); } @@ -8304,15 +8304,15 @@ static const per_sequence_t RAofIdleModeUEs_sequence_of[1] = { }; static int -dissect_ranap_RAofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_RAofIdleModeUEs, RAofIdleModeUEs_sequence_of, 1, 65536); return offset; } -static int dissect_rAofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAofIdleModeUEs(tvb, offset, pinfo, tree, hf_ranap_rAofIdleModeUEs); +static int dissect_rAofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAofIdleModeUEs(tvb, offset, actx, tree, hf_ranap_rAofIdleModeUEs); } @@ -8323,14 +8323,14 @@ static const per_sequence_t NotEmptyRAListofIdleModeUEs_sequence[] = { }; static int -dissect_ranap_NotEmptyRAListofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_NotEmptyRAListofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_NotEmptyRAListofIdleModeUEs, NotEmptyRAListofIdleModeUEs_sequence); return offset; } -static int dissect_notEmptyRAListofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_NotEmptyRAListofIdleModeUEs(tvb, offset, pinfo, tree, hf_ranap_notEmptyRAListofIdleModeUEs); +static int dissect_notEmptyRAListofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_NotEmptyRAListofIdleModeUEs(tvb, offset, actx, tree, hf_ranap_notEmptyRAListofIdleModeUEs); } @@ -8342,14 +8342,14 @@ static const value_string ranap_T_emptyFullRAListofIdleModeUEs_vals[] = { static int -dissect_ranap_T_emptyFullRAListofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_T_emptyFullRAListofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_emptyFullRAListofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_T_emptyFullRAListofIdleModeUEs(tvb, offset, pinfo, tree, hf_ranap_emptyFullRAListofIdleModeUEs); +static int dissect_emptyFullRAListofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_T_emptyFullRAListofIdleModeUEs(tvb, offset, actx, tree, hf_ranap_emptyFullRAListofIdleModeUEs); } @@ -8366,15 +8366,15 @@ static const per_choice_t RAListofIdleModeUEs_choice[] = { }; static int -dissect_ranap_RAListofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAListofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_RAListofIdleModeUEs, RAListofIdleModeUEs_choice, NULL); return offset; } -static int dissect_id_RAListofIdleModeUEs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAListofIdleModeUEs(tvb, offset, pinfo, tree, hf_ranap_id_RAListofIdleModeUEs); +static int dissect_id_RAListofIdleModeUEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAListofIdleModeUEs(tvb, offset, actx, tree, hf_ranap_id_RAListofIdleModeUEs); } @@ -8385,26 +8385,26 @@ static const value_string ranap_RedirectionCompleted_vals[] = { static int -dissect_ranap_RedirectionCompleted(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 1, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_RedirectionCompleted(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 1, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_RedirectionCompleted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RedirectionCompleted(tvb, offset, pinfo, tree, hf_ranap_id_RedirectionCompleted); +static int dissect_id_RedirectionCompleted(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RedirectionCompleted(tvb, offset, actx, tree, hf_ranap_id_RedirectionCompleted); } static int -dissect_ranap_RedirectionIndication(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_ProtocolIE_Container(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_RedirectionIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_ProtocolIE_Container(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_id_RedirectionIndication(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RedirectionIndication(tvb, offset, pinfo, tree, hf_ranap_id_RedirectionIndication); +static int dissect_id_RedirectionIndication(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RedirectionIndication(tvb, offset, actx, tree, hf_ranap_id_RedirectionIndication); } @@ -8419,14 +8419,14 @@ static const value_string ranap_RejectCauseValue_vals[] = { static int -dissect_ranap_RejectCauseValue(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 5, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_RejectCauseValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 5, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_RejectCauseValue(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RejectCauseValue(tvb, offset, pinfo, tree, hf_ranap_id_RejectCauseValue); +static int dissect_id_RejectCauseValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RejectCauseValue(tvb, offset, actx, tree, hf_ranap_id_RejectCauseValue); } @@ -8438,17 +8438,17 @@ static const value_string ranap_RelocationType_vals[] = { static int -dissect_ranap_RelocationType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_RelocationType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_RelocationType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationType(tvb, offset, pinfo, tree, hf_ranap_id_RelocationType); +static int dissect_id_RelocationType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationType(tvb, offset, actx, tree, hf_ranap_id_RelocationType); } -static int dissect_relocationType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RelocationType(tvb, offset, pinfo, tree, hf_ranap_relocationType); +static int dissect_relocationType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RelocationType(tvb, offset, actx, tree, hf_ranap_relocationType); } @@ -8462,14 +8462,14 @@ static const value_string ranap_Event_vals[] = { static int -dissect_ranap_Event(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 3, NULL, NULL, TRUE, 1, NULL); +dissect_ranap_Event(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 3, NULL, TRUE, 1, NULL); return offset; } -static int dissect_event(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_Event(tvb, offset, pinfo, tree, hf_ranap_event); +static int dissect_event(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_Event(tvb, offset, actx, tree, hf_ranap_event); } @@ -8481,14 +8481,14 @@ static const value_string ranap_ReportArea_vals[] = { static int -dissect_ranap_ReportArea(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_ReportArea(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_reportArea(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ReportArea(tvb, offset, pinfo, tree, hf_ranap_reportArea); +static int dissect_reportArea(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ReportArea(tvb, offset, actx, tree, hf_ranap_reportArea); } @@ -8500,14 +8500,14 @@ static const per_sequence_t RequestType_sequence[] = { }; static int -dissect_ranap_RequestType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RequestType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RequestType, RequestType_sequence); return offset; } -static int dissect_id_RequestType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RequestType(tvb, offset, pinfo, tree, hf_ranap_id_RequestType); +static int dissect_id_RequestType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RequestType(tvb, offset, actx, tree, hf_ranap_id_RequestType); } @@ -8519,27 +8519,27 @@ static const value_string ranap_ResponseTime_vals[] = { static int -dissect_ranap_ResponseTime(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_ResponseTime(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_ResponseTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ResponseTime(tvb, offset, pinfo, tree, hf_ranap_id_ResponseTime); +static int dissect_id_ResponseTime(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ResponseTime(tvb, offset, actx, tree, hf_ranap_id_ResponseTime); } static int -dissect_ranap_SessionUpdateID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 1048575U, NULL, NULL, FALSE); +dissect_ranap_SessionUpdateID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 1048575U, NULL, FALSE); return offset; } -static int dissect_id_SessionUpdateID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SessionUpdateID(tvb, offset, pinfo, tree, hf_ranap_id_SessionUpdateID); +static int dissect_id_SessionUpdateID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SessionUpdateID(tvb, offset, actx, tree, hf_ranap_id_SessionUpdateID); } @@ -8548,15 +8548,15 @@ static const per_sequence_t AuthorisedSNAs_sequence_of[1] = { }; static int -dissect_ranap_AuthorisedSNAs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_AuthorisedSNAs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_AuthorisedSNAs, AuthorisedSNAs_sequence_of, 1, 65536); return offset; } -static int dissect_authorisedSNAsList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_AuthorisedSNAs(tvb, offset, pinfo, tree, hf_ranap_authorisedSNAsList); +static int dissect_authorisedSNAsList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_AuthorisedSNAs(tvb, offset, actx, tree, hf_ranap_authorisedSNAsList); } @@ -8568,14 +8568,14 @@ static const per_sequence_t AuthorisedPLMNs_item_sequence[] = { }; static int -dissect_ranap_AuthorisedPLMNs_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_AuthorisedPLMNs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_AuthorisedPLMNs_item, AuthorisedPLMNs_item_sequence); return offset; } -static int dissect_AuthorisedPLMNs_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_AuthorisedPLMNs_item(tvb, offset, pinfo, tree, hf_ranap_AuthorisedPLMNs_item); +static int dissect_AuthorisedPLMNs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_AuthorisedPLMNs_item(tvb, offset, actx, tree, hf_ranap_AuthorisedPLMNs_item); } @@ -8584,15 +8584,15 @@ static const per_sequence_t AuthorisedPLMNs_sequence_of[1] = { }; static int -dissect_ranap_AuthorisedPLMNs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_AuthorisedPLMNs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_AuthorisedPLMNs, AuthorisedPLMNs_sequence_of, 1, 32); return offset; } -static int dissect_authorisedPLMNs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_AuthorisedPLMNs(tvb, offset, pinfo, tree, hf_ranap_authorisedPLMNs); +static int dissect_authorisedPLMNs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_AuthorisedPLMNs(tvb, offset, actx, tree, hf_ranap_authorisedPLMNs); } @@ -8603,14 +8603,14 @@ static const per_sequence_t SNA_Access_Information_sequence[] = { }; static int -dissect_ranap_SNA_Access_Information(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SNA_Access_Information(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SNA_Access_Information, SNA_Access_Information_sequence); return offset; } -static int dissect_id_SNA_Access_Information(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SNA_Access_Information(tvb, offset, pinfo, tree, hf_ranap_id_SNA_Access_Information); +static int dissect_id_SNA_Access_Information(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SNA_Access_Information(tvb, offset, actx, tree, hf_ranap_id_SNA_Access_Information); } @@ -8622,14 +8622,14 @@ static const per_sequence_t SourceRNC_ID_sequence[] = { }; static int -dissect_ranap_SourceRNC_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SourceRNC_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SourceRNC_ID, SourceRNC_ID_sequence); return offset; } -static int dissect_sourceRNC_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SourceRNC_ID(tvb, offset, pinfo, tree, hf_ranap_sourceRNC_ID); +static int dissect_sourceRNC_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SourceRNC_ID(tvb, offset, actx, tree, hf_ranap_sourceRNC_ID); } @@ -8646,57 +8646,57 @@ static const per_choice_t SourceID_choice[] = { }; static int -dissect_ranap_SourceID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SourceID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_SourceID, SourceID_choice, NULL); return offset; } -static int dissect_id_SourceID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SourceID(tvb, offset, pinfo, tree, hf_ranap_id_SourceID); +static int dissect_id_SourceID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SourceID(tvb, offset, actx, tree, hf_ranap_id_SourceID); } static int -dissect_ranap_RRC_Container(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RRC_Container(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, NO_BOUND, NO_BOUND, NULL); return offset; } -static int dissect_id_SourceRNC_PDCP_context_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RRC_Container(tvb, offset, pinfo, tree, hf_ranap_id_SourceRNC_PDCP_context_info); +static int dissect_id_SourceRNC_PDCP_context_info(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RRC_Container(tvb, offset, actx, tree, hf_ranap_id_SourceRNC_PDCP_context_info); } -static int dissect_rRC_Container(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RRC_Container(tvb, offset, pinfo, tree, hf_ranap_rRC_Container); +static int dissect_rRC_Container(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RRC_Container(tvb, offset, actx, tree, hf_ranap_rRC_Container); } static int -dissect_ranap_NumberOfIuInstances(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 1U, 2U, NULL, NULL, FALSE); +dissect_ranap_NumberOfIuInstances(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 1U, 2U, NULL, FALSE); return offset; } -static int dissect_numberOfIuInstances(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_NumberOfIuInstances(tvb, offset, pinfo, tree, hf_ranap_numberOfIuInstances); +static int dissect_numberOfIuInstances(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_NumberOfIuInstances(tvb, offset, actx, tree, hf_ranap_numberOfIuInstances); } static int -dissect_ranap_D_RNTI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 1048575U, NULL, NULL, FALSE); +dissect_ranap_D_RNTI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 1048575U, NULL, FALSE); return offset; } -static int dissect_d_RNTI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_D_RNTI(tvb, offset, pinfo, tree, hf_ranap_d_RNTI); +static int dissect_d_RNTI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_D_RNTI(tvb, offset, actx, tree, hf_ranap_d_RNTI); } @@ -8705,15 +8705,15 @@ static const per_sequence_t TrCH_ID_List_sequence_of[1] = { }; static int -dissect_ranap_TrCH_ID_List(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TrCH_ID_List(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_TrCH_ID_List, TrCH_ID_List_sequence_of, 1, 7); return offset; } -static int dissect_trCH_ID_List(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TrCH_ID_List(tvb, offset, pinfo, tree, hf_ranap_trCH_ID_List); +static int dissect_trCH_ID_List(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TrCH_ID_List(tvb, offset, actx, tree, hf_ranap_trCH_ID_List); } @@ -8725,14 +8725,14 @@ static const per_sequence_t RAB_TrCH_MappingItem_sequence[] = { }; static int -dissect_ranap_RAB_TrCH_MappingItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_TrCH_MappingItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_TrCH_MappingItem, RAB_TrCH_MappingItem_sequence); return offset; } -static int dissect_RAB_TrCH_Mapping_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_TrCH_MappingItem(tvb, offset, pinfo, tree, hf_ranap_RAB_TrCH_Mapping_item); +static int dissect_RAB_TrCH_Mapping_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_TrCH_MappingItem(tvb, offset, actx, tree, hf_ranap_RAB_TrCH_Mapping_item); } @@ -8741,15 +8741,15 @@ static const per_sequence_t RAB_TrCH_Mapping_sequence_of[1] = { }; static int -dissect_ranap_RAB_TrCH_Mapping(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_TrCH_Mapping(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_TrCH_Mapping, RAB_TrCH_Mapping_sequence_of, 1, 256); return offset; } -static int dissect_rAB_TrCH_Mapping(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_TrCH_Mapping(tvb, offset, pinfo, tree, hf_ranap_rAB_TrCH_Mapping); +static int dissect_rAB_TrCH_Mapping(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_TrCH_Mapping(tvb, offset, actx, tree, hf_ranap_rAB_TrCH_Mapping); } @@ -8771,14 +8771,14 @@ static const per_sequence_t SourceRNC_ToTargetRNC_TransparentContainer_sequence[ }; static int -dissect_ranap_SourceRNC_ToTargetRNC_TransparentContainer(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_SourceRNC_ToTargetRNC_TransparentContainer(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_SourceRNC_ToTargetRNC_TransparentContainer, SourceRNC_ToTargetRNC_TransparentContainer_sequence); return offset; } -static int dissect_id_SourceRNC_ToTargetRNC_TransparentContainer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_SourceRNC_ToTargetRNC_TransparentContainer(tvb, offset, pinfo, tree, hf_ranap_id_SourceRNC_ToTargetRNC_TransparentContainer); +static int dissect_id_SourceRNC_ToTargetRNC_TransparentContainer(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_SourceRNC_ToTargetRNC_TransparentContainer(tvb, offset, actx, tree, hf_ranap_id_SourceRNC_ToTargetRNC_TransparentContainer); } @@ -8791,14 +8791,14 @@ static const per_sequence_t TargetRNC_ID_sequence[] = { }; static int -dissect_ranap_TargetRNC_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TargetRNC_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_TargetRNC_ID, TargetRNC_ID_sequence); return offset; } -static int dissect_targetRNC_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TargetRNC_ID(tvb, offset, pinfo, tree, hf_ranap_targetRNC_ID); +static int dissect_targetRNC_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TargetRNC_ID(tvb, offset, actx, tree, hf_ranap_targetRNC_ID); } @@ -8815,15 +8815,15 @@ static const per_choice_t TargetID_choice[] = { }; static int -dissect_ranap_TargetID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TargetID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_TargetID, TargetID_choice, NULL); return offset; } -static int dissect_id_TargetID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TargetID(tvb, offset, pinfo, tree, hf_ranap_id_TargetID); +static int dissect_id_TargetID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TargetID(tvb, offset, actx, tree, hf_ranap_id_TargetID); } @@ -8835,40 +8835,40 @@ static const per_sequence_t TargetRNC_ToSourceRNC_TransparentContainer_sequence[ }; static int -dissect_ranap_TargetRNC_ToSourceRNC_TransparentContainer(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TargetRNC_ToSourceRNC_TransparentContainer(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_TargetRNC_ToSourceRNC_TransparentContainer, TargetRNC_ToSourceRNC_TransparentContainer_sequence); return offset; } -static int dissect_id_TargetRNC_ToSourceRNC_TransparentContainer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TargetRNC_ToSourceRNC_TransparentContainer(tvb, offset, pinfo, tree, hf_ranap_id_TargetRNC_ToSourceRNC_TransparentContainer); +static int dissect_id_TargetRNC_ToSourceRNC_TransparentContainer(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TargetRNC_ToSourceRNC_TransparentContainer(tvb, offset, actx, tree, hf_ranap_id_TargetRNC_ToSourceRNC_TransparentContainer); } static int -dissect_ranap_TMSI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TMSI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 4, NULL); return offset; } -static int dissect_tMSI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TMSI(tvb, offset, pinfo, tree, hf_ranap_tMSI); +static int dissect_tMSI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TMSI(tvb, offset, actx, tree, hf_ranap_tMSI); } static int -dissect_ranap_P_TMSI(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_P_TMSI(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 4, 4, NULL); return offset; } -static int dissect_p_TMSI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_P_TMSI(tvb, offset, pinfo, tree, hf_ranap_p_TMSI); +static int dissect_p_TMSI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_P_TMSI(tvb, offset, actx, tree, hf_ranap_p_TMSI); } @@ -8885,15 +8885,15 @@ static const per_choice_t TemporaryUE_ID_choice[] = { }; static int -dissect_ranap_TemporaryUE_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TemporaryUE_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_TemporaryUE_ID, TemporaryUE_ID_choice, NULL); return offset; } -static int dissect_id_TemporaryUE_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TemporaryUE_ID(tvb, offset, pinfo, tree, hf_ranap_id_TemporaryUE_ID); +static int dissect_id_TemporaryUE_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TemporaryUE_ID(tvb, offset, actx, tree, hf_ranap_id_TemporaryUE_ID); } @@ -8906,14 +8906,14 @@ static const value_string ranap_TraceDepth_vals[] = { static int -dissect_ranap_TraceDepth(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 3, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_TraceDepth(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 3, NULL, TRUE, 0, NULL); return offset; } -static int dissect_traceDepth(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TraceDepth(tvb, offset, pinfo, tree, hf_ranap_traceDepth); +static int dissect_traceDepth(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TraceDepth(tvb, offset, actx, tree, hf_ranap_traceDepth); } @@ -8928,14 +8928,14 @@ static const value_string ranap_T_interface_vals[] = { static int -dissect_ranap_T_interface(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 5, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_T_interface(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 5, NULL, TRUE, 0, NULL); return offset; } -static int dissect_interface(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_T_interface(tvb, offset, pinfo, tree, hf_ranap_interface); +static int dissect_interface(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_T_interface(tvb, offset, actx, tree, hf_ranap_interface); } @@ -8946,14 +8946,14 @@ static const per_sequence_t InterfacesToTraceItem_sequence[] = { }; static int -dissect_ranap_InterfacesToTraceItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_InterfacesToTraceItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_InterfacesToTraceItem, InterfacesToTraceItem_sequence); return offset; } -static int dissect_ListOfInterfacesToTrace_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_InterfacesToTraceItem(tvb, offset, pinfo, tree, hf_ranap_ListOfInterfacesToTrace_item); +static int dissect_ListOfInterfacesToTrace_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_InterfacesToTraceItem(tvb, offset, actx, tree, hf_ranap_ListOfInterfacesToTrace_item); } @@ -8962,15 +8962,15 @@ static const per_sequence_t ListOfInterfacesToTrace_sequence_of[1] = { }; static int -dissect_ranap_ListOfInterfacesToTrace(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ListOfInterfacesToTrace(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_ListOfInterfacesToTrace, ListOfInterfacesToTrace_sequence_of, 1, 16); return offset; } -static int dissect_listOfInterfacesToTrace(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_ListOfInterfacesToTrace(tvb, offset, pinfo, tree, hf_ranap_listOfInterfacesToTrace); +static int dissect_listOfInterfacesToTrace(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_ListOfInterfacesToTrace(tvb, offset, actx, tree, hf_ranap_listOfInterfacesToTrace); } @@ -8983,27 +8983,27 @@ static const per_sequence_t TracePropagationParameters_sequence[] = { }; static int -dissect_ranap_TracePropagationParameters(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TracePropagationParameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_TracePropagationParameters, TracePropagationParameters_sequence); return offset; } -static int dissect_id_TracePropagationParameters(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TracePropagationParameters(tvb, offset, pinfo, tree, hf_ranap_id_TracePropagationParameters); +static int dissect_id_TracePropagationParameters(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TracePropagationParameters(tvb, offset, actx, tree, hf_ranap_id_TracePropagationParameters); } static int -dissect_ranap_TraceType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TraceType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 1, 1, NULL); return offset; } -static int dissect_id_TraceType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TraceType(tvb, offset, pinfo, tree, hf_ranap_id_TraceType); +static int dissect_id_TraceType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TraceType(tvb, offset, actx, tree, hf_ranap_id_TraceType); } @@ -9015,30 +9015,30 @@ static const per_sequence_t TransportLayerInformation_sequence[] = { }; static int -dissect_ranap_TransportLayerInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TransportLayerInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_TransportLayerInformation, TransportLayerInformation_sequence); return offset; } -static int dissect_id_TransportLayerInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TransportLayerInformation(tvb, offset, pinfo, tree, hf_ranap_id_TransportLayerInformation); +static int dissect_id_TransportLayerInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TransportLayerInformation(tvb, offset, actx, tree, hf_ranap_id_TransportLayerInformation); } -static int dissect_transportLayerInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TransportLayerInformation(tvb, offset, pinfo, tree, hf_ranap_transportLayerInformation); +static int dissect_transportLayerInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TransportLayerInformation(tvb, offset, actx, tree, hf_ranap_transportLayerInformation); } static int -dissect_ranap_TriggerID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_TriggerID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 22, NULL); return offset; } -static int dissect_id_TriggerID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_TriggerID(tvb, offset, pinfo, tree, hf_ranap_id_TriggerID); +static int dissect_id_TriggerID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_TriggerID(tvb, offset, actx, tree, hf_ranap_id_TriggerID); } @@ -9057,41 +9057,41 @@ static const per_choice_t UE_ID_choice[] = { }; static int -dissect_ranap_UE_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UE_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_UE_ID, UE_ID_choice, NULL); return offset; } -static int dissect_id_UE_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UE_ID(tvb, offset, pinfo, tree, hf_ranap_id_UE_ID); +static int dissect_id_UE_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UE_ID(tvb, offset, actx, tree, hf_ranap_id_UE_ID); } static int -dissect_ranap_UESBI_IuA(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UESBI_IuA(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 128, FALSE); return offset; } -static int dissect_uESBI_IuA(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UESBI_IuA(tvb, offset, pinfo, tree, hf_ranap_uESBI_IuA); +static int dissect_uESBI_IuA(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UESBI_IuA(tvb, offset, actx, tree, hf_ranap_uESBI_IuA); } static int -dissect_ranap_UESBI_IuB(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UESBI_IuB(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 1, 128, FALSE); return offset; } -static int dissect_uESBI_IuB(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UESBI_IuB(tvb, offset, pinfo, tree, hf_ranap_uESBI_IuB); +static int dissect_uESBI_IuB(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UESBI_IuB(tvb, offset, actx, tree, hf_ranap_uESBI_IuB); } @@ -9103,14 +9103,14 @@ static const per_sequence_t UESBI_Iu_sequence[] = { }; static int -dissect_ranap_UESBI_Iu(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UESBI_Iu(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_UESBI_Iu, UESBI_Iu_sequence); return offset; } -static int dissect_id_UESBI_Iu(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UESBI_Iu(tvb, offset, pinfo, tree, hf_ranap_id_UESBI_Iu); +static int dissect_id_UESBI_Iu(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UESBI_Iu(tvb, offset, actx, tree, hf_ranap_id_UESBI_Iu); } @@ -9122,14 +9122,14 @@ static const per_sequence_t UnsuccessfulLinking_IEs_item_sequence[] = { }; static int -dissect_ranap_UnsuccessfulLinking_IEs_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UnsuccessfulLinking_IEs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_UnsuccessfulLinking_IEs_item, UnsuccessfulLinking_IEs_item_sequence); return offset; } -static int dissect_UnsuccessfulLinking_IEs_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UnsuccessfulLinking_IEs_item(tvb, offset, pinfo, tree, hf_ranap_UnsuccessfulLinking_IEs_item); +static int dissect_UnsuccessfulLinking_IEs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UnsuccessfulLinking_IEs_item(tvb, offset, actx, tree, hf_ranap_UnsuccessfulLinking_IEs_item); } @@ -9138,28 +9138,28 @@ static const per_sequence_t UnsuccessfulLinking_IEs_sequence_of[1] = { }; static int -dissect_ranap_UnsuccessfulLinking_IEs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_UnsuccessfulLinking_IEs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_UnsuccessfulLinking_IEs, UnsuccessfulLinking_IEs_sequence_of, 1, 128); return offset; } -static int dissect_id_UnsuccessfulLinkingList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_UnsuccessfulLinking_IEs(tvb, offset, pinfo, tree, hf_ranap_id_UnsuccessfulLinkingList); +static int dissect_id_UnsuccessfulLinkingList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_UnsuccessfulLinking_IEs(tvb, offset, actx, tree, hf_ranap_id_UnsuccessfulLinkingList); } static int -dissect_ranap_VerticalAccuracyCode(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 127U, NULL, NULL, FALSE); +dissect_ranap_VerticalAccuracyCode(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 127U, NULL, FALSE); return offset; } -static int dissect_id_VerticalAccuracyCode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_VerticalAccuracyCode(tvb, offset, pinfo, tree, hf_ranap_id_VerticalAccuracyCode); +static int dissect_id_VerticalAccuracyCode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_VerticalAccuracyCode(tvb, offset, actx, tree, hf_ranap_id_VerticalAccuracyCode); } @@ -9170,14 +9170,14 @@ static const value_string ranap_MBMSLinkingInformation_vals[] = { static int -dissect_ranap_MBMSLinkingInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 1, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_MBMSLinkingInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 1, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_MBMSLinkingInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_MBMSLinkingInformation(tvb, offset, pinfo, tree, hf_ranap_id_MBMSLinkingInformation); +static int dissect_id_MBMSLinkingInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_MBMSLinkingInformation(tvb, offset, actx, tree, hf_ranap_id_MBMSLinkingInformation); } @@ -9188,27 +9188,27 @@ static const value_string ranap_AlternativeRABConfigurationRequest_vals[] = { static int -dissect_ranap_AlternativeRABConfigurationRequest(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 1, NULL, NULL, TRUE, 0, NULL); +dissect_ranap_AlternativeRABConfigurationRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 1, NULL, TRUE, 0, NULL); return offset; } -static int dissect_id_AlternativeRABConfigurationRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_AlternativeRABConfigurationRequest(tvb, offset, pinfo, tree, hf_ranap_id_AlternativeRABConfigurationRequest); +static int dissect_id_AlternativeRABConfigurationRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_AlternativeRABConfigurationRequest(tvb, offset, actx, tree, hf_ranap_id_AlternativeRABConfigurationRequest); } static int -dissect_ranap_E_DCH_MAC_d_Flow_ID(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 7U, NULL, NULL, FALSE); +dissect_ranap_E_DCH_MAC_d_Flow_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 7U, NULL, FALSE); return offset; } -static int dissect_id_E_DCH_MAC_d_Flow_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_E_DCH_MAC_d_Flow_ID(tvb, offset, pinfo, tree, hf_ranap_id_E_DCH_MAC_d_Flow_ID); +static int dissect_id_E_DCH_MAC_d_Flow_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_E_DCH_MAC_d_Flow_ID(tvb, offset, actx, tree, hf_ranap_id_E_DCH_MAC_d_Flow_ID); } @@ -9529,8 +9529,8 @@ static const per_choice_t Dymmy_ie_ids_choice[] = { }; static int -dissect_ranap_Dymmy_ie_ids(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Dymmy_ie_ids(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_Dymmy_ie_ids, Dymmy_ie_ids_choice, NULL); @@ -9550,14 +9550,14 @@ static const per_sequence_t RAB_SetupOrModifyItemFirst_sequence[] = { }; static int -dissect_ranap_RAB_SetupOrModifyItemFirst(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_SetupOrModifyItemFirst(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_SetupOrModifyItemFirst, RAB_SetupOrModifyItemFirst_sequence); return offset; } -static int dissect_id_RAB_SetupOrModifyItem1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_SetupOrModifyItemFirst(tvb, offset, pinfo, tree, hf_ranap_id_RAB_SetupOrModifyItem1); +static int dissect_id_RAB_SetupOrModifyItem1(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_SetupOrModifyItemFirst(tvb, offset, actx, tree, hf_ranap_id_RAB_SetupOrModifyItem1); } @@ -9572,8 +9572,8 @@ static const per_choice_t Dymmy_firstvalue_ie_ids_choice[] = { }; static int -dissect_ranap_Dymmy_firstvalue_ie_ids(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Dymmy_firstvalue_ie_ids(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_Dymmy_firstvalue_ie_ids, Dymmy_firstvalue_ie_ids_choice, NULL); @@ -9593,14 +9593,14 @@ static const per_sequence_t RAB_SetupOrModifyItemSecond_sequence[] = { }; static int -dissect_ranap_RAB_SetupOrModifyItemSecond(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_RAB_SetupOrModifyItemSecond(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_RAB_SetupOrModifyItemSecond, RAB_SetupOrModifyItemSecond_sequence); return offset; } -static int dissect_id_RAB_SetupOrModifyItem2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ranap_RAB_SetupOrModifyItemSecond(tvb, offset, pinfo, tree, hf_ranap_id_RAB_SetupOrModifyItem2); +static int dissect_id_RAB_SetupOrModifyItem2(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ranap_RAB_SetupOrModifyItemSecond(tvb, offset, actx, tree, hf_ranap_id_RAB_SetupOrModifyItem2); } @@ -9615,8 +9615,8 @@ static const per_choice_t Dymmy_secondvalue_ie_ids_choice[] = { }; static int -dissect_ranap_Dymmy_secondvalue_ie_ids(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_choice(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_Dymmy_secondvalue_ie_ids(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_choice(tvb, offset, actx, tree, hf_index, ett_ranap_Dymmy_secondvalue_ie_ids, Dymmy_secondvalue_ie_ids_choice, NULL); @@ -9626,8 +9626,8 @@ dissect_ranap_Dymmy_secondvalue_ie_ids(tvbuff_t *tvb, int offset, packet_info *p static int -dissect_ranap_ProtocolError_IE_ContainerList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_ProtocolIE_ContainerList256(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_ProtocolError_IE_ContainerList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_ProtocolIE_ContainerList256(tvb, offset, actx, tree, hf_index); return offset; } @@ -9635,8 +9635,8 @@ dissect_ranap_ProtocolError_IE_ContainerList(tvbuff_t *tvb, int offset, packet_i static int -dissect_ranap_ResetResourceList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_ranap_IuSigConId_IE_ContainerList(tvb, offset, pinfo, tree, hf_index); +dissect_ranap_ResetResourceList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_ranap_IuSigConId_IE_ContainerList(tvb, offset, actx, tree, hf_index); return offset; } @@ -9649,8 +9649,8 @@ static const per_sequence_t ResetResourceItem_sequence[] = { }; static int -dissect_ranap_ResetResourceItem(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ResetResourceItem(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_ranap_ResetResourceItem, ResetResourceItem_sequence); return offset; @@ -9665,9 +9665,9 @@ static const value_string ranap_RateControlAllowed_vals[] = { static int -dissect_ranap_RateControlAllowed(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_RateControlAllowed(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, FALSE, 0, NULL); return offset; } @@ -9682,9 +9682,9 @@ static const value_string ranap_Presence_vals[] = { static int -dissect_ranap_Presence(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 3, NULL, NULL, FALSE, 0, NULL); +dissect_ranap_Presence(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 3, NULL, FALSE, 0, NULL); return offset; } @@ -9692,9 +9692,9 @@ dissect_ranap_Presence(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_ static int -dissect_ranap_ProcedureCodeSuccessfulOutcome(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 255U, NULL, NULL, FALSE); +dissect_ranap_ProcedureCodeSuccessfulOutcome(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 255U, NULL, FALSE); return offset; } @@ -9702,9 +9702,9 @@ dissect_ranap_ProcedureCodeSuccessfulOutcome(tvbuff_t *tvb, int offset, packet_i static int -dissect_ranap_ProcedureCodeUnsuccessfulOutcome(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 255U, NULL, NULL, FALSE); +dissect_ranap_ProcedureCodeUnsuccessfulOutcome(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 255U, NULL, FALSE); return offset; } @@ -9712,9 +9712,9 @@ dissect_ranap_ProcedureCodeUnsuccessfulOutcome(tvbuff_t *tvb, int offset, packet static int -dissect_ranap_ProcedureCodeOutcome(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 255U, NULL, NULL, FALSE); +dissect_ranap_ProcedureCodeOutcome(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 255U, NULL, FALSE); return offset; } @@ -9725,8 +9725,8 @@ static const per_sequence_t ProtocolIE_ContainerList_sequence_of[1] = { }; static int -dissect_ranap_ProtocolIE_ContainerList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolIE_ContainerList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolIE_ContainerList, ProtocolIE_ContainerList_sequence_of); return offset; @@ -9738,8 +9738,8 @@ static const per_sequence_t ProtocolIE_ContainerPairList_sequence_of[1] = { }; static int -dissect_ranap_ProtocolIE_ContainerPairList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_ranap_ProtocolIE_ContainerPairList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence_of(tvb, offset, actx, tree, hf_index, ett_ranap_ProtocolIE_ContainerPairList, ProtocolIE_ContainerPairList_sequence_of); return offset; @@ -9748,8 +9748,9 @@ dissect_ranap_ProtocolIE_ContainerPairList(tvbuff_t *tvb, int offset, packet_inf /*--- PDUs ---*/ static int dissect_RANAP_PDU_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - return dissect_ranap_RANAP_PDU(tvb, 0, pinfo, tree, hf_ranap_RANAP_PDU_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + return dissect_ranap_RANAP_PDU(tvb, 0, &asn_ctx, tree, hf_ranap_RANAP_PDU_PDU); } @@ -9758,471 +9759,471 @@ static int dissect_RANAP_PDU_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree * -static int dissect_ranap_ies(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree){ +static int dissect_ranap_ies(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree){ guint length; - offset = dissect_per_length_determinant(tvb, offset, pinfo, tree, hf_ranap_IE_length, &length); + offset = dissect_per_length_determinant(tvb, offset, actx, tree, hf_ranap_IE_length, &length); switch(ProtocolIE_ID){ case 0: /*id-AreaIdentity */ - offset = dissect_id_AreaIdentity(tvb, offset, pinfo, tree); + offset = dissect_id_AreaIdentity(tvb, offset, actx, tree); break; case 3: /*id-CN-DomainIndicator */ - offset = dissect_id_CN_DomainIndicator(tvb, offset, pinfo, tree); + offset = dissect_id_CN_DomainIndicator(tvb, offset, actx, tree); break; case 4: /* Cause */ - offset = dissect_id_Cause(tvb, offset, pinfo, tree); + offset = dissect_id_Cause(tvb, offset, actx, tree); break; case 5: /*id-ChosenEncryptionAlgorithm */ - offset = dissect_id_ChosenEncryptionAlgorithm(tvb, offset, pinfo, tree); + offset = dissect_id_ChosenEncryptionAlgorithm(tvb, offset, actx, tree); break; case 6: /*id-ChosenIntegrityProtectionAlgorithm */ - offset = dissect_id_ChosenIntegrityProtectionAlgorithm(tvb, offset, pinfo, tree); + offset = dissect_id_ChosenIntegrityProtectionAlgorithm(tvb, offset, actx, tree); break; case 7: /*id-ClassmarkInformation2 */ - offset = dissect_id_ClassmarkInformation2(tvb, offset, pinfo, tree); + offset = dissect_id_ClassmarkInformation2(tvb, offset, actx, tree); break; case 8: /*id-ClassmarkInformation3 */ - offset = dissect_id_ClassmarkInformation3(tvb, offset, pinfo, tree); + offset = dissect_id_ClassmarkInformation3(tvb, offset, actx, tree); break; case 9: /*id-CriticalityDiagnostics */ - offset = dissect_id_CriticalityDiagnostics(tvb, offset, pinfo, tree); + offset = dissect_id_CriticalityDiagnostics(tvb, offset, actx, tree); break; case 10: /*id-DL-GTP-PDU-SequenceNumber */ - offset = dissect_id_DL_GTP_PDU_SequenceNumber(tvb, offset, pinfo, tree); + offset = dissect_id_DL_GTP_PDU_SequenceNumber(tvb, offset, actx, tree); break; case 11: /*id-EncryptionInformation */ - offset = dissect_id_EncryptionInformation(tvb, offset, pinfo, tree); + offset = dissect_id_EncryptionInformation(tvb, offset, actx, tree); break; case 12: /*id-IntegrityProtectionInformation */ - offset = dissect_id_IntegrityProtectionInformation(tvb, offset, pinfo, tree); + offset = dissect_id_IntegrityProtectionInformation(tvb, offset, actx, tree); break; case 13: /*id-IuTransportAssociation */ - offset = dissect_id_IuTransportAssociation(tvb, offset, pinfo, tree); + offset = dissect_id_IuTransportAssociation(tvb, offset, actx, tree); break; case 14: /*id-L3-Information */ - offset = dissect_id_L3_Information(tvb, offset, pinfo, tree); + offset = dissect_id_L3_Information(tvb, offset, actx, tree); break; case 15: /*id-LAI */ - offset = dissect_id_LAI(tvb, offset, pinfo, tree); + offset = dissect_id_LAI(tvb, offset, actx, tree); break; case 16: /*id-NAS-PDU */ - offset = dissect_id_NAS_PDU(tvb, offset, pinfo, tree); + offset = dissect_id_NAS_PDU(tvb, offset, actx, tree); break; case 17: /*id-NonSearchingIndication */ - offset = dissect_id_NonSearchingIndication(tvb, offset, pinfo, tree); + offset = dissect_id_NonSearchingIndication(tvb, offset, actx, tree); break; case 18: /*id-NumberOfSteps */ - offset = dissect_id_NumberOfSteps(tvb, offset, pinfo, tree); + offset = dissect_id_NumberOfSteps(tvb, offset, actx, tree); break; case 19: /*id-OMC-ID */ - offset = dissect_id_OMC_ID(tvb, offset, pinfo, tree); + offset = dissect_id_OMC_ID(tvb, offset, actx, tree); break; case 20: /*id-OldBSS-ToNewBSS-Information */ - offset = dissect_id_OldBSS_ToNewBSS_Information(tvb, offset, pinfo, tree); + offset = dissect_id_OldBSS_ToNewBSS_Information(tvb, offset, actx, tree); break; case 21: /*id-PagingAreaID */ - offset = dissect_id_PagingAreaID(tvb, offset, pinfo, tree); + offset = dissect_id_PagingAreaID(tvb, offset, actx, tree); break; case 22: /*id-PagingCause */ - offset = dissect_id_PagingCause(tvb, offset, pinfo, tree); + offset = dissect_id_PagingCause(tvb, offset, actx, tree); break; case 23: /*id-PermanentNAS-UE-ID */ - offset = dissect_id_PermanentNAS_UE_ID(tvb, offset, pinfo, tree); + offset = dissect_id_PermanentNAS_UE_ID(tvb, offset, actx, tree); break; case 24: /*id-RAB-ContextItem */ - offset = dissect_id_RAB_ContextItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ContextItem(tvb, offset, actx, tree); break; case 25: /*id-RAB-ContextList */ - offset = dissect_id_RAB_ContextList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ContextList(tvb, offset, actx, tree); break; case 26: /*id-RAB-DataForwardingItem */ - offset = dissect_id_RAB_DataForwardingItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_DataForwardingItem(tvb, offset, actx, tree); break; case 27: /*id-RAB-DataForwardingItem-SRNS-CtxReq */ break; case 28: /*id-RAB-DataForwardingList */ - offset = dissect_id_RAB_DataForwardingList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_DataForwardingList(tvb, offset, actx, tree); break; case 29: /*id-RAB-DataForwardingList-SRNS-CtxReq */ - offset = dissect_id_RAB_DataForwardingList_SRNS_CtxReq(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_DataForwardingList_SRNS_CtxReq(tvb, offset, actx, tree); break; case 30: /*id-RAB-DataVolumeReportItem */ - offset = dissect_id_RAB_DataVolumeReportItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_DataVolumeReportItem(tvb, offset, actx, tree); break; case 31: /*id-RAB-DataVolumeReportList */ - offset = dissect_id_RAB_DataVolumeReportList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_DataVolumeReportList(tvb, offset, actx, tree); break; case 32: /*id-RAB-DataVolumeReportRequestItem */ - offset = dissect_id_RAB_DataVolumeReportRequestItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_DataVolumeReportRequestItem(tvb, offset, actx, tree); break; case 33: /*id-RAB-DataVolumeReportRequestList */ - offset = dissect_id_RAB_DataVolumeReportRequestList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_DataVolumeReportRequestList(tvb, offset, actx, tree); break; case 34: /*id-RAB-FailedItem */ - offset = dissect_id_RAB_FailedItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_FailedItem(tvb, offset, actx, tree); break; case 35: /*id-RAB-FailedList */ - offset = dissect_id_RAB_FailedList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_FailedList(tvb, offset, actx, tree); break; case 36: /*id-RAB-ID */ - offset = dissect_id_RAB_ID(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ID(tvb, offset, actx, tree); break; case 37: /*id-RAB-QueuedItem */ - offset = dissect_id_RAB_QueuedItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_QueuedItem(tvb, offset, actx, tree); break; case 38: /*id-RAB-QueuedList */ - offset = dissect_id_RAB_QueuedList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_QueuedList(tvb, offset, actx, tree); break; case 39: /*id-RAB-ReleaseFailedList */ - offset = dissect_id_RAB_ReleaseFailedList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ReleaseFailedList(tvb, offset, actx, tree); break; case 40: /*id-RAB-ReleaseItem */ - offset = dissect_id_RAB_ReleaseItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ReleaseItem(tvb, offset, actx, tree); break; case 41: /*id-RAB-ReleaseList */ - offset = dissect_id_RAB_ReleaseList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ReleaseList(tvb, offset, actx, tree); break; case 42: /*id-RAB-ReleasedItem */ - offset = dissect_id_RAB_ReleasedItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ReleasedItem(tvb, offset, actx, tree); break; case 43: /*id-RAB-ReleasedList */ - offset = dissect_id_RAB_ReleasedList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ReleasedList(tvb, offset, actx, tree); break; case 44: /* id-RAB-ReleasedList-IuRelComp */ - offset = dissect_id_RAB_ReleasedList_IuRelComp(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ReleasedList_IuRelComp(tvb, offset, actx, tree); break; case 45: /*id-RAB-RelocationReleaseItem */ - offset = dissect_id_RAB_RelocationReleaseItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_RelocationReleaseItem(tvb, offset, actx, tree); break; case 46: /*id-RAB-RelocationReleaseList */ - offset = dissect_id_RAB_RelocationReleaseList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_RelocationReleaseList(tvb, offset, actx, tree); break; case 47: /*id-RAB-SetupItem-RelocReq */ - offset = dissect_id_RAB_SetupItem_RelocReq(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_SetupItem_RelocReq(tvb, offset, actx, tree); break; case 48: /*id-RAB-SetupItem-RelocReqAck */ - offset = dissect_id_RAB_SetupItem_RelocReqAck(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_SetupItem_RelocReqAck(tvb, offset, actx, tree); break; case 49: /*id-RAB-SetupList-RelocReq */ - offset = dissect_id_RAB_SetupList_RelocReq(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_SetupList_RelocReq(tvb, offset, actx, tree); break; case 50: /*id-RAB-SetupList-RelocReqAck */ - offset = dissect_id_RAB_SetupList_RelocReqAck(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_SetupList_RelocReqAck(tvb, offset, actx, tree); break; case 51: /*id-RAB-SetupOrModifiedItem */ - offset = dissect_id_RAB_SetupOrModifiedItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_SetupOrModifiedItem(tvb, offset, actx, tree); break; case 52: /*id-RAB-SetupOrModifiedList */ - offset = dissect_id_RAB_SetupOrModifiedList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_SetupOrModifiedList(tvb, offset, actx, tree); break; case 53: /*id-RAB-SetupOrModifyItem */ /* Special handling */ break; case 54: /*id-RAB-SetupOrModifyList */ - offset = dissect_id_RAB_SetupOrModifyList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_SetupOrModifyList(tvb, offset, actx, tree); break; case 55: /*id-RAC */ - offset = dissect_id_RAC(tvb, offset, pinfo, tree); + offset = dissect_id_RAC(tvb, offset, actx, tree); break; case 56: /*id-RelocationType */ - offset = dissect_id_RelocationType(tvb, offset, pinfo, tree); + offset = dissect_id_RelocationType(tvb, offset, actx, tree); break; case 57: /*id-RequestType */ - offset = dissect_id_RequestType(tvb, offset, pinfo, tree); + offset = dissect_id_RequestType(tvb, offset, actx, tree); break; case 58: /*id-SAI */ - offset = dissect_id_SAI(tvb, offset, pinfo, tree); + offset = dissect_id_SAI(tvb, offset, actx, tree); break; case 59: /*id-SAPI */ - offset = dissect_id_SAPI(tvb, offset, pinfo, tree); + offset = dissect_id_SAPI(tvb, offset, actx, tree); break; case 60: /*id-SourceID */ - offset = dissect_id_SourceID(tvb, offset, pinfo, tree); + offset = dissect_id_SourceID(tvb, offset, actx, tree); break; case 61: /*id-SourceRNC-ToTargetRNC-TransparentContainer */ - offset = dissect_id_SourceRNC_ToTargetRNC_TransparentContainer(tvb, offset, pinfo, tree); + offset = dissect_id_SourceRNC_ToTargetRNC_TransparentContainer(tvb, offset, actx, tree); break; case 62: /*id-TargetID */ - offset = dissect_id_TargetID(tvb, offset, pinfo, tree); + offset = dissect_id_TargetID(tvb, offset, actx, tree); break; case 63: /*id-TargetRNC-ToSourceRNC-TransparentContainer */ - offset = dissect_id_TargetRNC_ToSourceRNC_TransparentContainer(tvb, offset, pinfo, tree); + offset = dissect_id_TargetRNC_ToSourceRNC_TransparentContainer(tvb, offset, actx, tree); break; case 64: /*id-TemporaryUE-ID */ - offset = dissect_id_TemporaryUE_ID(tvb, offset, pinfo, tree); + offset = dissect_id_TemporaryUE_ID(tvb, offset, actx, tree); break; case 65: /*id-TraceReference */ - offset = dissect_id_TraceReference(tvb, offset, pinfo, tree); + offset = dissect_id_TraceReference(tvb, offset, actx, tree); break; case 66: /*id-TraceType */ - offset = dissect_id_TraceType(tvb, offset, pinfo, tree); + offset = dissect_id_TraceType(tvb, offset, actx, tree); break; case 67: /*id-TransportLayerAddress */ - offset = dissect_id_TransportLayerAddress(tvb, offset, pinfo, tree); + offset = dissect_id_TransportLayerAddress(tvb, offset, actx, tree); break; case 68: /*id-TriggerID */ - offset = dissect_id_TriggerID(tvb, offset, pinfo, tree); + offset = dissect_id_TriggerID(tvb, offset, actx, tree); break; case 69: /*id-UE-ID */ - offset = dissect_id_UE_ID(tvb, offset, pinfo, tree); + offset = dissect_id_UE_ID(tvb, offset, actx, tree); break; case 70: /*id-UL-GTP-PDU-SequenceNumber */ - offset = dissect_id_UL_GTP_PDU_SequenceNumber(tvb, offset, pinfo, tree); + offset = dissect_id_UL_GTP_PDU_SequenceNumber(tvb, offset, actx, tree); break; case 71: /*id-RAB-FailedtoReportItem */ - offset = dissect_id_RAB_FailedtoReportItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_FailedtoReportItem(tvb, offset, actx, tree); break; case 72: /*id-RAB-FailedtoReportList */ - offset = dissect_id_RAB_FailedtoReportList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_FailedtoReportList(tvb, offset, actx, tree); break; case 75: /*id-KeyStatus */ - offset = dissect_id_KeyStatus(tvb, offset, pinfo, tree); + offset = dissect_id_KeyStatus(tvb, offset, actx, tree); break; case 76: /*id-DRX-CycleLengthCoefficient */ - offset = dissect_id_DRX_CycleLengthCoefficient(tvb, offset, pinfo, tree); + offset = dissect_id_DRX_CycleLengthCoefficient(tvb, offset, actx, tree); break; case 77: /*id-IuSigConIdList */ - offset = dissect_id_IuSigConIdList(tvb, offset, pinfo, tree); + offset = dissect_id_IuSigConIdList(tvb, offset, actx, tree); break; case 78: /*id-IuSigConIdItem */ - offset = dissect_id_IuSigConIdItem(tvb, offset, pinfo, tree); + offset = dissect_id_IuSigConIdItem(tvb, offset, actx, tree); break; case 79: /*id-IuSigConId */ - offset = dissect_id_IuSigConId(tvb, offset, pinfo, tree); + offset = dissect_id_IuSigConId(tvb, offset, actx, tree); break; case 81: /*id-DirectTransferInformationList-RANAP-RelocInf */ - offset = dissect_id_DirectTransferInformationItem_RANAP_RelocInf(tvb, offset, pinfo, tree); + offset = dissect_id_DirectTransferInformationItem_RANAP_RelocInf(tvb, offset, actx, tree); break; case 82: /*id-RAB-ContextItem-RANAP-RelocInf */ - offset = dissect_id_RAB_ContextItem_RANAP_RelocInf(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ContextItem_RANAP_RelocInf(tvb, offset, actx, tree); break; case 83: /*id-RAB-ContextList-RANAP-RelocInf */ - offset = dissect_id_RAB_ContextList_RANAP_RelocInf(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ContextList_RANAP_RelocInf(tvb, offset, actx, tree); break; case 84: /*id-RAB-ContextFailedtoTransferItem */ - offset = dissect_id_RAB_ContextFailedtoTransferItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ContextFailedtoTransferItem(tvb, offset, actx, tree); break; case 85: /*id-RAB-ContextFailedtoTransferList */ - offset = dissect_id_RAB_ContextFailedtoTransferList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ContextFailedtoTransferList(tvb, offset, actx, tree); break; case 86: /*id-GlobalRNC-ID */ - offset = dissect_id_GlobalRNC_ID(tvb, offset, pinfo, tree); + offset = dissect_id_GlobalRNC_ID(tvb, offset, actx, tree); break; case 87: /* id-RAB-ReleasedItem-IuRelComp */ - offset = dissect_id_RAB_ReleasedItem_IuRelComp(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ReleasedItem_IuRelComp(tvb, offset, actx, tree); break; case 88: /*id-MessageStructure */ - offset = dissect_id_MessageStructure(tvb, offset, pinfo, tree); + offset = dissect_id_MessageStructure(tvb, offset, actx, tree); break; case 89: /*id-Alt-RAB-Parameters */ - offset = dissect_id_Alt_RAB_Parameters(tvb, offset, pinfo, tree); + offset = dissect_id_Alt_RAB_Parameters(tvb, offset, actx, tree); break; case 90: /*id-Ass-RAB-Parameters */ - offset = dissect_id_Ass_RAB_Parameters(tvb, offset, pinfo, tree); + offset = dissect_id_Ass_RAB_Parameters(tvb, offset, actx, tree); break; case 91: /*id-RAB-ModifyList */ - offset = dissect_id_RAB_ModifyList(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ModifyList(tvb, offset, actx, tree); break; case 92: /*id-RAB-ModifyItem */ - offset = dissect_id_RAB_ModifyItem(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_ModifyItem(tvb, offset, actx, tree); break; case 93: /*id-TypeOfError */ - offset = dissect_id_TypeOfError(tvb, offset, pinfo, tree); + offset = dissect_id_TypeOfError(tvb, offset, actx, tree); break; case 94: /*id-BroadcastAssistanceDataDecipheringKeys */ - offset = dissect_id_BroadcastAssistanceDataDecipheringKeys(tvb, offset, pinfo, tree); + offset = dissect_id_BroadcastAssistanceDataDecipheringKeys(tvb, offset, actx, tree); break; case 95: /*id-LocationRelatedDataRequestType */ - offset = dissect_id_LocationRelatedDataRequestType(tvb, offset, pinfo, tree); + offset = dissect_id_LocationRelatedDataRequestType(tvb, offset, actx, tree); break; case 96: /*id-GlobalCN-ID */ - offset = dissect_id_GlobalCN_ID(tvb, offset, pinfo, tree); + offset = dissect_id_GlobalCN_ID(tvb, offset, actx, tree); break; case 97: /*id-LastKnownServiceArea */ - offset = dissect_id_LastKnownServiceArea(tvb, offset, pinfo, tree); + offset = dissect_id_LastKnownServiceArea(tvb, offset, actx, tree); break; case 98: /*id-SRB-TrCH-Mapping */ - offset = dissect_id_SRB_TrCH_Mapping(tvb, offset, pinfo, tree); + offset = dissect_id_SRB_TrCH_Mapping(tvb, offset, actx, tree); break; case 99: /*id-InterSystemInformation-TransparentContainer */ - offset = dissect_id_InterSystemInformation_TransparentContainer(tvb, offset, pinfo, tree); + offset = dissect_id_InterSystemInformation_TransparentContainer(tvb, offset, actx, tree); break; case 100: /*id-NewBSS-To-OldBSS-Information */ - offset = dissect_id_OldBSS_ToNewBSS_Information(tvb, offset, pinfo, tree); + offset = dissect_id_OldBSS_ToNewBSS_Information(tvb, offset, actx, tree); break; case 103: /*id-SourceRNC-PDCP-context-info */ - offset = dissect_id_SourceRNC_PDCP_context_info(tvb, offset, pinfo, tree); + offset = dissect_id_SourceRNC_PDCP_context_info(tvb, offset, actx, tree); break; case 104: /*id-InformationTransferID */ - offset = dissect_id_InformationTransferID(tvb, offset, pinfo, tree); + offset = dissect_id_InformationTransferID(tvb, offset, actx, tree); break; case 105: /*id-SNA-Access-Information */ - offset = dissect_id_SNA_Access_Information(tvb, offset, pinfo, tree); + offset = dissect_id_SNA_Access_Information(tvb, offset, actx, tree); break; case 106: /*id-ProvidedData */ - offset = dissect_id_ProvidedData(tvb, offset, pinfo, tree); + offset = dissect_id_ProvidedData(tvb, offset, actx, tree); break; case 107: /*id-GERAN-BSC-Container */ - offset = dissect_id_GERAN_BSC_Container(tvb, offset, pinfo, tree); + offset = dissect_id_GERAN_BSC_Container(tvb, offset, actx, tree); break; case 108: /*id-GERAN-Classmark */ - offset = dissect_id_GERAN_Classmark(tvb, offset, pinfo, tree); + offset = dissect_id_GERAN_Classmark(tvb, offset, actx, tree); break; case 109: /*id-GERAN-Iumode-RAB-Failed-RABAssgntResponse-Item */ - offset = dissect_id_GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item(tvb, offset, pinfo, tree); + offset = dissect_id_GERAN_Iumode_RAB_Failed_RABAssgntResponse_Item(tvb, offset, actx, tree); break; case 110: /*id-GERAN-Iumode-RAB-FailedList-RABAssgntResponse */ - offset = dissect_id_GERAN_Iumode_RAB_FailedList_RABAssgntResponse(tvb, offset, pinfo, tree); + offset = dissect_id_GERAN_Iumode_RAB_FailedList_RABAssgntResponse(tvb, offset, actx, tree); break; case 111: /*id-VerticalAccuracyCode */ - offset = dissect_id_VerticalAccuracyCode(tvb, offset, pinfo, tree); + offset = dissect_id_VerticalAccuracyCode(tvb, offset, actx, tree); break; case 112: /*id-ResponseTime */ - offset = dissect_id_ResponseTime(tvb, offset, pinfo, tree); + offset = dissect_id_ResponseTime(tvb, offset, actx, tree); break; case 113: /*id-PositioningPriority */ - offset = dissect_id_PositioningPriority(tvb, offset, pinfo, tree); + offset = dissect_id_PositioningPriority(tvb, offset, actx, tree); break; case 114: /*id-ClientType */ - offset = dissect_id_ClientType(tvb, offset, pinfo, tree); + offset = dissect_id_ClientType(tvb, offset, actx, tree); break; case 115: /*id-LocationRelatedDataRequestTypeSpecificToGERANIuMode */ - offset = dissect_id_LocationRelatedDataRequestTypeSpecificToGERANIuMode(tvb, offset, pinfo, tree); + offset = dissect_id_LocationRelatedDataRequestTypeSpecificToGERANIuMode(tvb, offset, actx, tree); break; case 116: /*id-SignallingIndication */ - offset = dissect_id_SignallingIndication(tvb, offset, pinfo, tree); + offset = dissect_id_SignallingIndication(tvb, offset, actx, tree); break; case 117: /*id-hS-DSCH-MAC-d-Flow-ID */ - offset = dissect_id_hS_DSCH_MAC_d_Flow_ID(tvb, offset, pinfo, tree); + offset = dissect_id_hS_DSCH_MAC_d_Flow_ID(tvb, offset, actx, tree); break; case 118: /*id-UESBI-Iu */ - offset = dissect_id_UESBI_Iu(tvb, offset, pinfo, tree); + offset = dissect_id_UESBI_Iu(tvb, offset, actx, tree); break; case 119: /*id-PositionData */ - offset = dissect_id_PositionData(tvb, offset, pinfo, tree); + offset = dissect_id_PositionData(tvb, offset, actx, tree); break; case 120: /*id-PositionDataSpecificToGERANIuMode */ - offset = dissect_id_PositionDataSpecificToGERANIuMode(tvb, offset, pinfo, tree); + offset = dissect_id_PositionDataSpecificToGERANIuMode(tvb, offset, actx, tree); break; case 121: /*id-CellLoadInformationGroup */ - offset = dissect_id_CellLoadInformationGroup(tvb, offset, pinfo, tree); + offset = dissect_id_CellLoadInformationGroup(tvb, offset, actx, tree); break; case 122: /*id-AccuracyFulfilmentIndicator */ - offset = dissect_id_AccuracyFulfilmentIndicator(tvb, offset, pinfo, tree); + offset = dissect_id_AccuracyFulfilmentIndicator(tvb, offset, actx, tree); break; case 123: /*id-InformationTransferType */ - offset = dissect_id_InformationTransferType(tvb, offset, pinfo, tree); + offset = dissect_id_InformationTransferType(tvb, offset, actx, tree); break; case 124: /*id-TraceRecordingSessionInformation */ - offset = dissect_id_TraceRecordingSessionInformation(tvb, offset, pinfo, tree); + offset = dissect_id_TraceRecordingSessionInformation(tvb, offset, actx, tree); break; case 125: /*id-TracePropagationParameters */ - offset = dissect_id_TracePropagationParameters(tvb, offset, pinfo, tree); + offset = dissect_id_TracePropagationParameters(tvb, offset, actx, tree); break; case 126: /*id-InterSystemInformationTransferType */ - offset = dissect_id_InterSystemInformationTransferType(tvb, offset, pinfo, tree); + offset = dissect_id_InterSystemInformationTransferType(tvb, offset, actx, tree); break; case 127: /*id-SelectedPLMN-ID */ - offset = dissect_id_SelectedPLMN_ID(tvb, offset, pinfo, tree); + offset = dissect_id_SelectedPLMN_ID(tvb, offset, actx, tree); break; case 128: /*id-RedirectionCompleted */ - offset = dissect_id_RedirectionCompleted(tvb, offset, pinfo, tree); + offset = dissect_id_RedirectionCompleted(tvb, offset, actx, tree); break; case 129: /*id-RedirectionIndication */ - offset = dissect_id_RedirectionIndication(tvb, offset, pinfo, tree); + offset = dissect_id_RedirectionIndication(tvb, offset, actx, tree); break; case 130: /*id-NAS-SequenceNumber */ - offset = dissect_id_NAS_SequenceNumber(tvb, offset, pinfo, tree); + offset = dissect_id_NAS_SequenceNumber(tvb, offset, actx, tree); break; case 131: /*id-RejectCauseValue */ - offset = dissect_id_RejectCauseValue(tvb, offset, pinfo, tree); + offset = dissect_id_RejectCauseValue(tvb, offset, actx, tree); break; case 132: /*id-APN */ - offset = dissect_id_APN(tvb, offset, pinfo, tree); + offset = dissect_id_APN(tvb, offset, actx, tree); case 133: /*id-CNMBMSLinkingInformation */ - offset = dissect_id_CNMBMSLinkingInformation(tvb, offset, pinfo, tree); + offset = dissect_id_CNMBMSLinkingInformation(tvb, offset, actx, tree); break; case 134: /*id-DeltaRAListofIdleModeUEs */ - offset = dissect_id_DeltaRAListofIdleModeUEs(tvb, offset, pinfo, tree); + offset = dissect_id_DeltaRAListofIdleModeUEs(tvb, offset, actx, tree); break; case 135: /*id-FrequenceLayerConvergenceFlag */ - offset = dissect_id_FrequenceLayerConvergenceFlag(tvb, offset, pinfo, tree); + offset = dissect_id_FrequenceLayerConvergenceFlag(tvb, offset, actx, tree); break; case 136: /*id-InformationExchangeID */ - offset = dissect_id_InformationExchangeID(tvb, offset, pinfo, tree); + offset = dissect_id_InformationExchangeID(tvb, offset, actx, tree); break; case 137: /*id-InformationExchangeType */ - offset = dissect_id_InformationExchangeType(tvb, offset, pinfo, tree); + offset = dissect_id_InformationExchangeType(tvb, offset, actx, tree); break; case 138: /*id-InformationRequested */ - offset = dissect_id_InformationRequested(tvb, offset, pinfo, tree); + offset = dissect_id_InformationRequested(tvb, offset, actx, tree); break; case 139: /*id-InformationRequestType */ - offset = dissect_id_InformationRequestType(tvb, offset, pinfo, tree); + offset = dissect_id_InformationRequestType(tvb, offset, actx, tree); break; case 140: /*id-IPMulticastAddress */ - offset = dissect_id_IPMulticastAddress(tvb, offset, pinfo, tree); + offset = dissect_id_IPMulticastAddress(tvb, offset, actx, tree); break; case 141: /*id-JoinedMBMSBearerServicesList */ - offset = dissect_id_JoinedMBMSBearerServicesList(tvb, offset, pinfo, tree); + offset = dissect_id_JoinedMBMSBearerServicesList(tvb, offset, actx, tree); break; case 142: /*id-LeftMBMSBearerServicesList */ - offset = dissect_id_LeftMBMSBearerServicesList(tvb, offset, pinfo, tree); + offset = dissect_id_LeftMBMSBearerServicesList(tvb, offset, actx, tree); break; case 143: /*id-MBMSBearerServiceType */ - offset = dissect_id_MBMSBearerServiceType(tvb, offset, pinfo, tree); + offset = dissect_id_MBMSBearerServiceType(tvb, offset, actx, tree); break; case 144: /*id-MBMSCNDe-Registration */ - offset = dissect_id_MBMSCNDe_Registration(tvb, offset, pinfo, tree); + offset = dissect_id_MBMSCNDe_Registration(tvb, offset, actx, tree); break; case 145: /*id-MBMSServiceArea */ - offset = dissect_id_MBMSServiceArea(tvb, offset, pinfo, tree); + offset = dissect_id_MBMSServiceArea(tvb, offset, actx, tree); break; case 146: /*id-MBMSSessionDuration */ - offset = dissect_id_MBMSSessionDuration(tvb, offset, pinfo, tree); + offset = dissect_id_MBMSSessionDuration(tvb, offset, actx, tree); break; case 147: /*id-MBMSSessionIdentity */ - offset = dissect_id_MBMSSessionIdentity(tvb, offset, pinfo, tree); + offset = dissect_id_MBMSSessionIdentity(tvb, offset, actx, tree); break; case 148: /*id-PDP-TypeInformation */ - offset = dissect_id_PDP_TypeInformation(tvb, offset, pinfo, tree); + offset = dissect_id_PDP_TypeInformation(tvb, offset, actx, tree); break; case 149: /*id-RAB-Parameters */ - offset = dissect_id_RAB_Parameters(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_Parameters(tvb, offset, actx, tree); break; case 150: /*id-RAListofIdleModeUEs */ - offset = dissect_id_RAListofIdleModeUEs(tvb, offset, pinfo, tree); + offset = dissect_id_RAListofIdleModeUEs(tvb, offset, actx, tree); break; case 151: /*id-MBMSRegistrationRequestType */ - offset = dissect_id_MBMSRegistrationRequestType(tvb, offset, pinfo, tree); + offset = dissect_id_MBMSRegistrationRequestType(tvb, offset, actx, tree); break; case 152: /*id-SessionUpdateID */ - offset = dissect_id_SessionUpdateID(tvb, offset, pinfo, tree); + offset = dissect_id_SessionUpdateID(tvb, offset, actx, tree); break; case 153: /*id-TMGI */ - offset = dissect_id_TMGI(tvb, offset, pinfo, tree); + offset = dissect_id_TMGI(tvb, offset, actx, tree); break; case 154: /*id-TransportLayerInformation */ - offset = dissect_id_TransportLayerInformation(tvb, offset, pinfo, tree); + offset = dissect_id_TransportLayerInformation(tvb, offset, actx, tree); break; case 155: /*id-UnsuccessfulLinkingList */ - offset = dissect_id_UnsuccessfulLinkingList(tvb, offset, pinfo, tree); + offset = dissect_id_UnsuccessfulLinkingList(tvb, offset, actx, tree); break; case 156: /*id-MBMSLinkingInformation */ - offset = dissect_id_MBMSLinkingInformation(tvb, offset, pinfo, tree); + offset = dissect_id_MBMSLinkingInformation(tvb, offset, actx, tree); break; case 157: /*id-MBMSSessionRepetitionNumber */ - offset = dissect_id_MBMSSessionRepetitionNumber(tvb, offset, pinfo, tree); + offset = dissect_id_MBMSSessionRepetitionNumber(tvb, offset, actx, tree); break; case 158: /*id-AlternativeRABConfiguration */ - offset = dissect_id_AlternativeRABConfiguration(tvb, offset, pinfo, tree); + offset = dissect_id_AlternativeRABConfiguration(tvb, offset, actx, tree); break; case 159: /*id-AlternativeRABConfigurationRequest */ - offset = dissect_id_AlternativeRABConfigurationRequest(tvb, offset, pinfo, tree); + offset = dissect_id_AlternativeRABConfigurationRequest(tvb, offset, actx, tree); break; case 160: /*id-E-DCH-MAC-d-Flow-ID */ - offset = dissect_id_E_DCH_MAC_d_Flow_ID(tvb, offset, pinfo, tree); + offset = dissect_id_E_DCH_MAC_d_Flow_ID(tvb, offset, actx, tree); break; default: offset = offset + (length<<3); @@ -10232,16 +10233,16 @@ static int dissect_ranap_ies(tvbuff_t *tvb, int offset, packet_info *pinfo, prot return offset; } -static int dissect_ranap_FirstValue_ies(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree){ +static int dissect_ranap_FirstValue_ies(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree){ guint length; int start_offset; - offset = dissect_per_length_determinant(tvb, offset, pinfo, tree, hf_ranap_IE_length, &length); + offset = dissect_per_length_determinant(tvb, offset, actx, tree, hf_ranap_IE_length, &length); start_offset = offset; switch(ProtocolIE_ID){ case 53: /*id-RAB-SetupOrModifyItem */ - offset = dissect_id_RAB_SetupOrModifyItem1(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_SetupOrModifyItem1(tvb, offset, actx, tree); break; default: offset = offset + (length<<3); @@ -10252,15 +10253,15 @@ static int dissect_ranap_FirstValue_ies(tvbuff_t *tvb, int offset, packet_info * return offset; } -static int dissect_ranap_SecondValue_ies(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree){ +static int dissect_ranap_SecondValue_ies(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree){ guint length; - offset = dissect_per_length_determinant(tvb, offset, pinfo, tree, hf_ranap_IE_length, &length); + offset = dissect_per_length_determinant(tvb, offset, actx, tree, hf_ranap_IE_length, &length); switch(ProtocolIE_ID){ case 53: /*id-RAB-SetupOrModifyItem */ - offset = dissect_id_RAB_SetupOrModifyItem2(tvb, offset, pinfo, tree); + offset = dissect_id_RAB_SetupOrModifyItem2(tvb, offset, actx, tree); break; default: offset = offset + (length<<3); @@ -10272,137 +10273,137 @@ static int dissect_ranap_SecondValue_ies(tvbuff_t *tvb, int offset, packet_info } -static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree){ +static int dissect_ranap_messages(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree){ guint length; - offset = dissect_per_length_determinant(tvb, offset, pinfo, tree, hf_ranap_pdu_length, &length); + offset = dissect_per_length_determinant(tvb, offset, actx, tree, hf_ranap_pdu_length, &length); switch(type_of_message){ case 0: /* Initating message */ switch(ProcedureCode){ case 0: /* id-RAB-Assignment*/ - offset = dissect_rAB_AssignmentRequest(tvb, offset, pinfo, tree); + offset = dissect_rAB_AssignmentRequest(tvb, offset, actx, tree); break; case 1: /* id-Iu-Release */ - offset = dissect_iu_ReleaseCommand(tvb, offset, pinfo, tree); + offset = dissect_iu_ReleaseCommand(tvb, offset, actx, tree); break; case 2: /* id-RelocationPreparation*/ - offset = dissect_relocationRequired(tvb, offset, pinfo, tree); + offset = dissect_relocationRequired(tvb, offset, actx, tree); break; case 3: /* id-RelocationResourceAllocation*/ - offset = dissect_relocationRequest(tvb, offset, pinfo, tree); + offset = dissect_relocationRequest(tvb, offset, actx, tree); break; case 4: /* id-RelocationCancel*/ - offset = dissect_relocationCancel(tvb, offset, pinfo, tree); + offset = dissect_relocationCancel(tvb, offset, actx, tree); break; case 5: /* id-SRNS-ContextTransfer*/ - offset = dissect_sRNS_ContextRequest(tvb, offset, pinfo, tree); + offset = dissect_sRNS_ContextRequest(tvb, offset, actx, tree); break; case 6: /* id-SecurityModeControl*/ - offset = dissect_securityModeCommand(tvb, offset, pinfo, tree); + offset = dissect_securityModeCommand(tvb, offset, actx, tree); break; case 7: /* id-DataVolumeReport*/ - offset = dissect_dataVolumeReportRequest(tvb, offset, pinfo, tree); + offset = dissect_dataVolumeReportRequest(tvb, offset, actx, tree); break; case 9: /* id-Reset*/ - offset = dissect_reset(tvb, offset, pinfo, tree); + offset = dissect_reset(tvb, offset, actx, tree); break; case 10: /* id-RAB-ReleaseRequest*/ - offset = dissect_rAB_ReleaseRequest(tvb, offset, pinfo, tree); + offset = dissect_rAB_ReleaseRequest(tvb, offset, actx, tree); break; case 11: /* id-Iu-ReleaseRequest*/ - offset = dissect_iu_ReleaseRequest(tvb, offset, pinfo, tree); + offset = dissect_iu_ReleaseRequest(tvb, offset, actx, tree); break; case 12: /* id-RelocationDetect*/ - offset = dissect_relocationDetect(tvb, offset, pinfo, tree); + offset = dissect_relocationDetect(tvb, offset, actx, tree); break; case 13: /* id-RelocationComplete*/ - offset = dissect_relocationComplete(tvb, offset, pinfo, tree); + offset = dissect_relocationComplete(tvb, offset, actx, tree); break; case 14: /* id-Paging*/ - offset = dissect_paging(tvb, offset, pinfo, tree); + offset = dissect_paging(tvb, offset, actx, tree); break; case 15: /* id-CommonID*/ - offset = dissect_commonID(tvb, offset, pinfo, tree); + offset = dissect_commonID(tvb, offset, actx, tree); break; case 16: /* id-CN-InvokeTrace*/ - offset = dissect_cN_InvokeTrace(tvb, offset, pinfo, tree); + offset = dissect_cN_InvokeTrace(tvb, offset, actx, tree); break; case 17: /* id-LocationReportingControl*/ - offset = dissect_locationReportingControl(tvb, offset, pinfo, tree); + offset = dissect_locationReportingControl(tvb, offset, actx, tree); break; case 18: /* id-LocationReport*/ - offset = dissect_locationReport(tvb, offset, pinfo, tree); + offset = dissect_locationReport(tvb, offset, actx, tree); break; case 19: /* id-InitialUE-Message*/ - offset = dissect_initialUE_Message(tvb, offset, pinfo, tree); + offset = dissect_initialUE_Message(tvb, offset, actx, tree); break; case 20: /* id-DirectTransfer*/ - offset = dissect_directTransfer(tvb, offset, pinfo, tree); + offset = dissect_directTransfer(tvb, offset, actx, tree); break; case 21: /* id-OverloadControl*/ - offset = dissect_overload(tvb, offset, pinfo, tree); + offset = dissect_overload(tvb, offset, actx, tree); break; case 22: /* id-ErrorIndication*/ - offset = dissect_errorIndication(tvb, offset, pinfo, tree); + offset = dissect_errorIndication(tvb, offset, actx, tree); break; case 23: /* id-SRNS-DataForward*/ - offset = dissect_sRNS_DataForwardCommand(tvb, offset, pinfo, tree); + offset = dissect_sRNS_DataForwardCommand(tvb, offset, actx, tree); break; case 24: /* id-ForwardSRNS-Context*/ - offset = dissect_forwardSRNS_Context(tvb, offset, pinfo, tree); + offset = dissect_forwardSRNS_Context(tvb, offset, actx, tree); break; case 25: /* id-privateMessage*/ - offset = dissect_privateMessage(tvb, offset, pinfo, tree); + offset = dissect_privateMessage(tvb, offset, actx, tree); break; case 26: /* id-CN-DeactivateTrace*/ break; case 27: /* id-ResetResource*/ - offset = dissect_resetResource(tvb, offset, pinfo, tree); + offset = dissect_resetResource(tvb, offset, actx, tree); break; case 28: /* id-RANAP-Relocation*/ - offset = dissect_rANAP_RelocationInformation(tvb, offset, pinfo, tree); + offset = dissect_rANAP_RelocationInformation(tvb, offset, actx, tree); break; case 29: /* id-RAB-ModifyRequest*/ - offset = dissect_rAB_ModifyRequest(tvb, offset, pinfo, tree); + offset = dissect_rAB_ModifyRequest(tvb, offset, actx, tree); break; case 30: /* id-LocationRelatedData*/ - offset = dissect_locationRelatedDataRequest(tvb, offset, pinfo, tree); + offset = dissect_locationRelatedDataRequest(tvb, offset, actx, tree); break; case 31: /* id-InformationTransfer*/ - offset = dissect_informationTransferIndication(tvb, offset, pinfo, tree); + offset = dissect_informationTransferIndication(tvb, offset, actx, tree); break; case 32: /* id-UESpecificInformation*/ - offset = dissect_uESpecificInformationIndication(tvb, offset, pinfo, tree); + offset = dissect_uESpecificInformationIndication(tvb, offset, actx, tree); break; case 33: /* id-UplinkInformationExchange*/ - offset = dissect_uplinkInformationExchangeRequest(tvb, offset, pinfo, tree); + offset = dissect_uplinkInformationExchangeRequest(tvb, offset, actx, tree); break; case 34: /* id-DirectInformationTransfer*/ - offset = dissect_directInformationTransfer(tvb, offset, pinfo, tree); + offset = dissect_directInformationTransfer(tvb, offset, actx, tree); break; case 35: /* id-MBMSSessionStart*/ - offset = dissect_mBMSSessionStart(tvb, offset, pinfo, tree); + offset = dissect_mBMSSessionStart(tvb, offset, actx, tree); break; case 36: /* id-MBMSSessionUpdate*/ - offset = dissect_mBMSSessionUpdate(tvb, offset, pinfo, tree); + offset = dissect_mBMSSessionUpdate(tvb, offset, actx, tree); break; case 37: /* id-MBMSSessionStop*/ - offset = dissect_mMBMSSessionStop(tvb, offset, pinfo, tree); + offset = dissect_mMBMSSessionStop(tvb, offset, actx, tree); break; case 38: /* id-MBMSUELinking*/ - offset = dissect_mBMSUELinkingRequest(tvb, offset, pinfo, tree); + offset = dissect_mBMSUELinkingRequest(tvb, offset, actx, tree); break; case 39: /* id-MBMSRegistration*/ - offset = dissect_mBMSRegistrationRequest(tvb, offset, pinfo, tree); + offset = dissect_mBMSRegistrationRequest(tvb, offset, actx, tree); break; case 40: /* id-MBMSCNDe-Registration-Procedure*/ - offset = dissect_mBMSCNDe_RegistrationRequest(tvb, offset, pinfo, tree); + offset = dissect_mBMSCNDe_RegistrationRequest(tvb, offset, actx, tree); break; case 41: /* id-MBMSRABEstablishmentIndication*/ - offset = dissect_mBMSRABEstablishmentIndication(tvb, offset, pinfo, tree); + offset = dissect_mBMSRABEstablishmentIndication(tvb, offset, actx, tree); break; case 42: /* id-MBMSRABRelease*/ - offset = dissect_mBMSRABReleaseRequest(tvb, offset, pinfo, tree); + offset = dissect_mBMSRABReleaseRequest(tvb, offset, actx, tree); break; default: offset = offset + (length<<3); @@ -10415,46 +10416,46 @@ static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo, case 0: /* id-RAB-Assignment*/ break; case 1: /* id-Iu-Release */ - offset = dissect_iu_ReleaseComplete(tvb, offset, pinfo, tree); + offset = dissect_iu_ReleaseComplete(tvb, offset, actx, tree); break; case 2: /* id-RelocationPreparation*/ - offset = dissect_relocationCommand(tvb, offset, pinfo, tree); + offset = dissect_relocationCommand(tvb, offset, actx, tree); break; case 3: /* id-RelocationResourceAllocation*/ - offset = dissect_relocationRequestAcknowledge(tvb, offset, pinfo, tree); + offset = dissect_relocationRequestAcknowledge(tvb, offset, actx, tree); break; case 4: /* id-RelocationCancel*/ - offset = dissect_relocationCancelAcknowledge(tvb, offset, pinfo, tree); + offset = dissect_relocationCancelAcknowledge(tvb, offset, actx, tree); break; case 5: /* id-SRNS-ContextTransfer*/ - offset = dissect_sRNS_ContextResponse(tvb, offset, pinfo, tree); + offset = dissect_sRNS_ContextResponse(tvb, offset, actx, tree); break; case 6: /* id-SecurityModeControl*/ - offset = dissect_securityModeComplete(tvb, offset, pinfo, tree); + offset = dissect_securityModeComplete(tvb, offset, actx, tree); break; case 7: /* id-DataVolumeReport*/ - offset = dissect_dataVolumeReport(tvb, offset, pinfo, tree); + offset = dissect_dataVolumeReport(tvb, offset, actx, tree); break; case 9: /* id-Reset*/ - offset = dissect_resetAcknowledge(tvb, offset, pinfo, tree); + offset = dissect_resetAcknowledge(tvb, offset, actx, tree); break; case 10: /* id-RAB-ReleaseRequest*/ - offset = dissect_rAB_ReleaseRequest(tvb, offset, pinfo, tree); + offset = dissect_rAB_ReleaseRequest(tvb, offset, actx, tree); break; case 11: /* id-Iu-ReleaseRequest*/ - offset = dissect_iu_ReleaseRequest(tvb, offset, pinfo, tree); + offset = dissect_iu_ReleaseRequest(tvb, offset, actx, tree); break; case 12: /* id-RelocationDetect*/ - offset = dissect_relocationDetect(tvb, offset, pinfo, tree); + offset = dissect_relocationDetect(tvb, offset, actx, tree); break; case 13: /* id-RelocationComplete*/ - offset = dissect_relocationComplete(tvb, offset, pinfo, tree); + offset = dissect_relocationComplete(tvb, offset, actx, tree); break; case 14: /* id-Paging*/ - offset = dissect_paging(tvb, offset, pinfo, tree); + offset = dissect_paging(tvb, offset, actx, tree); break; case 15: /* id-CommonID*/ - offset = dissect_commonID(tvb, offset, pinfo, tree); + offset = dissect_commonID(tvb, offset, actx, tree); break; case 16: /* id-CN-InvokeTrace*/ break; @@ -10479,46 +10480,46 @@ static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo, case 26: /* id-CN-DeactivateTrace*/ break; case 27: /* id-ResetResource*/ - offset = dissect_resetResourceAcknowledge(tvb, offset, pinfo, tree); + offset = dissect_resetResourceAcknowledge(tvb, offset, actx, tree); break; case 28: /* id-RANAP-Relocation*/ break; case 29: /* id-RAB-ModifyRequest*/ break; case 30: /* id-LocationRelatedData*/ - offset = dissect_locationRelatedDataResponse(tvb, offset, pinfo, tree); + offset = dissect_locationRelatedDataResponse(tvb, offset, actx, tree); break; case 31: /* id-InformationTransfer*/ - offset = dissect_informationTransferConfirmation(tvb, offset, pinfo, tree); + offset = dissect_informationTransferConfirmation(tvb, offset, actx, tree); break; case 32: /* id-UESpecificInformation*/ break; case 33: /* id-UplinkInformationExchange*/ - offset = dissect_uplinkInformationExchangeResponse(tvb, offset, pinfo, tree); + offset = dissect_uplinkInformationExchangeResponse(tvb, offset, actx, tree); break; case 34: /* id-DirectInformationTransfer*/ break; case 35: /* id-MBMSSessionStart*/ - offset = dissect_mBMSSessionStartResponse(tvb, offset, pinfo, tree); + offset = dissect_mBMSSessionStartResponse(tvb, offset, actx, tree); break; case 36: /* id-MBMSSessionUpdate*/ - offset = dissect_mBMSSessionUpdateResponse(tvb, offset, pinfo, tree); + offset = dissect_mBMSSessionUpdateResponse(tvb, offset, actx, tree); break; case 37: /* id-MBMSSessionStop*/ - offset = dissect_mBMSSessionStopResponse(tvb, offset, pinfo, tree); + offset = dissect_mBMSSessionStopResponse(tvb, offset, actx, tree); break; case 38: /* id-MBMSUELinking*/ break; case 39: /* id-MBMSRegistration*/ - offset = dissect_mBMSRegistrationResponse(tvb, offset, pinfo, tree); + offset = dissect_mBMSRegistrationResponse(tvb, offset, actx, tree); break; case 40: /* id-MBMSCNDe-Registration-Procedure*/ - offset = dissect_mBMSCNDeRegistrationResponse(tvb, offset, pinfo, tree); + offset = dissect_mBMSCNDeRegistrationResponse(tvb, offset, actx, tree); break; case 41: /* id-MBMSRABEstablishmentIndication*/ break; case 42: /* id-MBMSRABRelease*/ - offset = dissect_mBMSRABRelease(tvb, offset, pinfo, tree); + offset = dissect_mBMSRABRelease(tvb, offset, actx, tree); break; default: offset = offset + (length<<3); @@ -10533,17 +10534,17 @@ static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo, case 1: /* id-Iu-Release */ break; case 2: /* id-RelocationPreparation*/ - offset = dissect_relocationPreparationFailure(tvb, offset, pinfo, tree); + offset = dissect_relocationPreparationFailure(tvb, offset, actx, tree); break; case 3: /* id-RelocationResourceAllocation*/ - offset = dissect_relocationFailure(tvb, offset, pinfo, tree); + offset = dissect_relocationFailure(tvb, offset, actx, tree); break; case 4: /* id-RelocationCancel*/ break; case 5: /* id-SRNS-ContextTransfer*/ break; case 6: /* id-SecurityModeControl*/ - offset = dissect_securityModeReject(tvb, offset, pinfo, tree); + offset = dissect_securityModeReject(tvb, offset, actx, tree); break; case 7: /* id-DataVolumeReport*/ break; @@ -10590,37 +10591,37 @@ static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo, case 29: /* id-RAB-ModifyRequest*/ break; case 30: /* id-LocationRelatedData*/ - offset = dissect_locationRelatedDataFailure(tvb, offset, pinfo, tree); + offset = dissect_locationRelatedDataFailure(tvb, offset, actx, tree); break; case 31: /* id-InformationTransfer*/ - offset = dissect_informationTransferFailure(tvb, offset, pinfo, tree); + offset = dissect_informationTransferFailure(tvb, offset, actx, tree); break; case 32: /* id-UESpecificInformation*/ break; case 33: /* id-UplinkInformationExchange*/ - offset = dissect_uplinkInformationExchangeFailure(tvb, offset, pinfo, tree); + offset = dissect_uplinkInformationExchangeFailure(tvb, offset, actx, tree); break; case 34: /* id-DirectInformationTransfer*/ break; case 35: /* id-MBMSSessionStart*/ - offset = dissect_mBMSSessionStartFailure(tvb, offset, pinfo, tree); + offset = dissect_mBMSSessionStartFailure(tvb, offset, actx, tree); break; case 36: /* id-MBMSSessionUpdate*/ - offset = dissect_mBMSSessionUpdateFailure(tvb, offset, pinfo, tree); + offset = dissect_mBMSSessionUpdateFailure(tvb, offset, actx, tree); break; case 37: /* id-MBMSSessionStop*/ break; case 38: /* id-MBMSUELinking*/ break; case 39: /* id-MBMSRegistration*/ - offset = dissect_mBMSRegistrationFailure(tvb, offset, pinfo, tree); + offset = dissect_mBMSRegistrationFailure(tvb, offset, actx, tree); break; case 40: /* id-MBMSCNDe-Registration-Procedure*/ break; case 41: /* id-MBMSRABEstablishmentIndication*/ break; case 42: /* id-MBMSRABRelease*/ - offset = dissect_mBMSRABReleaseFailure(tvb, offset, pinfo, tree); + offset = dissect_mBMSRABReleaseFailure(tvb, offset, actx, tree); break; default: offset = offset + (length<<3); @@ -10631,10 +10632,10 @@ static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo, /* outcome */ switch(ProcedureCode){ case 0: /* id-RAB-Assignment*/ - offset = dissect_rAB_AssignmentResponse(tvb, offset, pinfo, tree); + offset = dissect_rAB_AssignmentResponse(tvb, offset, actx, tree); break; case 1: /* id-Iu-Release */ - offset = dissect_iu_ReleaseCommand(tvb, offset, pinfo, tree); + offset = dissect_iu_ReleaseCommand(tvb, offset, actx, tree); break; case 2: /* id-RelocationPreparation*/ break; @@ -10707,7 +10708,7 @@ static int dissect_ranap_messages(tvbuff_t *tvb, int offset, packet_info *pinfo, case 37: /* id-MBMSSessionStop*/ break; case 38: /* id-MBMSUELinking*/ - offset = dissect_mBMSUELinkingResponse(tvb, offset, pinfo, tree); + offset = dissect_mBMSUELinkingResponse(tvb, offset, actx, tree); break; case 39: /* id-MBMSRegistration*/ break; |