diff options
Diffstat (limited to 'epan/dissectors/packet-kpm-v2.c')
-rw-r--r-- | epan/dissectors/packet-kpm-v2.c | 699 |
1 files changed, 350 insertions, 349 deletions
diff --git a/epan/dissectors/packet-kpm-v2.c b/epan/dissectors/packet-kpm-v2.c index 3ba2bc19..9b074b54 100644 --- a/epan/dissectors/packet-kpm-v2.c +++ b/epan/dissectors/packet-kpm-v2.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-kpm-v2.c */ -/* asn2wrs.py -L -p kpm-v2 -c ./kpm-v2.cnf -s ./packet-kpm-v2-template -D . -O ../.. e2sm-kpm-v2.02.asn e2sm-v3.01.asn */ +/* asn2wrs.py -q -L -p kpm-v2 -c ./kpm-v2.cnf -s ./packet-kpm-v2-template -D . -O ../.. e2sm-kpm-v2.02.asn e2sm-v3.01.asn */ /* packet-kpm-v2-template.c * Copyright 2021, Martin Mathieson @@ -20,6 +20,7 @@ #include <epan/packet.h> #include <epan/strutil.h> #include <epan/asn1.h> +#include <wsutil/array.h> #include "packet-e2ap.h" #include "packet-per.h" @@ -52,265 +53,265 @@ void proto_reg_handoff_kpm_v2(void); #define maxnoofNrCellBands 32 /* Initialize the protocol and registered fields */ -static int proto_kpm_v2 = -1; -static int hf_kpm_v2_E2SM_KPM_EventTriggerDefinition_PDU = -1; /* E2SM_KPM_EventTriggerDefinition */ -static int hf_kpm_v2_E2SM_KPM_ActionDefinition_PDU = -1; /* E2SM_KPM_ActionDefinition */ -static int hf_kpm_v2_E2SM_KPM_IndicationHeader_PDU = -1; /* E2SM_KPM_IndicationHeader */ -static int hf_kpm_v2_E2SM_KPM_IndicationMessage_PDU = -1; /* E2SM_KPM_IndicationMessage */ -static int hf_kpm_v2_E2SM_KPM_RANfunction_Description_PDU = -1; /* E2SM_KPM_RANfunction_Description */ -static int hf_kpm_v2_measName = -1; /* MeasurementTypeName */ -static int hf_kpm_v2_measID = -1; /* MeasurementTypeID */ -static int hf_kpm_v2_noLabel = -1; /* T_noLabel */ -static int hf_kpm_v2_plmnID = -1; /* PLMNIdentity */ -static int hf_kpm_v2_sliceID = -1; /* S_NSSAI */ -static int hf_kpm_v2_fiveQI = -1; /* FiveQI */ -static int hf_kpm_v2_qFI = -1; /* QosFlowIdentifier */ -static int hf_kpm_v2_qCI = -1; /* QCI */ -static int hf_kpm_v2_qCImax = -1; /* QCI */ -static int hf_kpm_v2_qCImin = -1; /* QCI */ -static int hf_kpm_v2_aRPmax = -1; /* INTEGER_1_15_ */ -static int hf_kpm_v2_aRPmin = -1; /* INTEGER_1_15_ */ -static int hf_kpm_v2_bitrateRange = -1; /* INTEGER_1_65535_ */ -static int hf_kpm_v2_layerMU_MIMO = -1; /* INTEGER_1_65535_ */ -static int hf_kpm_v2_sUM = -1; /* T_sUM */ -static int hf_kpm_v2_distBinX = -1; /* INTEGER_1_65535_ */ -static int hf_kpm_v2_distBinY = -1; /* INTEGER_1_65535_ */ -static int hf_kpm_v2_distBinZ = -1; /* INTEGER_1_65535_ */ -static int hf_kpm_v2_preLabelOverride = -1; /* T_preLabelOverride */ -static int hf_kpm_v2_startEndInd = -1; /* T_startEndInd */ -static int hf_kpm_v2_min = -1; /* T_min */ -static int hf_kpm_v2_max = -1; /* T_max */ -static int hf_kpm_v2_avg = -1; /* T_avg */ -static int hf_kpm_v2_testType = -1; /* TestCond_Type */ -static int hf_kpm_v2_testExpr = -1; /* TestCond_Expression */ -static int hf_kpm_v2_testValue = -1; /* TestCond_Value */ -static int hf_kpm_v2_gBR = -1; /* T_gBR */ -static int hf_kpm_v2_aMBR = -1; /* T_aMBR */ -static int hf_kpm_v2_isStat = -1; /* T_isStat */ -static int hf_kpm_v2_isCatM = -1; /* T_isCatM */ -static int hf_kpm_v2_rSRP = -1; /* T_rSRP */ -static int hf_kpm_v2_rSRQ = -1; /* T_rSRQ */ -static int hf_kpm_v2_ul_rSRP = -1; /* T_ul_rSRP */ -static int hf_kpm_v2_cQI = -1; /* T_cQI */ -static int hf_kpm_v2_fiveQI_01 = -1; /* T_fiveQI */ -static int hf_kpm_v2_qCI_01 = -1; /* T_qCI */ -static int hf_kpm_v2_sNSSAI = -1; /* T_sNSSAI */ -static int hf_kpm_v2_valueInt = -1; /* INTEGER */ -static int hf_kpm_v2_valueEnum = -1; /* INTEGER */ -static int hf_kpm_v2_valueBool = -1; /* BOOLEAN */ -static int hf_kpm_v2_valueBitS = -1; /* BIT_STRING */ -static int hf_kpm_v2_valueOctS = -1; /* OCTET_STRING */ -static int hf_kpm_v2_valuePrtS = -1; /* PrintableString */ -static int hf_kpm_v2_valueReal = -1; /* REAL */ -static int hf_kpm_v2_MeasurementInfoList_item = -1; /* MeasurementInfoItem */ -static int hf_kpm_v2_measType = -1; /* MeasurementType */ -static int hf_kpm_v2_labelInfoList = -1; /* LabelInfoList */ -static int hf_kpm_v2_LabelInfoList_item = -1; /* LabelInfoItem */ -static int hf_kpm_v2_measLabel = -1; /* MeasurementLabel */ -static int hf_kpm_v2_MeasurementData_item = -1; /* MeasurementDataItem */ -static int hf_kpm_v2_measRecord = -1; /* MeasurementRecord */ -static int hf_kpm_v2_incompleteFlag = -1; /* T_incompleteFlag */ -static int hf_kpm_v2_MeasurementRecord_item = -1; /* MeasurementRecordItem */ -static int hf_kpm_v2_integer = -1; /* INTEGER_0_4294967295 */ -static int hf_kpm_v2_real = -1; /* REAL */ -static int hf_kpm_v2_noValue = -1; /* NULL */ -static int hf_kpm_v2_MeasurementInfo_Action_List_item = -1; /* MeasurementInfo_Action_Item */ -static int hf_kpm_v2_MeasurementCondList_item = -1; /* MeasurementCondItem */ -static int hf_kpm_v2_matchingCond = -1; /* MatchingCondList */ -static int hf_kpm_v2_MeasurementCondUEidList_item = -1; /* MeasurementCondUEidItem */ -static int hf_kpm_v2_matchingUEidList = -1; /* MatchingUEidList */ -static int hf_kpm_v2_MatchingCondList_item = -1; /* MatchingCondItem */ -static int hf_kpm_v2_testCondInfo = -1; /* TestCondInfo */ -static int hf_kpm_v2_MatchingUEidList_item = -1; /* MatchingUEidItem */ -static int hf_kpm_v2_ueID = -1; /* UEID */ -static int hf_kpm_v2_MatchingUeCondPerSubList_item = -1; /* MatchingUeCondPerSubItem */ -static int hf_kpm_v2_MatchingUEidPerSubList_item = -1; /* MatchingUEidPerSubItem */ -static int hf_kpm_v2_UEMeasurementReportList_item = -1; /* UEMeasurementReportItem */ -static int hf_kpm_v2_measReport = -1; /* E2SM_KPM_IndicationMessage_Format1 */ -static int hf_kpm_v2_eventDefinition_formats = -1; /* T_eventDefinition_formats */ -static int hf_kpm_v2_eventDefinition_Format1 = -1; /* E2SM_KPM_EventTriggerDefinition_Format1 */ -static int hf_kpm_v2_reportingPeriod = -1; /* INTEGER_1_4294967295 */ -static int hf_kpm_v2_ric_Style_Type = -1; /* RIC_Style_Type */ -static int hf_kpm_v2_actionDefinition_formats = -1; /* T_actionDefinition_formats */ -static int hf_kpm_v2_actionDefinition_Format1 = -1; /* E2SM_KPM_ActionDefinition_Format1 */ -static int hf_kpm_v2_actionDefinition_Format2 = -1; /* E2SM_KPM_ActionDefinition_Format2 */ -static int hf_kpm_v2_actionDefinition_Format3 = -1; /* E2SM_KPM_ActionDefinition_Format3 */ -static int hf_kpm_v2_actionDefinition_Format4 = -1; /* E2SM_KPM_ActionDefinition_Format4 */ -static int hf_kpm_v2_actionDefinition_Format5 = -1; /* E2SM_KPM_ActionDefinition_Format5 */ -static int hf_kpm_v2_measInfoList = -1; /* MeasurementInfoList */ -static int hf_kpm_v2_granulPeriod = -1; /* GranularityPeriod */ -static int hf_kpm_v2_cellGlobalID = -1; /* CGI */ -static int hf_kpm_v2_subscriptInfo = -1; /* E2SM_KPM_ActionDefinition_Format1 */ -static int hf_kpm_v2_measCondList = -1; /* MeasurementCondList */ -static int hf_kpm_v2_matchingUeCondList = -1; /* MatchingUeCondPerSubList */ -static int hf_kpm_v2_subscriptionInfo = -1; /* E2SM_KPM_ActionDefinition_Format1 */ -static int hf_kpm_v2_matchingUEidList_01 = -1; /* MatchingUEidPerSubList */ -static int hf_kpm_v2_indicationHeader_formats = -1; /* T_indicationHeader_formats */ -static int hf_kpm_v2_indicationHeader_Format1 = -1; /* E2SM_KPM_IndicationHeader_Format1 */ -static int hf_kpm_v2_colletStartTime = -1; /* T_colletStartTime */ -static int hf_kpm_v2_fileFormatversion = -1; /* PrintableString_SIZE_0_15_ */ -static int hf_kpm_v2_senderName = -1; /* PrintableString_SIZE_0_400_ */ -static int hf_kpm_v2_senderType = -1; /* PrintableString_SIZE_0_8_ */ -static int hf_kpm_v2_vendorName = -1; /* PrintableString_SIZE_0_32_ */ -static int hf_kpm_v2_indicationMessage_formats = -1; /* T_indicationMessage_formats */ -static int hf_kpm_v2_indicationMessage_Format1 = -1; /* E2SM_KPM_IndicationMessage_Format1 */ -static int hf_kpm_v2_indicationMessage_Format2 = -1; /* E2SM_KPM_IndicationMessage_Format2 */ -static int hf_kpm_v2_indicationMessage_Format3 = -1; /* E2SM_KPM_IndicationMessage_Format3 */ -static int hf_kpm_v2_measData = -1; /* MeasurementData */ -static int hf_kpm_v2_measCondUEidList = -1; /* MeasurementCondUEidList */ -static int hf_kpm_v2_ueMeasReportList = -1; /* UEMeasurementReportList */ -static int hf_kpm_v2_ranFunction_Name = -1; /* RANfunction_Name */ -static int hf_kpm_v2_ric_EventTriggerStyle_List = -1; /* SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_EventTriggerStyle_Item */ -static int hf_kpm_v2_ric_EventTriggerStyle_List_item = -1; /* RIC_EventTriggerStyle_Item */ -static int hf_kpm_v2_ric_ReportStyle_List = -1; /* SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_ReportStyle_Item */ -static int hf_kpm_v2_ric_ReportStyle_List_item = -1; /* RIC_ReportStyle_Item */ -static int hf_kpm_v2_ric_EventTriggerStyle_Type = -1; /* RIC_Style_Type */ -static int hf_kpm_v2_ric_EventTriggerStyle_Name = -1; /* RIC_Style_Name */ -static int hf_kpm_v2_ric_EventTriggerFormat_Type = -1; /* RIC_Format_Type */ -static int hf_kpm_v2_ric_ReportStyle_Type = -1; /* RIC_Style_Type */ -static int hf_kpm_v2_ric_ReportStyle_Name = -1; /* RIC_Style_Name */ -static int hf_kpm_v2_ric_ActionFormat_Type = -1; /* RIC_Format_Type */ -static int hf_kpm_v2_measInfo_Action_List = -1; /* MeasurementInfo_Action_List */ -static int hf_kpm_v2_ric_IndicationHeaderFormat_Type = -1; /* RIC_Format_Type */ -static int hf_kpm_v2_ric_IndicationMessageFormat_Type = -1; /* RIC_Format_Type */ -static int hf_kpm_v2_nR_CGI = -1; /* NR_CGI */ -static int hf_kpm_v2_eUTRA_CGI = -1; /* EUTRA_CGI */ -static int hf_kpm_v2_ranFunction_ShortName = -1; /* T_ranFunction_ShortName */ -static int hf_kpm_v2_ranFunction_E2SM_OID = -1; /* T_ranFunction_E2SM_OID */ -static int hf_kpm_v2_ranFunction_Description = -1; /* PrintableString_SIZE_1_150_ */ -static int hf_kpm_v2_ranFunction_Instance = -1; /* INTEGER */ -static int hf_kpm_v2_gNB_UEID = -1; /* UEID_GNB */ -static int hf_kpm_v2_gNB_DU_UEID = -1; /* UEID_GNB_DU */ -static int hf_kpm_v2_gNB_CU_UP_UEID = -1; /* UEID_GNB_CU_UP */ -static int hf_kpm_v2_ng_eNB_UEID = -1; /* UEID_NG_ENB */ -static int hf_kpm_v2_ng_eNB_DU_UEID = -1; /* UEID_NG_ENB_DU */ -static int hf_kpm_v2_en_gNB_UEID = -1; /* UEID_EN_GNB */ -static int hf_kpm_v2_eNB_UEID = -1; /* UEID_ENB */ -static int hf_kpm_v2_amf_UE_NGAP_ID = -1; /* AMF_UE_NGAP_ID */ -static int hf_kpm_v2_guami = -1; /* GUAMI */ -static int hf_kpm_v2_gNB_CU_UE_F1AP_ID_List = -1; /* UEID_GNB_CU_F1AP_ID_List */ -static int hf_kpm_v2_gNB_CU_CP_UE_E1AP_ID_List = -1; /* UEID_GNB_CU_CP_E1AP_ID_List */ -static int hf_kpm_v2_ran_UEID = -1; /* RANUEID */ -static int hf_kpm_v2_m_NG_RAN_UE_XnAP_ID = -1; /* NG_RANnodeUEXnAPID */ -static int hf_kpm_v2_globalGNB_ID = -1; /* GlobalGNB_ID */ -static int hf_kpm_v2_globalNG_RANNode_ID = -1; /* GlobalNGRANNodeID */ -static int hf_kpm_v2_UEID_GNB_CU_CP_E1AP_ID_List_item = -1; /* UEID_GNB_CU_CP_E1AP_ID_Item */ -static int hf_kpm_v2_gNB_CU_CP_UE_E1AP_ID = -1; /* GNB_CU_CP_UE_E1AP_ID */ -static int hf_kpm_v2_UEID_GNB_CU_F1AP_ID_List_item = -1; /* UEID_GNB_CU_CP_F1AP_ID_Item */ -static int hf_kpm_v2_gNB_CU_UE_F1AP_ID = -1; /* GNB_CU_UE_F1AP_ID */ -static int hf_kpm_v2_ng_eNB_CU_UE_W1AP_ID = -1; /* NGENB_CU_UE_W1AP_ID */ -static int hf_kpm_v2_globalNgENB_ID = -1; /* GlobalNgENB_ID */ -static int hf_kpm_v2_m_eNB_UE_X2AP_ID = -1; /* ENB_UE_X2AP_ID */ -static int hf_kpm_v2_m_eNB_UE_X2AP_ID_Extension = -1; /* ENB_UE_X2AP_ID_Extension */ -static int hf_kpm_v2_globalENB_ID = -1; /* GlobalENB_ID */ -static int hf_kpm_v2_mME_UE_S1AP_ID = -1; /* MME_UE_S1AP_ID */ -static int hf_kpm_v2_gUMMEI = -1; /* GUMMEI */ -static int hf_kpm_v2_macro_eNB_ID = -1; /* BIT_STRING_SIZE_20 */ -static int hf_kpm_v2_home_eNB_ID = -1; /* BIT_STRING_SIZE_28 */ -static int hf_kpm_v2_short_Macro_eNB_ID = -1; /* BIT_STRING_SIZE_18 */ -static int hf_kpm_v2_long_Macro_eNB_ID = -1; /* BIT_STRING_SIZE_21 */ -static int hf_kpm_v2_pLMNIdentity = -1; /* PLMNIdentity */ -static int hf_kpm_v2_eNB_ID = -1; /* ENB_ID */ -static int hf_kpm_v2_pLMN_Identity = -1; /* PLMNIdentity */ -static int hf_kpm_v2_mME_Group_ID = -1; /* MME_Group_ID */ -static int hf_kpm_v2_mME_Code = -1; /* MME_Code */ -static int hf_kpm_v2_eUTRACellIdentity = -1; /* EUTRACellIdentity */ -static int hf_kpm_v2_gNB_ID = -1; /* GNB_ID */ -static int hf_kpm_v2_ngENB_ID = -1; /* NgENB_ID */ -static int hf_kpm_v2_gNB_ID_01 = -1; /* BIT_STRING_SIZE_22_32 */ -static int hf_kpm_v2_aMFRegionID = -1; /* AMFRegionID */ -static int hf_kpm_v2_aMFSetID = -1; /* AMFSetID */ -static int hf_kpm_v2_aMFPointer = -1; /* AMFPointer */ -static int hf_kpm_v2_macroNgENB_ID = -1; /* BIT_STRING_SIZE_20 */ -static int hf_kpm_v2_shortMacroNgENB_ID = -1; /* BIT_STRING_SIZE_18 */ -static int hf_kpm_v2_longMacroNgENB_ID = -1; /* BIT_STRING_SIZE_21 */ -static int hf_kpm_v2_nRCellIdentity = -1; /* NRCellIdentity */ -static int hf_kpm_v2_sST = -1; /* SST */ -static int hf_kpm_v2_sD = -1; /* SD */ -static int hf_kpm_v2_gNB = -1; /* GlobalGNB_ID */ -static int hf_kpm_v2_ng_eNB = -1; /* GlobalNgENB_ID */ - -static int hf_kpm_v2_timestamp_string = -1; - - -static gint ett_kpm_v2_MeasurementType = -1; -static gint ett_kpm_v2_MeasurementLabel = -1; -static gint ett_kpm_v2_TestCondInfo = -1; -static gint ett_kpm_v2_TestCond_Type = -1; -static gint ett_kpm_v2_TestCond_Value = -1; -static gint ett_kpm_v2_MeasurementInfoList = -1; -static gint ett_kpm_v2_MeasurementInfoItem = -1; -static gint ett_kpm_v2_LabelInfoList = -1; -static gint ett_kpm_v2_LabelInfoItem = -1; -static gint ett_kpm_v2_MeasurementData = -1; -static gint ett_kpm_v2_MeasurementDataItem = -1; -static gint ett_kpm_v2_MeasurementRecord = -1; -static gint ett_kpm_v2_MeasurementRecordItem = -1; -static gint ett_kpm_v2_MeasurementInfo_Action_List = -1; -static gint ett_kpm_v2_MeasurementInfo_Action_Item = -1; -static gint ett_kpm_v2_MeasurementCondList = -1; -static gint ett_kpm_v2_MeasurementCondItem = -1; -static gint ett_kpm_v2_MeasurementCondUEidList = -1; -static gint ett_kpm_v2_MeasurementCondUEidItem = -1; -static gint ett_kpm_v2_MatchingCondList = -1; -static gint ett_kpm_v2_MatchingCondItem = -1; -static gint ett_kpm_v2_MatchingUEidList = -1; -static gint ett_kpm_v2_MatchingUEidItem = -1; -static gint ett_kpm_v2_MatchingUeCondPerSubList = -1; -static gint ett_kpm_v2_MatchingUeCondPerSubItem = -1; -static gint ett_kpm_v2_MatchingUEidPerSubList = -1; -static gint ett_kpm_v2_MatchingUEidPerSubItem = -1; -static gint ett_kpm_v2_UEMeasurementReportList = -1; -static gint ett_kpm_v2_UEMeasurementReportItem = -1; -static gint ett_kpm_v2_E2SM_KPM_EventTriggerDefinition = -1; -static gint ett_kpm_v2_T_eventDefinition_formats = -1; -static gint ett_kpm_v2_E2SM_KPM_EventTriggerDefinition_Format1 = -1; -static gint ett_kpm_v2_E2SM_KPM_ActionDefinition = -1; -static gint ett_kpm_v2_T_actionDefinition_formats = -1; -static gint ett_kpm_v2_E2SM_KPM_ActionDefinition_Format1 = -1; -static gint ett_kpm_v2_E2SM_KPM_ActionDefinition_Format2 = -1; -static gint ett_kpm_v2_E2SM_KPM_ActionDefinition_Format3 = -1; -static gint ett_kpm_v2_E2SM_KPM_ActionDefinition_Format4 = -1; -static gint ett_kpm_v2_E2SM_KPM_ActionDefinition_Format5 = -1; -static gint ett_kpm_v2_E2SM_KPM_IndicationHeader = -1; -static gint ett_kpm_v2_T_indicationHeader_formats = -1; -static gint ett_kpm_v2_E2SM_KPM_IndicationHeader_Format1 = -1; -static gint ett_kpm_v2_E2SM_KPM_IndicationMessage = -1; -static gint ett_kpm_v2_T_indicationMessage_formats = -1; -static gint ett_kpm_v2_E2SM_KPM_IndicationMessage_Format1 = -1; -static gint ett_kpm_v2_E2SM_KPM_IndicationMessage_Format2 = -1; -static gint ett_kpm_v2_E2SM_KPM_IndicationMessage_Format3 = -1; -static gint ett_kpm_v2_E2SM_KPM_RANfunction_Description = -1; -static gint ett_kpm_v2_SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_EventTriggerStyle_Item = -1; -static gint ett_kpm_v2_SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_ReportStyle_Item = -1; -static gint ett_kpm_v2_RIC_EventTriggerStyle_Item = -1; -static gint ett_kpm_v2_RIC_ReportStyle_Item = -1; -static gint ett_kpm_v2_CGI = -1; -static gint ett_kpm_v2_RANfunction_Name = -1; -static gint ett_kpm_v2_UEID = -1; -static gint ett_kpm_v2_UEID_GNB = -1; -static gint ett_kpm_v2_UEID_GNB_CU_CP_E1AP_ID_List = -1; -static gint ett_kpm_v2_UEID_GNB_CU_CP_E1AP_ID_Item = -1; -static gint ett_kpm_v2_UEID_GNB_CU_F1AP_ID_List = -1; -static gint ett_kpm_v2_UEID_GNB_CU_CP_F1AP_ID_Item = -1; -static gint ett_kpm_v2_UEID_GNB_DU = -1; -static gint ett_kpm_v2_UEID_GNB_CU_UP = -1; -static gint ett_kpm_v2_UEID_NG_ENB = -1; -static gint ett_kpm_v2_UEID_NG_ENB_DU = -1; -static gint ett_kpm_v2_UEID_EN_GNB = -1; -static gint ett_kpm_v2_UEID_ENB = -1; -static gint ett_kpm_v2_ENB_ID = -1; -static gint ett_kpm_v2_GlobalENB_ID = -1; -static gint ett_kpm_v2_GUMMEI = -1; -static gint ett_kpm_v2_EUTRA_CGI = -1; -static gint ett_kpm_v2_GlobalGNB_ID = -1; -static gint ett_kpm_v2_GlobalNgENB_ID = -1; -static gint ett_kpm_v2_GNB_ID = -1; -static gint ett_kpm_v2_GUAMI = -1; -static gint ett_kpm_v2_NgENB_ID = -1; -static gint ett_kpm_v2_NR_CGI = -1; -static gint ett_kpm_v2_S_NSSAI = -1; -static gint ett_kpm_v2_GlobalNGRANNodeID = -1; +static int proto_kpm_v2; +static int hf_kpm_v2_E2SM_KPM_EventTriggerDefinition_PDU; /* E2SM_KPM_EventTriggerDefinition */ +static int hf_kpm_v2_E2SM_KPM_ActionDefinition_PDU; /* E2SM_KPM_ActionDefinition */ +static int hf_kpm_v2_E2SM_KPM_IndicationHeader_PDU; /* E2SM_KPM_IndicationHeader */ +static int hf_kpm_v2_E2SM_KPM_IndicationMessage_PDU; /* E2SM_KPM_IndicationMessage */ +static int hf_kpm_v2_E2SM_KPM_RANfunction_Description_PDU; /* E2SM_KPM_RANfunction_Description */ +static int hf_kpm_v2_measName; /* MeasurementTypeName */ +static int hf_kpm_v2_measID; /* MeasurementTypeID */ +static int hf_kpm_v2_noLabel; /* T_noLabel */ +static int hf_kpm_v2_plmnID; /* PLMNIdentity */ +static int hf_kpm_v2_sliceID; /* S_NSSAI */ +static int hf_kpm_v2_fiveQI; /* FiveQI */ +static int hf_kpm_v2_qFI; /* QosFlowIdentifier */ +static int hf_kpm_v2_qCI; /* QCI */ +static int hf_kpm_v2_qCImax; /* QCI */ +static int hf_kpm_v2_qCImin; /* QCI */ +static int hf_kpm_v2_aRPmax; /* INTEGER_1_15_ */ +static int hf_kpm_v2_aRPmin; /* INTEGER_1_15_ */ +static int hf_kpm_v2_bitrateRange; /* INTEGER_1_65535_ */ +static int hf_kpm_v2_layerMU_MIMO; /* INTEGER_1_65535_ */ +static int hf_kpm_v2_sUM; /* T_sUM */ +static int hf_kpm_v2_distBinX; /* INTEGER_1_65535_ */ +static int hf_kpm_v2_distBinY; /* INTEGER_1_65535_ */ +static int hf_kpm_v2_distBinZ; /* INTEGER_1_65535_ */ +static int hf_kpm_v2_preLabelOverride; /* T_preLabelOverride */ +static int hf_kpm_v2_startEndInd; /* T_startEndInd */ +static int hf_kpm_v2_min; /* T_min */ +static int hf_kpm_v2_max; /* T_max */ +static int hf_kpm_v2_avg; /* T_avg */ +static int hf_kpm_v2_testType; /* TestCond_Type */ +static int hf_kpm_v2_testExpr; /* TestCond_Expression */ +static int hf_kpm_v2_testValue; /* TestCond_Value */ +static int hf_kpm_v2_gBR; /* T_gBR */ +static int hf_kpm_v2_aMBR; /* T_aMBR */ +static int hf_kpm_v2_isStat; /* T_isStat */ +static int hf_kpm_v2_isCatM; /* T_isCatM */ +static int hf_kpm_v2_rSRP; /* T_rSRP */ +static int hf_kpm_v2_rSRQ; /* T_rSRQ */ +static int hf_kpm_v2_ul_rSRP; /* T_ul_rSRP */ +static int hf_kpm_v2_cQI; /* T_cQI */ +static int hf_kpm_v2_fiveQI_01; /* T_fiveQI */ +static int hf_kpm_v2_qCI_01; /* T_qCI */ +static int hf_kpm_v2_sNSSAI; /* T_sNSSAI */ +static int hf_kpm_v2_valueInt; /* INTEGER */ +static int hf_kpm_v2_valueEnum; /* INTEGER */ +static int hf_kpm_v2_valueBool; /* BOOLEAN */ +static int hf_kpm_v2_valueBitS; /* BIT_STRING */ +static int hf_kpm_v2_valueOctS; /* OCTET_STRING */ +static int hf_kpm_v2_valuePrtS; /* PrintableString */ +static int hf_kpm_v2_valueReal; /* REAL */ +static int hf_kpm_v2_MeasurementInfoList_item; /* MeasurementInfoItem */ +static int hf_kpm_v2_measType; /* MeasurementType */ +static int hf_kpm_v2_labelInfoList; /* LabelInfoList */ +static int hf_kpm_v2_LabelInfoList_item; /* LabelInfoItem */ +static int hf_kpm_v2_measLabel; /* MeasurementLabel */ +static int hf_kpm_v2_MeasurementData_item; /* MeasurementDataItem */ +static int hf_kpm_v2_measRecord; /* MeasurementRecord */ +static int hf_kpm_v2_incompleteFlag; /* T_incompleteFlag */ +static int hf_kpm_v2_MeasurementRecord_item; /* MeasurementRecordItem */ +static int hf_kpm_v2_integer; /* INTEGER_0_4294967295 */ +static int hf_kpm_v2_real; /* REAL */ +static int hf_kpm_v2_noValue; /* NULL */ +static int hf_kpm_v2_MeasurementInfo_Action_List_item; /* MeasurementInfo_Action_Item */ +static int hf_kpm_v2_MeasurementCondList_item; /* MeasurementCondItem */ +static int hf_kpm_v2_matchingCond; /* MatchingCondList */ +static int hf_kpm_v2_MeasurementCondUEidList_item; /* MeasurementCondUEidItem */ +static int hf_kpm_v2_matchingUEidList; /* MatchingUEidList */ +static int hf_kpm_v2_MatchingCondList_item; /* MatchingCondItem */ +static int hf_kpm_v2_testCondInfo; /* TestCondInfo */ +static int hf_kpm_v2_MatchingUEidList_item; /* MatchingUEidItem */ +static int hf_kpm_v2_ueID; /* UEID */ +static int hf_kpm_v2_MatchingUeCondPerSubList_item; /* MatchingUeCondPerSubItem */ +static int hf_kpm_v2_MatchingUEidPerSubList_item; /* MatchingUEidPerSubItem */ +static int hf_kpm_v2_UEMeasurementReportList_item; /* UEMeasurementReportItem */ +static int hf_kpm_v2_measReport; /* E2SM_KPM_IndicationMessage_Format1 */ +static int hf_kpm_v2_eventDefinition_formats; /* T_eventDefinition_formats */ +static int hf_kpm_v2_eventDefinition_Format1; /* E2SM_KPM_EventTriggerDefinition_Format1 */ +static int hf_kpm_v2_reportingPeriod; /* INTEGER_1_4294967295 */ +static int hf_kpm_v2_ric_Style_Type; /* RIC_Style_Type */ +static int hf_kpm_v2_actionDefinition_formats; /* T_actionDefinition_formats */ +static int hf_kpm_v2_actionDefinition_Format1; /* E2SM_KPM_ActionDefinition_Format1 */ +static int hf_kpm_v2_actionDefinition_Format2; /* E2SM_KPM_ActionDefinition_Format2 */ +static int hf_kpm_v2_actionDefinition_Format3; /* E2SM_KPM_ActionDefinition_Format3 */ +static int hf_kpm_v2_actionDefinition_Format4; /* E2SM_KPM_ActionDefinition_Format4 */ +static int hf_kpm_v2_actionDefinition_Format5; /* E2SM_KPM_ActionDefinition_Format5 */ +static int hf_kpm_v2_measInfoList; /* MeasurementInfoList */ +static int hf_kpm_v2_granulPeriod; /* GranularityPeriod */ +static int hf_kpm_v2_cellGlobalID; /* CGI */ +static int hf_kpm_v2_subscriptInfo; /* E2SM_KPM_ActionDefinition_Format1 */ +static int hf_kpm_v2_measCondList; /* MeasurementCondList */ +static int hf_kpm_v2_matchingUeCondList; /* MatchingUeCondPerSubList */ +static int hf_kpm_v2_subscriptionInfo; /* E2SM_KPM_ActionDefinition_Format1 */ +static int hf_kpm_v2_matchingUEidList_01; /* MatchingUEidPerSubList */ +static int hf_kpm_v2_indicationHeader_formats; /* T_indicationHeader_formats */ +static int hf_kpm_v2_indicationHeader_Format1; /* E2SM_KPM_IndicationHeader_Format1 */ +static int hf_kpm_v2_colletStartTime; /* T_colletStartTime */ +static int hf_kpm_v2_fileFormatversion; /* PrintableString_SIZE_0_15_ */ +static int hf_kpm_v2_senderName; /* PrintableString_SIZE_0_400_ */ +static int hf_kpm_v2_senderType; /* PrintableString_SIZE_0_8_ */ +static int hf_kpm_v2_vendorName; /* PrintableString_SIZE_0_32_ */ +static int hf_kpm_v2_indicationMessage_formats; /* T_indicationMessage_formats */ +static int hf_kpm_v2_indicationMessage_Format1; /* E2SM_KPM_IndicationMessage_Format1 */ +static int hf_kpm_v2_indicationMessage_Format2; /* E2SM_KPM_IndicationMessage_Format2 */ +static int hf_kpm_v2_indicationMessage_Format3; /* E2SM_KPM_IndicationMessage_Format3 */ +static int hf_kpm_v2_measData; /* MeasurementData */ +static int hf_kpm_v2_measCondUEidList; /* MeasurementCondUEidList */ +static int hf_kpm_v2_ueMeasReportList; /* UEMeasurementReportList */ +static int hf_kpm_v2_ranFunction_Name; /* RANfunction_Name */ +static int hf_kpm_v2_ric_EventTriggerStyle_List; /* SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_EventTriggerStyle_Item */ +static int hf_kpm_v2_ric_EventTriggerStyle_List_item; /* RIC_EventTriggerStyle_Item */ +static int hf_kpm_v2_ric_ReportStyle_List; /* SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_ReportStyle_Item */ +static int hf_kpm_v2_ric_ReportStyle_List_item; /* RIC_ReportStyle_Item */ +static int hf_kpm_v2_ric_EventTriggerStyle_Type; /* RIC_Style_Type */ +static int hf_kpm_v2_ric_EventTriggerStyle_Name; /* RIC_Style_Name */ +static int hf_kpm_v2_ric_EventTriggerFormat_Type; /* RIC_Format_Type */ +static int hf_kpm_v2_ric_ReportStyle_Type; /* RIC_Style_Type */ +static int hf_kpm_v2_ric_ReportStyle_Name; /* RIC_Style_Name */ +static int hf_kpm_v2_ric_ActionFormat_Type; /* RIC_Format_Type */ +static int hf_kpm_v2_measInfo_Action_List; /* MeasurementInfo_Action_List */ +static int hf_kpm_v2_ric_IndicationHeaderFormat_Type; /* RIC_Format_Type */ +static int hf_kpm_v2_ric_IndicationMessageFormat_Type; /* RIC_Format_Type */ +static int hf_kpm_v2_nR_CGI; /* NR_CGI */ +static int hf_kpm_v2_eUTRA_CGI; /* EUTRA_CGI */ +static int hf_kpm_v2_ranFunction_ShortName; /* T_ranFunction_ShortName */ +static int hf_kpm_v2_ranFunction_E2SM_OID; /* T_ranFunction_E2SM_OID */ +static int hf_kpm_v2_ranFunction_Description; /* PrintableString_SIZE_1_150_ */ +static int hf_kpm_v2_ranFunction_Instance; /* INTEGER */ +static int hf_kpm_v2_gNB_UEID; /* UEID_GNB */ +static int hf_kpm_v2_gNB_DU_UEID; /* UEID_GNB_DU */ +static int hf_kpm_v2_gNB_CU_UP_UEID; /* UEID_GNB_CU_UP */ +static int hf_kpm_v2_ng_eNB_UEID; /* UEID_NG_ENB */ +static int hf_kpm_v2_ng_eNB_DU_UEID; /* UEID_NG_ENB_DU */ +static int hf_kpm_v2_en_gNB_UEID; /* UEID_EN_GNB */ +static int hf_kpm_v2_eNB_UEID; /* UEID_ENB */ +static int hf_kpm_v2_amf_UE_NGAP_ID; /* AMF_UE_NGAP_ID */ +static int hf_kpm_v2_guami; /* GUAMI */ +static int hf_kpm_v2_gNB_CU_UE_F1AP_ID_List; /* UEID_GNB_CU_F1AP_ID_List */ +static int hf_kpm_v2_gNB_CU_CP_UE_E1AP_ID_List; /* UEID_GNB_CU_CP_E1AP_ID_List */ +static int hf_kpm_v2_ran_UEID; /* RANUEID */ +static int hf_kpm_v2_m_NG_RAN_UE_XnAP_ID; /* NG_RANnodeUEXnAPID */ +static int hf_kpm_v2_globalGNB_ID; /* GlobalGNB_ID */ +static int hf_kpm_v2_globalNG_RANNode_ID; /* GlobalNGRANNodeID */ +static int hf_kpm_v2_UEID_GNB_CU_CP_E1AP_ID_List_item; /* UEID_GNB_CU_CP_E1AP_ID_Item */ +static int hf_kpm_v2_gNB_CU_CP_UE_E1AP_ID; /* GNB_CU_CP_UE_E1AP_ID */ +static int hf_kpm_v2_UEID_GNB_CU_F1AP_ID_List_item; /* UEID_GNB_CU_CP_F1AP_ID_Item */ +static int hf_kpm_v2_gNB_CU_UE_F1AP_ID; /* GNB_CU_UE_F1AP_ID */ +static int hf_kpm_v2_ng_eNB_CU_UE_W1AP_ID; /* NGENB_CU_UE_W1AP_ID */ +static int hf_kpm_v2_globalNgENB_ID; /* GlobalNgENB_ID */ +static int hf_kpm_v2_m_eNB_UE_X2AP_ID; /* ENB_UE_X2AP_ID */ +static int hf_kpm_v2_m_eNB_UE_X2AP_ID_Extension; /* ENB_UE_X2AP_ID_Extension */ +static int hf_kpm_v2_globalENB_ID; /* GlobalENB_ID */ +static int hf_kpm_v2_mME_UE_S1AP_ID; /* MME_UE_S1AP_ID */ +static int hf_kpm_v2_gUMMEI; /* GUMMEI */ +static int hf_kpm_v2_macro_eNB_ID; /* BIT_STRING_SIZE_20 */ +static int hf_kpm_v2_home_eNB_ID; /* BIT_STRING_SIZE_28 */ +static int hf_kpm_v2_short_Macro_eNB_ID; /* BIT_STRING_SIZE_18 */ +static int hf_kpm_v2_long_Macro_eNB_ID; /* BIT_STRING_SIZE_21 */ +static int hf_kpm_v2_pLMNIdentity; /* PLMNIdentity */ +static int hf_kpm_v2_eNB_ID; /* ENB_ID */ +static int hf_kpm_v2_pLMN_Identity; /* PLMNIdentity */ +static int hf_kpm_v2_mME_Group_ID; /* MME_Group_ID */ +static int hf_kpm_v2_mME_Code; /* MME_Code */ +static int hf_kpm_v2_eUTRACellIdentity; /* EUTRACellIdentity */ +static int hf_kpm_v2_gNB_ID; /* GNB_ID */ +static int hf_kpm_v2_ngENB_ID; /* NgENB_ID */ +static int hf_kpm_v2_gNB_ID_01; /* BIT_STRING_SIZE_22_32 */ +static int hf_kpm_v2_aMFRegionID; /* AMFRegionID */ +static int hf_kpm_v2_aMFSetID; /* AMFSetID */ +static int hf_kpm_v2_aMFPointer; /* AMFPointer */ +static int hf_kpm_v2_macroNgENB_ID; /* BIT_STRING_SIZE_20 */ +static int hf_kpm_v2_shortMacroNgENB_ID; /* BIT_STRING_SIZE_18 */ +static int hf_kpm_v2_longMacroNgENB_ID; /* BIT_STRING_SIZE_21 */ +static int hf_kpm_v2_nRCellIdentity; /* NRCellIdentity */ +static int hf_kpm_v2_sST; /* SST */ +static int hf_kpm_v2_sD; /* SD */ +static int hf_kpm_v2_gNB; /* GlobalGNB_ID */ +static int hf_kpm_v2_ng_eNB; /* GlobalNgENB_ID */ + +static int hf_kpm_v2_timestamp_string; + + +static int ett_kpm_v2_MeasurementType; +static int ett_kpm_v2_MeasurementLabel; +static int ett_kpm_v2_TestCondInfo; +static int ett_kpm_v2_TestCond_Type; +static int ett_kpm_v2_TestCond_Value; +static int ett_kpm_v2_MeasurementInfoList; +static int ett_kpm_v2_MeasurementInfoItem; +static int ett_kpm_v2_LabelInfoList; +static int ett_kpm_v2_LabelInfoItem; +static int ett_kpm_v2_MeasurementData; +static int ett_kpm_v2_MeasurementDataItem; +static int ett_kpm_v2_MeasurementRecord; +static int ett_kpm_v2_MeasurementRecordItem; +static int ett_kpm_v2_MeasurementInfo_Action_List; +static int ett_kpm_v2_MeasurementInfo_Action_Item; +static int ett_kpm_v2_MeasurementCondList; +static int ett_kpm_v2_MeasurementCondItem; +static int ett_kpm_v2_MeasurementCondUEidList; +static int ett_kpm_v2_MeasurementCondUEidItem; +static int ett_kpm_v2_MatchingCondList; +static int ett_kpm_v2_MatchingCondItem; +static int ett_kpm_v2_MatchingUEidList; +static int ett_kpm_v2_MatchingUEidItem; +static int ett_kpm_v2_MatchingUeCondPerSubList; +static int ett_kpm_v2_MatchingUeCondPerSubItem; +static int ett_kpm_v2_MatchingUEidPerSubList; +static int ett_kpm_v2_MatchingUEidPerSubItem; +static int ett_kpm_v2_UEMeasurementReportList; +static int ett_kpm_v2_UEMeasurementReportItem; +static int ett_kpm_v2_E2SM_KPM_EventTriggerDefinition; +static int ett_kpm_v2_T_eventDefinition_formats; +static int ett_kpm_v2_E2SM_KPM_EventTriggerDefinition_Format1; +static int ett_kpm_v2_E2SM_KPM_ActionDefinition; +static int ett_kpm_v2_T_actionDefinition_formats; +static int ett_kpm_v2_E2SM_KPM_ActionDefinition_Format1; +static int ett_kpm_v2_E2SM_KPM_ActionDefinition_Format2; +static int ett_kpm_v2_E2SM_KPM_ActionDefinition_Format3; +static int ett_kpm_v2_E2SM_KPM_ActionDefinition_Format4; +static int ett_kpm_v2_E2SM_KPM_ActionDefinition_Format5; +static int ett_kpm_v2_E2SM_KPM_IndicationHeader; +static int ett_kpm_v2_T_indicationHeader_formats; +static int ett_kpm_v2_E2SM_KPM_IndicationHeader_Format1; +static int ett_kpm_v2_E2SM_KPM_IndicationMessage; +static int ett_kpm_v2_T_indicationMessage_formats; +static int ett_kpm_v2_E2SM_KPM_IndicationMessage_Format1; +static int ett_kpm_v2_E2SM_KPM_IndicationMessage_Format2; +static int ett_kpm_v2_E2SM_KPM_IndicationMessage_Format3; +static int ett_kpm_v2_E2SM_KPM_RANfunction_Description; +static int ett_kpm_v2_SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_EventTriggerStyle_Item; +static int ett_kpm_v2_SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_ReportStyle_Item; +static int ett_kpm_v2_RIC_EventTriggerStyle_Item; +static int ett_kpm_v2_RIC_ReportStyle_Item; +static int ett_kpm_v2_CGI; +static int ett_kpm_v2_RANfunction_Name; +static int ett_kpm_v2_UEID; +static int ett_kpm_v2_UEID_GNB; +static int ett_kpm_v2_UEID_GNB_CU_CP_E1AP_ID_List; +static int ett_kpm_v2_UEID_GNB_CU_CP_E1AP_ID_Item; +static int ett_kpm_v2_UEID_GNB_CU_F1AP_ID_List; +static int ett_kpm_v2_UEID_GNB_CU_CP_F1AP_ID_Item; +static int ett_kpm_v2_UEID_GNB_DU; +static int ett_kpm_v2_UEID_GNB_CU_UP; +static int ett_kpm_v2_UEID_NG_ENB; +static int ett_kpm_v2_UEID_NG_ENB_DU; +static int ett_kpm_v2_UEID_EN_GNB; +static int ett_kpm_v2_UEID_ENB; +static int ett_kpm_v2_ENB_ID; +static int ett_kpm_v2_GlobalENB_ID; +static int ett_kpm_v2_GUMMEI; +static int ett_kpm_v2_EUTRA_CGI; +static int ett_kpm_v2_GlobalGNB_ID; +static int ett_kpm_v2_GlobalNgENB_ID; +static int ett_kpm_v2_GNB_ID; +static int ett_kpm_v2_GUAMI; +static int ett_kpm_v2_NgENB_ID; +static int ett_kpm_v2_NR_CGI; +static int ett_kpm_v2_S_NSSAI; +static int ett_kpm_v2_GlobalNGRANNodeID; /* Forward declarations */ @@ -325,7 +326,7 @@ static int dissect_E2SM_KPM_RANfunction_Description_PDU(tvbuff_t *tvb _U_, packe static int dissect_kpm_v2_TimeStamp(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; } @@ -335,7 +336,7 @@ dissect_kpm_v2_TimeStamp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_ static int dissect_kpm_v2_GranularityPeriod(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, - 1U, 4294967295U, NULL, FALSE); + 1U, 4294967295U, NULL, false); return offset; } @@ -345,7 +346,7 @@ dissect_kpm_v2_GranularityPeriod(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t * static int dissect_kpm_v2_MeasurementTypeName(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_PrintableString(tvb, offset, actx, tree, hf_index, - 1, 150, TRUE, + 1, 150, true, NULL); return offset; @@ -356,7 +357,7 @@ dissect_kpm_v2_MeasurementTypeName(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t static int dissect_kpm_v2_MeasurementTypeID(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, - 1U, 65536U, NULL, TRUE); + 1U, 65536U, NULL, true); return offset; } @@ -393,7 +394,7 @@ static const value_string kpm_v2_T_noLabel_vals[] = { static int dissect_kpm_v2_T_noLabel(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; } @@ -403,7 +404,7 @@ dissect_kpm_v2_T_noLabel(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_ static int dissect_kpm_v2_PLMNIdentity(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, - 3, 3, FALSE, NULL); + 3, 3, false, NULL); return offset; } @@ -413,7 +414,7 @@ dissect_kpm_v2_PLMNIdentity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx static int dissect_kpm_v2_SST(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, 1, FALSE, NULL); + 1, 1, false, NULL); return offset; } @@ -423,7 +424,7 @@ dissect_kpm_v2_SST(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, prot static int dissect_kpm_v2_SD(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, - 3, 3, FALSE, NULL); + 3, 3, false, NULL); return offset; } @@ -448,7 +449,7 @@ dissect_kpm_v2_S_NSSAI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, static int dissect_kpm_v2_FiveQI(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, NULL, TRUE); + 0U, 255U, NULL, true); return offset; } @@ -458,7 +459,7 @@ dissect_kpm_v2_FiveQI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, p static int dissect_kpm_v2_QosFlowIdentifier(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, 63U, NULL, TRUE); + 0U, 63U, NULL, true); return offset; } @@ -468,7 +469,7 @@ dissect_kpm_v2_QosFlowIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t * static int dissect_kpm_v2_QCI(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, NULL, FALSE); + 0U, 255U, NULL, false); return offset; } @@ -478,7 +479,7 @@ dissect_kpm_v2_QCI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, prot static int dissect_kpm_v2_INTEGER_1_15_(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, - 1U, 15U, NULL, TRUE); + 1U, 15U, NULL, true); return offset; } @@ -488,7 +489,7 @@ dissect_kpm_v2_INTEGER_1_15_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx static int dissect_kpm_v2_INTEGER_1_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, - 1U, 65535U, NULL, TRUE); + 1U, 65535U, NULL, true); return offset; } @@ -503,7 +504,7 @@ static const value_string kpm_v2_T_sUM_vals[] = { static int dissect_kpm_v2_T_sUM(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; } @@ -518,7 +519,7 @@ static const value_string kpm_v2_T_preLabelOverride_vals[] = { static int dissect_kpm_v2_T_preLabelOverride(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; } @@ -534,7 +535,7 @@ static const value_string kpm_v2_T_startEndInd_vals[] = { static int dissect_kpm_v2_T_startEndInd(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; } @@ -549,7 +550,7 @@ static const value_string kpm_v2_T_min_vals[] = { static int dissect_kpm_v2_T_min(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; } @@ -564,7 +565,7 @@ static const value_string kpm_v2_T_max_vals[] = { static int dissect_kpm_v2_T_max(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; } @@ -579,7 +580,7 @@ static const value_string kpm_v2_T_avg_vals[] = { static int dissect_kpm_v2_T_avg(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; } @@ -628,7 +629,7 @@ static const value_string kpm_v2_T_gBR_vals[] = { static int dissect_kpm_v2_T_gBR(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; } @@ -643,7 +644,7 @@ static const value_string kpm_v2_T_aMBR_vals[] = { static int dissect_kpm_v2_T_aMBR(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; } @@ -658,7 +659,7 @@ static const value_string kpm_v2_T_isStat_vals[] = { static int dissect_kpm_v2_T_isStat(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; } @@ -673,7 +674,7 @@ static const value_string kpm_v2_T_isCatM_vals[] = { static int dissect_kpm_v2_T_isCatM(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; } @@ -688,7 +689,7 @@ static const value_string kpm_v2_T_rSRP_vals[] = { static int dissect_kpm_v2_T_rSRP(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; } @@ -703,7 +704,7 @@ static const value_string kpm_v2_T_rSRQ_vals[] = { static int dissect_kpm_v2_T_rSRQ(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; } @@ -718,7 +719,7 @@ static const value_string kpm_v2_T_ul_rSRP_vals[] = { static int dissect_kpm_v2_T_ul_rSRP(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; } @@ -733,7 +734,7 @@ static const value_string kpm_v2_T_cQI_vals[] = { static int dissect_kpm_v2_T_cQI(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; } @@ -748,7 +749,7 @@ static const value_string kpm_v2_T_fiveQI_vals[] = { static int dissect_kpm_v2_T_fiveQI(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; } @@ -763,7 +764,7 @@ static const value_string kpm_v2_T_qCI_vals[] = { static int dissect_kpm_v2_T_qCI(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; } @@ -778,7 +779,7 @@ static const value_string kpm_v2_T_sNSSAI_vals[] = { static int dissect_kpm_v2_T_sNSSAI(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; } @@ -837,7 +838,7 @@ static const value_string kpm_v2_TestCond_Expression_vals[] = { static int dissect_kpm_v2_TestCond_Expression(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, - 5, NULL, TRUE, 0, NULL); + 5, NULL, true, 0, NULL); return offset; } @@ -865,7 +866,7 @@ dissect_kpm_v2_BOOLEAN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, static int dissect_kpm_v2_BIT_STRING(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, - NO_BOUND, NO_BOUND, FALSE, NULL, 0, NULL, NULL); + NO_BOUND, NO_BOUND, false, NULL, 0, NULL, NULL); return offset; } @@ -875,7 +876,7 @@ dissect_kpm_v2_BIT_STRING(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U static int dissect_kpm_v2_OCTET_STRING(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, - NO_BOUND, NO_BOUND, FALSE, NULL); + NO_BOUND, NO_BOUND, false, NULL); return offset; } @@ -885,7 +886,7 @@ dissect_kpm_v2_OCTET_STRING(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx static int dissect_kpm_v2_PrintableString(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_PrintableString(tvb, offset, actx, tree, hf_index, - NO_BOUND, NO_BOUND, FALSE, + NO_BOUND, NO_BOUND, false, NULL); return offset; @@ -971,7 +972,7 @@ static int dissect_kpm_v2_LabelInfoList(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_kpm_v2_LabelInfoList, LabelInfoList_sequence_of, - 1, maxnoofLabelInfo, FALSE); + 1, maxnoofLabelInfo, false); return offset; } @@ -1000,7 +1001,7 @@ static int dissect_kpm_v2_MeasurementInfoList(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_kpm_v2_MeasurementInfoList, MeasurementInfoList_sequence_of, - 1, maxnoofMeasurementInfo, FALSE); + 1, maxnoofMeasurementInfo, false); return offset; } @@ -1010,7 +1011,7 @@ dissect_kpm_v2_MeasurementInfoList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t static int dissect_kpm_v2_INTEGER_0_4294967295(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, 4294967295U, NULL, FALSE); + 0U, 4294967295U, NULL, false); return offset; } @@ -1057,7 +1058,7 @@ static int dissect_kpm_v2_MeasurementRecord(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_kpm_v2_MeasurementRecord, MeasurementRecord_sequence_of, - 1, maxnoofMeasurementValue, FALSE); + 1, maxnoofMeasurementValue, false); return offset; } @@ -1072,7 +1073,7 @@ static const value_string kpm_v2_T_incompleteFlag_vals[] = { static int dissect_kpm_v2_T_incompleteFlag(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; } @@ -1101,7 +1102,7 @@ static int dissect_kpm_v2_MeasurementData(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_kpm_v2_MeasurementData, MeasurementData_sequence_of, - 1, maxnoofMeasurementRecord, FALSE); + 1, maxnoofMeasurementRecord, false); return offset; } @@ -1130,7 +1131,7 @@ static int dissect_kpm_v2_MeasurementInfo_Action_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_kpm_v2_MeasurementInfo_Action_List, MeasurementInfo_Action_List_sequence_of, - 1, maxnoofMeasurementInfo, FALSE); + 1, maxnoofMeasurementInfo, false); return offset; } @@ -1166,7 +1167,7 @@ static int dissect_kpm_v2_MatchingCondList(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_kpm_v2_MatchingCondList, MatchingCondList_sequence_of, - 1, maxnoofConditionInfo, FALSE); + 1, maxnoofConditionInfo, false); return offset; } @@ -1195,7 +1196,7 @@ static int dissect_kpm_v2_MeasurementCondList(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_kpm_v2_MeasurementCondList, MeasurementCondList_sequence_of, - 1, maxnoofMeasurementInfo, FALSE); + 1, maxnoofMeasurementInfo, false); return offset; } @@ -1205,7 +1206,7 @@ dissect_kpm_v2_MeasurementCondList(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t static int dissect_kpm_v2_AMF_UE_NGAP_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_64b(tvb, offset, actx, tree, hf_index, - 0U, G_GUINT64_CONSTANT(1099511627775), NULL, FALSE); + 0U, UINT64_C(1099511627775), NULL, false); return offset; } @@ -1215,7 +1216,7 @@ dissect_kpm_v2_AMF_UE_NGAP_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act static int dissect_kpm_v2_AMFRegionID(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; } @@ -1225,7 +1226,7 @@ dissect_kpm_v2_AMFRegionID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _ static int dissect_kpm_v2_AMFSetID(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, - 10, 10, FALSE, NULL, 0, NULL, NULL); + 10, 10, false, NULL, 0, NULL, NULL); return offset; } @@ -1235,7 +1236,7 @@ dissect_kpm_v2_AMFSetID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, static int dissect_kpm_v2_AMFPointer(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, - 6, 6, FALSE, NULL, 0, NULL, NULL); + 6, 6, false, NULL, 0, NULL, NULL); return offset; } @@ -1262,7 +1263,7 @@ dissect_kpm_v2_GUAMI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, pr static int dissect_kpm_v2_GNB_CU_UE_F1AP_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, 4294967295U, NULL, FALSE); + 0U, 4294967295U, NULL, false); return offset; } @@ -1290,7 +1291,7 @@ static int dissect_kpm_v2_UEID_GNB_CU_F1AP_ID_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_kpm_v2_UEID_GNB_CU_F1AP_ID_List, UEID_GNB_CU_F1AP_ID_List_sequence_of, - 1, maxF1APid, FALSE); + 1, maxF1APid, false); return offset; } @@ -1300,7 +1301,7 @@ dissect_kpm_v2_UEID_GNB_CU_F1AP_ID_List(tvbuff_t *tvb _U_, int offset _U_, asn1_ static int dissect_kpm_v2_GNB_CU_CP_UE_E1AP_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, 4294967295U, NULL, FALSE); + 0U, 4294967295U, NULL, false); return offset; } @@ -1328,7 +1329,7 @@ static int dissect_kpm_v2_UEID_GNB_CU_CP_E1AP_ID_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_kpm_v2_UEID_GNB_CU_CP_E1AP_ID_List, UEID_GNB_CU_CP_E1AP_ID_List_sequence_of, - 1, maxE1APid, FALSE); + 1, maxE1APid, false); return offset; } @@ -1338,7 +1339,7 @@ dissect_kpm_v2_UEID_GNB_CU_CP_E1AP_ID_List(tvbuff_t *tvb _U_, int offset _U_, as static int dissect_kpm_v2_RANUEID(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, - 8, 8, FALSE, NULL); + 8, 8, false, NULL); return offset; } @@ -1348,7 +1349,7 @@ dissect_kpm_v2_RANUEID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, static int dissect_kpm_v2_NG_RANnodeUEXnAPID(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, 4294967295U, NULL, FALSE); + 0U, 4294967295U, NULL, false); return offset; } @@ -1358,7 +1359,7 @@ dissect_kpm_v2_NG_RANnodeUEXnAPID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t static int dissect_kpm_v2_BIT_STRING_SIZE_22_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, - 22, 32, FALSE, NULL, 0, NULL, NULL); + 22, 32, false, NULL, 0, NULL, NULL); return offset; } @@ -1403,7 +1404,7 @@ dissect_kpm_v2_GlobalGNB_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx static int dissect_kpm_v2_BIT_STRING_SIZE_20(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, - 20, 20, FALSE, NULL, 0, NULL, NULL); + 20, 20, false, NULL, 0, NULL, NULL); return offset; } @@ -1413,7 +1414,7 @@ dissect_kpm_v2_BIT_STRING_SIZE_20(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t static int dissect_kpm_v2_BIT_STRING_SIZE_18(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, - 18, 18, FALSE, NULL, 0, NULL, NULL); + 18, 18, false, NULL, 0, NULL, NULL); return offset; } @@ -1423,7 +1424,7 @@ dissect_kpm_v2_BIT_STRING_SIZE_18(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t static int dissect_kpm_v2_BIT_STRING_SIZE_21(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, - 21, 21, FALSE, NULL, 0, NULL, NULL); + 21, 21, false, NULL, 0, NULL, NULL); return offset; } @@ -1545,7 +1546,7 @@ dissect_kpm_v2_UEID_GNB_CU_UP(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act static int dissect_kpm_v2_NGENB_CU_UE_W1AP_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, 4294967295U, NULL, FALSE); + 0U, 4294967295U, NULL, false); return offset; } @@ -1588,7 +1589,7 @@ dissect_kpm_v2_UEID_NG_ENB_DU(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act static int dissect_kpm_v2_ENB_UE_X2AP_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, 4095U, NULL, FALSE); + 0U, 4095U, NULL, false); return offset; } @@ -1598,7 +1599,7 @@ dissect_kpm_v2_ENB_UE_X2AP_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act static int dissect_kpm_v2_ENB_UE_X2AP_ID_Extension(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, 4095U, NULL, TRUE); + 0U, 4095U, NULL, true); return offset; } @@ -1608,7 +1609,7 @@ dissect_kpm_v2_ENB_UE_X2AP_ID_Extension(tvbuff_t *tvb _U_, int offset _U_, asn1_ static int dissect_kpm_v2_BIT_STRING_SIZE_28(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; } @@ -1678,7 +1679,7 @@ dissect_kpm_v2_UEID_EN_GNB(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _ static int dissect_kpm_v2_MME_UE_S1AP_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, 4294967295U, NULL, FALSE); + 0U, 4294967295U, NULL, false); return offset; } @@ -1688,7 +1689,7 @@ dissect_kpm_v2_MME_UE_S1AP_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act static int dissect_kpm_v2_MME_Group_ID(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; } @@ -1698,7 +1699,7 @@ dissect_kpm_v2_MME_Group_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx static int dissect_kpm_v2_MME_Code(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, 1, FALSE, NULL); + 1, 1, false, NULL); return offset; } @@ -1792,7 +1793,7 @@ static int dissect_kpm_v2_MatchingUEidList(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_kpm_v2_MatchingUEidList, MatchingUEidList_sequence_of, - 1, maxnoofUEID, FALSE); + 1, maxnoofUEID, false); return offset; } @@ -1822,7 +1823,7 @@ static int dissect_kpm_v2_MeasurementCondUEidList(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_kpm_v2_MeasurementCondUEidList, MeasurementCondUEidList_sequence_of, - 1, maxnoofMeasurementInfo, FALSE); + 1, maxnoofMeasurementInfo, false); return offset; } @@ -1850,7 +1851,7 @@ static int dissect_kpm_v2_MatchingUeCondPerSubList(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_kpm_v2_MatchingUeCondPerSubList, MatchingUeCondPerSubList_sequence_of, - 1, maxnoofConditionInfoPerSub, FALSE); + 1, maxnoofConditionInfoPerSub, false); return offset; } @@ -1878,7 +1879,7 @@ static int dissect_kpm_v2_MatchingUEidPerSubList(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_kpm_v2_MatchingUEidPerSubList, MatchingUEidPerSubList_sequence_of, - 2, maxnoofUEIDPerSub, FALSE); + 2, maxnoofUEIDPerSub, false); return offset; } @@ -1923,7 +1924,7 @@ static int dissect_kpm_v2_UEMeasurementReportList(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_kpm_v2_UEMeasurementReportList, UEMeasurementReportList_sequence_of, - 1, maxnoofUEMeasReport, FALSE); + 1, maxnoofUEMeasReport, false); return offset; } @@ -1933,7 +1934,7 @@ dissect_kpm_v2_UEMeasurementReportList(tvbuff_t *tvb _U_, int offset _U_, asn1_c static int dissect_kpm_v2_INTEGER_1_4294967295(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, - 1U, 4294967295U, NULL, FALSE); + 1U, 4294967295U, NULL, false); return offset; } @@ -2000,7 +2001,7 @@ dissect_kpm_v2_RIC_Style_Type(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act static int dissect_kpm_v2_NRCellIdentity(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, - 36, 36, FALSE, NULL, 0, NULL, NULL); + 36, 36, false, NULL, 0, NULL, NULL); return offset; } @@ -2025,7 +2026,7 @@ dissect_kpm_v2_NR_CGI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, p static int dissect_kpm_v2_EUTRACellIdentity(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; } @@ -2208,7 +2209,7 @@ dissect_kpm_v2_T_colletStartTime(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t * static int dissect_kpm_v2_PrintableString_SIZE_0_15_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_PrintableString(tvb, offset, actx, tree, hf_index, - 0, 15, TRUE, + 0, 15, true, NULL); return offset; @@ -2219,7 +2220,7 @@ dissect_kpm_v2_PrintableString_SIZE_0_15_(tvbuff_t *tvb _U_, int offset _U_, asn static int dissect_kpm_v2_PrintableString_SIZE_0_400_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_PrintableString(tvb, offset, actx, tree, hf_index, - 0, 400, TRUE, + 0, 400, true, NULL); return offset; @@ -2230,7 +2231,7 @@ dissect_kpm_v2_PrintableString_SIZE_0_400_(tvbuff_t *tvb _U_, int offset _U_, as static int dissect_kpm_v2_PrintableString_SIZE_0_8_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_PrintableString(tvb, offset, actx, tree, hf_index, - 0, 8, TRUE, + 0, 8, true, NULL); return offset; @@ -2241,7 +2242,7 @@ dissect_kpm_v2_PrintableString_SIZE_0_8_(tvbuff_t *tvb _U_, int offset _U_, asn1 static int dissect_kpm_v2_PrintableString_SIZE_0_32_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_PrintableString(tvb, offset, actx, tree, hf_index, - 0, 32, TRUE, + 0, 32, true, NULL); return offset; @@ -2373,13 +2374,13 @@ static int dissect_kpm_v2_T_ranFunction_ShortName(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { tvbuff_t *value_tvb; offset = dissect_per_PrintableString(tvb, offset, actx, tree, hf_index, - 1, 150, TRUE, + 1, 150, true, &value_tvb); if (!actx->pinfo->fd->visited) { /* N.B. too early to work out exact dissector, as don't have OID yet */ e2ap_store_ran_function_mapping(actx->pinfo, tree, value_tvb, - tvb_get_string_enc(wmem_packet_scope(), value_tvb, 0, tvb_captured_length(value_tvb), ENC_ASCII)); + tvb_get_string_enc(actx->pinfo->pool, value_tvb, 0, tvb_captured_length(value_tvb), ENC_ASCII)); } @@ -2393,7 +2394,7 @@ static int dissect_kpm_v2_T_ranFunction_E2SM_OID(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_PrintableString(tvb, offset, actx, tree, hf_index, - 1, 1000, TRUE, + 1, 1000, true, ¶meter_tvb); e2ap_update_ran_function_mapping(actx->pinfo, tree, parameter_tvb, @@ -2410,7 +2411,7 @@ dissect_kpm_v2_T_ranFunction_E2SM_OID(tvbuff_t *tvb _U_, int offset _U_, asn1_ct static int dissect_kpm_v2_PrintableString_SIZE_1_150_(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_PrintableString(tvb, offset, actx, tree, hf_index, - 1, 150, TRUE, + 1, 150, true, NULL); return offset; @@ -2438,7 +2439,7 @@ dissect_kpm_v2_RANfunction_Name(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *a static int dissect_kpm_v2_RIC_Style_Name(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_PrintableString(tvb, offset, actx, tree, hf_index, - 1, 150, TRUE, + 1, 150, true, NULL); return offset; @@ -2478,7 +2479,7 @@ static int dissect_kpm_v2_SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_EventTriggerStyle_Item(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_kpm_v2_SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_EventTriggerStyle_Item, SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_EventTriggerStyle_Item_sequence_of, - 1, maxnoofRICStyles, FALSE); + 1, maxnoofRICStyles, false); return offset; } @@ -2511,7 +2512,7 @@ static int dissect_kpm_v2_SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_ReportStyle_Item(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_kpm_v2_SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_ReportStyle_Item, SEQUENCE_SIZE_1_maxnoofRICStyles_OF_RIC_ReportStyle_Item_sequence_of, - 1, maxnoofRICStyles, FALSE); + 1, maxnoofRICStyles, false); return offset; } @@ -2537,7 +2538,7 @@ dissect_kpm_v2_E2SM_KPM_RANfunction_Description(tvbuff_t *tvb _U_, int offset _U static int dissect_E2SM_KPM_EventTriggerDefinition_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_kpm_v2_E2SM_KPM_EventTriggerDefinition(tvb, offset, &asn1_ctx, tree, hf_kpm_v2_E2SM_KPM_EventTriggerDefinition_PDU); offset += 7; offset >>= 3; return offset; @@ -2545,7 +2546,7 @@ static int dissect_E2SM_KPM_EventTriggerDefinition_PDU(tvbuff_t *tvb _U_, packet static int dissect_E2SM_KPM_ActionDefinition_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_kpm_v2_E2SM_KPM_ActionDefinition(tvb, offset, &asn1_ctx, tree, hf_kpm_v2_E2SM_KPM_ActionDefinition_PDU); offset += 7; offset >>= 3; return offset; @@ -2553,7 +2554,7 @@ static int dissect_E2SM_KPM_ActionDefinition_PDU(tvbuff_t *tvb _U_, packet_info static int dissect_E2SM_KPM_IndicationHeader_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_kpm_v2_E2SM_KPM_IndicationHeader(tvb, offset, &asn1_ctx, tree, hf_kpm_v2_E2SM_KPM_IndicationHeader_PDU); offset += 7; offset >>= 3; return offset; @@ -2561,7 +2562,7 @@ static int dissect_E2SM_KPM_IndicationHeader_PDU(tvbuff_t *tvb _U_, packet_info static int dissect_E2SM_KPM_IndicationMessage_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_kpm_v2_E2SM_KPM_IndicationMessage(tvb, offset, &asn1_ctx, tree, hf_kpm_v2_E2SM_KPM_IndicationMessage_PDU); offset += 7; offset >>= 3; return offset; @@ -2569,7 +2570,7 @@ static int dissect_E2SM_KPM_IndicationMessage_PDU(tvbuff_t *tvb _U_, packet_info static int dissect_E2SM_KPM_RANfunction_Description_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_kpm_v2_E2SM_KPM_RANfunction_Description(tvb, offset, &asn1_ctx, tree, hf_kpm_v2_E2SM_KPM_RANfunction_Description_PDU); offset += 7; offset >>= 3; return offset; @@ -3325,7 +3326,7 @@ void proto_register_kpm_v2(void) { }; /* List of subtrees */ - static gint *ett[] = { + static int *ett[] = { &ett_kpm_v2_MeasurementType, &ett_kpm_v2_MeasurementLabel, &ett_kpm_v2_TestCondInfo, |