diff options
Diffstat (limited to 'epan/dissectors/packet-rrlp.c')
-rw-r--r-- | epan/dissectors/packet-rrlp.c | 1951 |
1 files changed, 976 insertions, 975 deletions
diff --git a/epan/dissectors/packet-rrlp.c b/epan/dissectors/packet-rrlp.c index dbbb441f82..c5a8fdb602 100644 --- a/epan/dissectors/packet-rrlp.c +++ b/epan/dissectors/packet-rrlp.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-rrlp.c */ -/* ../../tools/asn2eth.py -u -e -p rrlp -c rrlp.cnf -s packet-rrlp-template rrlp.asn */ +/* ../../tools/asn2wrs.py -u -e -p rrlp -c rrlp.cnf -s packet-rrlp-template rrlp.asn */ /* Input file: packet-rrlp-template.c */ @@ -454,86 +454,86 @@ static gint ett_rrlp_Rel_5_ProtocolError_Extension = -1; static int -dissect_rrlp_Ext_GeographicalInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { +dissect_rrlp_Ext_GeographicalInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { #line 23 "rrlp.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, 1, 20, ¶meter_tvb); if(parameter_tvb) - dissect_geographical_description(parameter_tvb, pinfo, tree); + dissect_geographical_description(parameter_tvb, actx->pinfo, tree); return offset; } -static int dissect_posEstimate(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Ext_GeographicalInformation(tvb, offset, pinfo, tree, hf_rrlp_posEstimate); +static int dissect_posEstimate(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Ext_GeographicalInformation(tvb, offset, actx, tree, hf_rrlp_posEstimate); } -static int dissect_threeDLocation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Ext_GeographicalInformation(tvb, offset, pinfo, tree, hf_rrlp_threeDLocation); +static int dissect_threeDLocation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Ext_GeographicalInformation(tvb, offset, actx, tree, hf_rrlp_threeDLocation); } static int -dissect_rrlp_ExtensionContainer(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_rrlp_ExtensionContainer(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_extensionContainer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ExtensionContainer(tvb, offset, pinfo, tree, hf_rrlp_extensionContainer); +static int dissect_extensionContainer(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ExtensionContainer(tvb, offset, actx, tree, hf_rrlp_extensionContainer); } static int -dissect_rrlp_INTEGER_0_7(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_rrlp_INTEGER_0_7(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_referenceNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_7(tvb, offset, pinfo, tree, hf_rrlp_referenceNumber); +static int dissect_referenceNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_7(tvb, offset, actx, tree, hf_rrlp_referenceNumber); } -static int dissect_nbrOfMeasurements(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_7(tvb, offset, pinfo, tree, hf_rrlp_nbrOfMeasurements); +static int dissect_nbrOfMeasurements(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_7(tvb, offset, actx, tree, hf_rrlp_nbrOfMeasurements); } -static int dissect_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_7(tvb, offset, pinfo, tree, hf_rrlp_status); +static int dissect_status(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_7(tvb, offset, actx, tree, hf_rrlp_status); } -static int dissect_dopplerUncertainty(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_7(tvb, offset, pinfo, tree, hf_rrlp_dopplerUncertainty); +static int dissect_dopplerUncertainty(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_7(tvb, offset, actx, tree, hf_rrlp_dopplerUncertainty); } -static int dissect_elevation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_7(tvb, offset, pinfo, tree, hf_rrlp_elevation); +static int dissect_elevation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_7(tvb, offset, actx, tree, hf_rrlp_elevation); } static int -dissect_rrlp_Accuracy(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_rrlp_Accuracy(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_msBased(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Accuracy(tvb, offset, pinfo, tree, hf_rrlp_msBased); +static int dissect_msBased(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Accuracy(tvb, offset, actx, tree, hf_rrlp_msBased); } -static int dissect_msBasedPref(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Accuracy(tvb, offset, pinfo, tree, hf_rrlp_msBasedPref); +static int dissect_msBasedPref(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Accuracy(tvb, offset, actx, tree, hf_rrlp_msBasedPref); } -static int dissect_msAssistedPref(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Accuracy(tvb, offset, pinfo, tree, hf_rrlp_msAssistedPref); +static int dissect_msAssistedPref(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Accuracy(tvb, offset, actx, tree, hf_rrlp_msAssistedPref); } -static int dissect_accuracy(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Accuracy(tvb, offset, pinfo, tree, hf_rrlp_accuracy); +static int dissect_accuracy(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Accuracy(tvb, offset, actx, tree, hf_rrlp_accuracy); } @@ -543,14 +543,14 @@ static const per_sequence_t AccuracyOpt_sequence[] = { }; static int -dissect_rrlp_AccuracyOpt(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_rrlp_AccuracyOpt(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_rrlp_AccuracyOpt, AccuracyOpt_sequence); return offset; } -static int dissect_msAssisted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AccuracyOpt(tvb, offset, pinfo, tree, hf_rrlp_msAssisted); +static int dissect_msAssisted(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AccuracyOpt(tvb, offset, actx, tree, hf_rrlp_msAssisted); } @@ -571,15 +571,15 @@ static const per_choice_t MethodType_choice[] = { }; static int -dissect_rrlp_MethodType(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_rrlp_MethodType(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_rrlp_MethodType, MethodType_choice, NULL); return offset; } -static int dissect_methodType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MethodType(tvb, offset, pinfo, tree, hf_rrlp_methodType); +static int dissect_methodType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MethodType(tvb, offset, actx, tree, hf_rrlp_methodType); } @@ -592,27 +592,27 @@ static const value_string rrlp_PositionMethod_vals[] = { static int -dissect_rrlp_PositionMethod(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_rrlp_PositionMethod(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_positionMethod(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_PositionMethod(tvb, offset, pinfo, tree, hf_rrlp_positionMethod); +static int dissect_positionMethod(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_PositionMethod(tvb, offset, actx, tree, hf_rrlp_positionMethod); } static int -dissect_rrlp_MeasureResponseTime(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_rrlp_MeasureResponseTime(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_measureResponseTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MeasureResponseTime(tvb, offset, pinfo, tree, hf_rrlp_measureResponseTime); +static int dissect_measureResponseTime(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MeasureResponseTime(tvb, offset, actx, tree, hf_rrlp_measureResponseTime); } @@ -624,14 +624,14 @@ static const value_string rrlp_UseMultipleSets_vals[] = { static int -dissect_rrlp_UseMultipleSets(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_rrlp_UseMultipleSets(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_useMultipleSets(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_UseMultipleSets(tvb, offset, pinfo, tree, hf_rrlp_useMultipleSets); +static int dissect_useMultipleSets(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_UseMultipleSets(tvb, offset, actx, tree, hf_rrlp_useMultipleSets); } @@ -644,14 +644,14 @@ static const value_string rrlp_EnvironmentCharacter_vals[] = { static int -dissect_rrlp_EnvironmentCharacter(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_rrlp_EnvironmentCharacter(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_environmentCharacter(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_EnvironmentCharacter(tvb, offset, pinfo, tree, hf_rrlp_environmentCharacter); +static int dissect_environmentCharacter(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_EnvironmentCharacter(tvb, offset, actx, tree, hf_rrlp_environmentCharacter); } @@ -665,43 +665,43 @@ static const per_sequence_t PositionInstruct_sequence[] = { }; static int -dissect_rrlp_PositionInstruct(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_rrlp_PositionInstruct(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_rrlp_PositionInstruct, PositionInstruct_sequence); return offset; } -static int dissect_positionInstruct(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_PositionInstruct(tvb, offset, pinfo, tree, hf_rrlp_positionInstruct); +static int dissect_positionInstruct(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_PositionInstruct(tvb, offset, actx, tree, hf_rrlp_positionInstruct); } static int -dissect_rrlp_BCCHCarrier(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, 1023U, NULL, NULL, FALSE); +dissect_rrlp_BCCHCarrier(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, 1023U, NULL, FALSE); return offset; } -static int dissect_bcchCarrier(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_BCCHCarrier(tvb, offset, pinfo, tree, hf_rrlp_bcchCarrier); +static int dissect_bcchCarrier(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_BCCHCarrier(tvb, offset, actx, tree, hf_rrlp_bcchCarrier); } -static int dissect_carrier(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_BCCHCarrier(tvb, offset, pinfo, tree, hf_rrlp_carrier); +static int dissect_carrier(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_BCCHCarrier(tvb, offset, actx, tree, hf_rrlp_carrier); } static int -dissect_rrlp_BSIC(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, 63U, NULL, NULL, FALSE); +dissect_rrlp_BSIC(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, 63U, NULL, FALSE); return offset; } -static int dissect_bsic(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_BSIC(tvb, offset, pinfo, tree, hf_rrlp_bsic); +static int dissect_bsic(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_BSIC(tvb, offset, actx, tree, hf_rrlp_bsic); } @@ -713,26 +713,26 @@ static const value_string rrlp_TimeSlotScheme_vals[] = { static int -dissect_rrlp_TimeSlotScheme(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_rrlp_TimeSlotScheme(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_timeSlotScheme(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_TimeSlotScheme(tvb, offset, pinfo, tree, hf_rrlp_timeSlotScheme); +static int dissect_timeSlotScheme(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_TimeSlotScheme(tvb, offset, actx, tree, hf_rrlp_timeSlotScheme); } static int -dissect_rrlp_BTSPosition(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_rrlp_Ext_GeographicalInformation(tvb, offset, pinfo, tree, hf_index); +dissect_rrlp_BTSPosition(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_rrlp_Ext_GeographicalInformation(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_btsPosition(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_BTSPosition(tvb, offset, pinfo, tree, hf_rrlp_btsPosition); +static int dissect_btsPosition(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_BTSPosition(tvb, offset, actx, tree, hf_rrlp_btsPosition); } @@ -745,82 +745,82 @@ static const per_sequence_t ReferenceAssistData_sequence[] = { }; static int -dissect_rrlp_ReferenceAssistData(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_rrlp_ReferenceAssistData(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_rrlp_ReferenceAssistData, ReferenceAssistData_sequence); return offset; } -static int dissect_referenceAssistData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ReferenceAssistData(tvb, offset, pinfo, tree, hf_rrlp_referenceAssistData); +static int dissect_referenceAssistData(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ReferenceAssistData(tvb, offset, actx, tree, hf_rrlp_referenceAssistData); } static int -dissect_rrlp_MultiFrameOffset(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, 51U, NULL, NULL, FALSE); +dissect_rrlp_MultiFrameOffset(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, 51U, NULL, FALSE); return offset; } -static int dissect_multiFrameOffset(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MultiFrameOffset(tvb, offset, pinfo, tree, hf_rrlp_multiFrameOffset); +static int dissect_multiFrameOffset(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MultiFrameOffset(tvb, offset, actx, tree, hf_rrlp_multiFrameOffset); } static int -dissect_rrlp_RoughRTD(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, 1250U, NULL, NULL, FALSE); +dissect_rrlp_RoughRTD(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, 1250U, NULL, FALSE); return offset; } -static int dissect_roughRTD(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_RoughRTD(tvb, offset, pinfo, tree, hf_rrlp_roughRTD); +static int dissect_roughRTD(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_RoughRTD(tvb, offset, actx, tree, hf_rrlp_roughRTD); } static int -dissect_rrlp_FineRTD(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_rrlp_FineRTD(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_fineRTD(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_FineRTD(tvb, offset, pinfo, tree, hf_rrlp_fineRTD); +static int dissect_fineRTD(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_FineRTD(tvb, offset, actx, tree, hf_rrlp_fineRTD); } static int -dissect_rrlp_RelDistance(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, - -200000, 200000U, NULL, NULL, FALSE); +dissect_rrlp_RelDistance(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, + -200000, 200000U, NULL, FALSE); return offset; } -static int dissect_relativeNorth(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_RelDistance(tvb, offset, pinfo, tree, hf_rrlp_relativeNorth); +static int dissect_relativeNorth(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_RelDistance(tvb, offset, actx, tree, hf_rrlp_relativeNorth); } -static int dissect_relativeEast(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_RelDistance(tvb, offset, pinfo, tree, hf_rrlp_relativeEast); +static int dissect_relativeEast(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_RelDistance(tvb, offset, actx, tree, hf_rrlp_relativeEast); } static int -dissect_rrlp_RelativeAlt(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, - -4000, 4000U, NULL, NULL, FALSE); +dissect_rrlp_RelativeAlt(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, + -4000, 4000U, NULL, FALSE); return offset; } -static int dissect_relativeAlt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_RelativeAlt(tvb, offset, pinfo, tree, hf_rrlp_relativeAlt); +static int dissect_relativeAlt(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_RelativeAlt(tvb, offset, actx, tree, hf_rrlp_relativeAlt); } @@ -832,14 +832,14 @@ static const per_sequence_t ReferenceWGS84_sequence[] = { }; static int -dissect_rrlp_ReferenceWGS84(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_rrlp_ReferenceWGS84(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_rrlp_ReferenceWGS84, ReferenceWGS84_sequence); return offset; } -static int dissect_referenceWGS84(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ReferenceWGS84(tvb, offset, pinfo, tree, hf_rrlp_referenceWGS84); +static int dissect_referenceWGS84(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ReferenceWGS84(tvb, offset, actx, tree, hf_rrlp_referenceWGS84); } @@ -850,14 +850,14 @@ static const per_sequence_t CalcAssistanceBTS_sequence[] = { }; static int -dissect_rrlp_CalcAssistanceBTS(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_rrlp_CalcAssistanceBTS(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_rrlp_CalcAssistanceBTS, CalcAssistanceBTS_sequence); return offset; } -static int dissect_calcAssistanceBTS(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_CalcAssistanceBTS(tvb, offset, pinfo, tree, hf_rrlp_calcAssistanceBTS); +static int dissect_calcAssistanceBTS(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_CalcAssistanceBTS(tvb, offset, actx, tree, hf_rrlp_calcAssistanceBTS); } @@ -872,14 +872,14 @@ static const per_sequence_t MsrAssistBTS_sequence[] = { }; static int -dissect_rrlp_MsrAssistBTS(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_rrlp_MsrAssistBTS(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_rrlp_MsrAssistBTS, MsrAssistBTS_sequence); return offset; } -static int dissect_SeqOfMsrAssistBTS_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MsrAssistBTS(tvb, offset, pinfo, tree, hf_rrlp_SeqOfMsrAssistBTS_item); +static int dissect_SeqOfMsrAssistBTS_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MsrAssistBTS(tvb, offset, actx, tree, hf_rrlp_SeqOfMsrAssistBTS_item); } @@ -888,15 +888,15 @@ static const per_sequence_t SeqOfMsrAssistBTS_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfMsrAssistBTS(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_rrlp_SeqOfMsrAssistBTS(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_rrlp_SeqOfMsrAssistBTS, SeqOfMsrAssistBTS_sequence_of, 1, 15); return offset; } -static int dissect_msrAssistList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfMsrAssistBTS(tvb, offset, pinfo, tree, hf_rrlp_msrAssistList); +static int dissect_msrAssistList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfMsrAssistBTS(tvb, offset, actx, tree, hf_rrlp_msrAssistList); } @@ -906,35 +906,35 @@ static const per_sequence_t MsrAssistData_sequence[] = { }; static int -dissect_rrlp_MsrAssistData(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_rrlp_MsrAssistData(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_rrlp_MsrAssistData, MsrAssistData_sequence); return offset; } -static int dissect_msrAssistData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MsrAssistData(tvb, offset, pinfo, tree, hf_rrlp_msrAssistData); +static int dissect_msrAssistData(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MsrAssistData(tvb, offset, actx, tree, hf_rrlp_msrAssistData); } static int -dissect_rrlp_NULL(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_null(tvb, offset, pinfo, tree, hf_index); +dissect_rrlp_NULL(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_null(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_assistanceDataAck(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_NULL(tvb, offset, pinfo, tree, hf_rrlp_assistanceDataAck); +static int dissect_assistanceDataAck(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_NULL(tvb, offset, actx, tree, hf_rrlp_assistanceDataAck); } -static int dissect_notPresent(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_NULL(tvb, offset, pinfo, tree, hf_rrlp_notPresent); +static int dissect_notPresent(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_NULL(tvb, offset, actx, tree, hf_rrlp_notPresent); } -static int dissect_oldSatelliteAndModel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_NULL(tvb, offset, pinfo, tree, hf_rrlp_oldSatelliteAndModel); +static int dissect_oldSatelliteAndModel(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_NULL(tvb, offset, actx, tree, hf_rrlp_oldSatelliteAndModel); } -static int dissect_gpsTimeAssistanceMeasurementRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_NULL(tvb, offset, pinfo, tree, hf_rrlp_gpsTimeAssistanceMeasurementRequest); +static int dissect_gpsTimeAssistanceMeasurementRequest(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_NULL(tvb, offset, actx, tree, hf_rrlp_gpsTimeAssistanceMeasurementRequest); } @@ -948,14 +948,14 @@ static const per_sequence_t AssistBTSData_sequence[] = { }; static int -dissect_rrlp_AssistBTSData(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_rrlp_AssistBTSData(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_rrlp_AssistBTSData, AssistBTSData_sequence); return offset; } -static int dissect_present(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AssistBTSData(tvb, offset, pinfo, tree, hf_rrlp_present); +static int dissect_present(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AssistBTSData(tvb, offset, actx, tree, hf_rrlp_present); } @@ -972,15 +972,15 @@ static const per_choice_t SystemInfoAssistBTS_choice[] = { }; static int -dissect_rrlp_SystemInfoAssistBTS(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_rrlp_SystemInfoAssistBTS(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_rrlp_SystemInfoAssistBTS, SystemInfoAssistBTS_choice, NULL); return offset; } -static int dissect_SeqOfSystemInfoAssistBTS_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SystemInfoAssistBTS(tvb, offset, pinfo, tree, hf_rrlp_SeqOfSystemInfoAssistBTS_item); +static int dissect_SeqOfSystemInfoAssistBTS_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SystemInfoAssistBTS(tvb, offset, actx, tree, hf_rrlp_SeqOfSystemInfoAssistBTS_item); } @@ -989,15 +989,15 @@ static const per_sequence_t SeqOfSystemInfoAssistBTS_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfSystemInfoAssistBTS(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_rrlp_SeqOfSystemInfoAssistBTS(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_rrlp_SeqOfSystemInfoAssistBTS, SeqOfSystemInfoAssistBTS_sequence_of, 1, 32); return offset; } -static int dissect_systemInfoAssistList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfSystemInfoAssistBTS(tvb, offset, pinfo, tree, hf_rrlp_systemInfoAssistList); +static int dissect_systemInfoAssistList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfSystemInfoAssistBTS(tvb, offset, actx, tree, hf_rrlp_systemInfoAssistList); } @@ -1007,43 +1007,43 @@ static const per_sequence_t SystemInfoAssistData_sequence[] = { }; static int -dissect_rrlp_SystemInfoAssistData(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_rrlp_SystemInfoAssistData(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_rrlp_SystemInfoAssistData, SystemInfoAssistData_sequence); return offset; } -static int dissect_systemInfoAssistData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SystemInfoAssistData(tvb, offset, pinfo, tree, hf_rrlp_systemInfoAssistData); +static int dissect_systemInfoAssistData(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SystemInfoAssistData(tvb, offset, actx, tree, hf_rrlp_systemInfoAssistData); } static int -dissect_rrlp_GPSTOW23b(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, 7559999U, NULL, NULL, FALSE); +dissect_rrlp_GPSTOW23b(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, 7559999U, NULL, FALSE); return offset; } -static int dissect_gpsTOW23b(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPSTOW23b(tvb, offset, pinfo, tree, hf_rrlp_gpsTOW23b); +static int dissect_gpsTOW23b(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPSTOW23b(tvb, offset, actx, tree, hf_rrlp_gpsTOW23b); } -static int dissect_gpsTOW3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPSTOW23b(tvb, offset, pinfo, tree, hf_rrlp_gpsTOW3); +static int dissect_gpsTOW3(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPSTOW23b(tvb, offset, actx, tree, hf_rrlp_gpsTOW3); } static int -dissect_rrlp_GPSWeek(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, 1023U, NULL, NULL, FALSE); +dissect_rrlp_GPSWeek(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, 1023U, NULL, FALSE); return offset; } -static int dissect_gpsWeek(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPSWeek(tvb, offset, pinfo, tree, hf_rrlp_gpsWeek); +static int dissect_gpsWeek(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPSWeek(tvb, offset, actx, tree, hf_rrlp_gpsWeek); } @@ -1054,53 +1054,53 @@ static const per_sequence_t GPSTime_sequence[] = { }; static int -dissect_rrlp_GPSTime(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_rrlp_GPSTime(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_rrlp_GPSTime, GPSTime_sequence); return offset; } -static int dissect_gpsTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPSTime(tvb, offset, pinfo, tree, hf_rrlp_gpsTime); +static int dissect_gpsTime(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPSTime(tvb, offset, actx, tree, hf_rrlp_gpsTime); } static int -dissect_rrlp_FrameNumber(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, 2097151U, NULL, NULL, FALSE); +dissect_rrlp_FrameNumber(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, 2097151U, NULL, FALSE); return offset; } -static int dissect_frameNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_FrameNumber(tvb, offset, pinfo, tree, hf_rrlp_frameNumber); +static int dissect_frameNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_FrameNumber(tvb, offset, actx, tree, hf_rrlp_frameNumber); } static int -dissect_rrlp_TimeSlot(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_rrlp_TimeSlot(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_timeSlot(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_TimeSlot(tvb, offset, pinfo, tree, hf_rrlp_timeSlot); +static int dissect_timeSlot(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_TimeSlot(tvb, offset, actx, tree, hf_rrlp_timeSlot); } static int -dissect_rrlp_BitNumber(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, 156U, NULL, NULL, FALSE); +dissect_rrlp_BitNumber(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, 156U, NULL, FALSE); return offset; } -static int dissect_bitNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_BitNumber(tvb, offset, pinfo, tree, hf_rrlp_bitNumber); +static int dissect_bitNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_BitNumber(tvb, offset, actx, tree, hf_rrlp_bitNumber); } @@ -1114,85 +1114,85 @@ static const per_sequence_t GSMTime_sequence[] = { }; static int -dissect_rrlp_GSMTime(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_rrlp_GSMTime(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_rrlp_GSMTime, GSMTime_sequence); return offset; } -static int dissect_gsmTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GSMTime(tvb, offset, pinfo, tree, hf_rrlp_gsmTime); +static int dissect_gsmTime(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GSMTime(tvb, offset, actx, tree, hf_rrlp_gsmTime); } static int -dissect_rrlp_SatelliteID(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, 63U, NULL, NULL, FALSE); +dissect_rrlp_SatelliteID(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, 63U, NULL, FALSE); return offset; } -static int dissect_satelliteID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SatelliteID(tvb, offset, pinfo, tree, hf_rrlp_satelliteID); +static int dissect_satelliteID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SatelliteID(tvb, offset, actx, tree, hf_rrlp_satelliteID); } -static int dissect_svid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SatelliteID(tvb, offset, pinfo, tree, hf_rrlp_svid); +static int dissect_svid(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SatelliteID(tvb, offset, actx, tree, hf_rrlp_svid); } -static int dissect_SeqOf_BadSatelliteSet_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SatelliteID(tvb, offset, pinfo, tree, hf_rrlp_SeqOf_BadSatelliteSet_item); +static int dissect_SeqOf_BadSatelliteSet_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SatelliteID(tvb, offset, actx, tree, hf_rrlp_SeqOf_BadSatelliteSet_item); } static int -dissect_rrlp_TLMWord(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, 16383U, NULL, NULL, FALSE); +dissect_rrlp_TLMWord(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, 16383U, NULL, FALSE); return offset; } -static int dissect_tlmWord(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_TLMWord(tvb, offset, pinfo, tree, hf_rrlp_tlmWord); +static int dissect_tlmWord(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_TLMWord(tvb, offset, actx, tree, hf_rrlp_tlmWord); } static int -dissect_rrlp_AntiSpoofFlag(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, 1U, NULL, NULL, FALSE); +dissect_rrlp_AntiSpoofFlag(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, 1U, NULL, FALSE); return offset; } -static int dissect_antiSpoof(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AntiSpoofFlag(tvb, offset, pinfo, tree, hf_rrlp_antiSpoof); +static int dissect_antiSpoof(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AntiSpoofFlag(tvb, offset, actx, tree, hf_rrlp_antiSpoof); } static int -dissect_rrlp_AlertFlag(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, 1U, NULL, NULL, FALSE); +dissect_rrlp_AlertFlag(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, 1U, NULL, FALSE); return offset; } -static int dissect_alert(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AlertFlag(tvb, offset, pinfo, tree, hf_rrlp_alert); +static int dissect_alert(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AlertFlag(tvb, offset, actx, tree, hf_rrlp_alert); } static int -dissect_rrlp_TLMReservedBits(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_rrlp_TLMReservedBits(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_tlmRsvdBits(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_TLMReservedBits(tvb, offset, pinfo, tree, hf_rrlp_tlmRsvdBits); +static int dissect_tlmRsvdBits(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_TLMReservedBits(tvb, offset, actx, tree, hf_rrlp_tlmRsvdBits); } @@ -1206,14 +1206,14 @@ static const per_sequence_t GPSTOWAssistElement_sequence[] = { }; static int -dissect_rrlp_GPSTOWAssistElement(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_rrlp_GPSTOWAssistElement(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_rrlp_GPSTOWAssistElement, GPSTOWAssistElement_sequence); return offset; } -static int dissect_GPSTOWAssist_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPSTOWAssistElement(tvb, offset, pinfo, tree, hf_rrlp_GPSTOWAssist_item); +static int dissect_GPSTOWAssist_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPSTOWAssistElement(tvb, offset, actx, tree, hf_rrlp_GPSTOWAssist_item); } @@ -1222,15 +1222,15 @@ static const per_sequence_t GPSTOWAssist_sequence_of[1] = { }; static int -dissect_rrlp_GPSTOWAssist(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_rrlp_GPSTOWAssist(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_rrlp_GPSTOWAssist, GPSTOWAssist_sequence_of, 1, 12); return offset; } -static int dissect_gpsTowAssist(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPSTOWAssist(tvb, offset, pinfo, tree, hf_rrlp_gpsTowAssist); +static int dissect_gpsTowAssist(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPSTOWAssist(tvb, offset, actx, tree, hf_rrlp_gpsTowAssist); } @@ -1242,14 +1242,14 @@ static const per_sequence_t ReferenceTime_sequence[] = { }; static int -dissect_rrlp_ReferenceTime(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_rrlp_ReferenceTime(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_rrlp_ReferenceTime, ReferenceTime_sequence); return offset; } -static int dissect_referenceTime(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ReferenceTime(tvb, offset, pinfo, tree, hf_rrlp_referenceTime); +static int dissect_referenceTime(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ReferenceTime(tvb, offset, actx, tree, hf_rrlp_referenceTime); } @@ -1259,107 +1259,107 @@ static const per_sequence_t RefLocation_sequence[] = { }; static int -dissect_rrlp_RefLocation(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_rrlp_RefLocation(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_rrlp_RefLocation, RefLocation_sequence); return offset; } -static int dissect_refLocation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_RefLocation(tvb, offset, pinfo, tree, hf_rrlp_refLocation); +static int dissect_refLocation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_RefLocation(tvb, offset, actx, tree, hf_rrlp_refLocation); } static int -dissect_rrlp_INTEGER_0_604799(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, 604799U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_604799(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, 604799U, NULL, FALSE); return offset; } -static int dissect_gpsTOW2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_604799(tvb, offset, pinfo, tree, hf_rrlp_gpsTOW2); +static int dissect_gpsTOW2(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_604799(tvb, offset, actx, tree, hf_rrlp_gpsTOW2); } static int -dissect_rrlp_INTEGER_0_239(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, 239U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_239(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, 239U, NULL, FALSE); return offset; } -static int dissect_iode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_239(tvb, offset, pinfo, tree, hf_rrlp_iode); +static int dissect_iode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_239(tvb, offset, actx, tree, hf_rrlp_iode); } static int -dissect_rrlp_INTEGER_0_3(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_rrlp_INTEGER_0_3(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_udre(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_3(tvb, offset, pinfo, tree, hf_rrlp_udre); +static int dissect_udre(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_3(tvb, offset, actx, tree, hf_rrlp_udre); } -static int dissect_ephemCodeOnL2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_3(tvb, offset, pinfo, tree, hf_rrlp_ephemCodeOnL2); +static int dissect_ephemCodeOnL2(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_3(tvb, offset, actx, tree, hf_rrlp_ephemCodeOnL2); } -static int dissect_gpsBitNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_3(tvb, offset, pinfo, tree, hf_rrlp_gpsBitNumber); +static int dissect_gpsBitNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_3(tvb, offset, actx, tree, hf_rrlp_gpsBitNumber); } static int -dissect_rrlp_INTEGER_M2047_2047(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, - -2047, 2047U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_M2047_2047(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, + -2047, 2047U, NULL, FALSE); return offset; } -static int dissect_pseudoRangeCor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M2047_2047(tvb, offset, pinfo, tree, hf_rrlp_pseudoRangeCor); +static int dissect_pseudoRangeCor(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M2047_2047(tvb, offset, actx, tree, hf_rrlp_pseudoRangeCor); } static int -dissect_rrlp_INTEGER_M127_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, - -127, 127U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_M127_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, + -127, 127U, NULL, FALSE); return offset; } -static int dissect_rangeRateCor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M127_127(tvb, offset, pinfo, tree, hf_rrlp_rangeRateCor); +static int dissect_rangeRateCor(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M127_127(tvb, offset, actx, tree, hf_rrlp_rangeRateCor); } -static int dissect_deltaPseudoRangeCor2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M127_127(tvb, offset, pinfo, tree, hf_rrlp_deltaPseudoRangeCor2); +static int dissect_deltaPseudoRangeCor2(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M127_127(tvb, offset, actx, tree, hf_rrlp_deltaPseudoRangeCor2); } -static int dissect_deltaPseudoRangeCor3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M127_127(tvb, offset, pinfo, tree, hf_rrlp_deltaPseudoRangeCor3); +static int dissect_deltaPseudoRangeCor3(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M127_127(tvb, offset, actx, tree, hf_rrlp_deltaPseudoRangeCor3); } static int -dissect_rrlp_INTEGER_M7_7(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, - -7, 7U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_M7_7(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, + -7, 7U, NULL, FALSE); return offset; } -static int dissect_deltaRangeRateCor2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M7_7(tvb, offset, pinfo, tree, hf_rrlp_deltaRangeRateCor2); +static int dissect_deltaRangeRateCor2(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M7_7(tvb, offset, actx, tree, hf_rrlp_deltaRangeRateCor2); } -static int dissect_deltaRangeRateCor3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M7_7(tvb, offset, pinfo, tree, hf_rrlp_deltaRangeRateCor3); +static int dissect_deltaRangeRateCor3(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M7_7(tvb, offset, actx, tree, hf_rrlp_deltaRangeRateCor3); } @@ -1377,14 +1377,14 @@ static const per_sequence_t SatElement_sequence[] = { }; static int -dissect_rrlp_SatElement(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_rrlp_SatElement(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_rrlp_SatElement, SatElement_sequence); return offset; } -static int dissect_SeqOfSatElement_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SatElement(tvb, offset, pinfo, tree, hf_rrlp_SeqOfSatElement_item); +static int dissect_SeqOfSatElement_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SatElement(tvb, offset, actx, tree, hf_rrlp_SeqOfSatElement_item); } @@ -1393,15 +1393,15 @@ static const per_sequence_t SeqOfSatElement_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfSatElement(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_rrlp_SeqOfSatElement(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_rrlp_SeqOfSatElement, SeqOfSatElement_sequence_of, 1, 16); return offset; } -static int dissect_satList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfSatElement(tvb, offset, pinfo, tree, hf_rrlp_satList); +static int dissect_satList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfSatElement(tvb, offset, actx, tree, hf_rrlp_satList); } @@ -1413,138 +1413,138 @@ static const per_sequence_t DGPSCorrections_sequence[] = { }; static int -dissect_rrlp_DGPSCorrections(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_rrlp_DGPSCorrections(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_rrlp_DGPSCorrections, DGPSCorrections_sequence); return offset; } -static int dissect_dgpsCorrections(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_DGPSCorrections(tvb, offset, pinfo, tree, hf_rrlp_dgpsCorrections); +static int dissect_dgpsCorrections(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_DGPSCorrections(tvb, offset, actx, tree, hf_rrlp_dgpsCorrections); } static int -dissect_rrlp_INTEGER_0_15(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_rrlp_INTEGER_0_15(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_ephemURA(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_15(tvb, offset, pinfo, tree, hf_rrlp_ephemURA); +static int dissect_ephemURA(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_15(tvb, offset, actx, tree, hf_rrlp_ephemURA); } -static int dissect_codePhaseSearchWindow(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_15(tvb, offset, pinfo, tree, hf_rrlp_codePhaseSearchWindow); +static int dissect_codePhaseSearchWindow(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_15(tvb, offset, actx, tree, hf_rrlp_codePhaseSearchWindow); } static int -dissect_rrlp_INTEGER_0_63(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, 63U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_63(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, 63U, NULL, FALSE); return offset; } -static int dissect_cNo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_63(tvb, offset, pinfo, tree, hf_rrlp_cNo); +static int dissect_cNo(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_63(tvb, offset, actx, tree, hf_rrlp_cNo); } -static int dissect_pseuRangeRMSErr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_63(tvb, offset, pinfo, tree, hf_rrlp_pseuRangeRMSErr); +static int dissect_pseuRangeRMSErr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_63(tvb, offset, actx, tree, hf_rrlp_pseuRangeRMSErr); } -static int dissect_ephemSVhealth(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_63(tvb, offset, pinfo, tree, hf_rrlp_ephemSVhealth); +static int dissect_ephemSVhealth(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_63(tvb, offset, actx, tree, hf_rrlp_ephemSVhealth); } -static int dissect_doppler1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_63(tvb, offset, pinfo, tree, hf_rrlp_doppler1); +static int dissect_doppler1(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_63(tvb, offset, actx, tree, hf_rrlp_doppler1); } -static int dissect_referenceFrameMSB(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_63(tvb, offset, pinfo, tree, hf_rrlp_referenceFrameMSB); +static int dissect_referenceFrameMSB(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_63(tvb, offset, actx, tree, hf_rrlp_referenceFrameMSB); } -static int dissect_smlc_code(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_63(tvb, offset, pinfo, tree, hf_rrlp_smlc_code); +static int dissect_smlc_code(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_63(tvb, offset, actx, tree, hf_rrlp_smlc_code); } static int -dissect_rrlp_INTEGER_0_1023(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, 1023U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_1023(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, 1023U, NULL, FALSE); return offset; } -static int dissect_ephemIODC(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_1023(tvb, offset, pinfo, tree, hf_rrlp_ephemIODC); +static int dissect_ephemIODC(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_1023(tvb, offset, actx, tree, hf_rrlp_ephemIODC); } static int -dissect_rrlp_INTEGER_0_1(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, 1U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_1(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, 1U, NULL, FALSE); return offset; } -static int dissect_ephemL2Pflag(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_1(tvb, offset, pinfo, tree, hf_rrlp_ephemL2Pflag); +static int dissect_ephemL2Pflag(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_1(tvb, offset, actx, tree, hf_rrlp_ephemL2Pflag); } -static int dissect_ephemFitFlag(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_1(tvb, offset, pinfo, tree, hf_rrlp_ephemFitFlag); +static int dissect_ephemFitFlag(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_1(tvb, offset, actx, tree, hf_rrlp_ephemFitFlag); } static int -dissect_rrlp_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_rrlp_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_reserved1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_8388607(tvb, offset, pinfo, tree, hf_rrlp_reserved1); +static int dissect_reserved1(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_8388607(tvb, offset, actx, tree, hf_rrlp_reserved1); } static int -dissect_rrlp_INTEGER_0_16777215(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, 16777215U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_16777215(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, 16777215U, NULL, FALSE); return offset; } -static int dissect_reserved2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_16777215(tvb, offset, pinfo, tree, hf_rrlp_reserved2); +static int dissect_reserved2(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_16777215(tvb, offset, actx, tree, hf_rrlp_reserved2); } -static int dissect_reserved3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_16777215(tvb, offset, pinfo, tree, hf_rrlp_reserved3); +static int dissect_reserved3(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_16777215(tvb, offset, actx, tree, hf_rrlp_reserved3); } -static int dissect_almanacAPowerHalf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_16777215(tvb, offset, pinfo, tree, hf_rrlp_almanacAPowerHalf); +static int dissect_almanacAPowerHalf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_16777215(tvb, offset, actx, tree, hf_rrlp_almanacAPowerHalf); } static int -dissect_rrlp_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_rrlp_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_refFrame(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_65535(tvb, offset, pinfo, tree, hf_rrlp_refFrame); +static int dissect_refFrame(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_65535(tvb, offset, actx, tree, hf_rrlp_refFrame); } -static int dissect_reserved4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_65535(tvb, offset, pinfo, tree, hf_rrlp_reserved4); +static int dissect_reserved4(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_65535(tvb, offset, actx, tree, hf_rrlp_reserved4); } -static int dissect_almanacE(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_65535(tvb, offset, pinfo, tree, hf_rrlp_almanacE); +static int dissect_almanacE(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_65535(tvb, offset, actx, tree, hf_rrlp_almanacE); } @@ -1557,233 +1557,233 @@ static const per_sequence_t EphemerisSubframe1Reserved_sequence[] = { }; static int -dissect_rrlp_EphemerisSubframe1Reserved(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_rrlp_EphemerisSubframe1Reserved(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_rrlp_EphemerisSubframe1Reserved, EphemerisSubframe1Reserved_sequence); return offset; } -static int dissect_ephemSF1Rsvd(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_EphemerisSubframe1Reserved(tvb, offset, pinfo, tree, hf_rrlp_ephemSF1Rsvd); +static int dissect_ephemSF1Rsvd(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_EphemerisSubframe1Reserved(tvb, offset, actx, tree, hf_rrlp_ephemSF1Rsvd); } static int -dissect_rrlp_INTEGER_M128_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, - -128, 127U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_M128_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, + -128, 127U, NULL, FALSE); return offset; } -static int dissect_ephemTgd(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_ephemTgd); +static int dissect_ephemTgd(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_ephemTgd); } -static int dissect_ephemAF2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_ephemAF2); +static int dissect_ephemAF2(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_ephemAF2); } -static int dissect_alfa0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_alfa0); +static int dissect_alfa0(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_alfa0); } -static int dissect_alfa1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_alfa1); +static int dissect_alfa1(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_alfa1); } -static int dissect_alfa2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_alfa2); +static int dissect_alfa2(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_alfa2); } -static int dissect_alfa3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_alfa3); +static int dissect_alfa3(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_alfa3); } -static int dissect_beta0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_beta0); +static int dissect_beta0(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_beta0); } -static int dissect_beta1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_beta1); +static int dissect_beta1(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_beta1); } -static int dissect_beta2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_beta2); +static int dissect_beta2(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_beta2); } -static int dissect_beta3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_beta3); +static int dissect_beta3(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_beta3); } -static int dissect_utcDeltaTls(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_utcDeltaTls); +static int dissect_utcDeltaTls(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_utcDeltaTls); } -static int dissect_utcDN(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_utcDN); +static int dissect_utcDN(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_utcDN); } -static int dissect_utcDeltaTlsf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M128_127(tvb, offset, pinfo, tree, hf_rrlp_utcDeltaTlsf); +static int dissect_utcDeltaTlsf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M128_127(tvb, offset, actx, tree, hf_rrlp_utcDeltaTlsf); } static int -dissect_rrlp_INTEGER_0_37799(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, 37799U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_37799(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, 37799U, NULL, FALSE); return offset; } -static int dissect_ephemToc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_37799(tvb, offset, pinfo, tree, hf_rrlp_ephemToc); +static int dissect_ephemToc(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_37799(tvb, offset, actx, tree, hf_rrlp_ephemToc); } -static int dissect_ephemToe(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_37799(tvb, offset, pinfo, tree, hf_rrlp_ephemToe); +static int dissect_ephemToe(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_37799(tvb, offset, actx, tree, hf_rrlp_ephemToe); } static int -dissect_rrlp_INTEGER_M32768_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, - -32768, 32767U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_M32768_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, + -32768, 32767U, NULL, FALSE); return offset; } -static int dissect_doppler(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, pinfo, tree, hf_rrlp_doppler); +static int dissect_doppler(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, actx, tree, hf_rrlp_doppler); } -static int dissect_ephemAF1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, pinfo, tree, hf_rrlp_ephemAF1); +static int dissect_ephemAF1(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, actx, tree, hf_rrlp_ephemAF1); } -static int dissect_ephemCrs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, pinfo, tree, hf_rrlp_ephemCrs); +static int dissect_ephemCrs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, actx, tree, hf_rrlp_ephemCrs); } -static int dissect_ephemDeltaN(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, pinfo, tree, hf_rrlp_ephemDeltaN); +static int dissect_ephemDeltaN(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, actx, tree, hf_rrlp_ephemDeltaN); } -static int dissect_ephemCuc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, pinfo, tree, hf_rrlp_ephemCuc); +static int dissect_ephemCuc(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, actx, tree, hf_rrlp_ephemCuc); } -static int dissect_ephemCus(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, pinfo, tree, hf_rrlp_ephemCus); +static int dissect_ephemCus(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, actx, tree, hf_rrlp_ephemCus); } -static int dissect_ephemCic(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, pinfo, tree, hf_rrlp_ephemCic); +static int dissect_ephemCic(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, actx, tree, hf_rrlp_ephemCic); } -static int dissect_ephemCis(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, pinfo, tree, hf_rrlp_ephemCis); +static int dissect_ephemCis(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, actx, tree, hf_rrlp_ephemCis); } -static int dissect_ephemCrc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, pinfo, tree, hf_rrlp_ephemCrc); +static int dissect_ephemCrc(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, actx, tree, hf_rrlp_ephemCrc); } -static int dissect_almanacKsii(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, pinfo, tree, hf_rrlp_almanacKsii); +static int dissect_almanacKsii(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, actx, tree, hf_rrlp_almanacKsii); } -static int dissect_almanacOmegaDot(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, pinfo, tree, hf_rrlp_almanacOmegaDot); +static int dissect_almanacOmegaDot(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M32768_32767(tvb, offset, actx, tree, hf_rrlp_almanacOmegaDot); } static int -dissect_rrlp_INTEGER_M2097152_2097151(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, - -2097152, 2097151U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_M2097152_2097151(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, + -2097152, 2097151U, NULL, FALSE); return offset; } -static int dissect_ephemAF0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M2097152_2097151(tvb, offset, pinfo, tree, hf_rrlp_ephemAF0); +static int dissect_ephemAF0(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M2097152_2097151(tvb, offset, actx, tree, hf_rrlp_ephemAF0); } static int -dissect_rrlp_INTEGER_M2147483648_2147483647(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, - -2147483648, 2147483647U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_M2147483648_2147483647(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, + -2147483648, 2147483647U, NULL, FALSE); return offset; } -static int dissect_ephemM0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M2147483648_2147483647(tvb, offset, pinfo, tree, hf_rrlp_ephemM0); +static int dissect_ephemM0(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M2147483648_2147483647(tvb, offset, actx, tree, hf_rrlp_ephemM0); } -static int dissect_ephemOmegaA0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M2147483648_2147483647(tvb, offset, pinfo, tree, hf_rrlp_ephemOmegaA0); +static int dissect_ephemOmegaA0(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M2147483648_2147483647(tvb, offset, actx, tree, hf_rrlp_ephemOmegaA0); } -static int dissect_ephemI0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M2147483648_2147483647(tvb, offset, pinfo, tree, hf_rrlp_ephemI0); +static int dissect_ephemI0(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M2147483648_2147483647(tvb, offset, actx, tree, hf_rrlp_ephemI0); } -static int dissect_ephemW(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M2147483648_2147483647(tvb, offset, pinfo, tree, hf_rrlp_ephemW); +static int dissect_ephemW(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M2147483648_2147483647(tvb, offset, actx, tree, hf_rrlp_ephemW); } -static int dissect_utcA0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M2147483648_2147483647(tvb, offset, pinfo, tree, hf_rrlp_utcA0); +static int dissect_utcA0(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M2147483648_2147483647(tvb, offset, actx, tree, hf_rrlp_utcA0); } static int -dissect_rrlp_INTEGER_0_4294967295(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_rrlp_INTEGER_0_4294967295(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_ephemE(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_4294967295(tvb, offset, pinfo, tree, hf_rrlp_ephemE); +static int dissect_ephemE(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_4294967295(tvb, offset, actx, tree, hf_rrlp_ephemE); } -static int dissect_ephemAPowerHalf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_4294967295(tvb, offset, pinfo, tree, hf_rrlp_ephemAPowerHalf); +static int dissect_ephemAPowerHalf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_4294967295(tvb, offset, actx, tree, hf_rrlp_ephemAPowerHalf); } static int -dissect_rrlp_INTEGER_0_31(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, 31U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_31(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, 31U, NULL, FALSE); return offset; } -static int dissect_stdOfEOTD(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_31(tvb, offset, pinfo, tree, hf_rrlp_stdOfEOTD); +static int dissect_stdOfEOTD(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_31(tvb, offset, actx, tree, hf_rrlp_stdOfEOTD); } -static int dissect_ephemAODA(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_31(tvb, offset, pinfo, tree, hf_rrlp_ephemAODA); +static int dissect_ephemAODA(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_31(tvb, offset, actx, tree, hf_rrlp_ephemAODA); } -static int dissect_azimuth(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_31(tvb, offset, pinfo, tree, hf_rrlp_azimuth); +static int dissect_azimuth(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_31(tvb, offset, actx, tree, hf_rrlp_azimuth); } static int -dissect_rrlp_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_rrlp_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_ephemOmegaADot(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M8388608_8388607(tvb, offset, pinfo, tree, hf_rrlp_ephemOmegaADot); +static int dissect_ephemOmegaADot(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M8388608_8388607(tvb, offset, actx, tree, hf_rrlp_ephemOmegaADot); } -static int dissect_utcA1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M8388608_8388607(tvb, offset, pinfo, tree, hf_rrlp_utcA1); +static int dissect_utcA1(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M8388608_8388607(tvb, offset, actx, tree, hf_rrlp_utcA1); } -static int dissect_almanacOmega0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M8388608_8388607(tvb, offset, pinfo, tree, hf_rrlp_almanacOmega0); +static int dissect_almanacOmega0(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M8388608_8388607(tvb, offset, actx, tree, hf_rrlp_almanacOmega0); } -static int dissect_almanacW(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M8388608_8388607(tvb, offset, pinfo, tree, hf_rrlp_almanacW); +static int dissect_almanacW(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M8388608_8388607(tvb, offset, actx, tree, hf_rrlp_almanacW); } -static int dissect_almanacM0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M8388608_8388607(tvb, offset, pinfo, tree, hf_rrlp_almanacM0); +static int dissect_almanacM0(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M8388608_8388607(tvb, offset, actx, tree, hf_rrlp_almanacM0); } static int -dissect_rrlp_INTEGER_M8192_8191(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, - -8192, 8191U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_M8192_8191(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, + -8192, 8191U, NULL, FALSE); return offset; } -static int dissect_ephemIDot(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M8192_8191(tvb, offset, pinfo, tree, hf_rrlp_ephemIDot); +static int dissect_ephemIDot(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M8192_8191(tvb, offset, actx, tree, hf_rrlp_ephemIDot); } @@ -1821,17 +1821,17 @@ static const per_sequence_t UncompressedEphemeris_sequence[] = { }; static int -dissect_rrlp_UncompressedEphemeris(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_rrlp_UncompressedEphemeris(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_rrlp_UncompressedEphemeris, UncompressedEphemeris_sequence); return offset; } -static int dissect_newSatelliteAndModelUC(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_UncompressedEphemeris(tvb, offset, pinfo, tree, hf_rrlp_newSatelliteAndModelUC); +static int dissect_newSatelliteAndModelUC(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_UncompressedEphemeris(tvb, offset, actx, tree, hf_rrlp_newSatelliteAndModelUC); } -static int dissect_newNaviModelUC(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_UncompressedEphemeris(tvb, offset, pinfo, tree, hf_rrlp_newNaviModelUC); +static int dissect_newNaviModelUC(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_UncompressedEphemeris(tvb, offset, actx, tree, hf_rrlp_newNaviModelUC); } @@ -1850,15 +1850,15 @@ static const per_choice_t SatStatus_choice[] = { }; static int -dissect_rrlp_SatStatus(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_rrlp_SatStatus(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_rrlp_SatStatus, SatStatus_choice, NULL); return offset; } -static int dissect_satStatus(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SatStatus(tvb, offset, pinfo, tree, hf_rrlp_satStatus); +static int dissect_satStatus(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SatStatus(tvb, offset, actx, tree, hf_rrlp_satStatus); } @@ -1869,14 +1869,14 @@ static const per_sequence_t NavModelElement_sequence[] = { }; static int -dissect_rrlp_NavModelElement(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_rrlp_NavModelElement(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_rrlp_NavModelElement, NavModelElement_sequence); return offset; } -static int dissect_SeqOfNavModelElement_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_NavModelElement(tvb, offset, pinfo, tree, hf_rrlp_SeqOfNavModelElement_item); +static int dissect_SeqOfNavModelElement_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_NavModelElement(tvb, offset, actx, tree, hf_rrlp_SeqOfNavModelElement_item); } @@ -1885,15 +1885,15 @@ static const per_sequence_t SeqOfNavModelElement_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfNavModelElement(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_rrlp_SeqOfNavModelElement(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_rrlp_SeqOfNavModelElement, SeqOfNavModelElement_sequence_of, 1, 16); return offset; } -static int dissect_navModelList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfNavModelElement(tvb, offset, pinfo, tree, hf_rrlp_navModelList); +static int dissect_navModelList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfNavModelElement(tvb, offset, actx, tree, hf_rrlp_navModelList); } @@ -1903,14 +1903,14 @@ static const per_sequence_t NavigationModel_sequence[] = { }; static int -dissect_rrlp_NavigationModel(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_rrlp_NavigationModel(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_rrlp_NavigationModel, NavigationModel_sequence); return offset; } -static int dissect_navigationModel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_NavigationModel(tvb, offset, pinfo, tree, hf_rrlp_navigationModel); +static int dissect_navigationModel(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_NavigationModel(tvb, offset, actx, tree, hf_rrlp_navigationModel); } @@ -1927,42 +1927,42 @@ static const per_sequence_t IonosphericModel_sequence[] = { }; static int -dissect_rrlp_IonosphericModel(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_rrlp_IonosphericModel(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_rrlp_IonosphericModel, IonosphericModel_sequence); return offset; } -static int dissect_ionosphericModel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_IonosphericModel(tvb, offset, pinfo, tree, hf_rrlp_ionosphericModel); +static int dissect_ionosphericModel(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_IonosphericModel(tvb, offset, actx, tree, hf_rrlp_ionosphericModel); } static int -dissect_rrlp_INTEGER_0_255(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_rrlp_INTEGER_0_255(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_utcTot(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_255(tvb, offset, pinfo, tree, hf_rrlp_utcTot); +static int dissect_utcTot(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_255(tvb, offset, actx, tree, hf_rrlp_utcTot); } -static int dissect_utcWNt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_255(tvb, offset, pinfo, tree, hf_rrlp_utcWNt); +static int dissect_utcWNt(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_255(tvb, offset, actx, tree, hf_rrlp_utcWNt); } -static int dissect_utcWNlsf(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_255(tvb, offset, pinfo, tree, hf_rrlp_utcWNlsf); +static int dissect_utcWNlsf(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_255(tvb, offset, actx, tree, hf_rrlp_utcWNlsf); } -static int dissect_alamanacWNa(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_255(tvb, offset, pinfo, tree, hf_rrlp_alamanacWNa); +static int dissect_alamanacWNa(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_255(tvb, offset, actx, tree, hf_rrlp_alamanacWNa); } -static int dissect_alamanacToa(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_255(tvb, offset, pinfo, tree, hf_rrlp_alamanacToa); +static int dissect_alamanacToa(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_255(tvb, offset, actx, tree, hf_rrlp_alamanacToa); } -static int dissect_almanacSVhealth(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_255(tvb, offset, pinfo, tree, hf_rrlp_almanacSVhealth); +static int dissect_almanacSVhealth(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_255(tvb, offset, actx, tree, hf_rrlp_almanacSVhealth); } @@ -1979,30 +1979,30 @@ static const per_sequence_t UTCModel_sequence[] = { }; static int -dissect_rrlp_UTCModel(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_rrlp_UTCModel(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_rrlp_UTCModel, UTCModel_sequence); return offset; } -static int dissect_utcModel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_UTCModel(tvb, offset, pinfo, tree, hf_rrlp_utcModel); +static int dissect_utcModel(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_UTCModel(tvb, offset, actx, tree, hf_rrlp_utcModel); } static int -dissect_rrlp_INTEGER_M1024_1023(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, - -1024, 1023U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_M1024_1023(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, + -1024, 1023U, NULL, FALSE); return offset; } -static int dissect_almanacAF0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M1024_1023(tvb, offset, pinfo, tree, hf_rrlp_almanacAF0); +static int dissect_almanacAF0(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M1024_1023(tvb, offset, actx, tree, hf_rrlp_almanacAF0); } -static int dissect_almanacAF1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M1024_1023(tvb, offset, pinfo, tree, hf_rrlp_almanacAF1); +static int dissect_almanacAF1(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M1024_1023(tvb, offset, actx, tree, hf_rrlp_almanacAF1); } @@ -2023,14 +2023,14 @@ static const per_sequence_t AlmanacElement_sequence[] = { }; static int -dissect_rrlp_AlmanacElement(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_rrlp_AlmanacElement(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_rrlp_AlmanacElement, AlmanacElement_sequence); return offset; } -static int dissect_SeqOfAlmanacElement_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AlmanacElement(tvb, offset, pinfo, tree, hf_rrlp_SeqOfAlmanacElement_item); +static int dissect_SeqOfAlmanacElement_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AlmanacElement(tvb, offset, actx, tree, hf_rrlp_SeqOfAlmanacElement_item); } @@ -2039,15 +2039,15 @@ static const per_sequence_t SeqOfAlmanacElement_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfAlmanacElement(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_rrlp_SeqOfAlmanacElement(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_rrlp_SeqOfAlmanacElement, SeqOfAlmanacElement_sequence_of, 1, 64); return offset; } -static int dissect_almanacList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfAlmanacElement(tvb, offset, pinfo, tree, hf_rrlp_almanacList); +static int dissect_almanacList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfAlmanacElement(tvb, offset, actx, tree, hf_rrlp_almanacList); } @@ -2058,14 +2058,14 @@ static const per_sequence_t Almanac_sequence[] = { }; static int -dissect_rrlp_Almanac(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_rrlp_Almanac(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_rrlp_Almanac, Almanac_sequence); return offset; } -static int dissect_almanac(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Almanac(tvb, offset, pinfo, tree, hf_rrlp_almanac); +static int dissect_almanac(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Almanac(tvb, offset, actx, tree, hf_rrlp_almanac); } @@ -2076,27 +2076,27 @@ static const per_sequence_t TimeRelation_sequence[] = { }; static int -dissect_rrlp_TimeRelation(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_rrlp_TimeRelation(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_rrlp_TimeRelation, TimeRelation_sequence); return offset; } -static int dissect_timeRelation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_TimeRelation(tvb, offset, pinfo, tree, hf_rrlp_timeRelation); +static int dissect_timeRelation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_TimeRelation(tvb, offset, actx, tree, hf_rrlp_timeRelation); } static int -dissect_rrlp_INTEGER_M2048_2047(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, - -2048, 2047U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_M2048_2047(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, + -2048, 2047U, NULL, FALSE); return offset; } -static int dissect_doppler0(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_M2048_2047(tvb, offset, pinfo, tree, hf_rrlp_doppler0); +static int dissect_doppler0(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_M2048_2047(tvb, offset, actx, tree, hf_rrlp_doppler0); } @@ -2107,43 +2107,43 @@ static const per_sequence_t AddionalDopplerFields_sequence[] = { }; static int -dissect_rrlp_AddionalDopplerFields(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_rrlp_AddionalDopplerFields(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_rrlp_AddionalDopplerFields, AddionalDopplerFields_sequence); return offset; } -static int dissect_addionalDoppler(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AddionalDopplerFields(tvb, offset, pinfo, tree, hf_rrlp_addionalDoppler); +static int dissect_addionalDoppler(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AddionalDopplerFields(tvb, offset, actx, tree, hf_rrlp_addionalDoppler); } static int -dissect_rrlp_INTEGER_0_1022(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, 1022U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_1022(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, 1022U, NULL, FALSE); return offset; } -static int dissect_wholeChips(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_1022(tvb, offset, pinfo, tree, hf_rrlp_wholeChips); +static int dissect_wholeChips(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_1022(tvb, offset, actx, tree, hf_rrlp_wholeChips); } -static int dissect_codePhase(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_1022(tvb, offset, pinfo, tree, hf_rrlp_codePhase); +static int dissect_codePhase(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_1022(tvb, offset, actx, tree, hf_rrlp_codePhase); } static int -dissect_rrlp_INTEGER_0_19(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, 19U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_19(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, 19U, NULL, FALSE); return offset; } -static int dissect_intCodePhase(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_19(tvb, offset, pinfo, tree, hf_rrlp_intCodePhase); +static int dissect_intCodePhase(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_19(tvb, offset, actx, tree, hf_rrlp_intCodePhase); } @@ -2154,14 +2154,14 @@ static const per_sequence_t AddionalAngleFields_sequence[] = { }; static int -dissect_rrlp_AddionalAngleFields(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_rrlp_AddionalAngleFields(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_rrlp_AddionalAngleFields, AddionalAngleFields_sequence); return offset; } -static int dissect_addionalAngle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AddionalAngleFields(tvb, offset, pinfo, tree, hf_rrlp_addionalAngle); +static int dissect_addionalAngle(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AddionalAngleFields(tvb, offset, actx, tree, hf_rrlp_addionalAngle); } @@ -2178,14 +2178,14 @@ static const per_sequence_t AcquisElement_sequence[] = { }; static int -dissect_rrlp_AcquisElement(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_rrlp_AcquisElement(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_rrlp_AcquisElement, AcquisElement_sequence); return offset; } -static int dissect_SeqOfAcquisElement_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AcquisElement(tvb, offset, pinfo, tree, hf_rrlp_SeqOfAcquisElement_item); +static int dissect_SeqOfAcquisElement_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AcquisElement(tvb, offset, actx, tree, hf_rrlp_SeqOfAcquisElement_item); } @@ -2194,15 +2194,15 @@ static const per_sequence_t SeqOfAcquisElement_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfAcquisElement(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_rrlp_SeqOfAcquisElement(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_rrlp_SeqOfAcquisElement, SeqOfAcquisElement_sequence_of, 1, 16); return offset; } -static int dissect_acquisList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfAcquisElement(tvb, offset, pinfo, tree, hf_rrlp_acquisList); +static int dissect_acquisList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfAcquisElement(tvb, offset, actx, tree, hf_rrlp_acquisList); } @@ -2213,14 +2213,14 @@ static const per_sequence_t AcquisAssist_sequence[] = { }; static int -dissect_rrlp_AcquisAssist(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_rrlp_AcquisAssist(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_rrlp_AcquisAssist, AcquisAssist_sequence); return offset; } -static int dissect_acquisAssist(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AcquisAssist(tvb, offset, pinfo, tree, hf_rrlp_acquisAssist); +static int dissect_acquisAssist(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AcquisAssist(tvb, offset, actx, tree, hf_rrlp_acquisAssist); } @@ -2229,15 +2229,15 @@ static const per_sequence_t SeqOf_BadSatelliteSet_sequence_of[1] = { }; static int -dissect_rrlp_SeqOf_BadSatelliteSet(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_rrlp_SeqOf_BadSatelliteSet(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_rrlp_SeqOf_BadSatelliteSet, SeqOf_BadSatelliteSet_sequence_of, 1, 16); return offset; } -static int dissect_realTimeIntegrity(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOf_BadSatelliteSet(tvb, offset, pinfo, tree, hf_rrlp_realTimeIntegrity); +static int dissect_realTimeIntegrity(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOf_BadSatelliteSet(tvb, offset, actx, tree, hf_rrlp_realTimeIntegrity); } @@ -2255,14 +2255,14 @@ static const per_sequence_t ControlHeader_sequence[] = { }; static int -dissect_rrlp_ControlHeader(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_rrlp_ControlHeader(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_rrlp_ControlHeader, ControlHeader_sequence); return offset; } -static int dissect_controlHeader(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ControlHeader(tvb, offset, pinfo, tree, hf_rrlp_controlHeader); +static int dissect_controlHeader(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ControlHeader(tvb, offset, actx, tree, hf_rrlp_controlHeader); } @@ -2272,43 +2272,43 @@ static const per_sequence_t GPS_AssistData_sequence[] = { }; static int -dissect_rrlp_GPS_AssistData(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_rrlp_GPS_AssistData(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_rrlp_GPS_AssistData, GPS_AssistData_sequence); return offset; } -static int dissect_gps_AssistData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPS_AssistData(tvb, offset, pinfo, tree, hf_rrlp_gps_AssistData); +static int dissect_gps_AssistData(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPS_AssistData(tvb, offset, actx, tree, hf_rrlp_gps_AssistData); } static int -dissect_rrlp_ExpectedOTD(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, 1250U, NULL, NULL, FALSE); +dissect_rrlp_ExpectedOTD(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, 1250U, NULL, FALSE); return offset; } -static int dissect_expectedOTD(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ExpectedOTD(tvb, offset, pinfo, tree, hf_rrlp_expectedOTD); +static int dissect_expectedOTD(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ExpectedOTD(tvb, offset, actx, tree, hf_rrlp_expectedOTD); } static int -dissect_rrlp_ExpOTDUncertainty(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_rrlp_ExpOTDUncertainty(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_expOTDUncertainty(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ExpOTDUncertainty(tvb, offset, pinfo, tree, hf_rrlp_expOTDUncertainty); +static int dissect_expOTDUncertainty(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ExpOTDUncertainty(tvb, offset, actx, tree, hf_rrlp_expOTDUncertainty); } -static int dissect_expOTDuncertainty(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ExpOTDUncertainty(tvb, offset, pinfo, tree, hf_rrlp_expOTDuncertainty); +static int dissect_expOTDuncertainty(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ExpOTDUncertainty(tvb, offset, actx, tree, hf_rrlp_expOTDuncertainty); } @@ -2319,14 +2319,14 @@ static const per_sequence_t MsrAssistBTS_R98_ExpOTD_sequence[] = { }; static int -dissect_rrlp_MsrAssistBTS_R98_ExpOTD(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_rrlp_MsrAssistBTS_R98_ExpOTD(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_rrlp_MsrAssistBTS_R98_ExpOTD, MsrAssistBTS_R98_ExpOTD_sequence); return offset; } -static int dissect_SeqOfMsrAssistBTS_R98_ExpOTD_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MsrAssistBTS_R98_ExpOTD(tvb, offset, pinfo, tree, hf_rrlp_SeqOfMsrAssistBTS_R98_ExpOTD_item); +static int dissect_SeqOfMsrAssistBTS_R98_ExpOTD_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MsrAssistBTS_R98_ExpOTD(tvb, offset, actx, tree, hf_rrlp_SeqOfMsrAssistBTS_R98_ExpOTD_item); } @@ -2335,15 +2335,15 @@ static const per_sequence_t SeqOfMsrAssistBTS_R98_ExpOTD_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfMsrAssistBTS_R98_ExpOTD(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_rrlp_SeqOfMsrAssistBTS_R98_ExpOTD(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_rrlp_SeqOfMsrAssistBTS_R98_ExpOTD, SeqOfMsrAssistBTS_R98_ExpOTD_sequence_of, 1, 15); return offset; } -static int dissect_msrAssistList_R98_ExpOTD(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfMsrAssistBTS_R98_ExpOTD(tvb, offset, pinfo, tree, hf_rrlp_msrAssistList_R98_ExpOTD); +static int dissect_msrAssistList_R98_ExpOTD(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfMsrAssistBTS_R98_ExpOTD(tvb, offset, actx, tree, hf_rrlp_msrAssistList_R98_ExpOTD); } @@ -2353,14 +2353,14 @@ static const per_sequence_t MsrAssistData_R98_ExpOTD_sequence[] = { }; static int -dissect_rrlp_MsrAssistData_R98_ExpOTD(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_rrlp_MsrAssistData_R98_ExpOTD(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_rrlp_MsrAssistData_R98_ExpOTD, MsrAssistData_R98_ExpOTD_sequence); return offset; } -static int dissect_msrAssistData_R98_ExpOTD(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MsrAssistData_R98_ExpOTD(tvb, offset, pinfo, tree, hf_rrlp_msrAssistData_R98_ExpOTD); +static int dissect_msrAssistData_R98_ExpOTD(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MsrAssistData_R98_ExpOTD(tvb, offset, actx, tree, hf_rrlp_msrAssistData_R98_ExpOTD); } @@ -2371,14 +2371,14 @@ static const per_sequence_t AssistBTSData_R98_ExpOTD_sequence[] = { }; static int -dissect_rrlp_AssistBTSData_R98_ExpOTD(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_rrlp_AssistBTSData_R98_ExpOTD(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_rrlp_AssistBTSData_R98_ExpOTD, AssistBTSData_R98_ExpOTD_sequence); return offset; } -static int dissect_present1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AssistBTSData_R98_ExpOTD(tvb, offset, pinfo, tree, hf_rrlp_present1); +static int dissect_present1(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AssistBTSData_R98_ExpOTD(tvb, offset, actx, tree, hf_rrlp_present1); } @@ -2395,15 +2395,15 @@ static const per_choice_t SystemInfoAssistBTS_R98_ExpOTD_choice[] = { }; static int -dissect_rrlp_SystemInfoAssistBTS_R98_ExpOTD(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_rrlp_SystemInfoAssistBTS_R98_ExpOTD(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_rrlp_SystemInfoAssistBTS_R98_ExpOTD, SystemInfoAssistBTS_R98_ExpOTD_choice, NULL); return offset; } -static int dissect_SeqOfSystemInfoAssistBTS_R98_ExpOTD_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SystemInfoAssistBTS_R98_ExpOTD(tvb, offset, pinfo, tree, hf_rrlp_SeqOfSystemInfoAssistBTS_R98_ExpOTD_item); +static int dissect_SeqOfSystemInfoAssistBTS_R98_ExpOTD_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SystemInfoAssistBTS_R98_ExpOTD(tvb, offset, actx, tree, hf_rrlp_SeqOfSystemInfoAssistBTS_R98_ExpOTD_item); } @@ -2412,15 +2412,15 @@ static const per_sequence_t SeqOfSystemInfoAssistBTS_R98_ExpOTD_sequence_of[1] = }; static int -dissect_rrlp_SeqOfSystemInfoAssistBTS_R98_ExpOTD(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_rrlp_SeqOfSystemInfoAssistBTS_R98_ExpOTD(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_rrlp_SeqOfSystemInfoAssistBTS_R98_ExpOTD, SeqOfSystemInfoAssistBTS_R98_ExpOTD_sequence_of, 1, 32); return offset; } -static int dissect_systemInfoAssistListR98_ExpOTD(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfSystemInfoAssistBTS_R98_ExpOTD(tvb, offset, pinfo, tree, hf_rrlp_systemInfoAssistListR98_ExpOTD); +static int dissect_systemInfoAssistListR98_ExpOTD(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfSystemInfoAssistBTS_R98_ExpOTD(tvb, offset, actx, tree, hf_rrlp_systemInfoAssistListR98_ExpOTD); } @@ -2430,14 +2430,14 @@ static const per_sequence_t SystemInfoAssistData_R98_ExpOTD_sequence[] = { }; static int -dissect_rrlp_SystemInfoAssistData_R98_ExpOTD(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_rrlp_SystemInfoAssistData_R98_ExpOTD(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_rrlp_SystemInfoAssistData_R98_ExpOTD, SystemInfoAssistData_R98_ExpOTD_sequence); return offset; } -static int dissect_systemInfoAssistData_R98_ExpOTD(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SystemInfoAssistData_R98_ExpOTD(tvb, offset, pinfo, tree, hf_rrlp_systemInfoAssistData_R98_ExpOTD); +static int dissect_systemInfoAssistData_R98_ExpOTD(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SystemInfoAssistData_R98_ExpOTD(tvb, offset, actx, tree, hf_rrlp_systemInfoAssistData_R98_ExpOTD); } @@ -2448,27 +2448,27 @@ static const per_sequence_t Rel98_Ext_ExpOTD_sequence[] = { }; static int -dissect_rrlp_Rel98_Ext_ExpOTD(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_rrlp_Rel98_Ext_ExpOTD(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_rrlp_Rel98_Ext_ExpOTD, Rel98_Ext_ExpOTD_sequence); return offset; } -static int dissect_rel98_Ext_ExpOTD(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Rel98_Ext_ExpOTD(tvb, offset, pinfo, tree, hf_rrlp_rel98_Ext_ExpOTD); +static int dissect_rel98_Ext_ExpOTD(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Rel98_Ext_ExpOTD(tvb, offset, actx, tree, hf_rrlp_rel98_Ext_ExpOTD); } static int -dissect_rrlp_GPSReferenceTimeUncertainty(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_rrlp_GPSReferenceTimeUncertainty(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_gpsReferenceTimeUncertainty(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPSReferenceTimeUncertainty(tvb, offset, pinfo, tree, hf_rrlp_gpsReferenceTimeUncertainty); +static int dissect_gpsReferenceTimeUncertainty(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPSReferenceTimeUncertainty(tvb, offset, actx, tree, hf_rrlp_gpsReferenceTimeUncertainty); } @@ -2480,27 +2480,27 @@ static const per_sequence_t Rel98_MsrPosition_Req_Extension_sequence[] = { }; static int -dissect_rrlp_Rel98_MsrPosition_Req_Extension(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_rrlp_Rel98_MsrPosition_Req_Extension(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_rrlp_Rel98_MsrPosition_Req_Extension, Rel98_MsrPosition_Req_Extension_sequence); return offset; } -static int dissect_rel98_MsrPosition_Req_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Rel98_MsrPosition_Req_Extension(tvb, offset, pinfo, tree, hf_rrlp_rel98_MsrPosition_Req_extension); +static int dissect_rel98_MsrPosition_Req_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Rel98_MsrPosition_Req_Extension(tvb, offset, actx, tree, hf_rrlp_rel98_MsrPosition_Req_extension); } static int -dissect_rrlp_INTEGER_0_262143(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, 262143U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_262143(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, 262143U, NULL, FALSE); return offset; } -static int dissect_transaction_ID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_262143(tvb, offset, pinfo, tree, hf_rrlp_transaction_ID); +static int dissect_transaction_ID(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_262143(tvb, offset, actx, tree, hf_rrlp_transaction_ID); } @@ -2511,14 +2511,14 @@ static const per_sequence_t Extended_reference_sequence[] = { }; static int -dissect_rrlp_Extended_reference(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_rrlp_Extended_reference(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_rrlp_Extended_reference, Extended_reference_sequence); return offset; } -static int dissect_extended_reference(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Extended_reference(tvb, offset, pinfo, tree, hf_rrlp_extended_reference); +static int dissect_extended_reference(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Extended_reference(tvb, offset, actx, tree, hf_rrlp_extended_reference); } @@ -2528,14 +2528,14 @@ static const per_sequence_t Rel5_MsrPosition_Req_Extension_sequence[] = { }; static int -dissect_rrlp_Rel5_MsrPosition_Req_Extension(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_rrlp_Rel5_MsrPosition_Req_Extension(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_rrlp_Rel5_MsrPosition_Req_Extension, Rel5_MsrPosition_Req_Extension_sequence); return offset; } -static int dissect_rel5_MsrPosition_Req_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Rel5_MsrPosition_Req_Extension(tvb, offset, pinfo, tree, hf_rrlp_rel5_MsrPosition_Req_extension); +static int dissect_rel5_MsrPosition_Req_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Rel5_MsrPosition_Req_Extension(tvb, offset, actx, tree, hf_rrlp_rel5_MsrPosition_Req_extension); } @@ -2552,40 +2552,40 @@ static const per_sequence_t MsrPosition_Req_sequence[] = { }; static int -dissect_rrlp_MsrPosition_Req(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_rrlp_MsrPosition_Req(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_rrlp_MsrPosition_Req, MsrPosition_Req_sequence); return offset; } -static int dissect_msrPositionReq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MsrPosition_Req(tvb, offset, pinfo, tree, hf_rrlp_msrPositionReq); +static int dissect_msrPositionReq(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MsrPosition_Req(tvb, offset, actx, tree, hf_rrlp_msrPositionReq); } static int -dissect_rrlp_INTEGER_2_3(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, - 2U, 3U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_2_3(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, + 2U, 3U, NULL, FALSE); return offset; } -static int dissect_nbrOfSets(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_2_3(tvb, offset, pinfo, tree, hf_rrlp_nbrOfSets); +static int dissect_nbrOfSets(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_2_3(tvb, offset, actx, tree, hf_rrlp_nbrOfSets); } static int -dissect_rrlp_INTEGER_1_3(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, 3U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_1_3(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, 3U, NULL, FALSE); return offset; } -static int dissect_nbrOfReferenceBTSs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_1_3(tvb, offset, pinfo, tree, hf_rrlp_nbrOfReferenceBTSs); +static int dissect_nbrOfReferenceBTSs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_1_3(tvb, offset, actx, tree, hf_rrlp_nbrOfReferenceBTSs); } @@ -2598,14 +2598,14 @@ static const value_string rrlp_ReferenceRelation_vals[] = { static int -dissect_rrlp_ReferenceRelation(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_rrlp_ReferenceRelation(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_referenceRelation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ReferenceRelation(tvb, offset, pinfo, tree, hf_rrlp_referenceRelation); +static int dissect_referenceRelation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ReferenceRelation(tvb, offset, actx, tree, hf_rrlp_referenceRelation); } @@ -2617,14 +2617,14 @@ static const per_sequence_t MultipleSets_sequence[] = { }; static int -dissect_rrlp_MultipleSets(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_rrlp_MultipleSets(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_rrlp_MultipleSets, MultipleSets_sequence); return offset; } -static int dissect_multipleSets(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MultipleSets(tvb, offset, pinfo, tree, hf_rrlp_multipleSets); +static int dissect_multipleSets(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MultipleSets(tvb, offset, actx, tree, hf_rrlp_multipleSets); } @@ -2635,69 +2635,69 @@ static const per_sequence_t BSICAndCarrier_sequence[] = { }; static int -dissect_rrlp_BSICAndCarrier(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_rrlp_BSICAndCarrier(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_rrlp_BSICAndCarrier, BSICAndCarrier_sequence); return offset; } -static int dissect_bsicAndCarrier(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_BSICAndCarrier(tvb, offset, pinfo, tree, hf_rrlp_bsicAndCarrier); +static int dissect_bsicAndCarrier(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_BSICAndCarrier(tvb, offset, actx, tree, hf_rrlp_bsicAndCarrier); } static int -dissect_rrlp_CellID(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_rrlp_CellID(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_ci(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_CellID(tvb, offset, pinfo, tree, hf_rrlp_ci); +static int dissect_ci(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_CellID(tvb, offset, actx, tree, hf_rrlp_ci); } -static int dissect_referenceCI(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_CellID(tvb, offset, pinfo, tree, hf_rrlp_referenceCI); +static int dissect_referenceCI(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_CellID(tvb, offset, actx, tree, hf_rrlp_referenceCI); } static int -dissect_rrlp_RequestIndex(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_rrlp_RequestIndex(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_requestIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_RequestIndex(tvb, offset, pinfo, tree, hf_rrlp_requestIndex); +static int dissect_requestIndex(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_RequestIndex(tvb, offset, actx, tree, hf_rrlp_requestIndex); } static int -dissect_rrlp_SystemInfoIndex(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_rrlp_SystemInfoIndex(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_systemInfoIndex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SystemInfoIndex(tvb, offset, pinfo, tree, hf_rrlp_systemInfoIndex); +static int dissect_systemInfoIndex(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SystemInfoIndex(tvb, offset, actx, tree, hf_rrlp_systemInfoIndex); } static int -dissect_rrlp_LAC(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_rrlp_LAC(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_referenceLAC(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_LAC(tvb, offset, pinfo, tree, hf_rrlp_referenceLAC); +static int dissect_referenceLAC(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_LAC(tvb, offset, actx, tree, hf_rrlp_referenceLAC); } @@ -2708,14 +2708,14 @@ static const per_sequence_t CellIDAndLAC_sequence[] = { }; static int -dissect_rrlp_CellIDAndLAC(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_rrlp_CellIDAndLAC(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_rrlp_CellIDAndLAC, CellIDAndLAC_sequence); return offset; } -static int dissect_ciAndLAC(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_CellIDAndLAC(tvb, offset, pinfo, tree, hf_rrlp_ciAndLAC); +static int dissect_ciAndLAC(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_CellIDAndLAC(tvb, offset, actx, tree, hf_rrlp_ciAndLAC); } @@ -2738,15 +2738,15 @@ static const per_choice_t ReferenceIdentityType_choice[] = { }; static int -dissect_rrlp_ReferenceIdentityType(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_rrlp_ReferenceIdentityType(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_rrlp_ReferenceIdentityType, ReferenceIdentityType_choice, NULL); return offset; } -static int dissect_SeqOfReferenceIdentityType_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ReferenceIdentityType(tvb, offset, pinfo, tree, hf_rrlp_SeqOfReferenceIdentityType_item); +static int dissect_SeqOfReferenceIdentityType_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ReferenceIdentityType(tvb, offset, actx, tree, hf_rrlp_SeqOfReferenceIdentityType_item); } @@ -2755,15 +2755,15 @@ static const per_sequence_t SeqOfReferenceIdentityType_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfReferenceIdentityType(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_rrlp_SeqOfReferenceIdentityType(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_rrlp_SeqOfReferenceIdentityType, SeqOfReferenceIdentityType_sequence_of, 1, 3); return offset; } -static int dissect_refBTSList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfReferenceIdentityType(tvb, offset, pinfo, tree, hf_rrlp_refBTSList); +static int dissect_refBTSList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfReferenceIdentityType(tvb, offset, actx, tree, hf_rrlp_refBTSList); } @@ -2773,69 +2773,69 @@ static const per_sequence_t ReferenceIdentity_sequence[] = { }; static int -dissect_rrlp_ReferenceIdentity(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_rrlp_ReferenceIdentity(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_rrlp_ReferenceIdentity, ReferenceIdentity_sequence); return offset; } -static int dissect_referenceIdentity(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ReferenceIdentity(tvb, offset, pinfo, tree, hf_rrlp_referenceIdentity); +static int dissect_referenceIdentity(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ReferenceIdentity(tvb, offset, actx, tree, hf_rrlp_referenceIdentity); } static int -dissect_rrlp_INTEGER_0_42431(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, 42431U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_42431(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, 42431U, NULL, FALSE); return offset; } -static int dissect_refFrameNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_42431(tvb, offset, pinfo, tree, hf_rrlp_refFrameNumber); +static int dissect_refFrameNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_42431(tvb, offset, actx, tree, hf_rrlp_refFrameNumber); } static int -dissect_rrlp_ModuloTimeSlot(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_rrlp_ModuloTimeSlot(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_referenceTimeSlot(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ModuloTimeSlot(tvb, offset, pinfo, tree, hf_rrlp_referenceTimeSlot); +static int dissect_referenceTimeSlot(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ModuloTimeSlot(tvb, offset, actx, tree, hf_rrlp_referenceTimeSlot); } -static int dissect_nborTimeSlot(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ModuloTimeSlot(tvb, offset, pinfo, tree, hf_rrlp_nborTimeSlot); +static int dissect_nborTimeSlot(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ModuloTimeSlot(tvb, offset, actx, tree, hf_rrlp_nborTimeSlot); } static int -dissect_rrlp_RefQuality(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, 31U, NULL, NULL, FALSE); +dissect_rrlp_RefQuality(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, 31U, NULL, FALSE); return offset; } -static int dissect_refQuality(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_RefQuality(tvb, offset, pinfo, tree, hf_rrlp_refQuality); +static int dissect_refQuality(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_RefQuality(tvb, offset, actx, tree, hf_rrlp_refQuality); } static int -dissect_rrlp_NumOfMeasurements(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_rrlp_NumOfMeasurements(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_numOfMeasurements(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_NumOfMeasurements(tvb, offset, pinfo, tree, hf_rrlp_numOfMeasurements); +static int dissect_numOfMeasurements(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_NumOfMeasurements(tvb, offset, actx, tree, hf_rrlp_numOfMeasurements); } @@ -2846,40 +2846,40 @@ static const per_sequence_t TOA_MeasurementsOfRef_sequence[] = { }; static int -dissect_rrlp_TOA_MeasurementsOfRef(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_rrlp_TOA_MeasurementsOfRef(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_rrlp_TOA_MeasurementsOfRef, TOA_MeasurementsOfRef_sequence); return offset; } -static int dissect_toaMeasurementsOfRef(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_TOA_MeasurementsOfRef(tvb, offset, pinfo, tree, hf_rrlp_toaMeasurementsOfRef); +static int dissect_toaMeasurementsOfRef(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_TOA_MeasurementsOfRef(tvb, offset, actx, tree, hf_rrlp_toaMeasurementsOfRef); } static int -dissect_rrlp_StdResolution(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_rrlp_StdResolution(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_stdResolution(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_StdResolution(tvb, offset, pinfo, tree, hf_rrlp_stdResolution); +static int dissect_stdResolution(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_StdResolution(tvb, offset, actx, tree, hf_rrlp_stdResolution); } static int -dissect_rrlp_INTEGER_0_960(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, 960U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_960(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, 960U, NULL, FALSE); return offset; } -static int dissect_taCorrection(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_960(tvb, offset, pinfo, tree, hf_rrlp_taCorrection); +static int dissect_taCorrection(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_960(tvb, offset, actx, tree, hf_rrlp_taCorrection); } @@ -2890,14 +2890,14 @@ static const per_sequence_t MultiFrameCarrier_sequence[] = { }; static int -dissect_rrlp_MultiFrameCarrier(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_rrlp_MultiFrameCarrier(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_rrlp_MultiFrameCarrier, MultiFrameCarrier_sequence); return offset; } -static int dissect_multiFrameCarrier(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MultiFrameCarrier(tvb, offset, pinfo, tree, hf_rrlp_multiFrameCarrier); +static int dissect_multiFrameCarrier(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MultiFrameCarrier(tvb, offset, actx, tree, hf_rrlp_multiFrameCarrier); } @@ -2922,15 +2922,15 @@ static const per_choice_t NeighborIdentity_choice[] = { }; static int -dissect_rrlp_NeighborIdentity(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_rrlp_NeighborIdentity(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_rrlp_NeighborIdentity, NeighborIdentity_choice, NULL); return offset; } -static int dissect_neighborIdentity(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_NeighborIdentity(tvb, offset, pinfo, tree, hf_rrlp_neighborIdentity); +static int dissect_neighborIdentity(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_NeighborIdentity(tvb, offset, actx, tree, hf_rrlp_neighborIdentity); } @@ -2941,27 +2941,27 @@ static const per_sequence_t EOTDQuality_sequence[] = { }; static int -dissect_rrlp_EOTDQuality(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_rrlp_EOTDQuality(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_rrlp_EOTDQuality, EOTDQuality_sequence); return offset; } -static int dissect_eotdQuality(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_EOTDQuality(tvb, offset, pinfo, tree, hf_rrlp_eotdQuality); +static int dissect_eotdQuality(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_EOTDQuality(tvb, offset, actx, tree, hf_rrlp_eotdQuality); } static int -dissect_rrlp_OTDValue(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, 39999U, NULL, NULL, FALSE); +dissect_rrlp_OTDValue(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, 39999U, NULL, FALSE); return offset; } -static int dissect_otdValue(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTDValue(tvb, offset, pinfo, tree, hf_rrlp_otdValue); +static int dissect_otdValue(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTDValue(tvb, offset, actx, tree, hf_rrlp_otdValue); } @@ -2974,29 +2974,29 @@ static const per_sequence_t OTD_MeasurementWithID_sequence[] = { }; static int -dissect_rrlp_OTD_MeasurementWithID(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_rrlp_OTD_MeasurementWithID(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_rrlp_OTD_MeasurementWithID, OTD_MeasurementWithID_sequence); return offset; } -static int dissect_identityPresent(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTD_MeasurementWithID(tvb, offset, pinfo, tree, hf_rrlp_identityPresent); +static int dissect_identityPresent(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTD_MeasurementWithID(tvb, offset, actx, tree, hf_rrlp_identityPresent); } static int -dissect_rrlp_OTD_FirstSetMsrs(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_rrlp_OTD_MeasurementWithID(tvb, offset, pinfo, tree, hf_index); +dissect_rrlp_OTD_FirstSetMsrs(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_rrlp_OTD_MeasurementWithID(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_SeqOfOTD_FirstSetMsrs_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTD_FirstSetMsrs(tvb, offset, pinfo, tree, hf_rrlp_SeqOfOTD_FirstSetMsrs_item); +static int dissect_SeqOfOTD_FirstSetMsrs_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTD_FirstSetMsrs(tvb, offset, actx, tree, hf_rrlp_SeqOfOTD_FirstSetMsrs_item); } -static int dissect_SeqOfOTD_FirstSetMsrs_R98_Ext_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTD_FirstSetMsrs(tvb, offset, pinfo, tree, hf_rrlp_SeqOfOTD_FirstSetMsrs_R98_Ext_item); +static int dissect_SeqOfOTD_FirstSetMsrs_R98_Ext_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTD_FirstSetMsrs(tvb, offset, actx, tree, hf_rrlp_SeqOfOTD_FirstSetMsrs_R98_Ext_item); } @@ -3005,15 +3005,15 @@ static const per_sequence_t SeqOfOTD_FirstSetMsrs_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfOTD_FirstSetMsrs(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_rrlp_SeqOfOTD_FirstSetMsrs(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_rrlp_SeqOfOTD_FirstSetMsrs, SeqOfOTD_FirstSetMsrs_sequence_of, 1, 10); return offset; } -static int dissect_otd_FirstSetMsrs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfOTD_FirstSetMsrs(tvb, offset, pinfo, tree, hf_rrlp_otd_FirstSetMsrs); +static int dissect_otd_FirstSetMsrs(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfOTD_FirstSetMsrs(tvb, offset, actx, tree, hf_rrlp_otd_FirstSetMsrs); } @@ -3028,14 +3028,14 @@ static const per_sequence_t OTD_MsrElementFirst_sequence[] = { }; static int -dissect_rrlp_OTD_MsrElementFirst(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_rrlp_OTD_MsrElementFirst(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_rrlp_OTD_MsrElementFirst, OTD_MsrElementFirst_sequence); return offset; } -static int dissect_otdMsrFirstSets(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTD_MsrElementFirst(tvb, offset, pinfo, tree, hf_rrlp_otdMsrFirstSets); +static int dissect_otdMsrFirstSets(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTD_MsrElementFirst(tvb, offset, actx, tree, hf_rrlp_otdMsrFirstSets); } @@ -3047,14 +3047,14 @@ static const per_sequence_t OTD_Measurement_sequence[] = { }; static int -dissect_rrlp_OTD_Measurement(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_rrlp_OTD_Measurement(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_rrlp_OTD_Measurement, OTD_Measurement_sequence); return offset; } -static int dissect_identityNotPresent(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTD_Measurement(tvb, offset, pinfo, tree, hf_rrlp_identityNotPresent); +static int dissect_identityNotPresent(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTD_Measurement(tvb, offset, actx, tree, hf_rrlp_identityNotPresent); } @@ -3071,15 +3071,15 @@ static const per_choice_t OTD_MsrsOfOtherSets_choice[] = { }; static int -dissect_rrlp_OTD_MsrsOfOtherSets(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_rrlp_OTD_MsrsOfOtherSets(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_rrlp_OTD_MsrsOfOtherSets, OTD_MsrsOfOtherSets_choice, NULL); return offset; } -static int dissect_SeqOfOTD_MsrsOfOtherSets_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTD_MsrsOfOtherSets(tvb, offset, pinfo, tree, hf_rrlp_SeqOfOTD_MsrsOfOtherSets_item); +static int dissect_SeqOfOTD_MsrsOfOtherSets_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTD_MsrsOfOtherSets(tvb, offset, actx, tree, hf_rrlp_SeqOfOTD_MsrsOfOtherSets_item); } @@ -3088,15 +3088,15 @@ static const per_sequence_t SeqOfOTD_MsrsOfOtherSets_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfOTD_MsrsOfOtherSets(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_rrlp_SeqOfOTD_MsrsOfOtherSets(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_rrlp_SeqOfOTD_MsrsOfOtherSets, SeqOfOTD_MsrsOfOtherSets_sequence_of, 1, 10); return offset; } -static int dissect_otd_MsrsOfOtherSets(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfOTD_MsrsOfOtherSets(tvb, offset, pinfo, tree, hf_rrlp_otd_MsrsOfOtherSets); +static int dissect_otd_MsrsOfOtherSets(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfOTD_MsrsOfOtherSets(tvb, offset, actx, tree, hf_rrlp_otd_MsrsOfOtherSets); } @@ -3111,14 +3111,14 @@ static const per_sequence_t OTD_MsrElementRest_sequence[] = { }; static int -dissect_rrlp_OTD_MsrElementRest(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_rrlp_OTD_MsrElementRest(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_rrlp_OTD_MsrElementRest, OTD_MsrElementRest_sequence); return offset; } -static int dissect_SeqOfOTD_MsrElementRest_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTD_MsrElementRest(tvb, offset, pinfo, tree, hf_rrlp_SeqOfOTD_MsrElementRest_item); +static int dissect_SeqOfOTD_MsrElementRest_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTD_MsrElementRest(tvb, offset, actx, tree, hf_rrlp_SeqOfOTD_MsrElementRest_item); } @@ -3127,15 +3127,15 @@ static const per_sequence_t SeqOfOTD_MsrElementRest_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfOTD_MsrElementRest(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_rrlp_SeqOfOTD_MsrElementRest(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_rrlp_SeqOfOTD_MsrElementRest, SeqOfOTD_MsrElementRest_sequence_of, 1, 2); return offset; } -static int dissect_otdMsrRestSets(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfOTD_MsrElementRest(tvb, offset, pinfo, tree, hf_rrlp_otdMsrRestSets); +static int dissect_otdMsrRestSets(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfOTD_MsrElementRest(tvb, offset, actx, tree, hf_rrlp_otdMsrRestSets); } @@ -3146,27 +3146,27 @@ static const per_sequence_t OTD_MeasureInfo_sequence[] = { }; static int -dissect_rrlp_OTD_MeasureInfo(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_rrlp_OTD_MeasureInfo(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_rrlp_OTD_MeasureInfo, OTD_MeasureInfo_sequence); return offset; } -static int dissect_otd_MeasureInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTD_MeasureInfo(tvb, offset, pinfo, tree, hf_rrlp_otd_MeasureInfo); +static int dissect_otd_MeasureInfo(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTD_MeasureInfo(tvb, offset, actx, tree, hf_rrlp_otd_MeasureInfo); } static int -dissect_rrlp_INTEGER_0_14399999(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, 14399999U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_14399999(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, 14399999U, NULL, FALSE); return offset; } -static int dissect_gpsTOW(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_14399999(tvb, offset, pinfo, tree, hf_rrlp_gpsTOW); +static int dissect_gpsTOW(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_14399999(tvb, offset, actx, tree, hf_rrlp_gpsTOW); } @@ -3178,14 +3178,14 @@ static const value_string rrlp_FixType_vals[] = { static int -dissect_rrlp_FixType(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, 1U, NULL, NULL, FALSE); +dissect_rrlp_FixType(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, 1U, NULL, FALSE); return offset; } -static int dissect_fixType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_FixType(tvb, offset, pinfo, tree, hf_rrlp_fixType); +static int dissect_fixType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_FixType(tvb, offset, actx, tree, hf_rrlp_fixType); } @@ -3198,40 +3198,40 @@ static const per_sequence_t LocationInfo_sequence[] = { }; static int -dissect_rrlp_LocationInfo(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_rrlp_LocationInfo(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_rrlp_LocationInfo, LocationInfo_sequence); return offset; } -static int dissect_locationInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_LocationInfo(tvb, offset, pinfo, tree, hf_rrlp_locationInfo); +static int dissect_locationInfo(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_LocationInfo(tvb, offset, actx, tree, hf_rrlp_locationInfo); } static int -dissect_rrlp_GPSTOW24b(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, 14399999U, NULL, NULL, FALSE); +dissect_rrlp_GPSTOW24b(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, 14399999U, NULL, FALSE); return offset; } -static int dissect_gpsTOW1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPSTOW24b(tvb, offset, pinfo, tree, hf_rrlp_gpsTOW1); +static int dissect_gpsTOW1(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPSTOW24b(tvb, offset, actx, tree, hf_rrlp_gpsTOW1); } static int -dissect_rrlp_INTEGER_0_1024(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, 1024U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_1024(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, 1024U, NULL, FALSE); return offset; } -static int dissect_fracChips(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_1024(tvb, offset, pinfo, tree, hf_rrlp_fracChips); +static int dissect_fracChips(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_1024(tvb, offset, actx, tree, hf_rrlp_fracChips); } @@ -3245,14 +3245,14 @@ static const value_string rrlp_MpathIndic_vals[] = { static int -dissect_rrlp_MpathIndic(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_rrlp_MpathIndic(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_mpathIndic(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MpathIndic(tvb, offset, pinfo, tree, hf_rrlp_mpathIndic); +static int dissect_mpathIndic(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MpathIndic(tvb, offset, actx, tree, hf_rrlp_mpathIndic); } @@ -3268,14 +3268,14 @@ static const per_sequence_t GPS_MsrElement_sequence[] = { }; static int -dissect_rrlp_GPS_MsrElement(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_rrlp_GPS_MsrElement(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_rrlp_GPS_MsrElement, GPS_MsrElement_sequence); return offset; } -static int dissect_SeqOfGPS_MsrElement_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPS_MsrElement(tvb, offset, pinfo, tree, hf_rrlp_SeqOfGPS_MsrElement_item); +static int dissect_SeqOfGPS_MsrElement_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPS_MsrElement(tvb, offset, actx, tree, hf_rrlp_SeqOfGPS_MsrElement_item); } @@ -3284,15 +3284,15 @@ static const per_sequence_t SeqOfGPS_MsrElement_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfGPS_MsrElement(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_rrlp_SeqOfGPS_MsrElement(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_rrlp_SeqOfGPS_MsrElement, SeqOfGPS_MsrElement_sequence_of, 1, 16); return offset; } -static int dissect_gps_msrList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfGPS_MsrElement(tvb, offset, pinfo, tree, hf_rrlp_gps_msrList); +static int dissect_gps_msrList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfGPS_MsrElement(tvb, offset, actx, tree, hf_rrlp_gps_msrList); } @@ -3304,14 +3304,14 @@ static const per_sequence_t GPS_MsrSetElement_sequence[] = { }; static int -dissect_rrlp_GPS_MsrSetElement(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_rrlp_GPS_MsrSetElement(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_rrlp_GPS_MsrSetElement, GPS_MsrSetElement_sequence); return offset; } -static int dissect_SeqOfGPS_MsrSetElement_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPS_MsrSetElement(tvb, offset, pinfo, tree, hf_rrlp_SeqOfGPS_MsrSetElement_item); +static int dissect_SeqOfGPS_MsrSetElement_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPS_MsrSetElement(tvb, offset, actx, tree, hf_rrlp_SeqOfGPS_MsrSetElement_item); } @@ -3320,15 +3320,15 @@ static const per_sequence_t SeqOfGPS_MsrSetElement_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfGPS_MsrSetElement(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_rrlp_SeqOfGPS_MsrSetElement(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_rrlp_SeqOfGPS_MsrSetElement, SeqOfGPS_MsrSetElement_sequence_of, 1, 3); return offset; } -static int dissect_gpsMsrSetList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfGPS_MsrSetElement(tvb, offset, pinfo, tree, hf_rrlp_gpsMsrSetList); +static int dissect_gpsMsrSetList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfGPS_MsrSetElement(tvb, offset, actx, tree, hf_rrlp_gpsMsrSetList); } @@ -3338,14 +3338,14 @@ static const per_sequence_t GPS_MeasureInfo_sequence[] = { }; static int -dissect_rrlp_GPS_MeasureInfo(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_rrlp_GPS_MeasureInfo(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_rrlp_GPS_MeasureInfo, GPS_MeasureInfo_sequence); return offset; } -static int dissect_gps_MeasureInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPS_MeasureInfo(tvb, offset, pinfo, tree, hf_rrlp_gps_MeasureInfo); +static int dissect_gps_MeasureInfo(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPS_MeasureInfo(tvb, offset, actx, tree, hf_rrlp_gps_MeasureInfo); } @@ -3366,27 +3366,27 @@ static const value_string rrlp_LocErrorReason_vals[] = { static int -dissect_rrlp_LocErrorReason(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, - 11, NULL, NULL, TRUE, 0, NULL); +dissect_rrlp_LocErrorReason(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, + 11, NULL, TRUE, 0, NULL); return offset; } -static int dissect_locErrorReason(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_LocErrorReason(tvb, offset, pinfo, tree, hf_rrlp_locErrorReason); +static int dissect_locErrorReason(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_LocErrorReason(tvb, offset, actx, tree, hf_rrlp_locErrorReason); } static int -dissect_rrlp_GPSAssistanceData(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_rrlp_GPSAssistanceData(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, maxGPSAssistanceData, NULL); return offset; } -static int dissect_gpsAssistanceData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPSAssistanceData(tvb, offset, pinfo, tree, hf_rrlp_gpsAssistanceData); +static int dissect_gpsAssistanceData(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPSAssistanceData(tvb, offset, actx, tree, hf_rrlp_gpsAssistanceData); } @@ -3397,14 +3397,14 @@ static const per_sequence_t AdditionalAssistanceData_sequence[] = { }; static int -dissect_rrlp_AdditionalAssistanceData(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_rrlp_AdditionalAssistanceData(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_rrlp_AdditionalAssistanceData, AdditionalAssistanceData_sequence); return offset; } -static int dissect_additionalAssistanceData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AdditionalAssistanceData(tvb, offset, pinfo, tree, hf_rrlp_additionalAssistanceData); +static int dissect_additionalAssistanceData(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AdditionalAssistanceData(tvb, offset, actx, tree, hf_rrlp_additionalAssistanceData); } @@ -3415,14 +3415,14 @@ static const per_sequence_t LocationError_sequence[] = { }; static int -dissect_rrlp_LocationError(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_rrlp_LocationError(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_rrlp_LocationError, LocationError_sequence); return offset; } -static int dissect_locationError(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_LocationError(tvb, offset, pinfo, tree, hf_rrlp_locationError); +static int dissect_locationError(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_LocationError(tvb, offset, actx, tree, hf_rrlp_locationError); } @@ -3431,15 +3431,15 @@ static const per_sequence_t SeqOfOTD_FirstSetMsrs_R98_Ext_sequence_of[1] = { }; static int -dissect_rrlp_SeqOfOTD_FirstSetMsrs_R98_Ext(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_rrlp_SeqOfOTD_FirstSetMsrs_R98_Ext(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_rrlp_SeqOfOTD_FirstSetMsrs_R98_Ext, SeqOfOTD_FirstSetMsrs_R98_Ext_sequence_of, 1, 5); return offset; } -static int dissect_otd_FirstSetMsrs_R98_Ext(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_SeqOfOTD_FirstSetMsrs_R98_Ext(tvb, offset, pinfo, tree, hf_rrlp_otd_FirstSetMsrs_R98_Ext); +static int dissect_otd_FirstSetMsrs_R98_Ext(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_SeqOfOTD_FirstSetMsrs_R98_Ext(tvb, offset, actx, tree, hf_rrlp_otd_FirstSetMsrs_R98_Ext); } @@ -3449,14 +3449,14 @@ static const per_sequence_t OTD_MsrElementFirst_R98_Ext_sequence[] = { }; static int -dissect_rrlp_OTD_MsrElementFirst_R98_Ext(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_rrlp_OTD_MsrElementFirst_R98_Ext(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_rrlp_OTD_MsrElementFirst_R98_Ext, OTD_MsrElementFirst_R98_Ext_sequence); return offset; } -static int dissect_otdMsrFirstSets_R98_Ext(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTD_MsrElementFirst_R98_Ext(tvb, offset, pinfo, tree, hf_rrlp_otdMsrFirstSets_R98_Ext); +static int dissect_otdMsrFirstSets_R98_Ext(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTD_MsrElementFirst_R98_Ext(tvb, offset, actx, tree, hf_rrlp_otdMsrFirstSets_R98_Ext); } @@ -3466,14 +3466,14 @@ static const per_sequence_t OTD_MeasureInfo_R98_Ext_sequence[] = { }; static int -dissect_rrlp_OTD_MeasureInfo_R98_Ext(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_rrlp_OTD_MeasureInfo_R98_Ext(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_rrlp_OTD_MeasureInfo_R98_Ext, OTD_MeasureInfo_R98_Ext_sequence); return offset; } -static int dissect_otd_MeasureInfo_R98_Ext(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTD_MeasureInfo_R98_Ext(tvb, offset, pinfo, tree, hf_rrlp_otd_MeasureInfo_R98_Ext); +static int dissect_otd_MeasureInfo_R98_Ext(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTD_MeasureInfo_R98_Ext(tvb, offset, actx, tree, hf_rrlp_otd_MeasureInfo_R98_Ext); } @@ -3483,40 +3483,40 @@ static const per_sequence_t T_rel_98_Ext_MeasureInfo_sequence[] = { }; static int -dissect_rrlp_T_rel_98_Ext_MeasureInfo(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_rrlp_T_rel_98_Ext_MeasureInfo(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_rrlp_T_rel_98_Ext_MeasureInfo, T_rel_98_Ext_MeasureInfo_sequence); return offset; } -static int dissect_rel_98_Ext_MeasureInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_T_rel_98_Ext_MeasureInfo(tvb, offset, pinfo, tree, hf_rrlp_rel_98_Ext_MeasureInfo); +static int dissect_rel_98_Ext_MeasureInfo(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_T_rel_98_Ext_MeasureInfo(tvb, offset, actx, tree, hf_rrlp_rel_98_Ext_MeasureInfo); } static int -dissect_rrlp_INTEGER_0_9999(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, 9999U, NULL, NULL, FALSE); +dissect_rrlp_INTEGER_0_9999(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, 9999U, NULL, FALSE); return offset; } -static int dissect_gpsTowSubms(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_9999(tvb, offset, pinfo, tree, hf_rrlp_gpsTowSubms); +static int dissect_gpsTowSubms(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_9999(tvb, offset, actx, tree, hf_rrlp_gpsTowSubms); } static int -dissect_rrlp_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_rrlp_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_deltaTow(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_INTEGER_0_127(tvb, offset, pinfo, tree, hf_rrlp_deltaTow); +static int dissect_deltaTow(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_INTEGER_0_127(tvb, offset, actx, tree, hf_rrlp_deltaTow); } @@ -3529,14 +3529,14 @@ static const per_sequence_t GPSTimeAssistanceMeasurements_sequence[] = { }; static int -dissect_rrlp_GPSTimeAssistanceMeasurements(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_rrlp_GPSTimeAssistanceMeasurements(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_rrlp_GPSTimeAssistanceMeasurements, GPSTimeAssistanceMeasurements_sequence); return offset; } -static int dissect_timeAssistanceMeasurements(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_GPSTimeAssistanceMeasurements(tvb, offset, pinfo, tree, hf_rrlp_timeAssistanceMeasurements); +static int dissect_timeAssistanceMeasurements(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_GPSTimeAssistanceMeasurements(tvb, offset, actx, tree, hf_rrlp_timeAssistanceMeasurements); } @@ -3547,26 +3547,26 @@ static const per_sequence_t Rel_98_MsrPosition_Rsp_Extension_sequence[] = { }; static int -dissect_rrlp_Rel_98_MsrPosition_Rsp_Extension(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_rrlp_Rel_98_MsrPosition_Rsp_Extension(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_rrlp_Rel_98_MsrPosition_Rsp_Extension, Rel_98_MsrPosition_Rsp_Extension_sequence); return offset; } -static int dissect_rel_98_MsrPosition_Rsp_Extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Rel_98_MsrPosition_Rsp_Extension(tvb, offset, pinfo, tree, hf_rrlp_rel_98_MsrPosition_Rsp_Extension); +static int dissect_rel_98_MsrPosition_Rsp_Extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Rel_98_MsrPosition_Rsp_Extension(tvb, offset, actx, tree, hf_rrlp_rel_98_MsrPosition_Rsp_Extension); } static int -dissect_rrlp_OTD_MeasureInfo_5_Ext(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_rrlp_SeqOfOTD_MsrElementRest(tvb, offset, pinfo, tree, hf_index); +dissect_rrlp_OTD_MeasureInfo_5_Ext(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_rrlp_SeqOfOTD_MsrElementRest(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_otd_MeasureInfo_5_Ext(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_OTD_MeasureInfo_5_Ext(tvb, offset, pinfo, tree, hf_rrlp_otd_MeasureInfo_5_Ext); +static int dissect_otd_MeasureInfo_5_Ext(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_OTD_MeasureInfo_5_Ext(tvb, offset, actx, tree, hf_rrlp_otd_MeasureInfo_5_Ext); } @@ -3578,14 +3578,14 @@ static const value_string rrlp_UlPseudoSegInd_vals[] = { static int -dissect_rrlp_UlPseudoSegInd(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_rrlp_UlPseudoSegInd(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_ulPseudoSegInd(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_UlPseudoSegInd(tvb, offset, pinfo, tree, hf_rrlp_ulPseudoSegInd); +static int dissect_ulPseudoSegInd(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_UlPseudoSegInd(tvb, offset, actx, tree, hf_rrlp_ulPseudoSegInd); } @@ -3597,14 +3597,14 @@ static const per_sequence_t Rel_5_MsrPosition_Rsp_Extension_sequence[] = { }; static int -dissect_rrlp_Rel_5_MsrPosition_Rsp_Extension(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_rrlp_Rel_5_MsrPosition_Rsp_Extension(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_rrlp_Rel_5_MsrPosition_Rsp_Extension, Rel_5_MsrPosition_Rsp_Extension_sequence); return offset; } -static int dissect_rel_5_MsrPosition_Rsp_Extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Rel_5_MsrPosition_Rsp_Extension(tvb, offset, pinfo, tree, hf_rrlp_rel_5_MsrPosition_Rsp_Extension); +static int dissect_rel_5_MsrPosition_Rsp_Extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Rel_5_MsrPosition_Rsp_Extension(tvb, offset, actx, tree, hf_rrlp_rel_5_MsrPosition_Rsp_Extension); } @@ -3622,14 +3622,14 @@ static const per_sequence_t MsrPosition_Rsp_sequence[] = { }; static int -dissect_rrlp_MsrPosition_Rsp(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_rrlp_MsrPosition_Rsp(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_rrlp_MsrPosition_Rsp, MsrPosition_Rsp_sequence); return offset; } -static int dissect_msrPositionRsp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MsrPosition_Rsp(tvb, offset, pinfo, tree, hf_rrlp_msrPositionRsp); +static int dissect_msrPositionRsp(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MsrPosition_Rsp(tvb, offset, actx, tree, hf_rrlp_msrPositionRsp); } @@ -3641,14 +3641,14 @@ static const value_string rrlp_MoreAssDataToBeSent_vals[] = { static int -dissect_rrlp_MoreAssDataToBeSent(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_rrlp_MoreAssDataToBeSent(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_moreAssDataToBeSent(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_MoreAssDataToBeSent(tvb, offset, pinfo, tree, hf_rrlp_moreAssDataToBeSent); +static int dissect_moreAssDataToBeSent(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_MoreAssDataToBeSent(tvb, offset, actx, tree, hf_rrlp_moreAssDataToBeSent); } @@ -3660,14 +3660,14 @@ static const per_sequence_t Rel98_AssistanceData_Extension_sequence[] = { }; static int -dissect_rrlp_Rel98_AssistanceData_Extension(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_rrlp_Rel98_AssistanceData_Extension(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_rrlp_Rel98_AssistanceData_Extension, Rel98_AssistanceData_Extension_sequence); return offset; } -static int dissect_rel98_AssistanceData_Extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Rel98_AssistanceData_Extension(tvb, offset, pinfo, tree, hf_rrlp_rel98_AssistanceData_Extension); +static int dissect_rel98_AssistanceData_Extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Rel98_AssistanceData_Extension(tvb, offset, actx, tree, hf_rrlp_rel98_AssistanceData_Extension); } @@ -3677,14 +3677,14 @@ static const per_sequence_t Rel5_AssistanceData_Extension_sequence[] = { }; static int -dissect_rrlp_Rel5_AssistanceData_Extension(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_rrlp_Rel5_AssistanceData_Extension(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_rrlp_Rel5_AssistanceData_Extension, Rel5_AssistanceData_Extension_sequence); return offset; } -static int dissect_rel5_AssistanceData_Extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Rel5_AssistanceData_Extension(tvb, offset, pinfo, tree, hf_rrlp_rel5_AssistanceData_Extension); +static int dissect_rel5_AssistanceData_Extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Rel5_AssistanceData_Extension(tvb, offset, actx, tree, hf_rrlp_rel5_AssistanceData_Extension); } @@ -3701,14 +3701,14 @@ static const per_sequence_t AssistanceData_sequence[] = { }; static int -dissect_rrlp_AssistanceData(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_rrlp_AssistanceData(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_rrlp_AssistanceData, AssistanceData_sequence); return offset; } -static int dissect_assistanceData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_AssistanceData(tvb, offset, pinfo, tree, hf_rrlp_assistanceData); +static int dissect_assistanceData(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_AssistanceData(tvb, offset, actx, tree, hf_rrlp_assistanceData); } @@ -3724,14 +3724,14 @@ static const value_string rrlp_ErrorCodes_vals[] = { static int -dissect_rrlp_ErrorCodes(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, - 6, NULL, NULL, TRUE, 0, NULL); +dissect_rrlp_ErrorCodes(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, + 6, NULL, TRUE, 0, NULL); return offset; } -static int dissect_errorCause(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ErrorCodes(tvb, offset, pinfo, tree, hf_rrlp_errorCause); +static int dissect_errorCause(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ErrorCodes(tvb, offset, actx, tree, hf_rrlp_errorCause); } @@ -3741,14 +3741,14 @@ static const per_sequence_t Rel_5_ProtocolError_Extension_sequence[] = { }; static int -dissect_rrlp_Rel_5_ProtocolError_Extension(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_rrlp_Rel_5_ProtocolError_Extension(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_rrlp_Rel_5_ProtocolError_Extension, Rel_5_ProtocolError_Extension_sequence); return offset; } -static int dissect_rel_5_ProtocolError_Extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_Rel_5_ProtocolError_Extension(tvb, offset, pinfo, tree, hf_rrlp_rel_5_ProtocolError_Extension); +static int dissect_rel_5_ProtocolError_Extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_Rel_5_ProtocolError_Extension(tvb, offset, actx, tree, hf_rrlp_rel_5_ProtocolError_Extension); } @@ -3760,14 +3760,14 @@ static const per_sequence_t ProtocolError_sequence[] = { }; static int -dissect_rrlp_ProtocolError(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_rrlp_ProtocolError(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_rrlp_ProtocolError, ProtocolError_sequence); return offset; } -static int dissect_protocolError(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_ProtocolError(tvb, offset, pinfo, tree, hf_rrlp_protocolError); +static int dissect_protocolError(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_ProtocolError(tvb, offset, actx, tree, hf_rrlp_protocolError); } @@ -3790,15 +3790,15 @@ static const per_choice_t RRLP_Component_choice[] = { }; static int -dissect_rrlp_RRLP_Component(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_rrlp_RRLP_Component(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_rrlp_RRLP_Component, RRLP_Component_choice, NULL); return offset; } -static int dissect_component(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_rrlp_RRLP_Component(tvb, offset, pinfo, tree, hf_rrlp_component); +static int dissect_component(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_rrlp_RRLP_Component(tvb, offset, actx, tree, hf_rrlp_component); } @@ -3809,17 +3809,17 @@ static const per_sequence_t PDU_sequence[] = { }; static int -dissect_rrlp_PDU(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { +dissect_rrlp_PDU(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { #line 10 "rrlp.cnf" proto_tree_add_item(tree, proto_rrlp, tvb, 0, -1, FALSE); - if (check_col(pinfo->cinfo, COL_PROTOCOL)) - col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME); - if (check_col(pinfo->cinfo, COL_INFO)) - col_clear(pinfo->cinfo, COL_INFO); + if (check_col(actx->pinfo->cinfo, COL_PROTOCOL)) + col_set_str(actx->pinfo->cinfo, COL_PROTOCOL, PSNAME); + if (check_col(actx->pinfo->cinfo, COL_INFO)) + col_clear(actx->pinfo->cinfo, COL_INFO); - offset = dissect_per_sequence(tvb, offset, pinfo, tree, hf_index, + offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_rrlp_PDU, PDU_sequence); @@ -3830,8 +3830,9 @@ dissect_rrlp_PDU(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree * /*--- PDUs ---*/ static void dissect_PDU_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(FALSE); - dissect_rrlp_PDU(tvb, 0, pinfo, tree, hf_rrlp_PDU_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, FALSE, pinfo); + dissect_rrlp_PDU(tvb, 0, &asn_ctx, tree, hf_rrlp_PDU_PDU); } |