diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
commit | a86c5f7cae7ec9a3398300555a0b644689d946a1 (patch) | |
tree | 39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /epan/dissectors/packet-hnbap.c | |
parent | Releasing progress-linux version 4.2.6-1~progress7.99u1. (diff) | |
download | wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip |
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-hnbap.c')
-rw-r--r-- | epan/dissectors/packet-hnbap.c | 634 |
1 files changed, 318 insertions, 316 deletions
diff --git a/epan/dissectors/packet-hnbap.c b/epan/dissectors/packet-hnbap.c index d0e5a245..3a0478e4 100644 --- a/epan/dissectors/packet-hnbap.c +++ b/epan/dissectors/packet-hnbap.c @@ -1,7 +1,7 @@ /* Do not modify this file. Changes will be overwritten. */ /* Generated automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-hnbap.c */ -/* asn2wrs.py -L -p hnbap -c ./hnbap.cnf -s ./packet-hnbap-template -D . -O ../.. HNBAP-CommonDataTypes.asn HNBAP-Constants.asn HNBAP-Containers.asn HNBAP-IEs.asn HNBAP-PDU-Contents.asn HNBAP-PDU-Descriptions.asn */ +/* asn2wrs.py -q -L -p hnbap -c ./hnbap.cnf -s ./packet-hnbap-template -D . -O ../.. HNBAP-CommonDataTypes.asn HNBAP-Constants.asn HNBAP-Containers.asn HNBAP-IEs.asn HNBAP-PDU-Contents.asn HNBAP-PDU-Descriptions.asn */ /* packet-hnbap-template.c * Routines for UMTS Node B Application Part(HNBAP) packet dissection @@ -23,6 +23,7 @@ #include <epan/asn1.h> #include <epan/prefs.h> #include <epan/proto_data.h> +#include <wsutil/array.h> #include "packet-per.h" #include "packet-e212.h" @@ -95,220 +96,220 @@ typedef enum _ProtocolIE_ID_enum { } ProtocolIE_ID_enum; /* Initialize the protocol and registered fields */ -static int proto_hnbap = -1; - -static int hf_hnbap_BackoffTimer_PDU = -1; /* BackoffTimer */ -static int hf_hnbap_Cause_PDU = -1; /* Cause */ -static int hf_hnbap_CellIdentity_PDU = -1; /* CellIdentity */ -static int hf_hnbap_Context_ID_PDU = -1; /* Context_ID */ -static int hf_hnbap_CriticalityDiagnostics_PDU = -1; /* CriticalityDiagnostics */ -static int hf_hnbap_CSG_ID_PDU = -1; /* CSG_ID */ -static int hf_hnbap_CSGMembershipStatus_PDU = -1; /* CSGMembershipStatus */ -static int hf_hnbap_HNB_Cell_Access_Mode_PDU = -1; /* HNB_Cell_Access_Mode */ -static int hf_hnbap_HNB_Location_Information_PDU = -1; /* HNB_Location_Information */ -static int hf_hnbap_HNB_Identity_PDU = -1; /* HNB_Identity */ -static int hf_hnbap_IP_Address_PDU = -1; /* IP_Address */ -static int hf_hnbap_LAC_PDU = -1; /* LAC */ -static int hf_hnbap_MuxPortNumber_PDU = -1; /* MuxPortNumber */ -static int hf_hnbap_NeighbourInfoList_PDU = -1; /* NeighbourInfoList */ -static int hf_hnbap_NeighbourInfoRequestList_PDU = -1; /* NeighbourInfoRequestList */ -static int hf_hnbap_PLMNidentity_PDU = -1; /* PLMNidentity */ -static int hf_hnbap_PSC_PDU = -1; /* PSC */ -static int hf_hnbap_RABList_PDU = -1; /* RABList */ -static int hf_hnbap_RAC_PDU = -1; /* RAC */ -static int hf_hnbap_Registration_Cause_PDU = -1; /* Registration_Cause */ -static int hf_hnbap_RNC_ID_PDU = -1; /* RNC_ID */ -static int hf_hnbap_SAC_PDU = -1; /* SAC */ -static int hf_hnbap_UE_Capabilities_PDU = -1; /* UE_Capabilities */ -static int hf_hnbap_UE_Identity_PDU = -1; /* UE_Identity */ -static int hf_hnbap_Update_cause_PDU = -1; /* Update_cause */ -static int hf_hnbap_HNBRegisterRequest_PDU = -1; /* HNBRegisterRequest */ -static int hf_hnbap_HNBRegisterAccept_PDU = -1; /* HNBRegisterAccept */ -static int hf_hnbap_HNBRegisterReject_PDU = -1; /* HNBRegisterReject */ -static int hf_hnbap_HNBDe_Register_PDU = -1; /* HNBDe_Register */ -static int hf_hnbap_UERegisterRequest_PDU = -1; /* UERegisterRequest */ -static int hf_hnbap_UERegisterAccept_PDU = -1; /* UERegisterAccept */ -static int hf_hnbap_UERegisterReject_PDU = -1; /* UERegisterReject */ -static int hf_hnbap_UEDe_Register_PDU = -1; /* UEDe_Register */ -static int hf_hnbap_CSGMembershipUpdate_PDU = -1; /* CSGMembershipUpdate */ -static int hf_hnbap_TNLUpdateRequest_PDU = -1; /* TNLUpdateRequest */ -static int hf_hnbap_TNLUpdateResponse_PDU = -1; /* TNLUpdateResponse */ -static int hf_hnbap_TNLUpdateFailure_PDU = -1; /* TNLUpdateFailure */ -static int hf_hnbap_HNBConfigTransferRequest_PDU = -1; /* HNBConfigTransferRequest */ -static int hf_hnbap_HNBConfigTransferResponse_PDU = -1; /* HNBConfigTransferResponse */ -static int hf_hnbap_RelocationComplete_PDU = -1; /* RelocationComplete */ -static int hf_hnbap_ErrorIndication_PDU = -1; /* ErrorIndication */ -static int hf_hnbap_PrivateMessage_PDU = -1; /* PrivateMessage */ -static int hf_hnbap_HNBAP_PDU_PDU = -1; /* HNBAP_PDU */ -static int hf_hnbap_local = -1; /* INTEGER_0_65535 */ -static int hf_hnbap_global = -1; /* OBJECT_IDENTIFIER */ -static int hf_hnbap_ProtocolIE_Container_item = -1; /* ProtocolIE_Field */ -static int hf_hnbap_protocol_ie_field_id = -1; /* ProtocolIE_ID */ -static int hf_hnbap_criticality = -1; /* Criticality */ -static int hf_hnbap_ie_field_value = -1; /* ProtocolIE_Field_value */ -static int hf_hnbap_ProtocolExtensionContainer_item = -1; /* ProtocolExtensionField */ -static int hf_hnbap_id = -1; /* ProtocolIE_ID */ -static int hf_hnbap_extensionValue = -1; /* T_extensionValue */ -static int hf_hnbap_PrivateIE_Container_item = -1; /* PrivateIE_Field */ -static int hf_hnbap_private_ie_field_id = -1; /* PrivateIE_ID */ -static int hf_hnbap_private_value = -1; /* PrivateIE_Field_value */ -static int hf_hnbap_directionOfAltitude = -1; /* T_directionOfAltitude */ -static int hf_hnbap_altitude = -1; /* INTEGER_0_32767 */ -static int hf_hnbap_radioNetwork = -1; /* CauseRadioNetwork */ -static int hf_hnbap_transport = -1; /* CauseTransport */ -static int hf_hnbap_protocol = -1; /* CauseProtocol */ -static int hf_hnbap_misc = -1; /* CauseMisc */ -static int hf_hnbap_procedureCode = -1; /* ProcedureCode */ -static int hf_hnbap_triggeringMessage = -1; /* TriggeringMessage */ -static int hf_hnbap_procedureCriticality = -1; /* Criticality */ -static int hf_hnbap_iEsCriticalityDiagnostics = -1; /* CriticalityDiagnostics_IE_List */ -static int hf_hnbap_iE_Extensions = -1; /* ProtocolExtensionContainer */ -static int hf_hnbap_CriticalityDiagnostics_IE_List_item = -1; /* CriticalityDiagnostics_IE_List_item */ -static int hf_hnbap_iECriticality = -1; /* Criticality */ -static int hf_hnbap_iE_ID = -1; /* ProtocolIE_ID */ -static int hf_hnbap_typeOfError = -1; /* TypeOfError */ -static int hf_hnbap_pLMNidentity = -1; /* PLMNidentity */ -static int hf_hnbap_lAC = -1; /* LAC */ -static int hf_hnbap_cI = -1; /* CI */ -static int hf_hnbap_geographical_location_geographical_coordinates = -1; /* GeographicalCoordinates */ -static int hf_hnbap_altitudeAndDirection = -1; /* AltitudeAndDirection */ -static int hf_hnbap_latitudeSign = -1; /* T_latitudeSign */ -static int hf_hnbap_latitude = -1; /* INTEGER_0_8388607 */ -static int hf_hnbap_longitude = -1; /* INTEGER_M8388608_8388607 */ -static int hf_hnbap_cellIdentity = -1; /* CellIdentity */ -static int hf_hnbap_hNB_Identity_as_Cell_Identifier = -1; /* HNB_Cell_Identifier */ -static int hf_hnbap_hnb_RNL_Identity = -1; /* HNB_RNL_Identity */ -static int hf_hnbap_configurationInformation = -1; /* ConfigurationInformation */ -static int hf_hnbap_provided = -1; /* HNBConfigurationInformationProvided */ -static int hf_hnbap_missing = -1; /* HNBConfigurationInformationMissing */ -static int hf_hnbap_psc = -1; /* PSC */ -static int hf_hnbap_cSG_ID = -1; /* CSG_ID */ -static int hf_hnbap_hNB_Cell_Access_Mode = -1; /* HNB_Cell_Access_Mode */ -static int hf_hnbap_iurh_Signalling_TNL_AddressList = -1; /* Iurh_Signalling_TNL_AddressList */ -static int hf_hnbap_cause = -1; /* Cause */ -static int hf_hnbap_macroCoverageInfo = -1; /* MacroCoverageInformation */ -static int hf_hnbap_hnb_location_information_geographical_coordinates = -1; /* GeographicalLocation */ -static int hf_hnbap_hNB_Identity_Info = -1; /* HNB_Identity_Info */ -static int hf_hnbap_iMSIDS41 = -1; /* IMSIDS41 */ -static int hf_hnbap_eSN = -1; /* ESN */ -static int hf_hnbap_ipaddress = -1; /* T_ipaddress */ -static int hf_hnbap_ipv4info = -1; /* Ipv4Address */ -static int hf_hnbap_ipv6info = -1; /* Ipv6Address */ -static int hf_hnbap_Iurh_Signalling_TNL_AddressList_item = -1; /* IP_Address */ -static int hf_hnbap_pLMNID = -1; /* PLMNidentity */ -static int hf_hnbap_macroCellID = -1; /* MacroCellID */ -static int hf_hnbap_uTRANCellID = -1; /* UTRANCellID */ -static int hf_hnbap_gERANCellID = -1; /* CGI */ -static int hf_hnbap_NeighbourInfoList_item = -1; /* HNBConfigInfo */ -static int hf_hnbap_NeighbourInfoRequestList_item = -1; /* NeighbourInfoRequestItem */ -static int hf_hnbap_pTMSI = -1; /* PTMSI */ -static int hf_hnbap_rAI = -1; /* RAI */ -static int hf_hnbap_RABList_item = -1; /* RABListItem */ -static int hf_hnbap_rAB_ID = -1; /* RAB_ID */ -static int hf_hnbap_old_transport_Info = -1; /* TransportInfo */ -static int hf_hnbap_new_transport_Info = -1; /* TransportInfo */ -static int hf_hnbap_cn_domain_indicator = -1; /* CN_DomainIndicator */ -static int hf_hnbap_lAI = -1; /* LAI */ -static int hf_hnbap_rAC = -1; /* RAC */ -static int hf_hnbap_tMSI = -1; /* BIT_STRING_SIZE_32 */ -static int hf_hnbap_transportLayerAddress = -1; /* TransportLayerAddress */ -static int hf_hnbap_transportAssociation = -1; /* T_transportAssociation */ -static int hf_hnbap_gtp_TEI = -1; /* GTP_TEI */ -static int hf_hnbap_bindingID = -1; /* BindingID */ -static int hf_hnbap_access_stratum_release_indicator = -1; /* Access_stratum_release_indicator */ -static int hf_hnbap_csg_capability = -1; /* CSG_Capability */ -static int hf_hnbap_uTRANcellID = -1; /* CellIdentity */ -static int hf_hnbap_iMSI = -1; /* IMSI */ -static int hf_hnbap_tMSILAI = -1; /* TMSILAI */ -static int hf_hnbap_pTMSIRAI = -1; /* PTMSIRAI */ -static int hf_hnbap_iMEI = -1; /* IMEI */ -static int hf_hnbap_iMSIESN = -1; /* IMSIESN */ -static int hf_hnbap_tMSIDS41 = -1; /* TMSIDS41 */ -static int hf_hnbap_protocolIEs = -1; /* ProtocolIE_Container */ -static int hf_hnbap_protocolExtensions = -1; /* ProtocolExtensionContainer */ -static int hf_hnbap_privateIEs = -1; /* PrivateIE_Container */ -static int hf_hnbap_initiatingMessage = -1; /* InitiatingMessage */ -static int hf_hnbap_successfulOutcome = -1; /* SuccessfulOutcome */ -static int hf_hnbap_unsuccessfulOutcome = -1; /* UnsuccessfulOutcome */ -static int hf_hnbap_initiatingMessagevalue = -1; /* InitiatingMessage_value */ -static int hf_hnbap_successfulOutcome_value = -1; /* SuccessfulOutcome_value */ -static int hf_hnbap_unsuccessfulOutcome_value = -1; /* UnsuccessfulOutcome_value */ +static int proto_hnbap; + +static int hf_hnbap_BackoffTimer_PDU; /* BackoffTimer */ +static int hf_hnbap_Cause_PDU; /* Cause */ +static int hf_hnbap_CellIdentity_PDU; /* CellIdentity */ +static int hf_hnbap_Context_ID_PDU; /* Context_ID */ +static int hf_hnbap_CriticalityDiagnostics_PDU; /* CriticalityDiagnostics */ +static int hf_hnbap_CSG_ID_PDU; /* CSG_ID */ +static int hf_hnbap_CSGMembershipStatus_PDU; /* CSGMembershipStatus */ +static int hf_hnbap_HNB_Cell_Access_Mode_PDU; /* HNB_Cell_Access_Mode */ +static int hf_hnbap_HNB_Location_Information_PDU; /* HNB_Location_Information */ +static int hf_hnbap_HNB_Identity_PDU; /* HNB_Identity */ +static int hf_hnbap_IP_Address_PDU; /* IP_Address */ +static int hf_hnbap_LAC_PDU; /* LAC */ +static int hf_hnbap_MuxPortNumber_PDU; /* MuxPortNumber */ +static int hf_hnbap_NeighbourInfoList_PDU; /* NeighbourInfoList */ +static int hf_hnbap_NeighbourInfoRequestList_PDU; /* NeighbourInfoRequestList */ +static int hf_hnbap_PLMNidentity_PDU; /* PLMNidentity */ +static int hf_hnbap_PSC_PDU; /* PSC */ +static int hf_hnbap_RABList_PDU; /* RABList */ +static int hf_hnbap_RAC_PDU; /* RAC */ +static int hf_hnbap_Registration_Cause_PDU; /* Registration_Cause */ +static int hf_hnbap_RNC_ID_PDU; /* RNC_ID */ +static int hf_hnbap_SAC_PDU; /* SAC */ +static int hf_hnbap_UE_Capabilities_PDU; /* UE_Capabilities */ +static int hf_hnbap_UE_Identity_PDU; /* UE_Identity */ +static int hf_hnbap_Update_cause_PDU; /* Update_cause */ +static int hf_hnbap_HNBRegisterRequest_PDU; /* HNBRegisterRequest */ +static int hf_hnbap_HNBRegisterAccept_PDU; /* HNBRegisterAccept */ +static int hf_hnbap_HNBRegisterReject_PDU; /* HNBRegisterReject */ +static int hf_hnbap_HNBDe_Register_PDU; /* HNBDe_Register */ +static int hf_hnbap_UERegisterRequest_PDU; /* UERegisterRequest */ +static int hf_hnbap_UERegisterAccept_PDU; /* UERegisterAccept */ +static int hf_hnbap_UERegisterReject_PDU; /* UERegisterReject */ +static int hf_hnbap_UEDe_Register_PDU; /* UEDe_Register */ +static int hf_hnbap_CSGMembershipUpdate_PDU; /* CSGMembershipUpdate */ +static int hf_hnbap_TNLUpdateRequest_PDU; /* TNLUpdateRequest */ +static int hf_hnbap_TNLUpdateResponse_PDU; /* TNLUpdateResponse */ +static int hf_hnbap_TNLUpdateFailure_PDU; /* TNLUpdateFailure */ +static int hf_hnbap_HNBConfigTransferRequest_PDU; /* HNBConfigTransferRequest */ +static int hf_hnbap_HNBConfigTransferResponse_PDU; /* HNBConfigTransferResponse */ +static int hf_hnbap_RelocationComplete_PDU; /* RelocationComplete */ +static int hf_hnbap_ErrorIndication_PDU; /* ErrorIndication */ +static int hf_hnbap_PrivateMessage_PDU; /* PrivateMessage */ +static int hf_hnbap_HNBAP_PDU_PDU; /* HNBAP_PDU */ +static int hf_hnbap_local; /* INTEGER_0_65535 */ +static int hf_hnbap_global; /* OBJECT_IDENTIFIER */ +static int hf_hnbap_ProtocolIE_Container_item; /* ProtocolIE_Field */ +static int hf_hnbap_protocol_ie_field_id; /* ProtocolIE_ID */ +static int hf_hnbap_criticality; /* Criticality */ +static int hf_hnbap_ie_field_value; /* ProtocolIE_Field_value */ +static int hf_hnbap_ProtocolExtensionContainer_item; /* ProtocolExtensionField */ +static int hf_hnbap_id; /* ProtocolIE_ID */ +static int hf_hnbap_extensionValue; /* T_extensionValue */ +static int hf_hnbap_PrivateIE_Container_item; /* PrivateIE_Field */ +static int hf_hnbap_private_ie_field_id; /* PrivateIE_ID */ +static int hf_hnbap_private_value; /* PrivateIE_Field_value */ +static int hf_hnbap_directionOfAltitude; /* T_directionOfAltitude */ +static int hf_hnbap_altitude; /* INTEGER_0_32767 */ +static int hf_hnbap_radioNetwork; /* CauseRadioNetwork */ +static int hf_hnbap_transport; /* CauseTransport */ +static int hf_hnbap_protocol; /* CauseProtocol */ +static int hf_hnbap_misc; /* CauseMisc */ +static int hf_hnbap_procedureCode; /* ProcedureCode */ +static int hf_hnbap_triggeringMessage; /* TriggeringMessage */ +static int hf_hnbap_procedureCriticality; /* Criticality */ +static int hf_hnbap_iEsCriticalityDiagnostics; /* CriticalityDiagnostics_IE_List */ +static int hf_hnbap_iE_Extensions; /* ProtocolExtensionContainer */ +static int hf_hnbap_CriticalityDiagnostics_IE_List_item; /* CriticalityDiagnostics_IE_List_item */ +static int hf_hnbap_iECriticality; /* Criticality */ +static int hf_hnbap_iE_ID; /* ProtocolIE_ID */ +static int hf_hnbap_typeOfError; /* TypeOfError */ +static int hf_hnbap_pLMNidentity; /* PLMNidentity */ +static int hf_hnbap_lAC; /* LAC */ +static int hf_hnbap_cI; /* CI */ +static int hf_hnbap_geographical_location_geographical_coordinates; /* GeographicalCoordinates */ +static int hf_hnbap_altitudeAndDirection; /* AltitudeAndDirection */ +static int hf_hnbap_latitudeSign; /* T_latitudeSign */ +static int hf_hnbap_latitude; /* INTEGER_0_8388607 */ +static int hf_hnbap_longitude; /* INTEGER_M8388608_8388607 */ +static int hf_hnbap_cellIdentity; /* CellIdentity */ +static int hf_hnbap_hNB_Identity_as_Cell_Identifier; /* HNB_Cell_Identifier */ +static int hf_hnbap_hnb_RNL_Identity; /* HNB_RNL_Identity */ +static int hf_hnbap_configurationInformation; /* ConfigurationInformation */ +static int hf_hnbap_provided; /* HNBConfigurationInformationProvided */ +static int hf_hnbap_missing; /* HNBConfigurationInformationMissing */ +static int hf_hnbap_psc; /* PSC */ +static int hf_hnbap_cSG_ID; /* CSG_ID */ +static int hf_hnbap_hNB_Cell_Access_Mode; /* HNB_Cell_Access_Mode */ +static int hf_hnbap_iurh_Signalling_TNL_AddressList; /* Iurh_Signalling_TNL_AddressList */ +static int hf_hnbap_cause; /* Cause */ +static int hf_hnbap_macroCoverageInfo; /* MacroCoverageInformation */ +static int hf_hnbap_hnb_location_information_geographical_coordinates; /* GeographicalLocation */ +static int hf_hnbap_hNB_Identity_Info; /* HNB_Identity_Info */ +static int hf_hnbap_iMSIDS41; /* IMSIDS41 */ +static int hf_hnbap_eSN; /* ESN */ +static int hf_hnbap_ipaddress; /* T_ipaddress */ +static int hf_hnbap_ipv4info; /* Ipv4Address */ +static int hf_hnbap_ipv6info; /* Ipv6Address */ +static int hf_hnbap_Iurh_Signalling_TNL_AddressList_item; /* IP_Address */ +static int hf_hnbap_pLMNID; /* PLMNidentity */ +static int hf_hnbap_macroCellID; /* MacroCellID */ +static int hf_hnbap_uTRANCellID; /* UTRANCellID */ +static int hf_hnbap_gERANCellID; /* CGI */ +static int hf_hnbap_NeighbourInfoList_item; /* HNBConfigInfo */ +static int hf_hnbap_NeighbourInfoRequestList_item; /* NeighbourInfoRequestItem */ +static int hf_hnbap_pTMSI; /* PTMSI */ +static int hf_hnbap_rAI; /* RAI */ +static int hf_hnbap_RABList_item; /* RABListItem */ +static int hf_hnbap_rAB_ID; /* RAB_ID */ +static int hf_hnbap_old_transport_Info; /* TransportInfo */ +static int hf_hnbap_new_transport_Info; /* TransportInfo */ +static int hf_hnbap_cn_domain_indicator; /* CN_DomainIndicator */ +static int hf_hnbap_lAI; /* LAI */ +static int hf_hnbap_rAC; /* RAC */ +static int hf_hnbap_tMSI; /* BIT_STRING_SIZE_32 */ +static int hf_hnbap_transportLayerAddress; /* TransportLayerAddress */ +static int hf_hnbap_transportAssociation; /* T_transportAssociation */ +static int hf_hnbap_gtp_TEI; /* GTP_TEI */ +static int hf_hnbap_bindingID; /* BindingID */ +static int hf_hnbap_access_stratum_release_indicator; /* Access_stratum_release_indicator */ +static int hf_hnbap_csg_capability; /* CSG_Capability */ +static int hf_hnbap_uTRANcellID; /* CellIdentity */ +static int hf_hnbap_iMSI; /* IMSI */ +static int hf_hnbap_tMSILAI; /* TMSILAI */ +static int hf_hnbap_pTMSIRAI; /* PTMSIRAI */ +static int hf_hnbap_iMEI; /* IMEI */ +static int hf_hnbap_iMSIESN; /* IMSIESN */ +static int hf_hnbap_tMSIDS41; /* TMSIDS41 */ +static int hf_hnbap_protocolIEs; /* ProtocolIE_Container */ +static int hf_hnbap_protocolExtensions; /* ProtocolExtensionContainer */ +static int hf_hnbap_privateIEs; /* PrivateIE_Container */ +static int hf_hnbap_initiatingMessage; /* InitiatingMessage */ +static int hf_hnbap_successfulOutcome; /* SuccessfulOutcome */ +static int hf_hnbap_unsuccessfulOutcome; /* UnsuccessfulOutcome */ +static int hf_hnbap_initiatingMessagevalue; /* InitiatingMessage_value */ +static int hf_hnbap_successfulOutcome_value; /* SuccessfulOutcome_value */ +static int hf_hnbap_unsuccessfulOutcome_value; /* UnsuccessfulOutcome_value */ /* Initialize the subtree pointers */ -static int ett_hnbap = -1; -static int ett_hnbap_imsi = -1; -static gint ett_hnbap_PrivateIE_ID = -1; -static gint ett_hnbap_ProtocolIE_Container = -1; -static gint ett_hnbap_ProtocolIE_Field = -1; -static gint ett_hnbap_ProtocolExtensionContainer = -1; -static gint ett_hnbap_ProtocolExtensionField = -1; -static gint ett_hnbap_PrivateIE_Container = -1; -static gint ett_hnbap_PrivateIE_Field = -1; -static gint ett_hnbap_AltitudeAndDirection = -1; -static gint ett_hnbap_Cause = -1; -static gint ett_hnbap_CriticalityDiagnostics = -1; -static gint ett_hnbap_CriticalityDiagnostics_IE_List = -1; -static gint ett_hnbap_CriticalityDiagnostics_IE_List_item = -1; -static gint ett_hnbap_CGI = -1; -static gint ett_hnbap_GeographicalLocation = -1; -static gint ett_hnbap_GeographicalCoordinates = -1; -static gint ett_hnbap_HNB_Cell_Identifier = -1; -static gint ett_hnbap_HNB_RNL_Identity = -1; -static gint ett_hnbap_HNBConfigInfo = -1; -static gint ett_hnbap_ConfigurationInformation = -1; -static gint ett_hnbap_HNBConfigurationInformationProvided = -1; -static gint ett_hnbap_HNBConfigurationInformationMissing = -1; -static gint ett_hnbap_HNB_Location_Information = -1; -static gint ett_hnbap_HNB_Identity = -1; -static gint ett_hnbap_IMSIESN = -1; -static gint ett_hnbap_IP_Address = -1; -static gint ett_hnbap_T_ipaddress = -1; -static gint ett_hnbap_Iurh_Signalling_TNL_AddressList = -1; -static gint ett_hnbap_LAI = -1; -static gint ett_hnbap_MacroCoverageInformation = -1; -static gint ett_hnbap_MacroCellID = -1; -static gint ett_hnbap_NeighbourInfoList = -1; -static gint ett_hnbap_NeighbourInfoRequestList = -1; -static gint ett_hnbap_NeighbourInfoRequestItem = -1; -static gint ett_hnbap_PTMSIRAI = -1; -static gint ett_hnbap_RABList = -1; -static gint ett_hnbap_RABListItem = -1; -static gint ett_hnbap_RAI = -1; -static gint ett_hnbap_TMSILAI = -1; -static gint ett_hnbap_TransportInfo = -1; -static gint ett_hnbap_T_transportAssociation = -1; -static gint ett_hnbap_UE_Capabilities = -1; -static gint ett_hnbap_UTRANCellID = -1; -static gint ett_hnbap_UE_Identity = -1; -static gint ett_hnbap_HNBRegisterRequest = -1; -static gint ett_hnbap_HNBRegisterAccept = -1; -static gint ett_hnbap_HNBRegisterReject = -1; -static gint ett_hnbap_HNBDe_Register = -1; -static gint ett_hnbap_UERegisterRequest = -1; -static gint ett_hnbap_UERegisterAccept = -1; -static gint ett_hnbap_UERegisterReject = -1; -static gint ett_hnbap_UEDe_Register = -1; -static gint ett_hnbap_CSGMembershipUpdate = -1; -static gint ett_hnbap_TNLUpdateRequest = -1; -static gint ett_hnbap_TNLUpdateResponse = -1; -static gint ett_hnbap_TNLUpdateFailure = -1; -static gint ett_hnbap_HNBConfigTransferRequest = -1; -static gint ett_hnbap_HNBConfigTransferResponse = -1; -static gint ett_hnbap_RelocationComplete = -1; -static gint ett_hnbap_ErrorIndication = -1; -static gint ett_hnbap_PrivateMessage = -1; -static gint ett_hnbap_HNBAP_PDU = -1; -static gint ett_hnbap_InitiatingMessage = -1; -static gint ett_hnbap_SuccessfulOutcome = -1; -static gint ett_hnbap_UnsuccessfulOutcome = -1; +static int ett_hnbap; +static int ett_hnbap_imsi; +static int ett_hnbap_PrivateIE_ID; +static int ett_hnbap_ProtocolIE_Container; +static int ett_hnbap_ProtocolIE_Field; +static int ett_hnbap_ProtocolExtensionContainer; +static int ett_hnbap_ProtocolExtensionField; +static int ett_hnbap_PrivateIE_Container; +static int ett_hnbap_PrivateIE_Field; +static int ett_hnbap_AltitudeAndDirection; +static int ett_hnbap_Cause; +static int ett_hnbap_CriticalityDiagnostics; +static int ett_hnbap_CriticalityDiagnostics_IE_List; +static int ett_hnbap_CriticalityDiagnostics_IE_List_item; +static int ett_hnbap_CGI; +static int ett_hnbap_GeographicalLocation; +static int ett_hnbap_GeographicalCoordinates; +static int ett_hnbap_HNB_Cell_Identifier; +static int ett_hnbap_HNB_RNL_Identity; +static int ett_hnbap_HNBConfigInfo; +static int ett_hnbap_ConfigurationInformation; +static int ett_hnbap_HNBConfigurationInformationProvided; +static int ett_hnbap_HNBConfigurationInformationMissing; +static int ett_hnbap_HNB_Location_Information; +static int ett_hnbap_HNB_Identity; +static int ett_hnbap_IMSIESN; +static int ett_hnbap_IP_Address; +static int ett_hnbap_T_ipaddress; +static int ett_hnbap_Iurh_Signalling_TNL_AddressList; +static int ett_hnbap_LAI; +static int ett_hnbap_MacroCoverageInformation; +static int ett_hnbap_MacroCellID; +static int ett_hnbap_NeighbourInfoList; +static int ett_hnbap_NeighbourInfoRequestList; +static int ett_hnbap_NeighbourInfoRequestItem; +static int ett_hnbap_PTMSIRAI; +static int ett_hnbap_RABList; +static int ett_hnbap_RABListItem; +static int ett_hnbap_RAI; +static int ett_hnbap_TMSILAI; +static int ett_hnbap_TransportInfo; +static int ett_hnbap_T_transportAssociation; +static int ett_hnbap_UE_Capabilities; +static int ett_hnbap_UTRANCellID; +static int ett_hnbap_UE_Identity; +static int ett_hnbap_HNBRegisterRequest; +static int ett_hnbap_HNBRegisterAccept; +static int ett_hnbap_HNBRegisterReject; +static int ett_hnbap_HNBDe_Register; +static int ett_hnbap_UERegisterRequest; +static int ett_hnbap_UERegisterAccept; +static int ett_hnbap_UERegisterReject; +static int ett_hnbap_UEDe_Register; +static int ett_hnbap_CSGMembershipUpdate; +static int ett_hnbap_TNLUpdateRequest; +static int ett_hnbap_TNLUpdateResponse; +static int ett_hnbap_TNLUpdateFailure; +static int ett_hnbap_HNBConfigTransferRequest; +static int ett_hnbap_HNBConfigTransferResponse; +static int ett_hnbap_RelocationComplete; +static int ett_hnbap_ErrorIndication; +static int ett_hnbap_PrivateMessage; +static int ett_hnbap_HNBAP_PDU; +static int ett_hnbap_InitiatingMessage; +static int ett_hnbap_SuccessfulOutcome; +static int ett_hnbap_UnsuccessfulOutcome; struct hnbap_private_data { e212_number_type_t number_type; }; /* Global variables */ -static guint32 ProcedureCode; -static guint32 ProtocolIE_ID; +static uint32_t ProcedureCode; +static uint32_t ProtocolIE_ID; /* Dissector tables */ static dissector_table_t hnbap_ies_dissector_table; @@ -349,7 +350,7 @@ static const value_string hnbap_Criticality_vals[] = { static int dissect_hnbap_Criticality(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 3, NULL, FALSE, 0, NULL); + 3, NULL, false, 0, NULL); return offset; } @@ -359,7 +360,7 @@ dissect_hnbap_Criticality(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U static int dissect_hnbap_INTEGER_0_65535(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, - 0U, 65535U, NULL, FALSE); + 0U, 65535U, NULL, false); return offset; } @@ -414,9 +415,9 @@ static const value_string hnbap_ProcedureCode_vals[] = { static int dissect_hnbap_ProcedureCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, - 0U, 255U, &ProcedureCode, FALSE); + 0U, 255U, &ProcedureCode, false); - if (strcmp(val_to_str(ProcedureCode, hnbap_ProcedureCode_vals, "Unknown"), "Unknown") == 0) { + if (strcmp(val_to_str_const(ProcedureCode, hnbap_ProcedureCode_vals, "Unknown"), "Unknown") == 0) { col_set_str(actx->pinfo->cinfo, COL_INFO, "Unknown Message"); } /* Known Procedures should be included below and broken out as ELEMENTARY names to avoid confusion */ @@ -463,10 +464,11 @@ static const value_string hnbap_ProtocolIE_ID_vals[] = { static int dissect_hnbap_ProtocolIE_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, - 0U, maxProtocolIEs, &ProtocolIE_ID, FALSE); + 0U, maxProtocolIEs, &ProtocolIE_ID, false); if (tree) { - proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str(ProtocolIE_ID, VALS(hnbap_ProtocolIE_ID_vals), "unknown (%d)")); + proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", + val_to_str(ProtocolIE_ID, VALS(hnbap_ProtocolIE_ID_vals), "unknown (%d)")); } return offset; } @@ -483,7 +485,7 @@ static const value_string hnbap_TriggeringMessage_vals[] = { static int dissect_hnbap_TriggeringMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 3, NULL, FALSE, 0, NULL); + 3, NULL, false, 0, NULL); return offset; } @@ -522,7 +524,7 @@ static int dissect_hnbap_ProtocolIE_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_hnbap_ProtocolIE_Container, ProtocolIE_Container_sequence_of, - 0, maxProtocolIEs, FALSE); + 0, maxProtocolIEs, false); return offset; } @@ -561,7 +563,7 @@ static int dissect_hnbap_ProtocolExtensionContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_hnbap_ProtocolExtensionContainer, ProtocolExtensionContainer_sequence_of, - 1, maxProtocolExtensions, FALSE); + 1, maxProtocolExtensions, false); return offset; } @@ -600,7 +602,7 @@ static int dissect_hnbap_PrivateIE_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_hnbap_PrivateIE_Container, PrivateIE_Container_sequence_of, - 1, maxPrivateIEs, FALSE); + 1, maxPrivateIEs, false); return offset; } @@ -620,7 +622,7 @@ static const value_string hnbap_Access_stratum_release_indicator_vals[] = { static int dissect_hnbap_Access_stratum_release_indicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 6, NULL, TRUE, 0, NULL); + 6, NULL, true, 0, NULL); return offset; } @@ -637,7 +639,7 @@ static const value_string hnbap_T_directionOfAltitude_vals[] = { static int dissect_hnbap_T_directionOfAltitude(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 2, NULL, FALSE, 0, NULL); + 2, NULL, false, 0, NULL); return offset; } @@ -647,7 +649,7 @@ dissect_hnbap_T_directionOfAltitude(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_ static int dissect_hnbap_INTEGER_0_32767(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, - 0U, 32767U, NULL, FALSE); + 0U, 32767U, NULL, false); return offset; } @@ -672,7 +674,7 @@ dissect_hnbap_AltitudeAndDirection(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t static int dissect_hnbap_BackoffTimer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, - 0U, 3600U, NULL, FALSE); + 0U, 3600U, NULL, false); return offset; } @@ -682,7 +684,7 @@ dissect_hnbap_BackoffTimer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _ static int dissect_hnbap_BindingID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, - 1, 4, TRUE, NULL); + 1, 4, true, NULL); return offset; } @@ -710,7 +712,7 @@ static const value_string hnbap_CauseRadioNetwork_vals[] = { static int dissect_hnbap_CauseRadioNetwork(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 14, NULL, TRUE, 0, NULL); + 14, NULL, true, 0, NULL); return offset; } @@ -726,7 +728,7 @@ static const value_string hnbap_CauseTransport_vals[] = { static int dissect_hnbap_CauseTransport(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 2, NULL, TRUE, 0, NULL); + 2, NULL, true, 0, NULL); return offset; } @@ -747,7 +749,7 @@ static const value_string hnbap_CauseProtocol_vals[] = { static int dissect_hnbap_CauseProtocol(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 7, NULL, TRUE, 0, NULL); + 7, NULL, true, 0, NULL); return offset; } @@ -765,7 +767,7 @@ static const value_string hnbap_CauseMisc_vals[] = { static int dissect_hnbap_CauseMisc(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 4, NULL, TRUE, 0, NULL); + 4, NULL, true, 0, NULL); return offset; } @@ -801,7 +803,7 @@ dissect_hnbap_Cause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, pro static int dissect_hnbap_CellIdentity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, - 28, 28, FALSE, NULL, 0, NULL, NULL); + 28, 28, false, NULL, 0, NULL, NULL); return offset; } @@ -811,7 +813,7 @@ dissect_hnbap_CellIdentity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _ static int dissect_hnbap_Context_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, - 24, 24, FALSE, NULL, 0, NULL, NULL); + 24, 24, false, NULL, 0, NULL, NULL); return offset; } @@ -827,7 +829,7 @@ static const value_string hnbap_TypeOfError_vals[] = { static int dissect_hnbap_TypeOfError(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 2, NULL, TRUE, 0, NULL); + 2, NULL, true, 0, NULL); return offset; } @@ -858,7 +860,7 @@ static int dissect_hnbap_CriticalityDiagnostics_IE_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_hnbap_CriticalityDiagnostics_IE_List, CriticalityDiagnostics_IE_List_sequence_of, - 1, maxNrOfErrors, FALSE); + 1, maxNrOfErrors, false); return offset; } @@ -886,7 +888,7 @@ dissect_hnbap_CriticalityDiagnostics(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx static int dissect_hnbap_CSG_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, - 27, 27, FALSE, NULL, 0, NULL, NULL); + 27, 27, false, NULL, 0, NULL, NULL); return offset; } @@ -902,7 +904,7 @@ static const value_string hnbap_CSG_Capability_vals[] = { static int dissect_hnbap_CSG_Capability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 2, NULL, TRUE, 0, NULL); + 2, NULL, true, 0, NULL); return offset; } @@ -918,7 +920,7 @@ static const value_string hnbap_CSGMembershipStatus_vals[] = { static int dissect_hnbap_CSGMembershipStatus(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 2, NULL, TRUE, 0, NULL); + 2, NULL, true, 0, NULL); return offset; } @@ -932,10 +934,10 @@ dissect_hnbap_PLMNidentity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _ e212_number_type_t number_type = hnbap_data->number_type; hnbap_data->number_type = E212_NONE; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, - 3, 3, FALSE, ¶meter_tvb); + 3, 3, false, ¶meter_tvb); if (parameter_tvb) { - dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, tree, 0, number_type, FALSE); + dissect_e212_mcc_mnc(parameter_tvb, actx->pinfo, tree, 0, number_type, false); } return offset; @@ -947,7 +949,7 @@ static int dissect_hnbap_LAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, - 2, 2, FALSE, ¶meter_tvb); + 2, 2, false, ¶meter_tvb); if (parameter_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN); @@ -962,7 +964,7 @@ dissect_hnbap_LAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto static int dissect_hnbap_CI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, - 2, 2, FALSE, NULL); + 2, 2, false, NULL); return offset; } @@ -999,7 +1001,7 @@ static const value_string hnbap_CN_DomainIndicator_vals[] = { static int dissect_hnbap_CN_DomainIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 2, NULL, FALSE, 0, NULL); + 2, NULL, false, 0, NULL); return offset; } @@ -1009,7 +1011,7 @@ dissect_hnbap_CN_DomainIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t * static int dissect_hnbap_ESN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, - 32, 32, FALSE, NULL, 0, NULL, NULL); + 32, 32, false, NULL, 0, NULL, NULL); return offset; } @@ -1025,7 +1027,7 @@ static const value_string hnbap_T_latitudeSign_vals[] = { static int dissect_hnbap_T_latitudeSign(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 2, NULL, FALSE, 0, NULL); + 2, NULL, false, 0, NULL); return offset; } @@ -1035,7 +1037,7 @@ dissect_hnbap_T_latitudeSign(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx static int dissect_hnbap_INTEGER_0_8388607(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, - 0U, 8388607U, NULL, FALSE); + 0U, 8388607U, NULL, false); return offset; } @@ -1045,7 +1047,7 @@ dissect_hnbap_INTEGER_0_8388607(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *a static int dissect_hnbap_INTEGER_M8388608_8388607(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, - -8388608, 8388607U, NULL, FALSE); + -8388608, 8388607U, NULL, false); return offset; } @@ -1088,7 +1090,7 @@ dissect_hnbap_GeographicalLocation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t static int dissect_hnbap_GTP_TEI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, - 4, 4, FALSE, NULL); + 4, 4, false, NULL); return offset; } @@ -1105,7 +1107,7 @@ static const value_string hnbap_HNB_Cell_Access_Mode_vals[] = { static int dissect_hnbap_HNB_Cell_Access_Mode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 3, NULL, TRUE, 0, NULL); + 3, NULL, true, 0, NULL); return offset; } @@ -1151,7 +1153,7 @@ dissect_hnbap_HNB_RNL_Identity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *ac static int dissect_hnbap_PSC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, - 9, 9, FALSE, NULL, 0, NULL, NULL); + 9, 9, false, NULL, 0, NULL, NULL); return offset; } @@ -1161,7 +1163,7 @@ dissect_hnbap_PSC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto static int dissect_hnbap_Ipv4Address(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, - 4, 4, FALSE, NULL); + 4, 4, false, NULL); return offset; } @@ -1171,7 +1173,7 @@ dissect_hnbap_Ipv4Address(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U static int dissect_hnbap_Ipv6Address(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, - 16, 16, FALSE, NULL); + 16, 16, false, NULL); return offset; } @@ -1222,7 +1224,7 @@ static int dissect_hnbap_Iurh_Signalling_TNL_AddressList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_hnbap_Iurh_Signalling_TNL_AddressList, Iurh_Signalling_TNL_AddressList_sequence_of, - 1, maxnoofIurhAddresses, FALSE); + 1, maxnoofIurhAddresses, false); return offset; } @@ -1304,7 +1306,7 @@ static int dissect_hnbap_RAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, - 1, 1, FALSE, ¶meter_tvb); + 1, 1, false, ¶meter_tvb); if (parameter_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 1, ENC_BIG_ENDIAN); @@ -1390,7 +1392,7 @@ dissect_hnbap_HNB_Location_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_c static int dissect_hnbap_HNB_Identity_Info(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, - 1, 255, FALSE, NULL); + 1, 255, false, NULL); return offset; } @@ -1415,7 +1417,7 @@ dissect_hnbap_HNB_Identity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _ static int dissect_hnbap_IMEI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, - 60, 60, FALSE, NULL, 0, NULL, NULL); + 60, 60, false, NULL, 0, NULL, NULL); return offset; } @@ -1426,11 +1428,11 @@ static int dissect_hnbap_IMSI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, - 3, 8, FALSE, ¶meter_tvb); + 3, 8, false, ¶meter_tvb); if (parameter_tvb) { proto_tree *subtree = proto_item_add_subtree(actx->created_item, ett_hnbap_imsi); - dissect_e212_imsi(parameter_tvb, actx->pinfo, subtree, 0, tvb_reported_length(parameter_tvb), FALSE); + dissect_e212_imsi(parameter_tvb, actx->pinfo, subtree, 0, tvb_reported_length(parameter_tvb), false); } @@ -1442,7 +1444,7 @@ dissect_hnbap_IMSI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, prot static int dissect_hnbap_IMSIDS41(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, - 5, 7, FALSE, NULL); + 5, 7, false, NULL); return offset; } @@ -1491,7 +1493,7 @@ dissect_hnbap_LAI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto static int dissect_hnbap_MuxPortNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, - 1024U, 65535U, NULL, FALSE); + 1024U, 65535U, NULL, false); return offset; } @@ -1505,7 +1507,7 @@ static int dissect_hnbap_NeighbourInfoList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_hnbap_NeighbourInfoList, NeighbourInfoList_sequence_of, - 1, maxnoofNeighbours, FALSE); + 1, maxnoofNeighbours, false); return offset; } @@ -1534,7 +1536,7 @@ static int dissect_hnbap_NeighbourInfoRequestList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_hnbap_NeighbourInfoRequestList, NeighbourInfoRequestList_sequence_of, - 1, maxnoofNeighbours, FALSE); + 1, maxnoofNeighbours, false); return offset; } @@ -1544,7 +1546,7 @@ dissect_hnbap_NeighbourInfoRequestList(tvbuff_t *tvb _U_, int offset _U_, asn1_c static int dissect_hnbap_PTMSI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, - 32, 32, FALSE, NULL, 0, NULL, NULL); + 32, 32, false, NULL, 0, NULL, NULL); return offset; } @@ -1588,7 +1590,7 @@ dissect_hnbap_PTMSIRAI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, static int dissect_hnbap_RAB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, - 8, 8, FALSE, NULL, 0, NULL, NULL); + 8, 8, false, NULL, 0, NULL, NULL); return offset; } @@ -1598,7 +1600,7 @@ dissect_hnbap_RAB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, pr static int dissect_hnbap_TransportLayerAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, - 1, 160, TRUE, NULL, 0, NULL, NULL); + 1, 160, true, NULL, 0, NULL, NULL); return offset; } @@ -1668,7 +1670,7 @@ static int dissect_hnbap_RABList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_sequence_of(tvb, offset, actx, tree, hf_index, ett_hnbap_RABList, RABList_sequence_of, - 1, maxnoofRABs, FALSE); + 1, maxnoofRABs, false); return offset; } @@ -1685,7 +1687,7 @@ static const value_string hnbap_Registration_Cause_vals[] = { static int dissect_hnbap_Registration_Cause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 2, NULL, TRUE, 1, NULL); + 2, NULL, true, 1, NULL); return offset; } @@ -1695,7 +1697,7 @@ dissect_hnbap_Registration_Cause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t * static int dissect_hnbap_RNC_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, - 0U, 65535U, NULL, FALSE); + 0U, 65535U, NULL, false); return offset; } @@ -1706,7 +1708,7 @@ static int dissect_hnbap_SAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *parameter_tvb = NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, -1, - 2, 2, FALSE, ¶meter_tvb); + 2, 2, false, ¶meter_tvb); if (parameter_tvb) { actx->created_item = proto_tree_add_item(tree, hf_index, parameter_tvb, 0, 2, ENC_BIG_ENDIAN); @@ -1721,7 +1723,7 @@ dissect_hnbap_SAC(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto static int dissect_hnbap_BIT_STRING_SIZE_32(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, - 32, 32, FALSE, NULL, 0, NULL, NULL); + 32, 32, false, NULL, 0, NULL, NULL); return offset; } @@ -1746,7 +1748,7 @@ dissect_hnbap_TMSILAI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, p static int dissect_hnbap_TMSIDS41(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, - 2, 17, FALSE, NULL); + 2, 17, false, NULL); return offset; } @@ -1811,7 +1813,7 @@ static const value_string hnbap_Update_cause_vals[] = { static int dissect_hnbap_Update_cause(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, - 1, NULL, TRUE, 0, NULL); + 1, NULL, true, 0, NULL); return offset; } @@ -2238,7 +2240,7 @@ dissect_hnbap_HNBAP_PDU(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, static int dissect_BackoffTimer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_BackoffTimer(tvb, offset, &asn1_ctx, tree, hf_hnbap_BackoffTimer_PDU); offset += 7; offset >>= 3; return offset; @@ -2246,7 +2248,7 @@ static int dissect_BackoffTimer_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p static int dissect_Cause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_Cause(tvb, offset, &asn1_ctx, tree, hf_hnbap_Cause_PDU); offset += 7; offset >>= 3; return offset; @@ -2254,7 +2256,7 @@ static int dissect_Cause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tr static int dissect_CellIdentity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_CellIdentity(tvb, offset, &asn1_ctx, tree, hf_hnbap_CellIdentity_PDU); offset += 7; offset >>= 3; return offset; @@ -2262,7 +2264,7 @@ static int dissect_CellIdentity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p static int dissect_Context_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_Context_ID(tvb, offset, &asn1_ctx, tree, hf_hnbap_Context_ID_PDU); offset += 7; offset >>= 3; return offset; @@ -2270,7 +2272,7 @@ static int dissect_Context_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pro static int dissect_CriticalityDiagnostics_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_CriticalityDiagnostics(tvb, offset, &asn1_ctx, tree, hf_hnbap_CriticalityDiagnostics_PDU); offset += 7; offset >>= 3; return offset; @@ -2278,7 +2280,7 @@ static int dissect_CriticalityDiagnostics_PDU(tvbuff_t *tvb _U_, packet_info *pi static int dissect_CSG_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_CSG_ID(tvb, offset, &asn1_ctx, tree, hf_hnbap_CSG_ID_PDU); offset += 7; offset >>= 3; return offset; @@ -2286,7 +2288,7 @@ static int dissect_CSG_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_t static int dissect_CSGMembershipStatus_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_CSGMembershipStatus(tvb, offset, &asn1_ctx, tree, hf_hnbap_CSGMembershipStatus_PDU); offset += 7; offset >>= 3; return offset; @@ -2294,7 +2296,7 @@ static int dissect_CSGMembershipStatus_PDU(tvbuff_t *tvb _U_, packet_info *pinfo static int dissect_HNB_Cell_Access_Mode_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_HNB_Cell_Access_Mode(tvb, offset, &asn1_ctx, tree, hf_hnbap_HNB_Cell_Access_Mode_PDU); offset += 7; offset >>= 3; return offset; @@ -2302,7 +2304,7 @@ static int dissect_HNB_Cell_Access_Mode_PDU(tvbuff_t *tvb _U_, packet_info *pinf static int dissect_HNB_Location_Information_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_HNB_Location_Information(tvb, offset, &asn1_ctx, tree, hf_hnbap_HNB_Location_Information_PDU); offset += 7; offset >>= 3; return offset; @@ -2310,7 +2312,7 @@ static int dissect_HNB_Location_Information_PDU(tvbuff_t *tvb _U_, packet_info * static int dissect_HNB_Identity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_HNB_Identity(tvb, offset, &asn1_ctx, tree, hf_hnbap_HNB_Identity_PDU); offset += 7; offset >>= 3; return offset; @@ -2318,7 +2320,7 @@ static int dissect_HNB_Identity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p static int dissect_IP_Address_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_IP_Address(tvb, offset, &asn1_ctx, tree, hf_hnbap_IP_Address_PDU); offset += 7; offset >>= 3; return offset; @@ -2326,7 +2328,7 @@ static int dissect_IP_Address_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pro static int dissect_LAC_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_LAC(tvb, offset, &asn1_ctx, tree, hf_hnbap_LAC_PDU); offset += 7; offset >>= 3; return offset; @@ -2334,7 +2336,7 @@ static int dissect_LAC_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree static int dissect_MuxPortNumber_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_MuxPortNumber(tvb, offset, &asn1_ctx, tree, hf_hnbap_MuxPortNumber_PDU); offset += 7; offset >>= 3; return offset; @@ -2342,7 +2344,7 @@ static int dissect_MuxPortNumber_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, static int dissect_NeighbourInfoList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_NeighbourInfoList(tvb, offset, &asn1_ctx, tree, hf_hnbap_NeighbourInfoList_PDU); offset += 7; offset >>= 3; return offset; @@ -2350,7 +2352,7 @@ static int dissect_NeighbourInfoList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _ static int dissect_NeighbourInfoRequestList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_NeighbourInfoRequestList(tvb, offset, &asn1_ctx, tree, hf_hnbap_NeighbourInfoRequestList_PDU); offset += 7; offset >>= 3; return offset; @@ -2358,7 +2360,7 @@ static int dissect_NeighbourInfoRequestList_PDU(tvbuff_t *tvb _U_, packet_info * static int dissect_PLMNidentity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_PLMNidentity(tvb, offset, &asn1_ctx, tree, hf_hnbap_PLMNidentity_PDU); offset += 7; offset >>= 3; return offset; @@ -2366,7 +2368,7 @@ static int dissect_PLMNidentity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p static int dissect_PSC_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_PSC(tvb, offset, &asn1_ctx, tree, hf_hnbap_PSC_PDU); offset += 7; offset >>= 3; return offset; @@ -2374,7 +2376,7 @@ static int dissect_PSC_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree static int dissect_RABList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_RABList(tvb, offset, &asn1_ctx, tree, hf_hnbap_RABList_PDU); offset += 7; offset >>= 3; return offset; @@ -2382,7 +2384,7 @@ static int dissect_RABList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_ static int dissect_RAC_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_RAC(tvb, offset, &asn1_ctx, tree, hf_hnbap_RAC_PDU); offset += 7; offset >>= 3; return offset; @@ -2390,7 +2392,7 @@ static int dissect_RAC_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree static int dissect_Registration_Cause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_Registration_Cause(tvb, offset, &asn1_ctx, tree, hf_hnbap_Registration_Cause_PDU); offset += 7; offset >>= 3; return offset; @@ -2398,7 +2400,7 @@ static int dissect_Registration_Cause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo static int dissect_RNC_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_RNC_ID(tvb, offset, &asn1_ctx, tree, hf_hnbap_RNC_ID_PDU); offset += 7; offset >>= 3; return offset; @@ -2406,7 +2408,7 @@ static int dissect_RNC_ID_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_t static int dissect_SAC_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_SAC(tvb, offset, &asn1_ctx, tree, hf_hnbap_SAC_PDU); offset += 7; offset >>= 3; return offset; @@ -2414,7 +2416,7 @@ static int dissect_SAC_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree static int dissect_UE_Capabilities_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_UE_Capabilities(tvb, offset, &asn1_ctx, tree, hf_hnbap_UE_Capabilities_PDU); offset += 7; offset >>= 3; return offset; @@ -2422,7 +2424,7 @@ static int dissect_UE_Capabilities_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_ static int dissect_UE_Identity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_UE_Identity(tvb, offset, &asn1_ctx, tree, hf_hnbap_UE_Identity_PDU); offset += 7; offset >>= 3; return offset; @@ -2430,7 +2432,7 @@ static int dissect_UE_Identity_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pr static int dissect_Update_cause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_Update_cause(tvb, offset, &asn1_ctx, tree, hf_hnbap_Update_cause_PDU); offset += 7; offset >>= 3; return offset; @@ -2438,7 +2440,7 @@ static int dissect_Update_cause_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, p static int dissect_HNBRegisterRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_HNBRegisterRequest(tvb, offset, &asn1_ctx, tree, hf_hnbap_HNBRegisterRequest_PDU); offset += 7; offset >>= 3; return offset; @@ -2446,7 +2448,7 @@ static int dissect_HNBRegisterRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo static int dissect_HNBRegisterAccept_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_HNBRegisterAccept(tvb, offset, &asn1_ctx, tree, hf_hnbap_HNBRegisterAccept_PDU); offset += 7; offset >>= 3; return offset; @@ -2454,7 +2456,7 @@ static int dissect_HNBRegisterAccept_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _ static int dissect_HNBRegisterReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_HNBRegisterReject(tvb, offset, &asn1_ctx, tree, hf_hnbap_HNBRegisterReject_PDU); offset += 7; offset >>= 3; return offset; @@ -2462,7 +2464,7 @@ static int dissect_HNBRegisterReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _ static int dissect_HNBDe_Register_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_HNBDe_Register(tvb, offset, &asn1_ctx, tree, hf_hnbap_HNBDe_Register_PDU); offset += 7; offset >>= 3; return offset; @@ -2470,7 +2472,7 @@ static int dissect_HNBDe_Register_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, static int dissect_UERegisterRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_UERegisterRequest(tvb, offset, &asn1_ctx, tree, hf_hnbap_UERegisterRequest_PDU); offset += 7; offset >>= 3; return offset; @@ -2478,7 +2480,7 @@ static int dissect_UERegisterRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _ static int dissect_UERegisterAccept_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_UERegisterAccept(tvb, offset, &asn1_ctx, tree, hf_hnbap_UERegisterAccept_PDU); offset += 7; offset >>= 3; return offset; @@ -2486,7 +2488,7 @@ static int dissect_UERegisterAccept_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U static int dissect_UERegisterReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_UERegisterReject(tvb, offset, &asn1_ctx, tree, hf_hnbap_UERegisterReject_PDU); offset += 7; offset >>= 3; return offset; @@ -2494,7 +2496,7 @@ static int dissect_UERegisterReject_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U static int dissect_UEDe_Register_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_UEDe_Register(tvb, offset, &asn1_ctx, tree, hf_hnbap_UEDe_Register_PDU); offset += 7; offset >>= 3; return offset; @@ -2502,7 +2504,7 @@ static int dissect_UEDe_Register_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, static int dissect_CSGMembershipUpdate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_CSGMembershipUpdate(tvb, offset, &asn1_ctx, tree, hf_hnbap_CSGMembershipUpdate_PDU); offset += 7; offset >>= 3; return offset; @@ -2510,7 +2512,7 @@ static int dissect_CSGMembershipUpdate_PDU(tvbuff_t *tvb _U_, packet_info *pinfo static int dissect_TNLUpdateRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_TNLUpdateRequest(tvb, offset, &asn1_ctx, tree, hf_hnbap_TNLUpdateRequest_PDU); offset += 7; offset >>= 3; return offset; @@ -2518,7 +2520,7 @@ static int dissect_TNLUpdateRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U static int dissect_TNLUpdateResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_TNLUpdateResponse(tvb, offset, &asn1_ctx, tree, hf_hnbap_TNLUpdateResponse_PDU); offset += 7; offset >>= 3; return offset; @@ -2526,7 +2528,7 @@ static int dissect_TNLUpdateResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _ static int dissect_TNLUpdateFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_TNLUpdateFailure(tvb, offset, &asn1_ctx, tree, hf_hnbap_TNLUpdateFailure_PDU); offset += 7; offset >>= 3; return offset; @@ -2534,7 +2536,7 @@ static int dissect_TNLUpdateFailure_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U static int dissect_HNBConfigTransferRequest_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_HNBConfigTransferRequest(tvb, offset, &asn1_ctx, tree, hf_hnbap_HNBConfigTransferRequest_PDU); offset += 7; offset >>= 3; return offset; @@ -2542,7 +2544,7 @@ static int dissect_HNBConfigTransferRequest_PDU(tvbuff_t *tvb _U_, packet_info * static int dissect_HNBConfigTransferResponse_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_HNBConfigTransferResponse(tvb, offset, &asn1_ctx, tree, hf_hnbap_HNBConfigTransferResponse_PDU); offset += 7; offset >>= 3; return offset; @@ -2550,7 +2552,7 @@ static int dissect_HNBConfigTransferResponse_PDU(tvbuff_t *tvb _U_, packet_info static int dissect_RelocationComplete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_RelocationComplete(tvb, offset, &asn1_ctx, tree, hf_hnbap_RelocationComplete_PDU); offset += 7; offset >>= 3; return offset; @@ -2558,7 +2560,7 @@ static int dissect_RelocationComplete_PDU(tvbuff_t *tvb _U_, packet_info *pinfo static int dissect_ErrorIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_ErrorIndication(tvb, offset, &asn1_ctx, tree, hf_hnbap_ErrorIndication_PDU); offset += 7; offset >>= 3; return offset; @@ -2566,7 +2568,7 @@ static int dissect_ErrorIndication_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_ static int dissect_PrivateMessage_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_PrivateMessage(tvb, offset, &asn1_ctx, tree, hf_hnbap_PrivateMessage_PDU); offset += 7; offset >>= 3; return offset; @@ -2574,7 +2576,7 @@ static int dissect_PrivateMessage_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, static int dissect_HNBAP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) { int offset = 0; asn1_ctx_t asn1_ctx; - asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo); + asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, true, pinfo); offset = dissect_hnbap_HNBAP_PDU(tvb, offset, &asn1_ctx, tree, hf_hnbap_HNBAP_PDU_PDU); offset += 7; offset >>= 3; return offset; @@ -2583,12 +2585,12 @@ static int dissect_HNBAP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, prot static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { - return (dissector_try_uint_new(hnbap_ies_dissector_table, ProtocolIE_ID, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; + return (dissector_try_uint_new(hnbap_ies_dissector_table, ProtocolIE_ID, tvb, pinfo, tree, false, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { - return (dissector_try_uint_new(hnbap_extension_dissector_table, ProtocolIE_ID, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; + return (dissector_try_uint_new(hnbap_extension_dissector_table, ProtocolIE_ID, tvb, pinfo, tree, false, NULL)) ? tvb_captured_length(tvb) : 0; } #if 0 static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) @@ -2612,17 +2614,17 @@ static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, p static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { - return (dissector_try_uint_new(hnbap_proc_imsg_dissector_table, ProcedureCode, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; + return (dissector_try_uint_new(hnbap_proc_imsg_dissector_table, ProcedureCode, tvb, pinfo, tree, false, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_SuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { - return (dissector_try_uint_new(hnbap_proc_sout_dissector_table, ProcedureCode, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; + return (dissector_try_uint_new(hnbap_proc_sout_dissector_table, ProcedureCode, tvb, pinfo, tree, false, NULL)) ? tvb_captured_length(tvb) : 0; } static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { - return (dissector_try_uint_new(hnbap_proc_uout_dissector_table, ProcedureCode, tvb, pinfo, tree, FALSE, NULL)) ? tvb_captured_length(tvb) : 0; + return (dissector_try_uint_new(hnbap_proc_uout_dissector_table, ProcedureCode, tvb, pinfo, tree, false, NULL)) ? tvb_captured_length(tvb) : 0; } static int @@ -3195,7 +3197,7 @@ void proto_register_hnbap(void) { }; /* List of subtrees */ - static gint *ett[] = { + static int *ett[] = { &ett_hnbap, &ett_hnbap_imsi, &ett_hnbap_PrivateIE_ID, |