diff options
Diffstat (limited to 'epan/dissectors/packet-h450.c')
-rw-r--r-- | epan/dissectors/packet-h450.c | 1874 |
1 files changed, 944 insertions, 930 deletions
diff --git a/epan/dissectors/packet-h450.c b/epan/dissectors/packet-h450.c index 920fb9882f..afd3d4b444 100644 --- a/epan/dissectors/packet-h450.c +++ b/epan/dissectors/packet-h450.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-h450.c */ -/* ../../tools/asn2eth.py -e -p h450 -c h450.cnf -s packet-h450-template h4501.asn */ +/* ../../tools/asn2wrs.py -e -p h450 -c h450.cnf -s packet-h450-template h4501.asn */ /* Input file: packet-h450-template.c */ @@ -678,8 +678,8 @@ static const value_string localOpcode_vals[] = { { 0, NULL } }; -static int dissect_h4501_argument(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); -static int dissect_ros_ROSxxx(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_ind _U_); +static int dissect_h4501_argument(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree); +static int dissect_ros_ROSxxx(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree, int hf_ind _U_); @@ -688,161 +688,161 @@ static int dissect_ros_ROSxxx(tvbuff_t *tvb, int offset, packet_info *pinfo, pro #line 1 "packet-h450-fn.c" /*--- Fields for imported types ---*/ -static int dissect_rosApdus_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_ros_ROSxxx(tvb, offset, pinfo, tree, hf_h450_rosApdus_item); +static int dissect_rosApdus_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_ros_ROSxxx(tvb, offset, actx, tree, hf_h450_rosApdus_item); } -static int dissect_numberUnscreened_presentationAllowedAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_PartyNumber(tvb, offset, pinfo, tree, hf_h450_numberUnscreened_presentationAllowedAddress); +static int dissect_numberUnscreened_presentationAllowedAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_PartyNumber(tvb, offset, actx, tree, hf_h450_numberUnscreened_presentationAllowedAddress); } -static int dissect_numberUnscreened_presentationRestrictedAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_PartyNumber(tvb, offset, pinfo, tree, hf_h450_numberUnscreened_presentationRestrictedAddress); +static int dissect_numberUnscreened_presentationRestrictedAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_PartyNumber(tvb, offset, actx, tree, hf_h450_numberUnscreened_presentationRestrictedAddress); } -static int dissect_partyNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_PartyNumber(tvb, offset, pinfo, tree, hf_h450_partyNumber); +static int dissect_partyNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_PartyNumber(tvb, offset, actx, tree, hf_h450_partyNumber); } -static int dissect_screeningIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_ScreeningIndicator(tvb, offset, pinfo, tree, hf_h450_screeningIndicator); +static int dissect_screeningIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_ScreeningIndicator(tvb, offset, actx, tree, hf_h450_screeningIndicator); } -static int dissect_destinationAddress_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_AliasAddress(tvb, offset, pinfo, tree, hf_h450_destinationAddress_item); +static int dissect_destinationAddress_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_AliasAddress(tvb, offset, actx, tree, hf_h450_destinationAddress_item); } -static int dissect_remoteExtensionAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_AliasAddress(tvb, offset, pinfo, tree, hf_h450_remoteExtensionAddress); +static int dissect_remoteExtensionAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_AliasAddress(tvb, offset, actx, tree, hf_h450_remoteExtensionAddress); } -static int dissect_destinationAddressPresentationIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_PresentationIndicator(tvb, offset, pinfo, tree, hf_h450_destinationAddressPresentationIndicator); +static int dissect_destinationAddressPresentationIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_PresentationIndicator(tvb, offset, actx, tree, hf_h450_destinationAddressPresentationIndicator); } -static int dissect_destinationAddressScreeningIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_ScreeningIndicator(tvb, offset, pinfo, tree, hf_h450_destinationAddressScreeningIndicator); +static int dissect_destinationAddressScreeningIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_ScreeningIndicator(tvb, offset, actx, tree, hf_h450_destinationAddressScreeningIndicator); } -static int dissect_remoteExtensionAddressPresentationIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_PresentationIndicator(tvb, offset, pinfo, tree, hf_h450_remoteExtensionAddressPresentationIndicator); +static int dissect_remoteExtensionAddressPresentationIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_PresentationIndicator(tvb, offset, actx, tree, hf_h450_remoteExtensionAddressPresentationIndicator); } -static int dissect_remoteExtensionAddressScreeningIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_ScreeningIndicator(tvb, offset, pinfo, tree, hf_h450_remoteExtensionAddressScreeningIndicator); +static int dissect_remoteExtensionAddressScreeningIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_ScreeningIndicator(tvb, offset, actx, tree, hf_h450_remoteExtensionAddressScreeningIndicator); } -static int dissect_nonStandardData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_NonStandardParameter(tvb, offset, pinfo, tree, hf_h450_nonStandardData); +static int dissect_nonStandardData(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_NonStandardParameter(tvb, offset, actx, tree, hf_h450_nonStandardData); } -static int dissect_callPickupId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_CallIdentifier(tvb, offset, pinfo, tree, hf_h450_callPickupId); +static int dissect_callPickupId(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_CallIdentifier(tvb, offset, actx, tree, hf_h450_callPickupId); } -static int dissect_ccIdentifier(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_CallIdentifier(tvb, offset, pinfo, tree, hf_h450_ccIdentifier); +static int dissect_ccIdentifier(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_CallIdentifier(tvb, offset, actx, tree, hf_h450_ccIdentifier); } -static int dissect_specificCall(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_CallIdentifier(tvb, offset, pinfo, tree, hf_h450_specificCall); +static int dissect_specificCall(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_CallIdentifier(tvb, offset, actx, tree, hf_h450_specificCall); } -static int dissect_nonStandard(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h225_NonStandardParameter(tvb, offset, pinfo, tree, hf_h450_nonStandard); +static int dissect_nonStandard(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h225_NonStandardParameter(tvb, offset, actx, tree, hf_h450_nonStandard); } static int -dissect_h450_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_h450_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_endpoint(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_endpoint); +static int dissect_endpoint(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_endpoint); } -static int dissect_anyEntity(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_anyEntity); +static int dissect_anyEntity(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_anyEntity); } -static int dissect_discardAnyUnrecognizedInvokePdu(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_discardAnyUnrecognizedInvokePdu); +static int dissect_discardAnyUnrecognizedInvokePdu(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_discardAnyUnrecognizedInvokePdu); } -static int dissect_clearCallIfAnyInvokePduNotRecognized(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_clearCallIfAnyInvokePduNotRecognized); +static int dissect_clearCallIfAnyInvokePduNotRecognized(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_clearCallIfAnyInvokePduNotRecognized); } -static int dissect_rejectAnyUnrecognizedInvokePdu(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_rejectAnyUnrecognizedInvokePdu); +static int dissect_rejectAnyUnrecognizedInvokePdu(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_rejectAnyUnrecognizedInvokePdu); } -static int dissect_presentationRestricted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_presentationRestricted); +static int dissect_presentationRestricted(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_presentationRestricted); } -static int dissect_numberNotAvailableDueToInterworking(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_numberNotAvailableDueToInterworking); +static int dissect_numberNotAvailableDueToInterworking(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_numberNotAvailableDueToInterworking); } -static int dissect_nameNotAvailable(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_nameNotAvailable); +static int dissect_nameNotAvailable(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_nameNotAvailable); } -static int dissect_restrictedNull(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_restrictedNull); +static int dissect_restrictedNull(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_restrictedNull); } -static int dissect_silentMonitoringPermitted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_silentMonitoringPermitted); +static int dissect_silentMonitoringPermitted(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_silentMonitoringPermitted); } -static int dissect_callIntrusionImpending(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_callIntrusionImpending); +static int dissect_callIntrusionImpending(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_callIntrusionImpending); } -static int dissect_callIntruded(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_callIntruded); +static int dissect_callIntruded(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_callIntruded); } -static int dissect_callIsolated(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_callIsolated); +static int dissect_callIsolated(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_callIsolated); } -static int dissect_callForceReleased(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_callForceReleased); +static int dissect_callForceReleased(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_callForceReleased); } -static int dissect_callIntrusionComplete(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_callIntrusionComplete); +static int dissect_callIntrusionComplete(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_callIntrusionComplete); } -static int dissect_callIntrusionEnd(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_callIntrusionEnd); +static int dissect_callIntrusionEnd(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_callIntrusionEnd); } -static int dissect_ssCFreRoutingSupported(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCFreRoutingSupported); +static int dissect_ssCFreRoutingSupported(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCFreRoutingSupported); } -static int dissect_ssCTreRoutingSupported(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCTreRoutingSupported); +static int dissect_ssCTreRoutingSupported(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCTreRoutingSupported); } -static int dissect_ssCCBSPossible(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCCBSPossible); +static int dissect_ssCCBSPossible(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCCBSPossible); } -static int dissect_ssCCNRPossible(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCCNRPossible); +static int dissect_ssCCNRPossible(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCCNRPossible); } -static int dissect_ssCOSupported(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCOSupported); +static int dissect_ssCOSupported(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCOSupported); } -static int dissect_ssCIForcedReleaseSupported(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCIForcedReleaseSupported); +static int dissect_ssCIForcedReleaseSupported(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCIForcedReleaseSupported); } -static int dissect_ssCIIsolationSupported(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCIIsolationSupported); +static int dissect_ssCIIsolationSupported(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCIIsolationSupported); } -static int dissect_ssCIWaitOnBusySupported(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCIWaitOnBusySupported); +static int dissect_ssCIWaitOnBusySupported(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCIWaitOnBusySupported); } -static int dissect_ssCISilentMonitoringSupported(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCISilentMonitoringSupported); +static int dissect_ssCISilentMonitoringSupported(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCISilentMonitoringSupported); } -static int dissect_ssCIConferenceSupported(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCIConferenceSupported); +static int dissect_ssCIConferenceSupported(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCIConferenceSupported); } -static int dissect_ssCHFarHoldSupported(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCHFarHoldSupported); +static int dissect_ssCHFarHoldSupported(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCHFarHoldSupported); } -static int dissect_ssMWICallbackSupported(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssMWICallbackSupported); +static int dissect_ssMWICallbackSupported(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssMWICallbackSupported); } -static int dissect_ssCPCallParkSupported(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCPCallParkSupported); +static int dissect_ssCPCallParkSupported(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCPCallParkSupported); } -static int dissect_ssCHDoNotHold(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCHDoNotHold); +static int dissect_ssCHDoNotHold(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCHDoNotHold); } -static int dissect_ssCTDoNotTransfer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCTDoNotTransfer); +static int dissect_ssCTDoNotTransfer(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCTDoNotTransfer); } -static int dissect_ssMWICallbackCall(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssMWICallbackCall); +static int dissect_ssMWICallbackCall(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssMWICallbackCall); } -static int dissect_ssCISilentMonitorPermitted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NULL(tvb, offset, pinfo, tree, hf_h450_ssCISilentMonitorPermitted); +static int dissect_ssCISilentMonitorPermitted(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NULL(tvb, offset, actx, tree, hf_h450_ssCISilentMonitorPermitted); } @@ -859,33 +859,33 @@ static const per_choice_t EntityType_choice[] = { }; static int -dissect_h450_EntityType(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_h450_EntityType(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_h450_EntityType, EntityType_choice, NULL); return offset; } -static int dissect_sourceEntity(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EntityType(tvb, offset, pinfo, tree, hf_h450_sourceEntity); +static int dissect_sourceEntity(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EntityType(tvb, offset, actx, tree, hf_h450_sourceEntity); } -static int dissect_destinationEntity(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EntityType(tvb, offset, pinfo, tree, hf_h450_destinationEntity); +static int dissect_destinationEntity(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EntityType(tvb, offset, actx, tree, hf_h450_destinationEntity); } static int -dissect_h450_AddressInformation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h225_AliasAddress(tvb, offset, pinfo, tree, hf_index); +dissect_h450_AddressInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h225_AliasAddress(tvb, offset, actx, tree, hf_index); return offset; } -static int dissect_sourceEntityAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_AddressInformation(tvb, offset, pinfo, tree, hf_h450_sourceEntityAddress); +static int dissect_sourceEntityAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_AddressInformation(tvb, offset, actx, tree, hf_h450_sourceEntityAddress); } -static int dissect_destinationEntityAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_AddressInformation(tvb, offset, pinfo, tree, hf_h450_destinationEntityAddress); +static int dissect_destinationEntityAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_AddressInformation(tvb, offset, actx, tree, hf_h450_destinationEntityAddress); } @@ -898,14 +898,14 @@ static const per_sequence_t NetworkFacilityExtension_sequence[] = { }; static int -dissect_h450_NetworkFacilityExtension(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_h450_NetworkFacilityExtension(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_h450_NetworkFacilityExtension, NetworkFacilityExtension_sequence); return offset; } -static int dissect_networkFacilityExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NetworkFacilityExtension(tvb, offset, pinfo, tree, hf_h450_networkFacilityExtension); +static int dissect_networkFacilityExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NetworkFacilityExtension(tvb, offset, actx, tree, hf_h450_networkFacilityExtension); } @@ -924,15 +924,15 @@ static const per_choice_t InterpretationApdu_choice[] = { }; static int -dissect_h450_InterpretationApdu(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_h450_InterpretationApdu(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_h450_InterpretationApdu, InterpretationApdu_choice, NULL); return offset; } -static int dissect_interpretationApdu(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_InterpretationApdu(tvb, offset, pinfo, tree, hf_h450_interpretationApdu); +static int dissect_interpretationApdu(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_InterpretationApdu(tvb, offset, actx, tree, hf_h450_interpretationApdu); } @@ -941,14 +941,14 @@ static const per_sequence_t SEQUENCE_OF_ROSxxx_sequence_of[1] = { }; static int -dissect_h450_SEQUENCE_OF_ROSxxx(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_h450_SEQUENCE_OF_ROSxxx(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence_of(tvb, offset, actx, tree, hf_index, ett_h450_SEQUENCE_OF_ROSxxx, SEQUENCE_OF_ROSxxx_sequence_of); return offset; } -static int dissect_rosApdus(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_OF_ROSxxx(tvb, offset, pinfo, tree, hf_h450_rosApdus); +static int dissect_rosApdus(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_OF_ROSxxx(tvb, offset, actx, tree, hf_h450_rosApdus); } @@ -963,15 +963,15 @@ static const per_choice_t ServiceApdus_choice[] = { }; static int -dissect_h450_ServiceApdus(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_h450_ServiceApdus(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_h450_ServiceApdus, ServiceApdus_choice, NULL); return offset; } -static int dissect_serviceApdu(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ServiceApdus(tvb, offset, pinfo, tree, hf_h450_serviceApdu); +static int dissect_serviceApdu(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ServiceApdus(tvb, offset, actx, tree, hf_h450_serviceApdu); } @@ -983,8 +983,8 @@ static const per_sequence_t H4501SupplementaryService_sequence[] = { }; static int -dissect_h450_H4501SupplementaryService(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_h450_H4501SupplementaryService(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_h450_H4501SupplementaryService, H4501SupplementaryService_sequence); return offset; @@ -993,8 +993,8 @@ dissect_h450_H4501SupplementaryService(tvbuff_t *tvb, int offset, packet_info *p static int -dissect_h450_Notassignedlocalopcode(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_h450_Notassignedlocalopcode(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; @@ -1003,42 +1003,41 @@ dissect_h450_Notassignedlocalopcode(tvbuff_t *tvb, int offset, packet_info *pinf static int -dissect_h450_SubaddressInformation(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_h450_SubaddressInformation(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, 20, NULL); return offset; } -static int dissect_subaddressInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SubaddressInformation(tvb, offset, pinfo, tree, hf_h450_subaddressInformation); +static int dissect_subaddressInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SubaddressInformation(tvb, offset, actx, tree, hf_h450_subaddressInformation); } static int -dissect_h450_BOOLEAN(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_boolean(tvb, offset, pinfo, tree, hf_index, - NULL, NULL); +dissect_h450_BOOLEAN(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_boolean(tvb, offset, actx, tree, hf_index, NULL); return offset; } -static int dissect_oddCountIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BOOLEAN(tvb, offset, pinfo, tree, hf_h450_oddCountIndicator); +static int dissect_oddCountIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BOOLEAN(tvb, offset, actx, tree, hf_h450_oddCountIndicator); } -static int dissect_remoteEnabled(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BOOLEAN(tvb, offset, pinfo, tree, hf_h450_remoteEnabled); +static int dissect_remoteEnabled(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BOOLEAN(tvb, offset, actx, tree, hf_h450_remoteEnabled); } -static int dissect_callbackReq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BOOLEAN(tvb, offset, pinfo, tree, hf_h450_callbackReq); +static int dissect_callbackReq(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BOOLEAN(tvb, offset, actx, tree, hf_h450_callbackReq); } -static int dissect_can_retain_service(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BOOLEAN(tvb, offset, pinfo, tree, hf_h450_can_retain_service); +static int dissect_can_retain_service(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BOOLEAN(tvb, offset, actx, tree, hf_h450_can_retain_service); } -static int dissect_retain_sig_connection(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BOOLEAN(tvb, offset, pinfo, tree, hf_h450_retain_sig_connection); +static int dissect_retain_sig_connection(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BOOLEAN(tvb, offset, actx, tree, hf_h450_retain_sig_connection); } -static int dissect_retain_service(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BOOLEAN(tvb, offset, pinfo, tree, hf_h450_retain_service); +static int dissect_retain_service(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BOOLEAN(tvb, offset, actx, tree, hf_h450_retain_service); } @@ -1049,27 +1048,27 @@ static const per_sequence_t UserSpecifiedSubaddress_sequence[] = { }; static int -dissect_h450_UserSpecifiedSubaddress(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_h450_UserSpecifiedSubaddress(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_h450_UserSpecifiedSubaddress, UserSpecifiedSubaddress_sequence); return offset; } -static int dissect_userSpecifiedSubaddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_UserSpecifiedSubaddress(tvb, offset, pinfo, tree, hf_h450_userSpecifiedSubaddress); +static int dissect_userSpecifiedSubaddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_UserSpecifiedSubaddress(tvb, offset, actx, tree, hf_h450_userSpecifiedSubaddress); } static int -dissect_h450_NSAPSubaddress(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_h450_NSAPSubaddress(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, 20, NULL); return offset; } -static int dissect_nsapSubaddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NSAPSubaddress(tvb, offset, pinfo, tree, hf_h450_nsapSubaddress); +static int dissect_nsapSubaddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NSAPSubaddress(tvb, offset, actx, tree, hf_h450_nsapSubaddress); } @@ -1086,21 +1085,21 @@ static const per_choice_t PartySubaddress_choice[] = { }; static int -dissect_h450_PartySubaddress(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_h450_PartySubaddress(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_h450_PartySubaddress, PartySubaddress_choice, NULL); return offset; } -static int dissect_partySubaddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_PartySubaddress(tvb, offset, pinfo, tree, hf_h450_partySubaddress); +static int dissect_partySubaddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_PartySubaddress(tvb, offset, actx, tree, hf_h450_partySubaddress); } -static int dissect_redirectionSubaddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_PartySubaddress(tvb, offset, pinfo, tree, hf_h450_redirectionSubaddress); +static int dissect_redirectionSubaddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_PartySubaddress(tvb, offset, actx, tree, hf_h450_redirectionSubaddress); } -static int dissect_callingPartySubaddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_PartySubaddress(tvb, offset, pinfo, tree, hf_h450_callingPartySubaddress); +static int dissect_callingPartySubaddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_PartySubaddress(tvb, offset, actx, tree, hf_h450_callingPartySubaddress); } @@ -1112,17 +1111,17 @@ static const per_sequence_t AddressScreened_sequence[] = { }; static int -dissect_h450_AddressScreened(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_h450_AddressScreened(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_h450_AddressScreened, AddressScreened_sequence); return offset; } -static int dissect_addressScreened_presentationAllowedAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_AddressScreened(tvb, offset, pinfo, tree, hf_h450_addressScreened_presentationAllowedAddress); +static int dissect_addressScreened_presentationAllowedAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_AddressScreened(tvb, offset, actx, tree, hf_h450_addressScreened_presentationAllowedAddress); } -static int dissect_addressScreened_presentationRestrictedAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_AddressScreened(tvb, offset, pinfo, tree, hf_h450_addressScreened_presentationRestrictedAddress); +static int dissect_addressScreened_presentationRestrictedAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_AddressScreened(tvb, offset, actx, tree, hf_h450_addressScreened_presentationRestrictedAddress); } @@ -1143,8 +1142,8 @@ static const per_choice_t PresentedAddressScreened_choice[] = { }; static int -dissect_h450_PresentedAddressScreened(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_h450_PresentedAddressScreened(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_h450_PresentedAddressScreened, PresentedAddressScreened_choice, NULL); @@ -1159,17 +1158,17 @@ static const per_sequence_t Address_sequence[] = { }; static int -dissect_h450_Address(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_h450_Address(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_h450_Address, Address_sequence); return offset; } -static int dissect_addressUnscreened_presentationAllowedAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_Address(tvb, offset, pinfo, tree, hf_h450_addressUnscreened_presentationAllowedAddress); +static int dissect_addressUnscreened_presentationAllowedAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_Address(tvb, offset, actx, tree, hf_h450_addressUnscreened_presentationAllowedAddress); } -static int dissect_addressUnscreened_presentationRestrictedAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_Address(tvb, offset, pinfo, tree, hf_h450_addressUnscreened_presentationRestrictedAddress); +static int dissect_addressUnscreened_presentationRestrictedAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_Address(tvb, offset, actx, tree, hf_h450_addressUnscreened_presentationRestrictedAddress); } @@ -1190,8 +1189,8 @@ static const per_choice_t PresentedAddressUnscreened_choice[] = { }; static int -dissect_h450_PresentedAddressUnscreened(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_h450_PresentedAddressUnscreened(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_h450_PresentedAddressUnscreened, PresentedAddressUnscreened_choice, NULL); @@ -1206,17 +1205,17 @@ static const per_sequence_t NumberScreened_sequence[] = { }; static int -dissect_h450_NumberScreened(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_h450_NumberScreened(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_h450_NumberScreened, NumberScreened_sequence); return offset; } -static int dissect_numberScreened_presentationAllowedAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NumberScreened(tvb, offset, pinfo, tree, hf_h450_numberScreened_presentationAllowedAddress); +static int dissect_numberScreened_presentationAllowedAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NumberScreened(tvb, offset, actx, tree, hf_h450_numberScreened_presentationAllowedAddress); } -static int dissect_numberScreened_presentationRestrictedAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NumberScreened(tvb, offset, pinfo, tree, hf_h450_numberScreened_presentationRestrictedAddress); +static int dissect_numberScreened_presentationRestrictedAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NumberScreened(tvb, offset, actx, tree, hf_h450_numberScreened_presentationRestrictedAddress); } @@ -1237,8 +1236,8 @@ static const per_choice_t PresentedNumberScreened_choice[] = { }; static int -dissect_h450_PresentedNumberScreened(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_h450_PresentedNumberScreened(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_h450_PresentedNumberScreened, PresentedNumberScreened_choice, NULL); @@ -1263,8 +1262,8 @@ static const per_choice_t PresentedNumberUnscreened_choice[] = { }; static int -dissect_h450_PresentedNumberUnscreened(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_h450_PresentedNumberUnscreened(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_h450_PresentedNumberUnscreened, PresentedNumberUnscreened_choice, NULL); @@ -1277,14 +1276,14 @@ static const per_sequence_t SEQUENCE_OF_AliasAddress_sequence_of[1] = { }; static int -dissect_h450_SEQUENCE_OF_AliasAddress(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_h450_SEQUENCE_OF_AliasAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence_of(tvb, offset, actx, tree, hf_index, ett_h450_SEQUENCE_OF_AliasAddress, SEQUENCE_OF_AliasAddress_sequence_of); return offset; } -static int dissect_destinationAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_OF_AliasAddress(tvb, offset, pinfo, tree, hf_h450_destinationAddress); +static int dissect_destinationAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_OF_AliasAddress(tvb, offset, actx, tree, hf_h450_destinationAddress); } @@ -1299,139 +1298,138 @@ static const per_sequence_t EndpointAddress_sequence[] = { }; static int -dissect_h450_EndpointAddress(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_h450_EndpointAddress(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_h450_EndpointAddress, EndpointAddress_sequence); return offset; } -static int dissect_reroutingNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_reroutingNumber); +static int dissect_reroutingNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_reroutingNumber); } -static int dissect_transferringNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_transferringNumber); +static int dissect_transferringNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_transferringNumber); } -static int dissect_redirectionNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_redirectionNumber); +static int dissect_redirectionNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_redirectionNumber); } -static int dissect_connectedAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_connectedAddress); +static int dissect_connectedAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_connectedAddress); } -static int dissect_divertedToAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_divertedToAddress); +static int dissect_divertedToAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_divertedToAddress); } -static int dissect_servedUserNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_servedUserNr); +static int dissect_servedUserNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_servedUserNr); } -static int dissect_activatingUserNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_activatingUserNr); +static int dissect_activatingUserNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_activatingUserNr); } -static int dissect_deactivatingUserNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_deactivatingUserNr); +static int dissect_deactivatingUserNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_deactivatingUserNr); } -static int dissect_interrogatingUserNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_interrogatingUserNr); +static int dissect_interrogatingUserNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_interrogatingUserNr); } -static int dissect_divertedToNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_divertedToNr); +static int dissect_divertedToNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_divertedToNr); } -static int dissect_calledAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_calledAddress); +static int dissect_calledAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_calledAddress); } -static int dissect_lastReroutingNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_lastReroutingNr); +static int dissect_lastReroutingNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_lastReroutingNr); } -static int dissect_callingNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_callingNumber); +static int dissect_callingNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_callingNumber); } -static int dissect_originalCalledNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_originalCalledNr); +static int dissect_originalCalledNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_originalCalledNr); } -static int dissect_nominatedNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_nominatedNr); +static int dissect_nominatedNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_nominatedNr); } -static int dissect_redirectingNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_redirectingNr); +static int dissect_redirectingNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_redirectingNr); } -static int dissect_divertingNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_divertingNr); +static int dissect_divertingNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_divertingNr); } -static int dissect_redirectionNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_redirectionNr); +static int dissect_redirectionNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_redirectionNr); } -static int dissect_callingNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_callingNr); +static int dissect_callingNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_callingNr); } -static int dissect_parkingNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_parkingNumber); +static int dissect_parkingNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_parkingNumber); } -static int dissect_parkedNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_parkedNumber); +static int dissect_parkedNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_parkedNumber); } -static int dissect_parkedToNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_parkedToNumber); +static int dissect_parkedToNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_parkedToNumber); } -static int dissect_groupMemberUserNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_groupMemberUserNr); +static int dissect_groupMemberUserNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_groupMemberUserNr); } -static int dissect_partyToRetrieve(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_partyToRetrieve); +static int dissect_partyToRetrieve(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_partyToRetrieve); } -static int dissect_retrieveAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_retrieveAddress); +static int dissect_retrieveAddress(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_retrieveAddress); } -static int dissect_picking_upNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_picking_upNumber); +static int dissect_picking_upNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_picking_upNumber); } -static int dissect_originatingNr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_originatingNr); +static int dissect_originatingNr(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_originatingNr); } -static int dissect_mwipartyNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_mwipartyNumber); +static int dissect_mwipartyNumber(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_mwipartyNumber); } -static int dissect_numberA(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_numberA); +static int dissect_numberA(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_numberA); } -static int dissect_numberB(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndpointAddress(tvb, offset, pinfo, tree, hf_h450_numberB); +static int dissect_numberB(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndpointAddress(tvb, offset, actx, tree, hf_h450_numberB); } static int -dissect_h450_PresentationAllowedIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_boolean(tvb, offset, pinfo, tree, hf_index, - NULL, NULL); +dissect_h450_PresentationAllowedIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_boolean(tvb, offset, actx, tree, hf_index, NULL); return offset; } -static int dissect_presentationAllowedIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_PresentationAllowedIndicator(tvb, offset, pinfo, tree, hf_h450_presentationAllowedIndicator); +static int dissect_presentationAllowedIndicator(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_PresentationAllowedIndicator(tvb, offset, actx, tree, hf_h450_presentationAllowedIndicator); } static int -dissect_h450_OBJECT_IDENTIFIER(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_object_identifier(tvb, offset, pinfo, tree, hf_index, NULL); +dissect_h450_OBJECT_IDENTIFIER(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_object_identifier(tvb, offset, actx, tree, hf_index, NULL); return offset; } -static int dissect_extensionId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_OBJECT_IDENTIFIER(tvb, offset, pinfo, tree, hf_h450_extensionId); +static int dissect_extensionId(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_OBJECT_IDENTIFIER(tvb, offset, actx, tree, hf_h450_extensionId); } static int -dissect_h450_ExtensionArgument(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_h450_ExtensionArgument(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_extensionArgument(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ExtensionArgument(tvb, offset, pinfo, tree, hf_h450_extensionArgument); +static int dissect_extensionArgument(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ExtensionArgument(tvb, offset, actx, tree, hf_h450_extensionArgument); } @@ -1442,20 +1440,20 @@ static const per_sequence_t Extension_sequence[] = { }; static int -dissect_h450_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_h450_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_h450_Extension, Extension_sequence); return offset; } -static int dissect_ExtensionSeq_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_Extension(tvb, offset, pinfo, tree, hf_h450_ExtensionSeq_item); +static int dissect_ExtensionSeq_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_Extension(tvb, offset, actx, tree, hf_h450_ExtensionSeq_item); } -static int dissect_mixedExtension_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_Extension(tvb, offset, pinfo, tree, hf_h450_mixedExtension_extension); +static int dissect_mixedExtension_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_Extension(tvb, offset, actx, tree, hf_h450_mixedExtension_extension); } -static int dissect_unspecified_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_Extension(tvb, offset, pinfo, tree, hf_h450_unspecified_extension); +static int dissect_unspecified_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_Extension(tvb, offset, actx, tree, hf_h450_unspecified_extension); } @@ -1464,14 +1462,14 @@ static const per_sequence_t ExtensionSeq_sequence_of[1] = { }; static int -dissect_h450_ExtensionSeq(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_sequence_of(tvb, offset, pinfo, tree, hf_index, +dissect_h450_ExtensionSeq(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_sequence_of(tvb, offset, actx, tree, hf_index, ett_h450_ExtensionSeq, ExtensionSeq_sequence_of); return offset; } -static int dissect_extensionSeq(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ExtensionSeq(tvb, offset, pinfo, tree, hf_h450_extensionSeq); +static int dissect_extensionSeq(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ExtensionSeq(tvb, offset, actx, tree, hf_h450_extensionSeq); } @@ -1488,8 +1486,8 @@ static const per_choice_t DummyArg_choice[] = { }; static int -dissect_h450_DummyArg(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_h450_DummyArg(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_h450_DummyArg, DummyArg_choice, NULL); @@ -1499,8 +1497,8 @@ dissect_h450_DummyArg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_t static int -dissect_h450_CallTransferIdentify(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_DummyArg(tvb, offset, pinfo, tree, hf_index); +dissect_h450_CallTransferIdentify(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_DummyArg(tvb, offset, actx, tree, hf_index); return offset; } @@ -1508,8 +1506,8 @@ dissect_h450_CallTransferIdentify(tvbuff_t *tvb, int offset, packet_info *pinfo static int -dissect_h450_CallTransferAbandon(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_DummyArg(tvb, offset, pinfo, tree, hf_index); +dissect_h450_CallTransferAbandon(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_DummyArg(tvb, offset, actx, tree, hf_index); return offset; } @@ -1517,14 +1515,14 @@ dissect_h450_CallTransferAbandon(tvbuff_t *tvb, int offset, packet_info *pinfo _ static int -dissect_h450_CallIdentity(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_NumericString(tvb, offset, pinfo, tree, hf_index, +dissect_h450_CallIdentity(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_NumericString(tvb, offset, actx, tree, hf_index, 0, 4); return offset; } -static int dissect_callIdentity(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_CallIdentity(tvb, offset, pinfo, tree, hf_h450_callIdentity); +static int dissect_callIdentity(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_CallIdentity(tvb, offset, actx, tree, hf_h450_callIdentity); } @@ -1541,30 +1539,30 @@ static const per_choice_t ArgumentExtension_choice[] = { }; static int -dissect_h450_ArgumentExtension(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_h450_ArgumentExtension(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_h450_ArgumentExtension, ArgumentExtension_choice, NULL); return offset; } -static int dissect_cTInitiateArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ArgumentExtension(tvb, offset, pinfo, tree, hf_h450_cTInitiateArg_argumentExtension); +static int dissect_cTInitiateArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ArgumentExtension(tvb, offset, actx, tree, hf_h450_cTInitiateArg_argumentExtension); } -static int dissect_cTSetupArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ArgumentExtension(tvb, offset, pinfo, tree, hf_h450_cTSetupArg_argumentExtension); +static int dissect_cTSetupArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ArgumentExtension(tvb, offset, actx, tree, hf_h450_cTSetupArg_argumentExtension); } -static int dissect_cTUpdateArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ArgumentExtension(tvb, offset, pinfo, tree, hf_h450_cTUpdateArg_argumentExtension); +static int dissect_cTUpdateArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ArgumentExtension(tvb, offset, actx, tree, hf_h450_cTUpdateArg_argumentExtension); } -static int dissect_subaddressTransferArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ArgumentExtension(tvb, offset, pinfo, tree, hf_h450_subaddressTransferArg_argumentExtension); +static int dissect_subaddressTransferArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ArgumentExtension(tvb, offset, actx, tree, hf_h450_subaddressTransferArg_argumentExtension); } -static int dissect_cTCompleteArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ArgumentExtension(tvb, offset, pinfo, tree, hf_h450_cTCompleteArg_argumentExtension); +static int dissect_cTCompleteArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ArgumentExtension(tvb, offset, actx, tree, hf_h450_cTCompleteArg_argumentExtension); } -static int dissect_cTActiveArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ArgumentExtension(tvb, offset, pinfo, tree, hf_h450_cTActiveArg_argumentExtension); +static int dissect_cTActiveArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ArgumentExtension(tvb, offset, actx, tree, hf_h450_cTActiveArg_argumentExtension); } @@ -1576,8 +1574,8 @@ static const per_sequence_t CTInitiateArg_sequence[] = { }; static int -dissect_h450_CTInitiateArg(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_h450_CTInitiateArg(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_h450_CTInitiateArg, CTInitiateArg_sequence); return offset; @@ -1586,8 +1584,8 @@ dissect_h450_CTInitiateArg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, pr static int -dissect_h450_CallTransferInitiate(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_CTInitiateArg(tvb, offset, pinfo, tree, hf_index); +dissect_h450_CallTransferInitiate(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_CTInitiateArg(tvb, offset, actx, tree, hf_index); return offset; } @@ -1601,8 +1599,8 @@ static const per_sequence_t CTSetupArg_sequence[] = { }; static int -dissect_h450_CTSetupArg(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_h450_CTSetupArg(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_h450_CTSetupArg, CTSetupArg_sequence); return offset; @@ -1611,8 +1609,8 @@ dissect_h450_CTSetupArg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto static int -dissect_h450_CallTransferSetup(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_CTSetupArg(tvb, offset, pinfo, tree, hf_index); +dissect_h450_CallTransferSetup(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_CTSetupArg(tvb, offset, actx, tree, hf_index); return offset; } @@ -1620,45 +1618,45 @@ dissect_h450_CallTransferSetup(tvbuff_t *tvb, int offset, packet_info *pinfo _U_ static int -dissect_h450_BMPString_SIZE_1_128(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_BMPString(tvb, offset, pinfo, tree, hf_index, +dissect_h450_BMPString_SIZE_1_128(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_BMPString(tvb, offset, actx, tree, hf_index, 1, 128); return offset; } -static int dissect_redirectionInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BMPString_SIZE_1_128(tvb, offset, pinfo, tree, hf_h450_redirectionInfo); +static int dissect_redirectionInfo(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BMPString_SIZE_1_128(tvb, offset, actx, tree, hf_h450_redirectionInfo); } -static int dissect_connectedInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BMPString_SIZE_1_128(tvb, offset, pinfo, tree, hf_h450_connectedInfo); +static int dissect_connectedInfo(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BMPString_SIZE_1_128(tvb, offset, actx, tree, hf_h450_connectedInfo); } -static int dissect_callingInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BMPString_SIZE_1_128(tvb, offset, pinfo, tree, hf_h450_callingInfo); +static int dissect_callingInfo(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BMPString_SIZE_1_128(tvb, offset, actx, tree, hf_h450_callingInfo); } -static int dissect_redirectingInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BMPString_SIZE_1_128(tvb, offset, pinfo, tree, hf_h450_redirectingInfo); +static int dissect_redirectingInfo(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BMPString_SIZE_1_128(tvb, offset, actx, tree, hf_h450_redirectingInfo); } -static int dissect_originalCalledInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BMPString_SIZE_1_128(tvb, offset, pinfo, tree, hf_h450_originalCalledInfo); +static int dissect_originalCalledInfo(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BMPString_SIZE_1_128(tvb, offset, actx, tree, hf_h450_originalCalledInfo); } -static int dissect_nominatedInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BMPString_SIZE_1_128(tvb, offset, pinfo, tree, hf_h450_nominatedInfo); +static int dissect_nominatedInfo(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BMPString_SIZE_1_128(tvb, offset, actx, tree, hf_h450_nominatedInfo); } static int -dissect_h450_H225InformationElement(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_h450_H225InformationElement(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_basicCallInfoElements(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_H225InformationElement(tvb, offset, pinfo, tree, hf_h450_basicCallInfoElements); +static int dissect_basicCallInfoElements(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_H225InformationElement(tvb, offset, actx, tree, hf_h450_basicCallInfoElements); } -static int dissect_h225InfoElement(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_H225InformationElement(tvb, offset, pinfo, tree, hf_h450_h225InfoElement); +static int dissect_h225InfoElement(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_H225InformationElement(tvb, offset, actx, tree, hf_h450_h225InfoElement); } @@ -1671,8 +1669,8 @@ static const per_sequence_t CTUpdateArg_sequence[] = { }; static int -dissect_h450_CTUpdateArg(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_h450_CTUpdateArg(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_h450_CTUpdateArg, CTUpdateArg_sequence); return offset; @@ -1681,8 +1679,8 @@ dissect_h450_CTUpdateArg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, prot static int -dissect_h450_CallTransferUpdate(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_CTUpdateArg(tvb, offset, pinfo, tree, hf_index); +dissect_h450_CallTransferUpdate(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_CTUpdateArg(tvb, offset, actx, tree, hf_index); return offset; } @@ -1695,8 +1693,8 @@ static const per_sequence_t SubaddressTransferArg_sequence[] = { }; static int -dissect_h450_SubaddressTransferArg(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_h450_SubaddressTransferArg(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_h450_SubaddressTransferArg, SubaddressTransferArg_sequence); return offset; @@ -1705,8 +1703,8 @@ dissect_h450_SubaddressTransferArg(tvbuff_t *tvb, int offset, packet_info *pinfo static int -dissect_h450_SubaddressTransfer(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_SubaddressTransferArg(tvb, offset, pinfo, tree, hf_index); +dissect_h450_SubaddressTransfer(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_SubaddressTransferArg(tvb, offset, actx, tree, hf_index); return offset; } @@ -1720,14 +1718,14 @@ static const value_string h450_EndDesignation_vals[] = { static int -dissect_h450_EndDesignation(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_h450_EndDesignation(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_endDesignation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_EndDesignation(tvb, offset, pinfo, tree, hf_h450_endDesignation); +static int dissect_endDesignation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_EndDesignation(tvb, offset, actx, tree, hf_h450_endDesignation); } @@ -1739,14 +1737,14 @@ static const value_string h450_CallStatus_vals[] = { static int -dissect_h450_CallStatus(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_h450_CallStatus(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_callStatus(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_CallStatus(tvb, offset, pinfo, tree, hf_h450_callStatus); +static int dissect_callStatus(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_CallStatus(tvb, offset, actx, tree, hf_h450_callStatus); } @@ -1761,8 +1759,8 @@ static const per_sequence_t CTCompleteArg_sequence[] = { }; static int -dissect_h450_CTCompleteArg(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_h450_CTCompleteArg(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_h450_CTCompleteArg, CTCompleteArg_sequence); return offset; @@ -1771,8 +1769,8 @@ dissect_h450_CTCompleteArg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, pr static int -dissect_h450_CallTransferComplete(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_CTCompleteArg(tvb, offset, pinfo, tree, hf_index); +dissect_h450_CallTransferComplete(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_CTCompleteArg(tvb, offset, actx, tree, hf_index); return offset; } @@ -1787,8 +1785,8 @@ static const per_sequence_t CTActiveArg_sequence[] = { }; static int -dissect_h450_CTActiveArg(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_h450_CTActiveArg(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_h450_CTActiveArg, CTActiveArg_sequence); return offset; @@ -1797,8 +1795,8 @@ dissect_h450_CTActiveArg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, prot static int -dissect_h450_CallTransferActive(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_CTActiveArg(tvb, offset, pinfo, tree, hf_index); +dissect_h450_CallTransferActive(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_CTActiveArg(tvb, offset, actx, tree, hf_index); return offset; } @@ -1817,8 +1815,8 @@ static const per_choice_t DummyRes_choice[] = { }; static int -dissect_h450_DummyRes(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_h450_DummyRes(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_h450_DummyRes, DummyRes_choice, NULL); @@ -1839,15 +1837,15 @@ static const per_choice_t T_resultExtension_choice[] = { }; static int -dissect_h450_T_resultExtension(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_h450_T_resultExtension(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_h450_T_resultExtension, T_resultExtension_choice, NULL); return offset; } -static int dissect_resultExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_T_resultExtension(tvb, offset, pinfo, tree, hf_h450_resultExtension); +static int dissect_resultExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_T_resultExtension(tvb, offset, actx, tree, hf_h450_resultExtension); } @@ -1859,8 +1857,8 @@ static const per_sequence_t CTIdentifyRes_sequence[] = { }; static int -dissect_h450_CTIdentifyRes(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_h450_CTIdentifyRes(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_h450_CTIdentifyRes, CTIdentifyRes_sequence); return offset; @@ -1876,14 +1874,14 @@ static const value_string h450_Procedure_vals[] = { static int -dissect_h450_Procedure(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_h450_Procedure(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_procedure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_Procedure(tvb, offset, pinfo, tree, hf_h450_procedure); +static int dissect_procedure(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_Procedure(tvb, offset, actx, tree, hf_h450_procedure); } @@ -1934,17 +1932,17 @@ static const value_string h450_BasicService_vals[] = { static guint32 BasicService_value_map[40+0] = {0, 1, 2, 3, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75}; static int -dissect_h450_BasicService(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, - 40, NULL, NULL, FALSE, 0, BasicService_value_map); +dissect_h450_BasicService(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, + 40, NULL, FALSE, 0, BasicService_value_map); return offset; } -static int dissect_basicService(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BasicService(tvb, offset, pinfo, tree, hf_h450_basicService); +static int dissect_basicService(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BasicService(tvb, offset, actx, tree, hf_h450_basicService); } -static int dissect_service(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_BasicService(tvb, offset, pinfo, tree, hf_h450_service); +static int dissect_service(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_BasicService(tvb, offset, actx, tree, hf_h450_service); } @@ -1961,15 +1959,15 @@ static const per_choice_t ActivateDiversionQArg_extension_choice[] = { }; static int -dissect_h450_ActivateDiversionQArg_extension(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_h450_ActivateDiversionQArg_extension(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_h450_ActivateDiversionQArg_extension, ActivateDiversionQArg_extension_choice, NULL); return offset; } -static int dissect_activateDiversionQArg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ActivateDiversionQArg_extension(tvb, offset, pinfo, tree, hf_h450_activateDiversionQArg_extension); +static int dissect_activateDiversionQArg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ActivateDiversionQArg_extension(tvb, offset, actx, tree, hf_h450_activateDiversionQArg_extension); } @@ -1984,8 +1982,8 @@ static const per_sequence_t ActivateDiversionQArg_sequence[] = { }; static int -dissect_h450_ActivateDiversionQArg(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_h450_ActivateDiversionQArg(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_h450_ActivateDiversionQArg, ActivateDiversionQArg_sequence); return offset; @@ -2005,8 +2003,8 @@ static const per_choice_t ActivateDiversionQRes_choice[] = { }; static int -dissect_h450_ActivateDiversionQRes(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_h450_ActivateDiversionQRes(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_h450_ActivateDiversionQRes, ActivateDiversionQRes_choice, NULL); @@ -2027,15 +2025,15 @@ static const per_choice_t DeactivateDiversionQArg_extension_choice[] = { }; static int -dissect_h450_DeactivateDiversionQArg_extension(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_h450_DeactivateDiversionQArg_extension(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_h450_DeactivateDiversionQArg_extension, DeactivateDiversionQArg_extension_choice, NULL); return offset; } -static int dissect_deactivateDiversionQArg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_DeactivateDiversionQArg_extension(tvb, offset, pinfo, tree, hf_h450_deactivateDiversionQArg_extension); +static int dissect_deactivateDiversionQArg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_DeactivateDiversionQArg_extension(tvb, offset, actx, tree, hf_h450_deactivateDiversionQArg_extension); } @@ -2049,8 +2047,8 @@ static const per_sequence_t DeactivateDiversionQArg_sequence[] = { }; static int -dissect_h450_DeactivateDiversionQArg(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_h450_DeactivateDiversionQArg(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_h450_DeactivateDiversionQArg, DeactivateDiversionQArg_sequence); return offset; @@ -2070,8 +2068,8 @@ static const per_choice_t DeactivateDiversionQRes_choice[] = { }; static int -dissect_h450_DeactivateDiversionQRes(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_h450_DeactivateDiversionQRes(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_h450_DeactivateDiversionQRes, DeactivateDiversionQRes_choice, NULL); @@ -2092,15 +2090,15 @@ static const per_choice_t InterrogateDiversionQ_extension_choice[] = { }; static int -dissect_h450_InterrogateDiversionQ_extension(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_h450_InterrogateDiversionQ_extension(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_h450_InterrogateDiversionQ_extension, InterrogateDiversionQ_extension_choice, NULL); return offset; } -static int dissect_interrogateDiversionQ_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_InterrogateDiversionQ_extension(tvb, offset, pinfo, tree, hf_h450_interrogateDiversionQ_extension); +static int dissect_interrogateDiversionQ_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_InterrogateDiversionQ_extension(tvb, offset, actx, tree, hf_h450_interrogateDiversionQ_extension); } @@ -2114,8 +2112,8 @@ static const per_sequence_t InterrogateDiversionQ_sequence[] = { }; static int -dissect_h450_InterrogateDiversionQ(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_h450_InterrogateDiversionQ(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_h450_InterrogateDiversionQ, InterrogateDiversionQ_sequence); return offset; @@ -2135,15 +2133,15 @@ static const per_choice_t IntResult_extension_choice[] = { }; static int -dissect_h450_IntResult_extension(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_h450_IntResult_extension(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_h450_IntResult_extension, IntResult_extension_choice, NULL); return offset; } -static int dissect_intResult_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_IntResult_extension(tvb, offset, pinfo, tree, hf_h450_intResult_extension); +static int dissect_intResult_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_IntResult_extension(tvb, offset, actx, tree, hf_h450_intResult_extension); } @@ -2158,14 +2156,14 @@ static const per_sequence_t IntResult_sequence[] = { }; static int -dissect_h450_IntResult(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_h450_IntResult(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_h450_IntResult, IntResult_sequence); return offset; } -static int dissect_IntResultList_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_IntResult(tvb, offset, pinfo, tree, hf_h450_IntResultList_item); +static int dissect_IntResultList_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_IntResult(tvb, offset, actx, tree, hf_h450_IntResultList_item); } @@ -2174,8 +2172,8 @@ static const per_sequence_t IntResultList_set_of[1] = { }; static int -dissect_h450_IntResultList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_set_of(tvb, offset, pinfo, tree, hf_index, +dissect_h450_IntResultList(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_set_of(tvb, offset, actx, tree, hf_index, ett_h450_IntResultList, IntResultList_set_of, 0, 29); @@ -2185,8 +2183,8 @@ dissect_h450_IntResultList(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, pr static int -dissect_h450_InterrogateDiversionQRes(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_IntResultList(tvb, offset, pinfo, tree, hf_index); +dissect_h450_InterrogateDiversionQRes(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_IntResultList(tvb, offset, actx, tree, hf_index); return offset; } @@ -2205,15 +2203,15 @@ static const per_choice_t CheckRestrictionArg_extension_choice[] = { }; static int -dissect_h450_CheckRestrictionArg_extension(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_h450_CheckRestrictionArg_extension(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_h450_CheckRestrictionArg_extension, CheckRestrictionArg_extension_choice, NULL); return offset; } -static int dissect_checkRestrictionArg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_CheckRestrictionArg_extension(tvb, offset, pinfo, tree, hf_h450_checkRestrictionArg_extension); +static int dissect_checkRestrictionArg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_CheckRestrictionArg_extension(tvb, offset, actx, tree, hf_h450_checkRestrictionArg_extension); } @@ -2226,8 +2224,8 @@ static const per_sequence_t CheckRestrictionArg_sequence[] = { }; static int -dissect_h450_CheckRestrictionArg(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_h450_CheckRestrictionArg(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_h450_CheckRestrictionArg, CheckRestrictionArg_sequence); return offset; @@ -2247,8 +2245,8 @@ static const per_choice_t CheckRestrictionRes_choice[] = { }; static int -dissect_h450_CheckRestrictionRes(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_h450_CheckRestrictionRes(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_h450_CheckRestrictionRes, CheckRestrictionRes_choice, NULL); @@ -2266,36 +2264,36 @@ static const value_string h450_DiversionReason_vals[] = { static int -dissect_h450_DiversionReason(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 4, NULL, NULL, TRUE, 0, NULL); +dissect_h450_DiversionReason(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 4, NULL, TRUE, 0, NULL); return offset; } -static int dissect_reroutingReason(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_DiversionReason(tvb, offset, pinfo, tree, hf_h450_reroutingReason); +static int dissect_reroutingReason(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_DiversionReason(tvb, offset, actx, tree, hf_h450_reroutingReason); } -static int dissect_originalReroutingReason(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_DiversionReason(tvb, offset, pinfo, tree, hf_h450_originalReroutingReason); +static int dissect_originalReroutingReason(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_DiversionReason(tvb, offset, actx, tree, hf_h450_originalReroutingReason); } -static int dissect_diversionReason(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_DiversionReason(tvb, offset, pinfo, tree, hf_h450_diversionReason); +static int dissect_diversionReason(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_DiversionReason(tvb, offset, actx, tree, hf_h450_diversionReason); } -static int dissect_originalDiversionReason(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_DiversionReason(tvb, offset, pinfo, tree, hf_h450_originalDiversionReason); +static int dissect_originalDiversionReason(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_DiversionReason(tvb, offset, actx, tree, hf_h450_originalDiversionReason); } static int -dissect_h450_INTEGER_1_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, - 1U, 15U, NULL, NULL, FALSE); +dissect_h450_INTEGER_1_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, + 1U, 15U, NULL, FALSE); return offset; } -static int dissect_diversionCounter(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_INTEGER_1_15(tvb, offset, pinfo, tree, hf_h450_diversionCounter); +static int dissect_diversionCounter(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_INTEGER_1_15(tvb, offset, actx, tree, hf_h450_diversionCounter); } @@ -2308,14 +2306,14 @@ static const value_string h450_SubscriptionOption_vals[] = { static int -dissect_h450_SubscriptionOption(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_h450_SubscriptionOption(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_subscriptionOption(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SubscriptionOption(tvb, offset, pinfo, tree, hf_h450_subscriptionOption); +static int dissect_subscriptionOption(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SubscriptionOption(tvb, offset, actx, tree, hf_h450_subscriptionOption); } @@ -2332,15 +2330,15 @@ static const per_choice_t CallReroutingArg_extension_choice[] = { }; static int -dissect_h450_CallReroutingArg_extension(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_h450_CallReroutingArg_extension(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_h450_CallReroutingArg_extension, CallReroutingArg_extension_choice, NULL); return offset; } -static int dissect_callReroutingArg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_CallReroutingArg_extension(tvb, offset, pinfo, tree, hf_h450_callReroutingArg_extension); +static int dissect_callReroutingArg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_CallReroutingArg_extension(tvb, offset, actx, tree, hf_h450_callReroutingArg_extension); } @@ -2363,8 +2361,8 @@ static const per_sequence_t CallReroutingArg_sequence[] = { }; static int -dissect_h450_CallReroutingArg(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_h450_CallReroutingArg(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_h450_CallReroutingArg, CallReroutingArg_sequence); return offset; @@ -2384,8 +2382,8 @@ static const per_choice_t CallReroutingRes_choice[] = { }; static int -dissect_h450_CallReroutingRes(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_h450_CallReroutingRes(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_h450_CallReroutingRes, CallReroutingRes_choice, NULL); @@ -2406,15 +2404,15 @@ static const per_choice_t DivertingLegInformation1Arg_extension_choice[] = { }; static int -dissect_h450_DivertingLegInformation1Arg_extension(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_h450_DivertingLegInformation1Arg_extension(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_h450_DivertingLegInformation1Arg_extension, DivertingLegInformation1Arg_extension_choice, NULL); return offset; } -static int dissect_divertingLegInformation1Arg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_DivertingLegInformation1Arg_extension(tvb, offset, pinfo, tree, hf_h450_divertingLegInformation1Arg_extension); +static int dissect_divertingLegInformation1Arg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_DivertingLegInformation1Arg_extension(tvb, offset, actx, tree, hf_h450_divertingLegInformation1Arg_extension); } @@ -2430,8 +2428,8 @@ static const per_sequence_t DivertingLegInformation1Arg_sequence[] = { }; static int -dissect_h450_DivertingLegInformation1Arg(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_h450_DivertingLegInformation1Arg(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_h450_DivertingLegInformation1Arg, DivertingLegInformation1Arg_sequence); return offset; @@ -2451,15 +2449,15 @@ static const per_choice_t DivertingLegInformation2Arg_extension_choice[] = { }; static int -dissect_h450_DivertingLegInformation2Arg_extension(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_h450_DivertingLegInformation2Arg_extension(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_h450_DivertingLegInformation2Arg_extension, DivertingLegInformation2Arg_extension_choice, NULL); return offset; } -static int dissect_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_DivertingLegInformation2Arg_extension(tvb, offset, pinfo, tree, hf_h450_extension); +static int dissect_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_DivertingLegInformation2Arg_extension(tvb, offset, actx, tree, hf_h450_extension); } @@ -2476,8 +2474,8 @@ static const per_sequence_t DivertingLegInformation2Arg_sequence[] = { }; static int -dissect_h450_DivertingLegInformation2Arg(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_h450_DivertingLegInformation2Arg(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_h450_DivertingLegInformation2Arg, DivertingLegInformation2Arg_sequence); return offset; @@ -2497,15 +2495,15 @@ static const per_choice_t DivertingLegInformation3Arg_extension_choice[] = { }; static int -dissect_h450_DivertingLegInformation3Arg_extension(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_h450_DivertingLegInformation3Arg_extension(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_h450_DivertingLegInformation3Arg_extension, DivertingLegInformation3Arg_extension_choice, NULL); return offset; } -static int dissect_divertingLegInformation3Arg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_DivertingLegInformation3Arg_extension(tvb, offset, pinfo, tree, hf_h450_divertingLegInformation3Arg_extension); +static int dissect_divertingLegInformation3Arg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_DivertingLegInformation3Arg_extension(tvb, offset, actx, tree, hf_h450_divertingLegInformation3Arg_extension); } @@ -2518,8 +2516,8 @@ static const per_sequence_t DivertingLegInformation3Arg_sequence[] = { }; static int -dissect_h450_DivertingLegInformation3Arg(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_h450_DivertingLegInformation3Arg(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_h450_DivertingLegInformation3Arg, DivertingLegInformation3Arg_sequence); return offset; @@ -2539,15 +2537,15 @@ static const per_choice_t DivertingLegInformation4Arg_extension_choice[] = { }; static int -dissect_h450_DivertingLegInformation4Arg_extension(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_h450_DivertingLegInformation4Arg_extension(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_h450_DivertingLegInformation4Arg_extension, DivertingLegInformation4Arg_extension_choice, NULL); return offset; } -static int dissect_divertingLegInformation4Arg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_DivertingLegInformation4Arg_extension(tvb, offset, pinfo, tree, hf_h450_divertingLegInformation4Arg_extension); +static int dissect_divertingLegInformation4Arg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_DivertingLegInformation4Arg_extension(tvb, offset, actx, tree, hf_h450_divertingLegInformation4Arg_extension); } @@ -2563,8 +2561,8 @@ static const per_sequence_t DivertingLegInformation4Arg_sequence[] = { }; static int -dissect_h450_DivertingLegInformation4Arg(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_h450_DivertingLegInformation4Arg(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_h450_DivertingLegInformation4Arg, DivertingLegInformation4Arg_sequence); return offset; @@ -2584,8 +2582,8 @@ static const per_choice_t CfnrDivertedLegFailedArg_choice[] = { }; static int -dissect_h450_CfnrDivertedLegFailedArg(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_h450_CfnrDivertedLegFailedArg(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_h450_CfnrDivertedLegFailedArg, CfnrDivertedLegFailedArg_choice, NULL); @@ -2606,33 +2604,33 @@ static const per_choice_t MixedExtension_choice[] = { }; static int -dissect_h450_MixedExtension(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_h450_MixedExtension(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_h450_MixedExtension, MixedExtension_choice, NULL); return offset; } -static int dissect_extensionArg_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_MixedExtension(tvb, offset, pinfo, tree, hf_h450_extensionArg_item); +static int dissect_extensionArg_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_MixedExtension(tvb, offset, actx, tree, hf_h450_extensionArg_item); } -static int dissect_extensionRes_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_MixedExtension(tvb, offset, pinfo, tree, hf_h450_extensionRes_item); +static int dissect_extensionRes_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_MixedExtension(tvb, offset, actx, tree, hf_h450_extensionRes_item); } -static int dissect_MwiDummyRes_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_MixedExtension(tvb, offset, pinfo, tree, hf_h450_MwiDummyRes_item); +static int dissect_MwiDummyRes_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_MixedExtension(tvb, offset, actx, tree, hf_h450_MwiDummyRes_item); } -static int dissect_ExtensionArg_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_MixedExtension(tvb, offset, pinfo, tree, hf_h450_ExtensionArg_item); +static int dissect_ExtensionArg_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_MixedExtension(tvb, offset, actx, tree, hf_h450_ExtensionArg_item); } -static int dissect_extension_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_MixedExtension(tvb, offset, pinfo, tree, hf_h450_extension_item); +static int dissect_extension_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_MixedExtension(tvb, offset, actx, tree, hf_h450_extension_item); } -static int dissect_argumentExtension_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_MixedExtension(tvb, offset, pinfo, tree, hf_h450_argumentExtension_item); +static int dissect_argumentExtension_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_MixedExtension(tvb, offset, actx, tree, hf_h450_argumentExtension_item); } -static int dissect_resultExtension_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_MixedExtension(tvb, offset, pinfo, tree, hf_h450_resultExtension_item); +static int dissect_resultExtension_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_MixedExtension(tvb, offset, actx, tree, hf_h450_resultExtension_item); } @@ -2641,126 +2639,126 @@ static const per_sequence_t SEQUENCE_SIZE_0_255_OF_MixedExtension_sequence_of[1] }; static int -dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(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_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(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_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension, SEQUENCE_SIZE_0_255_OF_MixedExtension_sequence_of, 0, 255); return offset; } -static int dissect_holdNotificArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_holdNotificArg_extensionArg); +static int dissect_holdNotificArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_holdNotificArg_extensionArg); } -static int dissect_retrieveNotificArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_retrieveNotificArg_extensionArg); +static int dissect_retrieveNotificArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_retrieveNotificArg_extensionArg); } -static int dissect_remoteHoldArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_remoteHoldArg_extensionArg); +static int dissect_remoteHoldArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_remoteHoldArg_extensionArg); } -static int dissect_extensionRes(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_extensionRes); +static int dissect_extensionRes(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_extensionRes); } -static int dissect_remoteRetrieveArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_remoteRetrieveArg_extensionArg); +static int dissect_remoteRetrieveArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_remoteRetrieveArg_extensionArg); } -static int dissect_cpRequestArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cpRequestArg_extensionArg); +static int dissect_cpRequestArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cpRequestArg_extensionArg); } -static int dissect_cpSetupArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cpSetupArg_extensionArg); +static int dissect_cpSetupArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cpSetupArg_extensionArg); } -static int dissect_groupIndicationOnArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_groupIndicationOnArg_extensionArg); +static int dissect_groupIndicationOnArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_groupIndicationOnArg_extensionArg); } -static int dissect_groupIndicationOffArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_groupIndicationOffArg_extensionArg); +static int dissect_groupIndicationOffArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_groupIndicationOffArg_extensionArg); } -static int dissect_pickrequArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_pickrequArg_extensionArg); +static int dissect_pickrequArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_pickrequArg_extensionArg); } -static int dissect_pickupArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_pickupArg_extensionArg); +static int dissect_pickupArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_pickupArg_extensionArg); } -static int dissect_pickExeArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_pickExeArg_extensionArg); +static int dissect_pickExeArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_pickExeArg_extensionArg); } -static int dissect_cpNotifyArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cpNotifyArg_extensionArg); +static int dissect_cpNotifyArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cpNotifyArg_extensionArg); } -static int dissect_cpickupNotifyArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cpickupNotifyArg_extensionArg); +static int dissect_cpickupNotifyArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cpickupNotifyArg_extensionArg); } -static int dissect_callWaitingArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_callWaitingArg_extensionArg); +static int dissect_callWaitingArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_callWaitingArg_extensionArg); } -static int dissect_nameArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_nameArg_extensionArg); +static int dissect_nameArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_nameArg_extensionArg); } -static int dissect_ccRequestArg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_ccRequestArg_extension); +static int dissect_ccRequestArg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_ccRequestArg_extension); } -static int dissect_ccRequestRes_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_ccRequestRes_extension); +static int dissect_ccRequestRes_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_ccRequestRes_extension); } -static int dissect_ccShortArg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_ccShortArg_extension); +static int dissect_ccShortArg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_ccShortArg_extension); } -static int dissect_ccLongArg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_ccLongArg_extension); +static int dissect_ccLongArg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_ccLongArg_extension); } -static int dissect_coReqOptArg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_coReqOptArg_extension); +static int dissect_coReqOptArg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_coReqOptArg_extension); } -static int dissect_rUAlertOptArg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_rUAlertOptArg_extension); +static int dissect_rUAlertOptArg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_rUAlertOptArg_extension); } -static int dissect_cfbOvrOptArg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cfbOvrOptArg_extension); +static int dissect_cfbOvrOptArg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cfbOvrOptArg_extension); } -static int dissect_cIRequestArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cIRequestArg_argumentExtension); +static int dissect_cIRequestArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cIRequestArg_argumentExtension); } -static int dissect_cIRequestRes_resultExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cIRequestRes_resultExtension); +static int dissect_cIRequestRes_resultExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cIRequestRes_resultExtension); } -static int dissect_cIGetCIPLOptArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cIGetCIPLOptArg_argumentExtension); +static int dissect_cIGetCIPLOptArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cIGetCIPLOptArg_argumentExtension); } -static int dissect_cIGetCIPLRes_resultExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cIGetCIPLRes_resultExtension); +static int dissect_cIGetCIPLRes_resultExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cIGetCIPLRes_resultExtension); } -static int dissect_cIIsOptArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cIIsOptArg_argumentExtension); +static int dissect_cIIsOptArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cIIsOptArg_argumentExtension); } -static int dissect_cIIsOptRes_resultExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cIIsOptRes_resultExtension); +static int dissect_cIIsOptRes_resultExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cIIsOptRes_resultExtension); } -static int dissect_cIFrcRelArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cIFrcRelArg_argumentExtension); +static int dissect_cIFrcRelArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cIFrcRelArg_argumentExtension); } -static int dissect_cIFrcRelOptRes_resultExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cIFrcRelOptRes_resultExtension); +static int dissect_cIFrcRelOptRes_resultExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cIFrcRelOptRes_resultExtension); } -static int dissect_cIWobOptArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cIWobOptArg_argumentExtension); +static int dissect_cIWobOptArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cIWobOptArg_argumentExtension); } -static int dissect_cIWobOptRes_resultExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cIWobOptRes_resultExtension); +static int dissect_cIWobOptRes_resultExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cIWobOptRes_resultExtension); } -static int dissect_cISilentArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cISilentArg_argumentExtension); +static int dissect_cISilentArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cISilentArg_argumentExtension); } -static int dissect_cISilentOptRes_resultExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cISilentOptRes_resultExtension); +static int dissect_cISilentOptRes_resultExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cISilentOptRes_resultExtension); } -static int dissect_cINotificationArg_argumentExtension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cINotificationArg_argumentExtension); +static int dissect_cINotificationArg_argumentExtension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cINotificationArg_argumentExtension); } -static int dissect_cmnArg_extension(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cmnArg_extension); +static int dissect_cmnArg_extension(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cmnArg_extension); } -static int dissect_cmnRequestArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, pinfo, tree, hf_h450_cmnRequestArg_extensionArg); +static int dissect_cmnRequestArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SEQUENCE_SIZE_0_255_OF_MixedExtension(tvb, offset, actx, tree, hf_h450_cmnRequestArg_extensionArg); } @@ -2770,8 +2768,8 @@ static const per_sequence_t HoldNotificArg_sequence[] = { }; static int -dissect_h450_HoldNotificArg(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_h450_HoldNotificArg(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_h450_HoldNotificArg, HoldNotificArg_sequence); return offset; @@ -2784,8 +2782,8 @@ static const per_sequence_t RetrieveNotificArg_sequence[] = { }; static int -dissect_h450_RetrieveNotificArg(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_h450_RetrieveNotificArg(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_h450_RetrieveNotificArg, RetrieveNotificArg_sequence); return offset; @@ -2798,8 +2796,8 @@ static const per_sequence_t RemoteHoldArg_sequence[] = { }; static int -dissect_h450_RemoteHoldArg(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_h450_RemoteHoldArg(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_h450_RemoteHoldArg, RemoteHoldArg_sequence); return offset; @@ -2812,8 +2810,8 @@ static const per_sequence_t RemoteHoldRes_sequence[] = { }; static int -dissect_h450_RemoteHoldRes(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_h450_RemoteHoldRes(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_h450_RemoteHoldRes, RemoteHoldRes_sequence); return offset; @@ -2826,8 +2824,8 @@ static const per_sequence_t RemoteRetrieveArg_sequence[] = { }; static int -dissect_h450_RemoteRetrieveArg(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_h450_RemoteRetrieveArg(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_h450_RemoteRetrieveArg, RemoteRetrieveArg_sequence); return offset; @@ -2840,8 +2838,8 @@ static const per_sequence_t RemoteRetrieveRes_sequence[] = { }; static int -dissect_h450_RemoteRetrieveRes(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_h450_RemoteRetrieveRes(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_h450_RemoteRetrieveRes, RemoteRetrieveRes_sequence); return offset; @@ -2850,17 +2848,17 @@ dissect_h450_RemoteRetrieveRes(tvbuff_t *tvb, int offset, packet_info *pinfo _U_ static int -dissect_h450_ParkedToPosition(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_h450_ParkedToPosition(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_parkedToPosition(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ParkedToPosition(tvb, offset, pinfo, tree, hf_h450_parkedToPosition); +static int dissect_parkedToPosition(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ParkedToPosition(tvb, offset, actx, tree, hf_h450_parkedToPosition); } -static int dissect_parkPosition(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ParkedToPosition(tvb, offset, pinfo, tree, hf_h450_parkPosition); +static int dissect_parkPosition(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ParkedToPosition(tvb, offset, actx, tree, hf_h450_parkPosition); } @@ -2874,8 +2872,8 @@ static const per_sequence_t CpRequestArg_sequence[] = { }; static int -dissect_h450_CpRequestArg(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_h450_CpRequestArg(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_h450_CpRequestArg, CpRequestArg_sequence); return offset; @@ -2892,14 +2890,14 @@ static const value_string h450_ParkCondition_vals[] = { static int -dissect_h450_ParkCondition(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 4, NULL, NULL, TRUE, 0, NULL); +dissect_h450_ParkCondition(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 4, NULL, TRUE, 0, NULL); return offset; } -static int dissect_parkCondition(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ParkCondition(tvb, offset, pinfo, tree, hf_h450_parkCondition); +static int dissect_parkCondition(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ParkCondition(tvb, offset, actx, tree, hf_h450_parkCondition); } @@ -2912,8 +2910,8 @@ static const per_sequence_t CpRequestRes_sequence[] = { }; static int -dissect_h450_CpRequestRes(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_h450_CpRequestRes(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_h450_CpRequestRes, CpRequestRes_sequence); return offset; @@ -2930,8 +2928,8 @@ static const per_sequence_t CpSetupArg_sequence[] = { }; static int -dissect_h450_CpSetupArg(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_h450_CpSetupArg(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_h450_CpSetupArg, CpSetupArg_sequence); return offset; @@ -2947,8 +2945,8 @@ static const per_sequence_t CpSetupRes_sequence[] = { }; static int -dissect_h450_CpSetupRes(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_h450_CpSetupRes(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_h450_CpSetupRes, CpSetupRes_sequence); return offset; @@ -2963,14 +2961,14 @@ static const value_string h450_CallType_vals[] = { static int -dissect_h450_CallType(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 2, NULL, NULL, TRUE, 0, NULL); +dissect_h450_CallType(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 2, NULL, TRUE, 0, NULL); return offset; } -static int dissect_retrieveCallType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_CallType(tvb, offset, pinfo, tree, hf_h450_retrieveCallType); +static int dissect_retrieveCallType(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_CallType(tvb, offset, actx, tree, hf_h450_retrieveCallType); } @@ -2986,8 +2984,8 @@ static const per_sequence_t GroupIndicationOnArg_sequence[] = { }; static int -dissect_h450_GroupIndicationOnArg(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_h450_GroupIndicationOnArg(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_h450_GroupIndicationOnArg, GroupIndicationOnArg_sequence); return offset; @@ -3000,8 +2998,8 @@ static const per_sequence_t GroupIndicationOnRes_sequence[] = { }; static int -dissect_h450_GroupIndicationOnRes(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_h450_GroupIndicationOnRes(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_h450_GroupIndicationOnRes, GroupIndicationOnRes_sequence); return offset; @@ -3016,8 +3014,8 @@ static const per_sequence_t GroupIndicationOffArg_sequence[] = { }; static int -dissect_h450_GroupIndicationOffArg(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_h450_GroupIndicationOffArg(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_h450_GroupIndicationOffArg, GroupIndicationOffArg_sequence); return offset; @@ -3030,8 +3028,8 @@ static const per_sequence_t GroupIndicationOffRes_sequence[] = { }; static int -dissect_h450_GroupIndicationOffRes(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_h450_GroupIndicationOffRes(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_h450_GroupIndicationOffRes, GroupIndicationOffRes_sequence); return offset; @@ -3049,8 +3047,8 @@ static const per_sequence_t PickrequArg_sequence[] = { }; static int -dissect_h450_PickrequArg(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_h450_PickrequArg(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_h450_PickrequArg, PickrequArg_sequence); return offset; @@ -3064,8 +3062,8 @@ static const per_sequence_t PickrequRes_sequence[] = { }; static int -dissect_h450_PickrequRes(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_h450_PickrequRes(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_h450_PickrequRes, PickrequRes_sequence); return offset; @@ -3080,8 +3078,8 @@ static const per_sequence_t PickupArg_sequence[] = { }; static int -dissect_h450_PickupArg(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_h450_PickupArg(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_h450_PickupArg, PickupArg_sequence); return offset; @@ -3094,8 +3092,8 @@ static const per_sequence_t PickupRes_sequence[] = { }; static int -dissect_h450_PickupRes(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_h450_PickupRes(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_h450_PickupRes, PickupRes_sequence); return offset; @@ -3111,8 +3109,8 @@ static const per_sequence_t PickExeArg_sequence[] = { }; static int -dissect_h450_PickExeArg(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_h450_PickExeArg(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_h450_PickExeArg, PickExeArg_sequence); return offset; @@ -3125,8 +3123,8 @@ static const per_sequence_t PickExeRes_sequence[] = { }; static int -dissect_h450_PickExeRes(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_h450_PickExeRes(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_h450_PickExeRes, PickExeRes_sequence); return offset; @@ -3140,8 +3138,8 @@ static const per_sequence_t CpNotifyArg_sequence[] = { }; static int -dissect_h450_CpNotifyArg(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_h450_CpNotifyArg(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_h450_CpNotifyArg, CpNotifyArg_sequence); return offset; @@ -3155,8 +3153,8 @@ static const per_sequence_t CpickupNotifyArg_sequence[] = { }; static int -dissect_h450_CpickupNotifyArg(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_h450_CpickupNotifyArg(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_h450_CpickupNotifyArg, CpickupNotifyArg_sequence); return offset; @@ -3165,14 +3163,14 @@ dissect_h450_CpickupNotifyArg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, static int -dissect_h450_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_h450_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_nbOfAddWaitingCalls(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_INTEGER_0_255(tvb, offset, pinfo, tree, hf_h450_nbOfAddWaitingCalls); +static int dissect_nbOfAddWaitingCalls(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_INTEGER_0_255(tvb, offset, actx, tree, hf_h450_nbOfAddWaitingCalls); } @@ -3183,8 +3181,8 @@ static const per_sequence_t CallWaitingArg_sequence[] = { }; static int -dissect_h450_CallWaitingArg(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_h450_CallWaitingArg(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_h450_CallWaitingArg, CallWaitingArg_sequence); return offset; @@ -3193,27 +3191,27 @@ dissect_h450_CallWaitingArg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, p static int -dissect_h450_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_h450_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_integer(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_INTEGER_0_65535(tvb, offset, pinfo, tree, hf_h450_integer); +static int dissect_integer(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_INTEGER_0_65535(tvb, offset, actx, tree, hf_h450_integer); } static int -dissect_h450_NumericString_SIZE_1_10(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_NumericString(tvb, offset, pinfo, tree, hf_index, +dissect_h450_NumericString_SIZE_1_10(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_NumericString(tvb, offset, actx, tree, hf_index, 1, 10); return offset; } -static int dissect_numericString(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NumericString_SIZE_1_10(tvb, offset, pinfo, tree, hf_h450_numericString); +static int dissect_numericString(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NumericString_SIZE_1_10(tvb, offset, actx, tree, hf_h450_numericString); } @@ -3232,54 +3230,54 @@ static const per_choice_t MsgCentreId_choice[] = { }; static int -dissect_h450_MsgCentreId(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_h450_MsgCentreId(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_h450_MsgCentreId, MsgCentreId_choice, NULL); return offset; } -static int dissect_msgCentreId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_MsgCentreId(tvb, offset, pinfo, tree, hf_h450_msgCentreId); +static int dissect_msgCentreId(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_MsgCentreId(tvb, offset, actx, tree, hf_h450_msgCentreId); } static int -dissect_h450_NbOfMessages(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_h450_NbOfMessages(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_nbOfMessages(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NbOfMessages(tvb, offset, pinfo, tree, hf_h450_nbOfMessages); +static int dissect_nbOfMessages(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NbOfMessages(tvb, offset, actx, tree, hf_h450_nbOfMessages); } static int -dissect_h450_TimeStamp(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_VisibleString(tvb, offset, pinfo, tree, hf_index, +dissect_h450_TimeStamp(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_VisibleString(tvb, offset, actx, tree, hf_index, 12, 19); return offset; } -static int dissect_timestamp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_TimeStamp(tvb, offset, pinfo, tree, hf_h450_timestamp); +static int dissect_timestamp(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_TimeStamp(tvb, offset, actx, tree, hf_h450_timestamp); } static int -dissect_h450_INTEGER_0_9(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_index, - 0U, 9U, NULL, NULL, FALSE); +dissect_h450_INTEGER_0_9(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, + 0U, 9U, NULL, FALSE); return offset; } -static int dissect_priority(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_INTEGER_0_9(tvb, offset, pinfo, tree, hf_h450_priority); +static int dissect_priority(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_INTEGER_0_9(tvb, offset, actx, tree, hf_h450_priority); } @@ -3288,24 +3286,24 @@ static const per_sequence_t ExtensionArg_sequence_of[1] = { }; static int -dissect_h450_ExtensionArg(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_h450_ExtensionArg(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_h450_ExtensionArg, ExtensionArg_sequence_of, 0, 255); return offset; } -static int dissect_mWIActivateArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ExtensionArg(tvb, offset, pinfo, tree, hf_h450_mWIActivateArg_extensionArg); +static int dissect_mWIActivateArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ExtensionArg(tvb, offset, actx, tree, hf_h450_mWIActivateArg_extensionArg); } -static int dissect_mWIDeactivateArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ExtensionArg(tvb, offset, pinfo, tree, hf_h450_mWIDeactivateArg_extensionArg); +static int dissect_mWIDeactivateArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ExtensionArg(tvb, offset, actx, tree, hf_h450_mWIDeactivateArg_extensionArg); } -static int dissect_mWIInterrogateArg_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ExtensionArg(tvb, offset, pinfo, tree, hf_h450_mWIInterrogateArg_extensionArg); +static int dissect_mWIInterrogateArg_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ExtensionArg(tvb, offset, actx, tree, hf_h450_mWIInterrogateArg_extensionArg); } -static int dissect_mWIInterrogateResElt_extensionArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ExtensionArg(tvb, offset, pinfo, tree, hf_h450_mWIInterrogateResElt_extensionArg); +static int dissect_mWIInterrogateResElt_extensionArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ExtensionArg(tvb, offset, actx, tree, hf_h450_mWIInterrogateResElt_extensionArg); } @@ -3322,8 +3320,8 @@ static const per_sequence_t MWIActivateArg_sequence[] = { }; static int -dissect_h450_MWIActivateArg(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_h450_MWIActivateArg(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_h450_MWIActivateArg, MWIActivateArg_sequence); return offset; @@ -3332,8 +3330,8 @@ dissect_h450_MWIActivateArg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, p static int -dissect_h450_MwiActivate(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_MWIActivateArg(tvb, offset, pinfo, tree, hf_index); +dissect_h450_MwiActivate(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_MWIActivateArg(tvb, offset, actx, tree, hf_index); return offset; } @@ -3349,8 +3347,8 @@ static const per_sequence_t MWIDeactivateArg_sequence[] = { }; static int -dissect_h450_MWIDeactivateArg(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_h450_MWIDeactivateArg(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_h450_MWIDeactivateArg, MWIDeactivateArg_sequence); return offset; @@ -3359,8 +3357,8 @@ dissect_h450_MWIDeactivateArg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, static int -dissect_h450_MwiDeactivate(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_MWIDeactivateArg(tvb, offset, pinfo, tree, hf_index); +dissect_h450_MwiDeactivate(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_MWIDeactivateArg(tvb, offset, actx, tree, hf_index); return offset; } @@ -3376,8 +3374,8 @@ static const per_sequence_t MWIInterrogateArg_sequence[] = { }; static int -dissect_h450_MWIInterrogateArg(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_h450_MWIInterrogateArg(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_h450_MWIInterrogateArg, MWIInterrogateArg_sequence); return offset; @@ -3386,8 +3384,8 @@ dissect_h450_MWIInterrogateArg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_ static int -dissect_h450_MwiInterrogate(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_h450_MWIInterrogateArg(tvb, offset, pinfo, tree, hf_index); +dissect_h450_MwiInterrogate(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_h450_MWIInterrogateArg(tvb, offset, actx, tree, hf_index); return offset; } @@ -3398,8 +3396,8 @@ static const per_sequence_t MwiDummyRes_sequence_of[1] = { }; static int -dissect_h450_MwiDummyRes(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_h450_MwiDummyRes(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_h450_MwiDummyRes, MwiDummyRes_sequence_of, 0, 255); @@ -3419,14 +3417,14 @@ static const per_sequence_t MWIInterrogateResElt_sequence[] = { }; static int -dissect_h450_MWIInterrogateResElt(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_h450_MWIInterrogateResElt(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_h450_MWIInterrogateResElt, MWIInterrogateResElt_sequence); return offset; } -static int dissect_MWIInterrogateRes_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_MWIInterrogateResElt(tvb, offset, pinfo, tree, hf_h450_MWIInterrogateRes_item); +static int dissect_MWIInterrogateRes_item(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_MWIInterrogateResElt(tvb, offset, actx, tree, hf_h450_MWIInterrogateRes_item); } @@ -3435,8 +3433,8 @@ static const per_sequence_t MWIInterrogateRes_sequence_of[1] = { }; static int -dissect_h450_MWIInterrogateRes(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_h450_MWIInterrogateRes(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_h450_MWIInterrogateRes, MWIInterrogateRes_sequence_of, 1, 64); @@ -3446,27 +3444,27 @@ dissect_h450_MWIInterrogateRes(tvbuff_t *tvb, int offset, packet_info *pinfo _U_ static int -dissect_h450_SimpleName(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_h450_SimpleName(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, 50, NULL); return offset; } -static int dissect_simpleName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SimpleName(tvb, offset, pinfo, tree, hf_h450_simpleName); +static int dissect_simpleName(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SimpleName(tvb, offset, actx, tree, hf_h450_simpleName); } static int -dissect_h450_ExtendedName(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_BMPString(tvb, offset, pinfo, tree, hf_index, +dissect_h450_ExtendedName(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_BMPString(tvb, offset, actx, tree, hf_index, 1, 256); return offset; } -static int dissect_extendedName(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_ExtendedName(tvb, offset, pinfo, tree, hf_h450_extendedName); +static int dissect_extendedName(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_ExtendedName(tvb, offset, actx, tree, hf_h450_extendedName); } @@ -3483,15 +3481,15 @@ static const per_choice_t NamePresentationAllowed_choice[] = { }; static int -dissect_h450_NamePresentationAllowed(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_h450_NamePresentationAllowed(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_h450_NamePresentationAllowed, NamePresentationAllowed_choice, NULL); return offset; } -static int dissect_namePresentationAllowed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NamePresentationAllowed(tvb, offset, pinfo, tree, hf_h450_namePresentationAllowed); +static int dissect_namePresentationAllowed(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NamePresentationAllowed(tvb, offset, actx, tree, hf_h450_namePresentationAllowed); } @@ -3510,15 +3508,15 @@ static const per_choice_t NamePresentationRestricted_choice[] = { }; static int -dissect_h450_NamePresentationRestricted(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_h450_NamePresentationRestricted(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_h450_NamePresentationRestricted, NamePresentationRestricted_choice, NULL); return offset; } -static int dissect_namePresentationRestricted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_NamePresentationRestricted(tvb, offset, pinfo, tree, hf_h450_namePresentationRestricted); +static int dissect_namePresentationRestricted(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_NamePresentationRestricted(tvb, offset, actx, tree, hf_h450_namePresentationRestricted); } @@ -3537,15 +3535,15 @@ static const per_choice_t Name_choice[] = { }; static int -dissect_h450_Name(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_h450_Name(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_h450_Name, Name_choice, NULL); return offset; } -static int dissect_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_Name(tvb, offset, pinfo, tree, hf_h450_name); +static int dissect_name(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_Name(tvb, offset, actx, tree, hf_h450_name); } @@ -3556,8 +3554,8 @@ static const per_sequence_t NameArg_sequence[] = { }; static int -dissect_h450_NameArg(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_h450_NameArg(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_h450_NameArg, NameArg_sequence); return offset; @@ -3576,8 +3574,8 @@ static const per_sequence_t CcRequestArg_sequence[] = { }; static int -dissect_h450_CcRequestArg(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_h450_CcRequestArg(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_h450_CcRequestArg, CcRequestArg_sequence); return offset; @@ -3591,8 +3589,8 @@ static const per_sequence_t CcRequestRes_sequence[] = { }; static int -dissect_h450_CcRequestRes(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_h450_CcRequestRes(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_h450_CcRequestRes, CcRequestRes_sequence); return offset; @@ -3606,14 +3604,14 @@ static const per_sequence_t CcShortArg_sequence[] = { }; static int -dissect_h450_CcShortArg(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_h450_CcShortArg(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_h450_CcShortArg, CcShortArg_sequence); return offset; } -static int dissect_shortArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_CcShortArg(tvb, offset, pinfo, tree, hf_h450_shortArg); +static int dissect_shortArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_CcShortArg(tvb, offset, actx, tree, hf_h450_shortArg); } @@ -3627,14 +3625,14 @@ static const per_sequence_t CcLongArg_sequence[] = { }; static int -dissect_h450_CcLongArg(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_h450_CcLongArg(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_h450_CcLongArg, CcLongArg_sequence); return offset; } -static int dissect_longArg(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_CcLongArg(tvb, offset, pinfo, tree, hf_h450_longArg); +static int dissect_longArg(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_CcLongArg(tvb, offset, actx, tree, hf_h450_longArg); } @@ -3651,8 +3649,8 @@ static const per_choice_t CcArg_choice[] = { }; static int -dissect_h450_CcArg(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_h450_CcArg(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_h450_CcArg, CcArg_choice, NULL); @@ -3666,8 +3664,8 @@ static const per_sequence_t CoReqOptArg_sequence[] = { }; static int -dissect_h450_CoReqOptArg(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_h450_CoReqOptArg(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_h450_CoReqOptArg, CoReqOptArg_sequence); return offset; @@ -3680,8 +3678,8 @@ static const per_sequence_t RUAlertOptArg_sequence[] = { }; static int -dissect_h450_RUAlertOptArg(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_h450_RUAlertOptArg(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_h450_RUAlertOptArg, RUAlertOptArg_sequence); return offset; @@ -3694,8 +3692,8 @@ static const per_sequence_t CfbOvrOptArg_sequence[] = { }; static int -dissect_h450_CfbOvrOptArg(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_h450_CfbOvrOptArg(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_h450_CfbOvrOptArg, CfbOvrOptArg_sequence); return offset; @@ -3711,14 +3709,14 @@ static const value_string h450_CICapabilityLevel_vals[] = { static int -dissect_h450_CICapabilityLevel(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_h450_CICapabilityLevel(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_ciCapabilityLevel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_CICapabilityLevel(tvb, offset, pinfo, tree, hf_h450_ciCapabilityLevel); +static int dissect_ciCapabilityLevel(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_CICapabilityLevel(tvb, offset, actx, tree, hf_h450_ciCapabilityLevel); } @@ -3729,8 +3727,8 @@ static const per_sequence_t CIRequestArg_sequence[] = { }; static int -dissect_h450_CIRequestArg(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_h450_CIRequestArg(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_h450_CIRequestArg, CIRequestArg_sequence); return offset; @@ -3758,15 +3756,15 @@ static const per_choice_t CIStatusInformation_choice[] = { }; static int -dissect_h450_CIStatusInformation(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_h450_CIStatusInformation(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_h450_CIStatusInformation, CIStatusInformation_choice, NULL); return offset; } -static int dissect_ciStatusInformation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_CIStatusInformation(tvb, offset, pinfo, tree, hf_h450_ciStatusInformation); +static int dissect_ciStatusInformation(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_CIStatusInformation(tvb, offset, actx, tree, hf_h450_ciStatusInformation); } @@ -3777,8 +3775,8 @@ static const per_sequence_t CIRequestRes_sequence[] = { }; static int -dissect_h450_CIRequestRes(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_h450_CIRequestRes(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_h450_CIRequestRes, CIRequestRes_sequence); return offset; @@ -3791,8 +3789,8 @@ static const per_sequence_t CIGetCIPLOptArg_sequence[] = { }; static int -dissect_h450_CIGetCIPLOptArg(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_h450_CIGetCIPLOptArg(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_h450_CIGetCIPLOptArg, CIGetCIPLOptArg_sequence); return offset; @@ -3809,14 +3807,14 @@ static const value_string h450_CIProtectionLevel_vals[] = { static int -dissect_h450_CIProtectionLevel(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_h450_CIProtectionLevel(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_ciProtectionLevel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_CIProtectionLevel(tvb, offset, pinfo, tree, hf_h450_ciProtectionLevel); +static int dissect_ciProtectionLevel(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_CIProtectionLevel(tvb, offset, actx, tree, hf_h450_ciProtectionLevel); } @@ -3828,8 +3826,8 @@ static const per_sequence_t CIGetCIPLRes_sequence[] = { }; static int -dissect_h450_CIGetCIPLRes(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_h450_CIGetCIPLRes(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_h450_CIGetCIPLRes, CIGetCIPLRes_sequence); return offset; @@ -3842,8 +3840,8 @@ static const per_sequence_t CIIsOptArg_sequence[] = { }; static int -dissect_h450_CIIsOptArg(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_h450_CIIsOptArg(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_h450_CIIsOptArg, CIIsOptArg_sequence); return offset; @@ -3856,8 +3854,8 @@ static const per_sequence_t CIIsOptRes_sequence[] = { }; static int -dissect_h450_CIIsOptRes(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_h450_CIIsOptRes(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_h450_CIIsOptRes, CIIsOptRes_sequence); return offset; @@ -3871,8 +3869,8 @@ static const per_sequence_t CIFrcRelArg_sequence[] = { }; static int -dissect_h450_CIFrcRelArg(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_h450_CIFrcRelArg(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_h450_CIFrcRelArg, CIFrcRelArg_sequence); return offset; @@ -3885,8 +3883,8 @@ static const per_sequence_t CIFrcRelOptRes_sequence[] = { }; static int -dissect_h450_CIFrcRelOptRes(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_h450_CIFrcRelOptRes(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_h450_CIFrcRelOptRes, CIFrcRelOptRes_sequence); return offset; @@ -3899,8 +3897,8 @@ static const per_sequence_t CIWobOptArg_sequence[] = { }; static int -dissect_h450_CIWobOptArg(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_h450_CIWobOptArg(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_h450_CIWobOptArg, CIWobOptArg_sequence); return offset; @@ -3913,8 +3911,8 @@ static const per_sequence_t CIWobOptRes_sequence[] = { }; static int -dissect_h450_CIWobOptRes(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_h450_CIWobOptRes(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_h450_CIWobOptRes, CIWobOptRes_sequence); return offset; @@ -3929,8 +3927,8 @@ static const per_sequence_t CISilentArg_sequence[] = { }; static int -dissect_h450_CISilentArg(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_h450_CISilentArg(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_h450_CISilentArg, CISilentArg_sequence); return offset; @@ -3943,8 +3941,8 @@ static const per_sequence_t CISilentOptRes_sequence[] = { }; static int -dissect_h450_CISilentOptRes(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_h450_CISilentOptRes(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_h450_CISilentOptRes, CISilentOptRes_sequence); return offset; @@ -3958,8 +3956,8 @@ static const per_sequence_t CINotificationArg_sequence[] = { }; static int -dissect_h450_CINotificationArg(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_h450_CINotificationArg(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_h450_CINotificationArg, CINotificationArg_sequence); return offset; @@ -3984,14 +3982,14 @@ static const per_sequence_t FeatureList_sequence[] = { }; static int -dissect_h450_FeatureList(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_h450_FeatureList(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_h450_FeatureList, FeatureList_sequence); return offset; } -static int dissect_featureList(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_FeatureList(tvb, offset, pinfo, tree, hf_h450_featureList); +static int dissect_featureList(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_FeatureList(tvb, offset, actx, tree, hf_h450_featureList); } @@ -4005,27 +4003,27 @@ static const value_string h450_PartyCategory_vals[] = { static int -dissect_h450_PartyCategory(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_enumerated(tvb, offset, pinfo, tree, hf_index, - 4, NULL, NULL, TRUE, 0, NULL); +dissect_h450_PartyCategory(tvbuff_t *tvb, int offset, asn_ctx_t *actx _U_, proto_tree *tree, int hf_index) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 4, NULL, TRUE, 0, NULL); return offset; } -static int dissect_partyCategory(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_PartyCategory(tvb, offset, pinfo, tree, hf_h450_partyCategory); +static int dissect_partyCategory(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_PartyCategory(tvb, offset, actx, tree, hf_h450_partyCategory); } static int -dissect_h450_SSCIProtectionLevel(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_h450_SSCIProtectionLevel(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_ssCIprotectionLevel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_SSCIProtectionLevel(tvb, offset, pinfo, tree, hf_h450_ssCIprotectionLevel); +static int dissect_ssCIprotectionLevel(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_SSCIProtectionLevel(tvb, offset, actx, tree, hf_h450_ssCIprotectionLevel); } @@ -4036,14 +4034,14 @@ static const per_sequence_t FeatureValues_sequence[] = { }; static int -dissect_h450_FeatureValues(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_h450_FeatureValues(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_h450_FeatureValues, FeatureValues_sequence); return offset; } -static int dissect_featureValues(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_FeatureValues(tvb, offset, pinfo, tree, hf_h450_featureValues); +static int dissect_featureValues(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_FeatureValues(tvb, offset, actx, tree, hf_h450_featureValues); } @@ -4056,14 +4054,14 @@ static const per_sequence_t FeatureControl_sequence[] = { }; static int -dissect_h450_FeatureControl(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_h450_FeatureControl(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_h450_FeatureControl, FeatureControl_sequence); return offset; } -static int dissect_featureControl(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - return dissect_h450_FeatureControl(tvb, offset, pinfo, tree, hf_h450_featureControl); +static int dissect_featureControl(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { + return dissect_h450_FeatureControl(tvb, offset, actx, tree, hf_h450_featureControl); } @@ -4076,8 +4074,8 @@ static const per_sequence_t CmnArg_sequence[] = { }; static int -dissect_h450_CmnArg(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_h450_CmnArg(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_h450_CmnArg, CmnArg_sequence); return offset; @@ -4090,8 +4088,8 @@ static const per_sequence_t CmnRequestArg_sequence[] = { }; static int -dissect_h450_CmnRequestArg(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_h450_CmnRequestArg(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_h450_CmnRequestArg, CmnRequestArg_sequence); return offset; @@ -4111,8 +4109,8 @@ static const per_choice_t Unspecified_choice[] = { }; static int -dissect_h450_Unspecified(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_h450_Unspecified(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_h450_Unspecified, Unspecified_choice, NULL); @@ -4122,60 +4120,74 @@ dissect_h450_Unspecified(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, prot /*--- PDUs ---*/ static void dissect_CallTransferIdentify_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_CallTransferIdentify(tvb, 0, pinfo, tree, hf_h450_CallTransferIdentify_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_CallTransferIdentify(tvb, 0, &asn_ctx, tree, hf_h450_CallTransferIdentify_PDU); } static void dissect_CallTransferAbandon_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_CallTransferAbandon(tvb, 0, pinfo, tree, hf_h450_CallTransferAbandon_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_CallTransferAbandon(tvb, 0, &asn_ctx, tree, hf_h450_CallTransferAbandon_PDU); } static void dissect_CallTransferInitiate_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_CallTransferInitiate(tvb, 0, pinfo, tree, hf_h450_CallTransferInitiate_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_CallTransferInitiate(tvb, 0, &asn_ctx, tree, hf_h450_CallTransferInitiate_PDU); } static void dissect_CallTransferSetup_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_CallTransferSetup(tvb, 0, pinfo, tree, hf_h450_CallTransferSetup_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_CallTransferSetup(tvb, 0, &asn_ctx, tree, hf_h450_CallTransferSetup_PDU); } static void dissect_CallTransferUpdate_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_CallTransferUpdate(tvb, 0, pinfo, tree, hf_h450_CallTransferUpdate_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_CallTransferUpdate(tvb, 0, &asn_ctx, tree, hf_h450_CallTransferUpdate_PDU); } static void dissect_SubaddressTransfer_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_SubaddressTransfer(tvb, 0, pinfo, tree, hf_h450_SubaddressTransfer_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_SubaddressTransfer(tvb, 0, &asn_ctx, tree, hf_h450_SubaddressTransfer_PDU); } static void dissect_CallTransferComplete_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_CallTransferComplete(tvb, 0, pinfo, tree, hf_h450_CallTransferComplete_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_CallTransferComplete(tvb, 0, &asn_ctx, tree, hf_h450_CallTransferComplete_PDU); } static void dissect_CallTransferActive_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_CallTransferActive(tvb, 0, pinfo, tree, hf_h450_CallTransferActive_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_CallTransferActive(tvb, 0, &asn_ctx, tree, hf_h450_CallTransferActive_PDU); } static void dissect_ActivateDiversionQArg_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_ActivateDiversionQArg(tvb, 0, pinfo, tree, hf_h450_ActivateDiversionQArg_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_ActivateDiversionQArg(tvb, 0, &asn_ctx, tree, hf_h450_ActivateDiversionQArg_PDU); } static void dissect_ActivateDiversionQRes_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_ActivateDiversionQRes(tvb, 0, pinfo, tree, hf_h450_ActivateDiversionQRes_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_ActivateDiversionQRes(tvb, 0, &asn_ctx, tree, hf_h450_ActivateDiversionQRes_PDU); } static void dissect_DeactivateDiversionQRes_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_DeactivateDiversionQRes(tvb, 0, pinfo, tree, hf_h450_DeactivateDiversionQRes_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_DeactivateDiversionQRes(tvb, 0, &asn_ctx, tree, hf_h450_DeactivateDiversionQRes_PDU); } static void dissect_InterrogateDiversionQRes_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_InterrogateDiversionQRes(tvb, 0, pinfo, tree, hf_h450_InterrogateDiversionQRes_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_InterrogateDiversionQRes(tvb, 0, &asn_ctx, tree, hf_h450_InterrogateDiversionQRes_PDU); } static void dissect_CheckRestrictionRes_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_CheckRestrictionRes(tvb, 0, pinfo, tree, hf_h450_CheckRestrictionRes_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_CheckRestrictionRes(tvb, 0, &asn_ctx, tree, hf_h450_CheckRestrictionRes_PDU); } static void dissect_CallReroutingRes_PDU(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - per_aligment_type_callback(TRUE); - dissect_h450_CallReroutingRes(tvb, 0, pinfo, tree, hf_h450_CallReroutingRes_PDU); + asn_ctx_t asn_ctx; + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_CallReroutingRes(tvb, 0, &asn_ctx, tree, hf_h450_CallReroutingRes_PDU); } @@ -4194,9 +4206,9 @@ static const value_string InvokeProblem_vals[] = { { 0, NULL } }; static int -dissect_h4501_InvokeProblem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_InvokeProblem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_h4501_InvokeProblem, 0, 7, NULL, NULL, FALSE); + offset=dissect_per_constrained_integer(tvb, offset, actx, tree, hf_h4501_InvokeProblem, 0, 7, NULL, FALSE); return offset; } @@ -4208,9 +4220,9 @@ static const value_string ReturnResultProblem_vals[] = { { 0, NULL } }; static int -dissect_h4501_ReturnResultProblem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_ReturnResultProblem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_h4501_ReturnResultProblem, 0, 2, NULL, NULL, FALSE); + offset=dissect_per_constrained_integer(tvb, offset, actx, tree, hf_h4501_ReturnResultProblem, 0, 2, NULL, FALSE); return offset; } @@ -4224,9 +4236,9 @@ static const value_string ReturnErrorProblem_vals[] = { { 0, NULL } }; static int -dissect_h4501_ReturnErrorProblem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_ReturnErrorProblem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_h4501_ReturnErrorProblem, 0, 4, NULL, NULL, FALSE); + offset=dissect_per_constrained_integer(tvb, offset, actx, tree, hf_h4501_ReturnErrorProblem, 0, 4, NULL, FALSE); return offset; } @@ -4237,56 +4249,56 @@ static const value_string GeneralProblem_vals[] = { { 0, NULL } }; static int -dissect_h4501_GeneralProblem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_GeneralProblem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_h4501_GeneralProblem, 0, 2, NULL, NULL, FALSE); + offset=dissect_per_constrained_integer(tvb, offset, actx, tree, hf_h4501_GeneralProblem, 0, 2, NULL, FALSE); return offset; } static int -dissect_h4501_ReturnResult_result(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_ReturnResult_result(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { tvbuff_t *result_tvb = NULL; - offset=dissect_per_octet_string(tvb, offset, pinfo, tree, -1, NO_BOUND, NO_BOUND, &result_tvb); + offset=dissect_per_octet_string(tvb, offset, actx, tree, -1, NO_BOUND, NO_BOUND, &result_tvb); if(tvb_length(result_tvb)){ switch (localOpcode) { case CallTransferIdentify: - dissect_h450_CTIdentifyRes(result_tvb, 0, pinfo, tree, hf_h4502_CTIdentifyRes); + dissect_h450_CTIdentifyRes(result_tvb, 0, actx, tree, hf_h4502_CTIdentifyRes); break; case CallTransferInitiate: case CallTransferSetup: - dissect_h450_DummyRes(result_tvb, 0, pinfo , tree, hf_h4502_DummyRes); + dissect_h450_DummyRes(result_tvb, 0, actx , tree, hf_h4502_DummyRes); break; case ActivateDiversionQ: - dissect_ActivateDiversionQRes_PDU(result_tvb, pinfo, tree); + dissect_ActivateDiversionQRes_PDU(result_tvb, actx->pinfo, tree); break; case DeactivateDiversionQ: - dissect_DeactivateDiversionQRes_PDU(result_tvb, pinfo, tree); + dissect_DeactivateDiversionQRes_PDU(result_tvb, actx->pinfo, tree); break; case InterrogateDiversionQ: - dissect_InterrogateDiversionQRes_PDU(result_tvb, pinfo, tree); + dissect_InterrogateDiversionQRes_PDU(result_tvb, actx->pinfo, tree); break; case CheckRestriction: - dissect_CheckRestrictionRes_PDU(result_tvb, pinfo, tree); + dissect_CheckRestrictionRes_PDU(result_tvb, actx->pinfo, tree); break; case CallRerouting: - dissect_CallReroutingRes_PDU(result_tvb, pinfo, tree); + dissect_CallReroutingRes_PDU(result_tvb, actx->pinfo, tree); break; case RemoteRetrieve: - dissect_h450_RemoteRetrieveRes(result_tvb, 0, pinfo , tree, hf_h4504_RemoteRetrieveRes); + dissect_h450_RemoteRetrieveRes(result_tvb, 0, actx , tree, hf_h4504_RemoteRetrieveRes); break; case MWIActivate: - dissect_h450_MwiDummyRes(result_tvb, 0, pinfo , tree, hf_h4507_MwiDummyRes); + dissect_h450_MwiDummyRes(result_tvb, 0, actx , tree, hf_h4507_MwiDummyRes); break; case MWIDeactivate: - dissect_h450_MwiDummyRes(result_tvb, 0, pinfo , tree, hf_h4507_MwiDummyRes); + dissect_h450_MwiDummyRes(result_tvb, 0, actx , tree, hf_h4507_MwiDummyRes); break; case MWIInterrogate: - dissect_h450_MWIInterrogateRes(result_tvb, 0, pinfo , tree, hf_h4507_MWIInterrogateRes); + dissect_h450_MWIInterrogateRes(result_tvb, 0, actx , tree, hf_h4507_MWIInterrogateRes); break; default: @@ -4299,18 +4311,18 @@ PER_NOT_DECODED_YET("Unrecognized H.450.x return result"); } static int -dissect_h4501_localOpcode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_localOpcode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_integer(tvb, offset, pinfo, tree, hf_h4501_localOpcode, &localOpcode, NULL); + offset=dissect_per_integer(tvb, offset, actx, tree, hf_h4501_localOpcode, &localOpcode); is_globalcode = FALSE; return offset; } static int -dissect_h4501_globalCode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_globalCode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_object_identifier_str(tvb, offset, pinfo, tree, hf_h4501_globalCode, &globalcode_oid_str); + offset=dissect_per_object_identifier_str(tvb, offset, actx, tree, hf_h4501_globalCode, &globalcode_oid_str); is_globalcode = TRUE; return offset; } @@ -4329,9 +4341,9 @@ static const per_choice_t opcode_choice[] = { { 0, NULL, 0, NULL } }; static int -dissect_h4501_opcode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_opcode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_choice(tvb, offset, pinfo, tree, hf_h4501_opcode, ett_h4501_opcode, opcode_choice, NULL); + offset=dissect_per_choice(tvb, offset, actx, tree, hf_h4501_opcode, ett_h4501_opcode, opcode_choice, NULL); return offset; } @@ -4343,17 +4355,17 @@ static const per_sequence_t result_sequence[] = { { NULL, 0, 0, NULL } }; static int -dissect_h4501_result(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_result(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_sequence(tvb, offset, pinfo, tree, hf_h4501_result, ett_h4501_result, result_sequence); + offset=dissect_per_sequence(tvb, offset, actx, tree, hf_h4501_result, ett_h4501_result, result_sequence); return offset; } static int -dissect_h4501_parameter(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_parameter(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { /* TODO - decode return error parameter based on localErrorCode */ - offset=dissect_per_octet_string(tvb, offset, pinfo, tree, hf_h4501_parameter, NO_BOUND, NO_BOUND, NULL); + offset=dissect_per_octet_string(tvb, offset, actx, tree, hf_h4501_parameter, NO_BOUND, NO_BOUND, NULL); return offset; } static const value_string localErrorCode_vals[] = { @@ -4405,9 +4417,9 @@ static const value_string localErrorCode_vals[] = { { 0, NULL } }; static int -dissect_h4501_localErrorCode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_localErrorCode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_integer(tvb, offset, pinfo, tree, hf_h4501_localErrorCode, &localErrorCode, NULL); + offset=dissect_per_integer(tvb, offset, actx, tree, hf_h4501_localErrorCode, &localErrorCode); return offset; } @@ -4425,9 +4437,9 @@ static const per_choice_t errorCode_choice[] = { { 0, NULL, 0, NULL } }; static int -dissect_h4501_errorCode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_errorCode(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_choice(tvb, offset, pinfo, tree, hf_h4501_errorCode, ett_h4501_errorCode, errorCode_choice, NULL); + offset=dissect_per_choice(tvb, offset, actx, tree, hf_h4501_errorCode, ett_h4501_errorCode, errorCode_choice, NULL); return offset; } @@ -4450,23 +4462,23 @@ static const per_choice_t problem_choice[] = { { 0, NULL, 0, NULL } }; static int -dissect_h4501_problem(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_problem(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_choice(tvb, offset, pinfo, tree, hf_h4501_problem, ett_h4501_problem, problem_choice, NULL); + offset=dissect_per_choice(tvb, offset, actx, tree, hf_h4501_problem, ett_h4501_problem, problem_choice, NULL); return offset; } static int -dissect_h4501_constrained_invokeId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_constrained_invokeId(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_constrained_integer(tvb, offset, pinfo, tree, hf_h4501_constrained_invokeId, 0, 65535, NULL, NULL, FALSE); + offset=dissect_per_constrained_integer(tvb, offset, actx, tree, hf_h4501_constrained_invokeId, 0, 65535, NULL, FALSE); return offset; } static int -dissect_h4501_invokeId(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_invokeId(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_integer(tvb, offset, pinfo, tree, hf_h4501_invokeId, NULL, NULL); + offset=dissect_per_integer(tvb, offset, actx, tree, hf_h4501_invokeId, NULL); return offset; } @@ -4478,9 +4490,9 @@ static const per_sequence_t Reject_sequence[] = { { NULL, 0, 0, NULL } }; static int -dissect_h4501_Reject(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_Reject(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_sequence(tvb, offset, pinfo, tree, hf_h4501_Reject, ett_h4501_Reject, Reject_sequence); + offset=dissect_per_sequence(tvb, offset, actx, tree, hf_h4501_Reject, ett_h4501_Reject, Reject_sequence); return offset; } @@ -4494,9 +4506,9 @@ static const per_sequence_t ReturnError_sequence[] = { { NULL, 0, 0, NULL } }; static int -dissect_h4501_ReturnError(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_ReturnError(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_sequence(tvb, offset, pinfo, tree, hf_h4501_ReturnError, ett_h4501_ReturnError, ReturnError_sequence); + offset=dissect_per_sequence(tvb, offset, actx, tree, hf_h4501_ReturnError, ett_h4501_ReturnError, ReturnError_sequence); return offset; } @@ -4508,9 +4520,9 @@ static const per_sequence_t ReturnResult_sequence[] = { { NULL, 0, 0, NULL } }; static int -dissect_h4501_ReturnResult(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_ReturnResult(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_sequence(tvb, offset, pinfo, tree, hf_h4501_ReturnResult, ett_h4501_ReturnResult, ReturnResult_sequence); + offset=dissect_per_sequence(tvb, offset, actx, tree, hf_h4501_ReturnResult, ett_h4501_ReturnResult, ReturnResult_sequence); return offset; } @@ -4526,9 +4538,9 @@ static const per_sequence_t Invoke_sequence[] = { { NULL, 0, 0, NULL } }; static int -dissect_h4501_Invoke(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_Invoke(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_sequence(tvb, offset, pinfo, tree, hf_h4501_Invoke, ett_h4501_Invoke, Invoke_sequence); + offset=dissect_per_sequence(tvb, offset, actx, tree, hf_h4501_Invoke, ett_h4501_Invoke, Invoke_sequence); return offset; } @@ -4551,14 +4563,14 @@ static const per_choice_t ROS_choice[] = { { 0, NULL, 0, NULL } }; static int -dissect_h4501_ROS(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_ROS(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { - offset=dissect_per_choice(tvb, offset, pinfo, tree, hf_h4501_ROS, ett_h4501_ROS, ROS_choice, NULL); + offset=dissect_per_choice(tvb, offset, actx, tree, hf_h4501_ROS, ett_h4501_ROS, ROS_choice, NULL); return offset; } static int -dissect_h4501_argument(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_h4501_argument(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree) { tvbuff_t *argument_tvb = NULL; @@ -4566,84 +4578,84 @@ dissect_h4501_argument(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree /* TODO call oid dissector * call_ber_oid_callback isn't realy apropriate ? */ - offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_h4501_globalargument, NO_BOUND, NO_BOUND, NULL); + offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_h4501_globalargument, NO_BOUND, NO_BOUND, NULL); is_globalcode = FALSE; return offset; } - offset=dissect_per_octet_string(tvb, offset, pinfo, tree, -1, NO_BOUND, NO_BOUND, &argument_tvb); + offset=dissect_per_octet_string(tvb, offset, actx, tree, -1, NO_BOUND, NO_BOUND, &argument_tvb); if(tvb_length(argument_tvb)){ switch (localOpcode) { /* h450.2 */ case CallTransferIdentify: /* Localvalue 7 */ - dissect_CallTransferIdentify_PDU(argument_tvb, pinfo, tree); + dissect_CallTransferIdentify_PDU(argument_tvb, actx->pinfo, tree); break; case CallTransferAbandon: /* Localvalue 8 */ - dissect_CallTransferAbandon_PDU(argument_tvb, pinfo, tree); + dissect_CallTransferAbandon_PDU(argument_tvb, actx->pinfo, tree); break; case CallTransferInitiate: /* Localvalue 9 */ - dissect_CallTransferInitiate_PDU(argument_tvb, pinfo, tree); + dissect_CallTransferInitiate_PDU(argument_tvb, actx->pinfo, tree); break; case CallTransferSetup: /* Localvalue 10 */ - dissect_CallTransferSetup_PDU(argument_tvb, pinfo, tree); + dissect_CallTransferSetup_PDU(argument_tvb, actx->pinfo, tree); break; case CallTransferUpdate: /* Localvalue 13 */ - dissect_CallTransferUpdate_PDU(argument_tvb, pinfo, tree); + dissect_CallTransferUpdate_PDU(argument_tvb, actx->pinfo, tree); break; case SubaddressTransfer: /* Localvalue 14 */ - dissect_SubaddressTransfer_PDU(argument_tvb, pinfo, tree); + dissect_SubaddressTransfer_PDU(argument_tvb, actx->pinfo, tree); break; case CallTransferComplete: /* Localvalue 12 */ - dissect_CallTransferComplete_PDU(argument_tvb, pinfo, tree); + dissect_CallTransferComplete_PDU(argument_tvb, actx->pinfo, tree); break; case CallTransferActive: /* Localvalue 11 */ - dissect_CallTransferActive_PDU(argument_tvb, pinfo, tree); + dissect_CallTransferActive_PDU(argument_tvb, actx->pinfo, tree); break; /* h450.3*/ case ActivateDiversionQ: /* Localvalue 15 */ - dissect_ActivateDiversionQArg_PDU(argument_tvb, pinfo, tree); + dissect_ActivateDiversionQArg_PDU(argument_tvb, actx->pinfo, tree); break; case DeactivateDiversionQ: /* Localvalue 16 */ - dissect_h450_DeactivateDiversionQArg(argument_tvb, 0, pinfo , tree, hf_h4503DeactivateDiversionQArg); + dissect_h450_DeactivateDiversionQArg(argument_tvb, 0, actx , tree, hf_h4503DeactivateDiversionQArg); break; case InterrogateDiversionQ: /* Localvalue 17 */ - dissect_h450_InterrogateDiversionQ(argument_tvb, 0, pinfo , tree, hf_h4503InterrogateDiversionQ); + dissect_h450_InterrogateDiversionQ(argument_tvb, 0, actx , tree, hf_h4503InterrogateDiversionQ); break; case CheckRestriction: /* Localvalue 18 */ - dissect_h450_CheckRestrictionArg(argument_tvb, 0, pinfo , tree, hf_h4503CheckRestrictionArg); + dissect_h450_CheckRestrictionArg(argument_tvb, 0, actx , tree, hf_h4503CheckRestrictionArg); break; case CallRerouting: /* Localvalue 19 */ - dissect_h450_CallReroutingArg(argument_tvb, 0, pinfo , tree, hf_h4503CallReroutingArg); + dissect_h450_CallReroutingArg(argument_tvb, 0, actx , tree, hf_h4503CallReroutingArg); break; case DivertingLegInformation1: /* Localvalue 20 */ - dissect_h450_DivertingLegInformation1Arg(argument_tvb, 0, pinfo , tree, hf_h4503DivertingLegInformation1Arg); + dissect_h450_DivertingLegInformation1Arg(argument_tvb, 0, actx , tree, hf_h4503DivertingLegInformation1Arg); break; case DivertingLegInformation2: /* Localvalue 21 */ - dissect_h450_DivertingLegInformation2Arg(argument_tvb, 0, pinfo , tree, hf_h4503DivertingLegInformation2Arg); + dissect_h450_DivertingLegInformation2Arg(argument_tvb, 0, actx , tree, hf_h4503DivertingLegInformation2Arg); break; case DivertingLegInformation3: /* Localvalue 22 */ - dissect_h450_DivertingLegInformation3Arg(argument_tvb, 0, pinfo , tree, hf_h4503DivertingLegInformation3Arg); + dissect_h450_DivertingLegInformation3Arg(argument_tvb, 0, actx , tree, hf_h4503DivertingLegInformation3Arg); break; case DivertingLegInformation4: /* Localvalue 100 */ - dissect_h450_DivertingLegInformation4Arg(argument_tvb, 0, pinfo , tree, hf_h4503DivertingLegInformation4Arg); + dissect_h450_DivertingLegInformation4Arg(argument_tvb, 0, actx , tree, hf_h4503DivertingLegInformation4Arg); break; case CfnrDivertedLegFailed: /* Localvalue 23 */ - dissect_h450_CfnrDivertedLegFailedArg(argument_tvb, 0, pinfo , tree, hf_h4503CfnrDivertedLegFailedArg); + dissect_h450_CfnrDivertedLegFailedArg(argument_tvb, 0, actx , tree, hf_h4503CfnrDivertedLegFailedArg); break; /* H.450.4 Call Hold */ case HoldNotific: /* Localvalue 101 */ - dissect_h450_HoldNotificArg(argument_tvb, 0, pinfo , tree, hf_h4504_HoldNotificArg); + dissect_h450_HoldNotificArg(argument_tvb, 0, actx , tree, hf_h4504_HoldNotificArg); break; case RetrieveNotific: /* Localvalue 102 */ - dissect_h450_RetrieveNotificArg(argument_tvb, 0, pinfo , tree, hf_h4504_RetrieveNotificArg); + dissect_h450_RetrieveNotificArg(argument_tvb, 0, actx , tree, hf_h4504_RetrieveNotificArg); break; case RemoteHold: /* Localvalue 103 */ - dissect_h450_RemoteHoldArg(argument_tvb, 0, pinfo , tree, hf_h4504_RemoteHoldArg); + dissect_h450_RemoteHoldArg(argument_tvb, 0, actx , tree, hf_h4504_RemoteHoldArg); break; case RemoteRetrieve: /* Localvalue 104 */ - dissect_h450_RemoteRetrieveArg(argument_tvb, 0, pinfo , tree, hf_h4504_RemoteRetrieveArg); + dissect_h450_RemoteRetrieveArg(argument_tvb, 0, actx , tree, hf_h4504_RemoteRetrieveArg); break; /* H.450.5 Call Park and Pickup constants */ @@ -4664,27 +4676,27 @@ PER_NOT_DECODED_YET("Unrecognized H.450.x operation"); /* H.450.7 Message Waiting Indication */ case MWIActivate: /* Localvalue 80 */ - dissect_h450_MWIActivateArg(argument_tvb, 0, pinfo , tree, hf_h4507_MWIActivateArg); + dissect_h450_MWIActivateArg(argument_tvb, 0, actx , tree, hf_h4507_MWIActivateArg); break; case MWIDeactivate: /* Localvalue 81 */ - dissect_h450_MWIDeactivateArg(argument_tvb, 0, pinfo , tree, hf_h4507_MWIDeactivateArg); + dissect_h450_MWIDeactivateArg(argument_tvb, 0, actx , tree, hf_h4507_MWIDeactivateArg); break; case MWIInterrogate: /* Localvalue 82 */ - dissect_h450_MWIInterrogateArg(argument_tvb, 0, pinfo , tree, hf_h4507_MWIInterrogateArg); + dissect_h450_MWIInterrogateArg(argument_tvb, 0, actx , tree, hf_h4507_MWIInterrogateArg); break; /* H.450.8 Name Identification */ case NIcallingName: /* Localvalue 0 */ - dissect_h450_NameArg(argument_tvb, 0, pinfo , tree, hf_h4508_CallingNameArg); + dissect_h450_NameArg(argument_tvb, 0, actx , tree, hf_h4508_CallingNameArg); break; case NIalertingName: /* Localvalue 1 */ - dissect_h450_NameArg(argument_tvb, 0, pinfo , tree, hf_h4508_AlertingNameArg); + dissect_h450_NameArg(argument_tvb, 0, actx , tree, hf_h4508_AlertingNameArg); break; case NIconnectedName: /* Localvalue 2 */ - dissect_h450_NameArg(argument_tvb, 0, pinfo , tree, hf_h4508_ConnectedNameArg); + dissect_h450_NameArg(argument_tvb, 0, actx , tree, hf_h4508_ConnectedNameArg); break; case NIbusyName: /* Localvalue 3 */ - dissect_h450_NameArg(argument_tvb, 0, pinfo , tree, hf_h4508_BusyNameArg); + dissect_h450_NameArg(argument_tvb, 0, actx , tree, hf_h4508_BusyNameArg); break; /* H.450.9 Call Completion constants */ @@ -4713,10 +4725,10 @@ PER_NOT_DECODED_YET("Unrecognized H.450.x operation"); break; /* H.450.12 Common Information Operations constants */ case CmnRequest: /* Localvalue 84 */ - dissect_h450_CmnRequestArg(argument_tvb, 0, pinfo , tree, hf_h45012_CmnRequest); + dissect_h450_CmnRequestArg(argument_tvb, 0, actx , tree, hf_h45012_CmnRequest); break; case CmnInform: /* Localvalue 85 */ - dissect_h450_CmnArg(argument_tvb, 0, pinfo , tree, hf_h45012_CmnInform); + dissect_h450_CmnArg(argument_tvb, 0, actx , tree, hf_h45012_CmnInform); break; /* TODO - decode other H.450.x invoke arguments here */ @@ -4728,9 +4740,9 @@ PER_NOT_DECODED_YET("Unrecognized H.450.x operation"); return offset; } static int -dissect_ros_ROSxxx(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_ind _U_){ +dissect_ros_ROSxxx(tvbuff_t *tvb, int offset, asn_ctx_t *actx, proto_tree *tree, int hf_ind _U_){ - offset = dissect_h4501_ROS(tvb, offset, pinfo, tree); + offset = dissect_h4501_ROS(tvb, offset, actx, tree); return offset; } @@ -4740,11 +4752,13 @@ dissect_h4501(tvbuff_t *tvb, packet_info *pinfo, proto_tree* tree) proto_item *it; proto_tree *tr; guint32 offset=0; + asn_ctx_t asn_ctx; it=proto_tree_add_protocol_format(tree, proto_h4501, tvb, 0, -1, "H.450.1"); tr=proto_item_add_subtree(it, ett_h4501); - dissect_h450_H4501SupplementaryService(tvb, offset, pinfo, tr, hf_h4501); + asn_ctx_init(&asn_ctx, ASN_ENC_PER, TRUE, pinfo); + dissect_h450_H4501SupplementaryService(tvb, offset, &asn_ctx, tr, hf_h4501); } /*--- proto_register_h450 -------------------------------------------*/ @@ -5875,7 +5889,7 @@ void proto_register_h450(void) { "Extension/extensionArgument", HFILL }}, /*--- End of included file: packet-h450-hfarr.c ---*/ -#line 1033 "packet-h450-template.c" +#line 1035 "packet-h450-template.c" }; /* List of subtrees */ @@ -6017,7 +6031,7 @@ void proto_register_h450(void) { &ett_h450_Extension, /*--- End of included file: packet-h450-ettarr.c ---*/ -#line 1049 "packet-h450-template.c" +#line 1051 "packet-h450-template.c" }; |