From b3dbe861af447e9bb887dff880e31397738435c4 Mon Sep 17 00:00:00 2001 From: sjana Date: Thu, 25 Feb 2021 23:17:53 -0800 Subject: [PATCH] Switching to asn1c defns library Issue-ID: RICAPP-82 Signed-off-by: sjana Change-Id: I57155456232ab38e738c5ee287195489bde55919 --- Dockerfile | 12 +- Dockerfile-Unit-Tests | 15 +- asn1c_defs/ANY.c | 450 -- asn1c_defs/ANY.h | 65 - asn1c_defs/BOOLEAN.c | 492 -- asn1c_defs/BOOLEAN.h | 45 - asn1c_defs/Cause.c | 92 - asn1c_defs/Cause.h | 68 - asn1c_defs/CauseMisc.c | 59 - asn1c_defs/CauseMisc.h | 56 - asn1c_defs/CauseProtocol.c | 65 - asn1c_defs/CauseProtocol.h | 59 - asn1c_defs/CauseRIC.c | 73 - asn1c_defs/CauseRIC.h | 63 - asn1c_defs/CauseRICservice.c | 57 - asn1c_defs/CauseRICservice.h | 55 - asn1c_defs/CauseTransport.c | 55 - asn1c_defs/CauseTransport.h | 54 - asn1c_defs/Criticality.c | 55 - asn1c_defs/Criticality.h | 52 - asn1c_defs/CriticalityDiagnostics-IE-Item.c | 70 - asn1c_defs/CriticalityDiagnostics-IE-Item.h | 48 - asn1c_defs/CriticalityDiagnostics-IE-List.c | 50 - asn1c_defs/CriticalityDiagnostics-IE-List.h | 44 - asn1c_defs/CriticalityDiagnostics.c | 94 - asn1c_defs/CriticalityDiagnostics.h | 52 - asn1c_defs/E2AP-PDU.c | 75 - asn1c_defs/E2AP-PDU.h | 61 - asn1c_defs/E2setupFailure.c | 50 - asn1c_defs/E2setupFailure.h | 44 - asn1c_defs/E2setupRequest.c | 50 - asn1c_defs/E2setupRequest.h | 44 - asn1c_defs/E2setupResponse.c | 50 - asn1c_defs/E2setupResponse.h | 44 - asn1c_defs/ENB-ID-Choice.c | 180 - asn1c_defs/ENB-ID-Choice.h | 60 - asn1c_defs/ENB-ID.c | 226 - asn1c_defs/ENB-ID.h | 61 - asn1c_defs/ENGNB-ID.c | 88 - asn1c_defs/ENGNB-ID.h | 56 - asn1c_defs/ErrorIndication.c | 50 - asn1c_defs/ErrorIndication.h | 44 - asn1c_defs/GNB-CU-UP-ID.c | 67 - asn1c_defs/GNB-CU-UP-ID.h | 44 - asn1c_defs/GNB-DU-ID.c | 67 - asn1c_defs/GNB-DU-ID.h | 44 - asn1c_defs/GNB-ID-Choice.c | 88 - asn1c_defs/GNB-ID-Choice.h | 56 - asn1c_defs/GlobalE2node-ID.c | 86 - asn1c_defs/GlobalE2node-ID.h | 64 - asn1c_defs/GlobalE2node-eNB-ID.c | 50 - asn1c_defs/GlobalE2node-eNB-ID.h | 44 - asn1c_defs/GlobalE2node-en-gNB-ID.c | 50 - asn1c_defs/GlobalE2node-en-gNB-ID.h | 44 - asn1c_defs/GlobalE2node-gNB-ID.c | 72 - asn1c_defs/GlobalE2node-gNB-ID.h | 48 - asn1c_defs/GlobalE2node-ng-eNB-ID.c | 50 - asn1c_defs/GlobalE2node-ng-eNB-ID.h | 44 - asn1c_defs/GlobalENB-ID.c | 60 - asn1c_defs/GlobalENB-ID.h | 46 - asn1c_defs/GlobalRIC-ID.c | 96 - asn1c_defs/GlobalRIC-ID.h | 44 - asn1c_defs/GlobalenGNB-ID.c | 60 - asn1c_defs/GlobalenGNB-ID.h | 46 - asn1c_defs/GlobalgNB-ID.c | 60 - asn1c_defs/GlobalgNB-ID.h | 46 - asn1c_defs/GlobalngeNB-ID.c | 60 - asn1c_defs/GlobalngeNB-ID.h | 46 - asn1c_defs/HW-ControlCommand.c | 55 - asn1c_defs/HW-ControlCommand.h | 52 - asn1c_defs/InitiatingMessage.c | 389 -- asn1c_defs/InitiatingMessage.h | 97 - asn1c_defs/NULL.c | 299 - asn1c_defs/NULL.h | 45 - asn1c_defs/OBJECT_IDENTIFIER.c | 656 -- asn1c_defs/OBJECT_IDENTIFIER.h | 156 - asn1c_defs/PLMN-Identity.c | 62 - asn1c_defs/PLMN-Identity.h | 44 - asn1c_defs/Presence.c | 55 - asn1c_defs/Presence.h | 52 - asn1c_defs/PrintableString.c | 130 - asn1c_defs/PrintableString.h | 37 - asn1c_defs/ProcedureCode.c | 61 - asn1c_defs/ProcedureCode.h | 53 - asn1c_defs/ProtocolIE-Container.c | 810 --- asn1c_defs/ProtocolIE-Container.h | 253 - asn1c_defs/ProtocolIE-ContainerList.c | 9 - asn1c_defs/ProtocolIE-ContainerList.h | 23 - asn1c_defs/ProtocolIE-ContainerPair.c | 9 - asn1c_defs/ProtocolIE-ContainerPair.h | 23 - asn1c_defs/ProtocolIE-ContainerPairList.c | 9 - asn1c_defs/ProtocolIE-ContainerPairList.h | 23 - asn1c_defs/ProtocolIE-Field.c | 7190 -------------------- asn1c_defs/ProtocolIE-Field.h | 757 --- asn1c_defs/ProtocolIE-FieldPair.c | 9 - asn1c_defs/ProtocolIE-FieldPair.h | 23 - asn1c_defs/ProtocolIE-ID.c | 61 - asn1c_defs/ProtocolIE-ID.h | 76 - asn1c_defs/ProtocolIE-SingleContainer.c | 147 - asn1c_defs/ProtocolIE-SingleContainer.h | 108 - asn1c_defs/RANfunction-Item.c | 70 - asn1c_defs/RANfunction-Item.h | 46 - asn1c_defs/RANfunctionDefinition.c | 31 - asn1c_defs/RANfunctionDefinition.h | 43 - asn1c_defs/RANfunctionID-Item.c | 60 - asn1c_defs/RANfunctionID-Item.h | 44 - asn1c_defs/RANfunctionID.c | 61 - asn1c_defs/RANfunctionID.h | 44 - asn1c_defs/RANfunctionIDcause-Item.c | 60 - asn1c_defs/RANfunctionIDcause-Item.h | 44 - asn1c_defs/RANfunctionRevision.c | 61 - asn1c_defs/RANfunctionRevision.h | 44 - asn1c_defs/RANfunctions-List.c | 50 - asn1c_defs/RANfunctions-List.h | 41 - asn1c_defs/RANfunctionsID-List.c | 50 - asn1c_defs/RANfunctionsID-List.h | 41 - asn1c_defs/RANfunctionsIDcause-List.c | 50 - asn1c_defs/RANfunctionsIDcause-List.h | 41 - asn1c_defs/RICaction-Admitted-Item.c | 50 - asn1c_defs/RICaction-Admitted-Item.h | 42 - asn1c_defs/RICaction-Admitted-List.c | 50 - asn1c_defs/RICaction-Admitted-List.h | 41 - asn1c_defs/RICaction-NotAdmitted-Item.c | 60 - asn1c_defs/RICaction-NotAdmitted-Item.h | 44 - asn1c_defs/RICaction-NotAdmitted-List.c | 50 - asn1c_defs/RICaction-NotAdmitted-List.h | 41 - asn1c_defs/RICaction-ToBeSetup-Item.c | 83 - asn1c_defs/RICaction-ToBeSetup-Item.h | 50 - asn1c_defs/RICactionDefinition.c | 31 - asn1c_defs/RICactionDefinition.h | 43 - asn1c_defs/RICactionID.c | 61 - asn1c_defs/RICactionID.h | 44 - asn1c_defs/RICactionType.c | 57 - asn1c_defs/RICactionType.h | 55 - asn1c_defs/RICactions-ToBeSetup-List.c | 50 - asn1c_defs/RICactions-ToBeSetup-List.h | 44 - asn1c_defs/RICcallProcessID.c | 31 - asn1c_defs/RICcallProcessID.h | 43 - asn1c_defs/RICcontrolAckRequest.c | 57 - asn1c_defs/RICcontrolAckRequest.h | 53 - asn1c_defs/RICcontrolAcknowledge.c | 50 - asn1c_defs/RICcontrolAcknowledge.h | 44 - asn1c_defs/RICcontrolFailure.c | 50 - asn1c_defs/RICcontrolFailure.h | 44 - asn1c_defs/RICcontrolHeader.c | 31 - asn1c_defs/RICcontrolHeader.h | 43 - asn1c_defs/RICcontrolMessage.c | 31 - asn1c_defs/RICcontrolMessage.h | 43 - asn1c_defs/RICcontrolOutcome.c | 31 - asn1c_defs/RICcontrolOutcome.h | 43 - asn1c_defs/RICcontrolRequest.c | 50 - asn1c_defs/RICcontrolRequest.h | 44 - asn1c_defs/RICcontrolStatus.c | 57 - asn1c_defs/RICcontrolStatus.h | 53 - asn1c_defs/RICeventTriggerDefinition.c | 31 - asn1c_defs/RICeventTriggerDefinition.h | 43 - asn1c_defs/RICindication.c | 50 - asn1c_defs/RICindication.h | 44 - asn1c_defs/RICindicationHeader.c | 31 - asn1c_defs/RICindicationHeader.h | 43 - asn1c_defs/RICindicationMessage.c | 31 - asn1c_defs/RICindicationMessage.h | 43 - asn1c_defs/RICindicationSN.c | 61 - asn1c_defs/RICindicationSN.h | 43 - asn1c_defs/RICindicationType.c | 55 - asn1c_defs/RICindicationType.h | 52 - asn1c_defs/RICrequestID.c | 120 - asn1c_defs/RICrequestID.h | 45 - asn1c_defs/RICserviceQuery.c | 50 - asn1c_defs/RICserviceQuery.h | 44 - asn1c_defs/RICserviceUpdate.c | 50 - asn1c_defs/RICserviceUpdate.h | 44 - asn1c_defs/RICserviceUpdateAcknowledge.c | 50 - asn1c_defs/RICserviceUpdateAcknowledge.h | 44 - asn1c_defs/RICserviceUpdateFailure.c | 50 - asn1c_defs/RICserviceUpdateFailure.h | 44 - asn1c_defs/RICsubscriptionDeleteFailure.c | 50 - asn1c_defs/RICsubscriptionDeleteFailure.h | 44 - asn1c_defs/RICsubscriptionDeleteRequest.c | 50 - asn1c_defs/RICsubscriptionDeleteRequest.h | 44 - asn1c_defs/RICsubscriptionDeleteResponse.c | 50 - asn1c_defs/RICsubscriptionDeleteResponse.h | 44 - asn1c_defs/RICsubscriptionDetails.c | 60 - asn1c_defs/RICsubscriptionDetails.h | 44 - asn1c_defs/RICsubscriptionFailure.c | 50 - asn1c_defs/RICsubscriptionFailure.h | 44 - asn1c_defs/RICsubscriptionRequest.c | 50 - asn1c_defs/RICsubscriptionRequest.h | 44 - asn1c_defs/RICsubscriptionResponse.c | 50 - asn1c_defs/RICsubscriptionResponse.h | 44 - asn1c_defs/RICsubsequentAction.c | 60 - asn1c_defs/RICsubsequentAction.h | 46 - asn1c_defs/RICsubsequentActionType.c | 55 - asn1c_defs/RICsubsequentActionType.h | 54 - asn1c_defs/RICtimeToWait.c | 87 - asn1c_defs/RICtimeToWait.h | 70 - asn1c_defs/RanParameter-List.c | 50 - asn1c_defs/RanParameter-List.h | 44 - asn1c_defs/ResetRequest.c | 50 - asn1c_defs/ResetRequest.h | 44 - asn1c_defs/ResetResponse.c | 50 - asn1c_defs/ResetResponse.h | 44 - asn1c_defs/SuccessfulOutcome.c | 359 - asn1c_defs/SuccessfulOutcome.h | 91 - asn1c_defs/TimeToWait.c | 63 - asn1c_defs/TimeToWait.h | 56 - asn1c_defs/TriggeringMessage.c | 55 - asn1c_defs/TriggeringMessage.h | 52 - asn1c_defs/TypeOfError.c | 55 - asn1c_defs/TypeOfError.h | 54 - asn1c_defs/UnsuccessfulOutcome.c | 349 - asn1c_defs/UnsuccessfulOutcome.h | 89 - container-tag.yaml | 2 +- {asn1c_defs => defs_hwe2sm}/BIT_STRING.c | 0 {asn1c_defs => defs_hwe2sm}/BIT_STRING.h | 0 .../E2SM-HelloWorld-ActionDefinition-Format1.c | 0 .../E2SM-HelloWorld-ActionDefinition-Format1.h | 0 .../E2SM-HelloWorld-ActionDefinition.c | 0 .../E2SM-HelloWorld-ActionDefinition.h | 0 .../E2SM-HelloWorld-ControlHeader-Format1.c | 0 .../E2SM-HelloWorld-ControlHeader-Format1.h | 0 .../E2SM-HelloWorld-ControlHeader.c | 0 .../E2SM-HelloWorld-ControlHeader.h | 0 .../E2SM-HelloWorld-ControlMessage-Format1.c | 0 .../E2SM-HelloWorld-ControlMessage-Format1.h | 0 .../E2SM-HelloWorld-ControlMessage.c | 0 .../E2SM-HelloWorld-ControlMessage.h | 0 ...2SM-HelloWorld-EventTriggerDefinition-Format1.c | 0 ...2SM-HelloWorld-EventTriggerDefinition-Format1.h | 0 .../E2SM-HelloWorld-EventTriggerDefinition.c | 0 .../E2SM-HelloWorld-EventTriggerDefinition.h | 0 .../E2SM-HelloWorld-IndicationHeader-Format1.c | 0 .../E2SM-HelloWorld-IndicationHeader-Format1.h | 0 .../E2SM-HelloWorld-IndicationHeader.c | 0 .../E2SM-HelloWorld-IndicationHeader.h | 0 .../E2SM-HelloWorld-IndicationMessage-Format1.c | 0 .../E2SM-HelloWorld-IndicationMessage-Format1.h | 0 .../E2SM-HelloWorld-IndicationMessage.c | 0 .../E2SM-HelloWorld-IndicationMessage.h | 0 {asn1c_defs => defs_hwe2sm}/HW-Header.c | 0 {asn1c_defs => defs_hwe2sm}/HW-Header.h | 0 {asn1c_defs => defs_hwe2sm}/HW-Message.c | 0 {asn1c_defs => defs_hwe2sm}/HW-Message.h | 0 {asn1c_defs => defs_hwe2sm}/HW-TriggerNature.c | 0 {asn1c_defs => defs_hwe2sm}/HW-TriggerNature.h | 0 {asn1c_defs => defs_hwe2sm}/INTEGER.c | 0 {asn1c_defs => defs_hwe2sm}/INTEGER.h | 0 {asn1c_defs => defs_hwe2sm}/NativeEnumerated.c | 20 +- {asn1c_defs => defs_hwe2sm}/NativeEnumerated.h | 0 {asn1c_defs => defs_hwe2sm}/NativeInteger.c | 0 {asn1c_defs => defs_hwe2sm}/NativeInteger.h | 0 {asn1c_defs => defs_hwe2sm}/OCTET_STRING.c | 8 +- {asn1c_defs => defs_hwe2sm}/OCTET_STRING.h | 0 {asn1c_defs => defs_hwe2sm}/OPEN_TYPE.c | 0 {asn1c_defs => defs_hwe2sm}/OPEN_TYPE.h | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-ID.c | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-ID.h | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-Item.c | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-Item.h | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-List.c | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-List.h | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-Name.c | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-Name.h | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-Test.c | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-Test.h | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-Value.c | 0 {asn1c_defs => defs_hwe2sm}/RANparameter-Value.h | 0 {asn1c_defs => defs_hwe2sm}/asn_SEQUENCE_OF.c | 0 {asn1c_defs => defs_hwe2sm}/asn_SEQUENCE_OF.h | 0 {asn1c_defs => defs_hwe2sm}/asn_SET_OF.c | 0 {asn1c_defs => defs_hwe2sm}/asn_SET_OF.h | 0 {asn1c_defs => defs_hwe2sm}/asn_application.c | 0 {asn1c_defs => defs_hwe2sm}/asn_application.h | 0 {asn1c_defs => defs_hwe2sm}/asn_bit_data.c | 0 {asn1c_defs => defs_hwe2sm}/asn_bit_data.h | 0 {asn1c_defs => defs_hwe2sm}/asn_codecs.h | 0 {asn1c_defs => defs_hwe2sm}/asn_codecs_prim.c | 0 {asn1c_defs => defs_hwe2sm}/asn_codecs_prim.h | 0 {asn1c_defs => defs_hwe2sm}/asn_constant.h | 4 - {asn1c_defs => defs_hwe2sm}/asn_internal.c | 0 {asn1c_defs => defs_hwe2sm}/asn_internal.h | 0 {asn1c_defs => defs_hwe2sm}/asn_ioc.h | 0 {asn1c_defs => defs_hwe2sm}/asn_random_fill.c | 0 {asn1c_defs => defs_hwe2sm}/asn_random_fill.h | 0 {asn1c_defs => defs_hwe2sm}/asn_system.h | 0 {asn1c_defs => defs_hwe2sm}/ber_decoder.c | 0 {asn1c_defs => defs_hwe2sm}/ber_decoder.h | 0 {asn1c_defs => defs_hwe2sm}/ber_tlv_length.c | 0 {asn1c_defs => defs_hwe2sm}/ber_tlv_length.h | 0 {asn1c_defs => defs_hwe2sm}/ber_tlv_tag.c | 0 {asn1c_defs => defs_hwe2sm}/ber_tlv_tag.h | 0 {asn1c_defs => defs_hwe2sm}/constr_CHOICE.c | 78 +- {asn1c_defs => defs_hwe2sm}/constr_CHOICE.h | 0 {asn1c_defs => defs_hwe2sm}/constr_SEQUENCE.c | 0 {asn1c_defs => defs_hwe2sm}/constr_SEQUENCE.h | 0 {asn1c_defs => defs_hwe2sm}/constr_SEQUENCE_OF.c | 0 {asn1c_defs => defs_hwe2sm}/constr_SEQUENCE_OF.h | 0 {asn1c_defs => defs_hwe2sm}/constr_SET_OF.c | 0 {asn1c_defs => defs_hwe2sm}/constr_SET_OF.h | 0 {asn1c_defs => defs_hwe2sm}/constr_TYPE.c | 0 {asn1c_defs => defs_hwe2sm}/constr_TYPE.h | 0 {asn1c_defs => defs_hwe2sm}/constraints.c | 0 {asn1c_defs => defs_hwe2sm}/constraints.h | 0 {asn1c_defs => defs_hwe2sm}/der_encoder.c | 0 {asn1c_defs => defs_hwe2sm}/der_encoder.h | 0 defs_hwe2sm/e2sm-HelloWorld-v001.asn | 200 + {asn1c_defs => defs_hwe2sm}/pdu_collection.c | 3 - {asn1c_defs => defs_hwe2sm}/per_decoder.c | 0 {asn1c_defs => defs_hwe2sm}/per_decoder.h | 0 {asn1c_defs => defs_hwe2sm}/per_encoder.c | 0 {asn1c_defs => defs_hwe2sm}/per_encoder.h | 0 {asn1c_defs => defs_hwe2sm}/per_opentype.c | 0 {asn1c_defs => defs_hwe2sm}/per_opentype.h | 0 {asn1c_defs => defs_hwe2sm}/per_support.c | 0 {asn1c_defs => defs_hwe2sm}/per_support.h | 0 {asn1c_defs => defs_hwe2sm}/xer_decoder.c | 0 {asn1c_defs => defs_hwe2sm}/xer_decoder.h | 0 {asn1c_defs => defs_hwe2sm}/xer_encoder.c | 0 {asn1c_defs => defs_hwe2sm}/xer_encoder.h | 0 {asn1c_defs => defs_hwe2sm}/xer_support.c | 0 {asn1c_defs => defs_hwe2sm}/xer_support.h | 0 src/Makefile | 8 +- test/Makefile | 6 +- 323 files changed, 272 insertions(+), 22983 deletions(-) delete mode 100644 asn1c_defs/ANY.c delete mode 100644 asn1c_defs/ANY.h delete mode 100644 asn1c_defs/BOOLEAN.c delete mode 100644 asn1c_defs/BOOLEAN.h delete mode 100644 asn1c_defs/Cause.c delete mode 100644 asn1c_defs/Cause.h delete mode 100644 asn1c_defs/CauseMisc.c delete mode 100644 asn1c_defs/CauseMisc.h delete mode 100644 asn1c_defs/CauseProtocol.c delete mode 100644 asn1c_defs/CauseProtocol.h delete mode 100644 asn1c_defs/CauseRIC.c delete mode 100644 asn1c_defs/CauseRIC.h delete mode 100644 asn1c_defs/CauseRICservice.c delete mode 100644 asn1c_defs/CauseRICservice.h delete mode 100644 asn1c_defs/CauseTransport.c delete mode 100644 asn1c_defs/CauseTransport.h delete mode 100644 asn1c_defs/Criticality.c delete mode 100644 asn1c_defs/Criticality.h delete mode 100644 asn1c_defs/CriticalityDiagnostics-IE-Item.c delete mode 100644 asn1c_defs/CriticalityDiagnostics-IE-Item.h delete mode 100644 asn1c_defs/CriticalityDiagnostics-IE-List.c delete mode 100644 asn1c_defs/CriticalityDiagnostics-IE-List.h delete mode 100644 asn1c_defs/CriticalityDiagnostics.c delete mode 100644 asn1c_defs/CriticalityDiagnostics.h delete mode 100644 asn1c_defs/E2AP-PDU.c delete mode 100644 asn1c_defs/E2AP-PDU.h delete mode 100644 asn1c_defs/E2setupFailure.c delete mode 100644 asn1c_defs/E2setupFailure.h delete mode 100644 asn1c_defs/E2setupRequest.c delete mode 100644 asn1c_defs/E2setupRequest.h delete mode 100644 asn1c_defs/E2setupResponse.c delete mode 100644 asn1c_defs/E2setupResponse.h delete mode 100644 asn1c_defs/ENB-ID-Choice.c delete mode 100644 asn1c_defs/ENB-ID-Choice.h delete mode 100644 asn1c_defs/ENB-ID.c delete mode 100644 asn1c_defs/ENB-ID.h delete mode 100644 asn1c_defs/ENGNB-ID.c delete mode 100644 asn1c_defs/ENGNB-ID.h delete mode 100644 asn1c_defs/ErrorIndication.c delete mode 100644 asn1c_defs/ErrorIndication.h delete mode 100644 asn1c_defs/GNB-CU-UP-ID.c delete mode 100644 asn1c_defs/GNB-CU-UP-ID.h delete mode 100644 asn1c_defs/GNB-DU-ID.c delete mode 100644 asn1c_defs/GNB-DU-ID.h delete mode 100644 asn1c_defs/GNB-ID-Choice.c delete mode 100644 asn1c_defs/GNB-ID-Choice.h delete mode 100644 asn1c_defs/GlobalE2node-ID.c delete mode 100644 asn1c_defs/GlobalE2node-ID.h delete mode 100644 asn1c_defs/GlobalE2node-eNB-ID.c delete mode 100644 asn1c_defs/GlobalE2node-eNB-ID.h delete mode 100644 asn1c_defs/GlobalE2node-en-gNB-ID.c delete mode 100644 asn1c_defs/GlobalE2node-en-gNB-ID.h delete mode 100644 asn1c_defs/GlobalE2node-gNB-ID.c delete mode 100644 asn1c_defs/GlobalE2node-gNB-ID.h delete mode 100644 asn1c_defs/GlobalE2node-ng-eNB-ID.c delete mode 100644 asn1c_defs/GlobalE2node-ng-eNB-ID.h delete mode 100644 asn1c_defs/GlobalENB-ID.c delete mode 100644 asn1c_defs/GlobalENB-ID.h delete mode 100644 asn1c_defs/GlobalRIC-ID.c delete mode 100644 asn1c_defs/GlobalRIC-ID.h delete mode 100644 asn1c_defs/GlobalenGNB-ID.c delete mode 100644 asn1c_defs/GlobalenGNB-ID.h delete mode 100644 asn1c_defs/GlobalgNB-ID.c delete mode 100644 asn1c_defs/GlobalgNB-ID.h delete mode 100644 asn1c_defs/GlobalngeNB-ID.c delete mode 100644 asn1c_defs/GlobalngeNB-ID.h delete mode 100644 asn1c_defs/HW-ControlCommand.c delete mode 100644 asn1c_defs/HW-ControlCommand.h delete mode 100644 asn1c_defs/InitiatingMessage.c delete mode 100644 asn1c_defs/InitiatingMessage.h delete mode 100644 asn1c_defs/NULL.c delete mode 100644 asn1c_defs/NULL.h delete mode 100644 asn1c_defs/OBJECT_IDENTIFIER.c delete mode 100644 asn1c_defs/OBJECT_IDENTIFIER.h delete mode 100644 asn1c_defs/PLMN-Identity.c delete mode 100644 asn1c_defs/PLMN-Identity.h delete mode 100644 asn1c_defs/Presence.c delete mode 100644 asn1c_defs/Presence.h delete mode 100644 asn1c_defs/PrintableString.c delete mode 100644 asn1c_defs/PrintableString.h delete mode 100644 asn1c_defs/ProcedureCode.c delete mode 100644 asn1c_defs/ProcedureCode.h delete mode 100644 asn1c_defs/ProtocolIE-Container.c delete mode 100644 asn1c_defs/ProtocolIE-Container.h delete mode 100644 asn1c_defs/ProtocolIE-ContainerList.c delete mode 100644 asn1c_defs/ProtocolIE-ContainerList.h delete mode 100644 asn1c_defs/ProtocolIE-ContainerPair.c delete mode 100644 asn1c_defs/ProtocolIE-ContainerPair.h delete mode 100644 asn1c_defs/ProtocolIE-ContainerPairList.c delete mode 100644 asn1c_defs/ProtocolIE-ContainerPairList.h delete mode 100644 asn1c_defs/ProtocolIE-Field.c delete mode 100644 asn1c_defs/ProtocolIE-Field.h delete mode 100644 asn1c_defs/ProtocolIE-FieldPair.c delete mode 100644 asn1c_defs/ProtocolIE-FieldPair.h delete mode 100644 asn1c_defs/ProtocolIE-ID.c delete mode 100644 asn1c_defs/ProtocolIE-ID.h delete mode 100644 asn1c_defs/ProtocolIE-SingleContainer.c delete mode 100644 asn1c_defs/ProtocolIE-SingleContainer.h delete mode 100644 asn1c_defs/RANfunction-Item.c delete mode 100644 asn1c_defs/RANfunction-Item.h delete mode 100644 asn1c_defs/RANfunctionDefinition.c delete mode 100644 asn1c_defs/RANfunctionDefinition.h delete mode 100644 asn1c_defs/RANfunctionID-Item.c delete mode 100644 asn1c_defs/RANfunctionID-Item.h delete mode 100644 asn1c_defs/RANfunctionID.c delete mode 100644 asn1c_defs/RANfunctionID.h delete mode 100644 asn1c_defs/RANfunctionIDcause-Item.c delete mode 100644 asn1c_defs/RANfunctionIDcause-Item.h delete mode 100644 asn1c_defs/RANfunctionRevision.c delete mode 100644 asn1c_defs/RANfunctionRevision.h delete mode 100644 asn1c_defs/RANfunctions-List.c delete mode 100644 asn1c_defs/RANfunctions-List.h delete mode 100644 asn1c_defs/RANfunctionsID-List.c delete mode 100644 asn1c_defs/RANfunctionsID-List.h delete mode 100644 asn1c_defs/RANfunctionsIDcause-List.c delete mode 100644 asn1c_defs/RANfunctionsIDcause-List.h delete mode 100644 asn1c_defs/RICaction-Admitted-Item.c delete mode 100644 asn1c_defs/RICaction-Admitted-Item.h delete mode 100644 asn1c_defs/RICaction-Admitted-List.c delete mode 100644 asn1c_defs/RICaction-Admitted-List.h delete mode 100644 asn1c_defs/RICaction-NotAdmitted-Item.c delete mode 100644 asn1c_defs/RICaction-NotAdmitted-Item.h delete mode 100644 asn1c_defs/RICaction-NotAdmitted-List.c delete mode 100644 asn1c_defs/RICaction-NotAdmitted-List.h delete mode 100644 asn1c_defs/RICaction-ToBeSetup-Item.c delete mode 100644 asn1c_defs/RICaction-ToBeSetup-Item.h delete mode 100644 asn1c_defs/RICactionDefinition.c delete mode 100644 asn1c_defs/RICactionDefinition.h delete mode 100644 asn1c_defs/RICactionID.c delete mode 100644 asn1c_defs/RICactionID.h delete mode 100644 asn1c_defs/RICactionType.c delete mode 100644 asn1c_defs/RICactionType.h delete mode 100644 asn1c_defs/RICactions-ToBeSetup-List.c delete mode 100644 asn1c_defs/RICactions-ToBeSetup-List.h delete mode 100644 asn1c_defs/RICcallProcessID.c delete mode 100644 asn1c_defs/RICcallProcessID.h delete mode 100644 asn1c_defs/RICcontrolAckRequest.c delete mode 100644 asn1c_defs/RICcontrolAckRequest.h delete mode 100644 asn1c_defs/RICcontrolAcknowledge.c delete mode 100644 asn1c_defs/RICcontrolAcknowledge.h delete mode 100644 asn1c_defs/RICcontrolFailure.c delete mode 100644 asn1c_defs/RICcontrolFailure.h delete mode 100644 asn1c_defs/RICcontrolHeader.c delete mode 100644 asn1c_defs/RICcontrolHeader.h delete mode 100644 asn1c_defs/RICcontrolMessage.c delete mode 100644 asn1c_defs/RICcontrolMessage.h delete mode 100644 asn1c_defs/RICcontrolOutcome.c delete mode 100644 asn1c_defs/RICcontrolOutcome.h delete mode 100644 asn1c_defs/RICcontrolRequest.c delete mode 100644 asn1c_defs/RICcontrolRequest.h delete mode 100644 asn1c_defs/RICcontrolStatus.c delete mode 100644 asn1c_defs/RICcontrolStatus.h delete mode 100644 asn1c_defs/RICeventTriggerDefinition.c delete mode 100644 asn1c_defs/RICeventTriggerDefinition.h delete mode 100644 asn1c_defs/RICindication.c delete mode 100644 asn1c_defs/RICindication.h delete mode 100644 asn1c_defs/RICindicationHeader.c delete mode 100644 asn1c_defs/RICindicationHeader.h delete mode 100644 asn1c_defs/RICindicationMessage.c delete mode 100644 asn1c_defs/RICindicationMessage.h delete mode 100644 asn1c_defs/RICindicationSN.c delete mode 100644 asn1c_defs/RICindicationSN.h delete mode 100644 asn1c_defs/RICindicationType.c delete mode 100644 asn1c_defs/RICindicationType.h delete mode 100644 asn1c_defs/RICrequestID.c delete mode 100644 asn1c_defs/RICrequestID.h delete mode 100644 asn1c_defs/RICserviceQuery.c delete mode 100644 asn1c_defs/RICserviceQuery.h delete mode 100644 asn1c_defs/RICserviceUpdate.c delete mode 100644 asn1c_defs/RICserviceUpdate.h delete mode 100644 asn1c_defs/RICserviceUpdateAcknowledge.c delete mode 100644 asn1c_defs/RICserviceUpdateAcknowledge.h delete mode 100644 asn1c_defs/RICserviceUpdateFailure.c delete mode 100644 asn1c_defs/RICserviceUpdateFailure.h delete mode 100644 asn1c_defs/RICsubscriptionDeleteFailure.c delete mode 100644 asn1c_defs/RICsubscriptionDeleteFailure.h delete mode 100644 asn1c_defs/RICsubscriptionDeleteRequest.c delete mode 100644 asn1c_defs/RICsubscriptionDeleteRequest.h delete mode 100644 asn1c_defs/RICsubscriptionDeleteResponse.c delete mode 100644 asn1c_defs/RICsubscriptionDeleteResponse.h delete mode 100644 asn1c_defs/RICsubscriptionDetails.c delete mode 100644 asn1c_defs/RICsubscriptionDetails.h delete mode 100644 asn1c_defs/RICsubscriptionFailure.c delete mode 100644 asn1c_defs/RICsubscriptionFailure.h delete mode 100644 asn1c_defs/RICsubscriptionRequest.c delete mode 100644 asn1c_defs/RICsubscriptionRequest.h delete mode 100644 asn1c_defs/RICsubscriptionResponse.c delete mode 100644 asn1c_defs/RICsubscriptionResponse.h delete mode 100644 asn1c_defs/RICsubsequentAction.c delete mode 100644 asn1c_defs/RICsubsequentAction.h delete mode 100644 asn1c_defs/RICsubsequentActionType.c delete mode 100644 asn1c_defs/RICsubsequentActionType.h delete mode 100644 asn1c_defs/RICtimeToWait.c delete mode 100644 asn1c_defs/RICtimeToWait.h delete mode 100644 asn1c_defs/RanParameter-List.c delete mode 100644 asn1c_defs/RanParameter-List.h delete mode 100644 asn1c_defs/ResetRequest.c delete mode 100644 asn1c_defs/ResetRequest.h delete mode 100644 asn1c_defs/ResetResponse.c delete mode 100644 asn1c_defs/ResetResponse.h delete mode 100644 asn1c_defs/SuccessfulOutcome.c delete mode 100644 asn1c_defs/SuccessfulOutcome.h delete mode 100644 asn1c_defs/TimeToWait.c delete mode 100644 asn1c_defs/TimeToWait.h delete mode 100644 asn1c_defs/TriggeringMessage.c delete mode 100644 asn1c_defs/TriggeringMessage.h delete mode 100644 asn1c_defs/TypeOfError.c delete mode 100644 asn1c_defs/TypeOfError.h delete mode 100644 asn1c_defs/UnsuccessfulOutcome.c delete mode 100644 asn1c_defs/UnsuccessfulOutcome.h rename {asn1c_defs => defs_hwe2sm}/BIT_STRING.c (100%) rename {asn1c_defs => defs_hwe2sm}/BIT_STRING.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ActionDefinition-Format1.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ActionDefinition-Format1.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ActionDefinition.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ActionDefinition.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ControlHeader-Format1.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ControlHeader-Format1.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ControlHeader.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ControlHeader.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ControlMessage-Format1.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ControlMessage-Format1.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ControlMessage.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-ControlMessage.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-EventTriggerDefinition-Format1.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-EventTriggerDefinition-Format1.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-EventTriggerDefinition.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-EventTriggerDefinition.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-IndicationHeader-Format1.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-IndicationHeader-Format1.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-IndicationHeader.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-IndicationHeader.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-IndicationMessage-Format1.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-IndicationMessage-Format1.h (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-IndicationMessage.c (100%) rename {asn1c_defs => defs_hwe2sm}/E2SM-HelloWorld-IndicationMessage.h (100%) rename {asn1c_defs => defs_hwe2sm}/HW-Header.c (100%) rename {asn1c_defs => defs_hwe2sm}/HW-Header.h (100%) rename {asn1c_defs => defs_hwe2sm}/HW-Message.c (100%) rename {asn1c_defs => defs_hwe2sm}/HW-Message.h (100%) rename {asn1c_defs => defs_hwe2sm}/HW-TriggerNature.c (100%) rename {asn1c_defs => defs_hwe2sm}/HW-TriggerNature.h (100%) rename {asn1c_defs => defs_hwe2sm}/INTEGER.c (100%) rename {asn1c_defs => defs_hwe2sm}/INTEGER.h (100%) rename {asn1c_defs => defs_hwe2sm}/NativeEnumerated.c (96%) rename {asn1c_defs => defs_hwe2sm}/NativeEnumerated.h (100%) rename {asn1c_defs => defs_hwe2sm}/NativeInteger.c (100%) rename {asn1c_defs => defs_hwe2sm}/NativeInteger.h (100%) rename {asn1c_defs => defs_hwe2sm}/OCTET_STRING.c (99%) rename {asn1c_defs => defs_hwe2sm}/OCTET_STRING.h (100%) rename {asn1c_defs => defs_hwe2sm}/OPEN_TYPE.c (100%) rename {asn1c_defs => defs_hwe2sm}/OPEN_TYPE.h (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-ID.c (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-ID.h (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-Item.c (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-Item.h (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-List.c (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-List.h (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-Name.c (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-Name.h (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-Test.c (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-Test.h (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-Value.c (100%) rename {asn1c_defs => defs_hwe2sm}/RANparameter-Value.h (100%) rename {asn1c_defs => defs_hwe2sm}/asn_SEQUENCE_OF.c (100%) rename {asn1c_defs => defs_hwe2sm}/asn_SEQUENCE_OF.h (100%) rename {asn1c_defs => defs_hwe2sm}/asn_SET_OF.c (100%) rename {asn1c_defs => defs_hwe2sm}/asn_SET_OF.h (100%) rename {asn1c_defs => defs_hwe2sm}/asn_application.c (100%) rename {asn1c_defs => defs_hwe2sm}/asn_application.h (100%) rename {asn1c_defs => defs_hwe2sm}/asn_bit_data.c (100%) rename {asn1c_defs => defs_hwe2sm}/asn_bit_data.h (100%) rename {asn1c_defs => defs_hwe2sm}/asn_codecs.h (100%) rename {asn1c_defs => defs_hwe2sm}/asn_codecs_prim.c (100%) rename {asn1c_defs => defs_hwe2sm}/asn_codecs_prim.h (100%) rename {asn1c_defs => defs_hwe2sm}/asn_constant.h (66%) rename {asn1c_defs => defs_hwe2sm}/asn_internal.c (100%) rename {asn1c_defs => defs_hwe2sm}/asn_internal.h (100%) rename {asn1c_defs => defs_hwe2sm}/asn_ioc.h (100%) rename {asn1c_defs => defs_hwe2sm}/asn_random_fill.c (100%) rename {asn1c_defs => defs_hwe2sm}/asn_random_fill.h (100%) rename {asn1c_defs => defs_hwe2sm}/asn_system.h (100%) rename {asn1c_defs => defs_hwe2sm}/ber_decoder.c (100%) rename {asn1c_defs => defs_hwe2sm}/ber_decoder.h (100%) rename {asn1c_defs => defs_hwe2sm}/ber_tlv_length.c (100%) rename {asn1c_defs => defs_hwe2sm}/ber_tlv_length.h (100%) rename {asn1c_defs => defs_hwe2sm}/ber_tlv_tag.c (100%) rename {asn1c_defs => defs_hwe2sm}/ber_tlv_tag.h (100%) rename {asn1c_defs => defs_hwe2sm}/constr_CHOICE.c (95%) rename {asn1c_defs => defs_hwe2sm}/constr_CHOICE.h (100%) rename {asn1c_defs => defs_hwe2sm}/constr_SEQUENCE.c (100%) rename {asn1c_defs => defs_hwe2sm}/constr_SEQUENCE.h (100%) rename {asn1c_defs => defs_hwe2sm}/constr_SEQUENCE_OF.c (100%) rename {asn1c_defs => defs_hwe2sm}/constr_SEQUENCE_OF.h (100%) rename {asn1c_defs => defs_hwe2sm}/constr_SET_OF.c (100%) rename {asn1c_defs => defs_hwe2sm}/constr_SET_OF.h (100%) rename {asn1c_defs => defs_hwe2sm}/constr_TYPE.c (100%) rename {asn1c_defs => defs_hwe2sm}/constr_TYPE.h (100%) rename {asn1c_defs => defs_hwe2sm}/constraints.c (100%) rename {asn1c_defs => defs_hwe2sm}/constraints.h (100%) rename {asn1c_defs => defs_hwe2sm}/der_encoder.c (100%) rename {asn1c_defs => defs_hwe2sm}/der_encoder.h (100%) create mode 100644 defs_hwe2sm/e2sm-HelloWorld-v001.asn rename {asn1c_defs => defs_hwe2sm}/pdu_collection.c (87%) rename {asn1c_defs => defs_hwe2sm}/per_decoder.c (100%) rename {asn1c_defs => defs_hwe2sm}/per_decoder.h (100%) rename {asn1c_defs => defs_hwe2sm}/per_encoder.c (100%) rename {asn1c_defs => defs_hwe2sm}/per_encoder.h (100%) rename {asn1c_defs => defs_hwe2sm}/per_opentype.c (100%) rename {asn1c_defs => defs_hwe2sm}/per_opentype.h (100%) rename {asn1c_defs => defs_hwe2sm}/per_support.c (100%) rename {asn1c_defs => defs_hwe2sm}/per_support.h (100%) rename {asn1c_defs => defs_hwe2sm}/xer_decoder.c (100%) rename {asn1c_defs => defs_hwe2sm}/xer_decoder.h (100%) rename {asn1c_defs => defs_hwe2sm}/xer_encoder.c (100%) rename {asn1c_defs => defs_hwe2sm}/xer_encoder.h (100%) rename {asn1c_defs => defs_hwe2sm}/xer_support.c (100%) rename {asn1c_defs => defs_hwe2sm}/xer_support.h (100%) diff --git a/Dockerfile b/Dockerfile index b4e93e5..5e08cb8 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ #/* #================================================================================== # -# Copyright (c) 2019-2020 AT&T Intellectual Property. +# Copyright (c) 2020-2021 AT&T Intellectual Property. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -62,6 +62,14 @@ RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/pack RUN dpkg -i rmr_${RMR_VER}_amd64.deb RUN dpkg -i rmr-dev_${RMR_VER}_amd64.deb +#Install ASN1C library package hosted at packagecloud.io +ARG ASN1C_VER=0.1.0 +RUN wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/riclibe2ap_${ASN1C_VER}_amd64.deb/download.deb +RUN wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/riclibe2ap-dev_${ASN1C_VER}_amd64.deb/download.deb +RUN dpkg -i riclibe2ap_${ASN1C_VER}_amd64.deb +RUN dpkg -i riclibe2ap-dev_${ASN1C_VER}_amd64.deb + + #Install RNIB libraries ARG RNIB_VER=1.0.0 RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rnib_${RNIB_VER}_all.deb/download.deb @@ -123,7 +131,6 @@ COPY init/routes.txt /etc/xapp/routes.txt # #Build the final version FROM ubuntu:18.04 - ARG SCHEMA_PATH ARG STAGE_DIR @@ -131,6 +138,7 @@ ARG STAGE_DIR COPY --from=ricbuild ${STAGE_DIR}/*.deb /tmp/ COPY --from=ricbuild /usr/local/lib/librmr_si* /usr/local/lib/ COPY --from=ricbuild /usr/local/lib/libsdl* /usr/local/lib/ +COPY --from=ricbuild /usr/local/include/riclibe2ap /usr/local/include/ COPY --from=ricbuild /usr/local/libexec/redismodule/libredis* /usr/local/libexec/redismodule/ RUN dpkg -i /tmp/*.deb RUN apt-get update && \ diff --git a/Dockerfile-Unit-Tests b/Dockerfile-Unit-Tests index b14d62d..9f54091 100755 --- a/Dockerfile-Unit-Tests +++ b/Dockerfile-Unit-Tests @@ -1,7 +1,7 @@ #/* ##================================================================================== ## -## Copyright (c) 2019-2020 AT&T Intellectual Property. +## Copyright (c) 2020-2021 AT&T Intellectual Property. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ ## */ ARG SCHEMA_PATH=schemas -ARG STAGE_DIR=/tmp/helloworld-xapp +ARG STAGE_DIR=/tmp/helloworld-xapp-unittests #================================================================================== FROM nexus3.o-ran-sc.org:10001/ubuntu:18.04 as ricbuild @@ -77,6 +77,16 @@ RUN wget -nv --content-disposition https://packagecloud.io/o-ran-sc/release/pack RUN dpkg -i rnib_${RNIB_VER}_all.deb +#Install ASN1C library package hosted at packagecloud.io +ARG ASN1C_VER=1.0.0 +RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap_${ASN1C_VER}_amd64.deb/download.deb +RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/riclibe2ap-dev_${ASN1C_VER}_amd64.deb/download.deb +RUN dpkg -i riclibe2ap_${ASN1C_VER}_amd64.deb +RUN dpkg -i riclibe2ap-dev_${ASN1C_VER}_amd64.deb + + + + ## Install SDL Libraries WORKDIR ${STAGE_DIR} RUN apt-get install -y cpputest @@ -140,6 +150,7 @@ COPY --from=ricbuild ${STAGE_DIR}/*.deb /tmp/ COPY --from=ricbuild /usr/local/lib/librmr_si* /usr/local/lib/ COPY --from=ricbuild /usr/local/lib/libgtest* /usr/local/lib/ COPY --from=ricbuild /usr/local/lib/libsdl* /usr/local/lib/ +COPY --from=ricbuild /usr/local/include/riclibe2ap /usr/local/include/ COPY --from=ricbuild /usr/local/libexec/redismodule/libredis* /usr/local/libexec/redismodule/ RUN dpkg -i /tmp/*.deb RUN apt-get update && \ diff --git a/asn1c_defs/ANY.c b/asn1c_defs/ANY.c deleted file mode 100644 index 0b81557..0000000 --- a/asn1c_defs/ANY.c +++ /dev/null @@ -1,450 +0,0 @@ -/* - * Copyright (c) 2004-2017 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include - -asn_OCTET_STRING_specifics_t asn_SPC_ANY_specs = { - sizeof(ANY_t), - offsetof(ANY_t, _asn_ctx), - ASN_OSUBV_ANY -}; -asn_TYPE_operation_t asn_OP_ANY = { - OCTET_STRING_free, - OCTET_STRING_print, - OCTET_STRING_compare, - OCTET_STRING_decode_ber, - OCTET_STRING_encode_der, - OCTET_STRING_decode_xer_hex, - ANY_encode_xer, -#ifdef ASN_DISABLE_OER_SUPPORT - 0, - 0, -#else - 0, - 0, -#endif /* ASN_DISABLE_OER_SUPPORT */ -#ifdef ASN_DISABLE_PER_SUPPORT - 0, 0, 0, 0, -#else - ANY_decode_uper, - ANY_encode_uper, - ANY_decode_aper, - ANY_encode_aper, -#endif /* ASN_DISABLE_PER_SUPPORT */ - 0, /* Random fill is not defined for ANY type */ - 0 /* Use generic outmost tag fetcher */ -}; -asn_TYPE_descriptor_t asn_DEF_ANY = { - "ANY", - "ANY", - &asn_OP_ANY, - 0, 0, 0, 0, - { 0, 0, asn_generic_no_constraint }, /* No constraints */ - 0, 0, /* No members */ - &asn_SPC_ANY_specs, -}; - -#undef RETURN -#define RETURN(_code) \ - do { \ - asn_dec_rval_t tmprval; \ - tmprval.code = _code; \ - tmprval.consumed = consumed_myself; \ - return tmprval; \ - } while(0) - -asn_enc_rval_t -ANY_encode_xer(const asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - enum xer_encoder_flags_e flags, asn_app_consume_bytes_f *cb, - void *app_key) { - if(flags & XER_F_CANONICAL) { - /* - * Canonical XER-encoding of ANY type is not supported. - */ - ASN__ENCODE_FAILED; - } - - /* Dump as binary */ - return OCTET_STRING_encode_xer(td, sptr, ilevel, flags, cb, app_key); -} - -struct _callback_arg { - uint8_t *buffer; - size_t offset; - size_t size; -}; - -static int ANY__consume_bytes(const void *buffer, size_t size, void *key); - -int -ANY_fromType(ANY_t *st, asn_TYPE_descriptor_t *td, void *sptr) { - struct _callback_arg arg; - asn_enc_rval_t erval = {0,0,0}; - - if(!st || !td) { - errno = EINVAL; - return -1; - } - - if(!sptr) { - if(st->buf) FREEMEM(st->buf); - st->size = 0; - return 0; - } - - arg.offset = arg.size = 0; - arg.buffer = 0; - - erval = der_encode(td, sptr, ANY__consume_bytes, &arg); - if(erval.encoded == -1) { - if(arg.buffer) FREEMEM(arg.buffer); - return -1; - } - assert((size_t)erval.encoded == arg.offset); - - if(st->buf) FREEMEM(st->buf); - st->buf = arg.buffer; - st->size = arg.offset; - - return 0; -} - -int -ANY_fromType_aper(ANY_t *st, asn_TYPE_descriptor_t *td, void *sptr) { - uint8_t *buffer = NULL; - ssize_t erval; - - if(!st || !td) { - errno = EINVAL; - return -1; - } - - if(!sptr) { - if(st->buf) FREEMEM(st->buf); - st->size = 0; - return 0; - } - - erval = aper_encode_to_new_buffer(td, td->encoding_constraints.per_constraints, sptr, (void**)&buffer); - - if(erval == -1) { - if(buffer) FREEMEM(buffer); - return -1; - } - assert((size_t)erval > 0); - - if(st->buf) FREEMEM(st->buf); - st->buf = buffer; - st->size = erval; - - return 0; -} - -ANY_t * -ANY_new_fromType(asn_TYPE_descriptor_t *td, void *sptr) { - ANY_t tmp; - ANY_t *st; - - if(!td || !sptr) { - errno = EINVAL; - return 0; - } - - memset(&tmp, 0, sizeof(tmp)); - - if(ANY_fromType(&tmp, td, sptr)) return 0; - - st = (ANY_t *)CALLOC(1, sizeof(ANY_t)); - if(st) { - *st = tmp; - return st; - } else { - FREEMEM(tmp.buf); - return 0; - } -} - -ANY_t * -ANY_new_fromType_aper(asn_TYPE_descriptor_t *td, void *sptr) { - ANY_t tmp; - ANY_t *st; - - if(!td || !sptr) { - errno = EINVAL; - return 0; - } - - memset(&tmp, 0, sizeof(tmp)); - - if(ANY_fromType_aper(&tmp, td, sptr)) return 0; - - st = (ANY_t *)CALLOC(1, sizeof(ANY_t)); - if(st) { - *st = tmp; - return st; - } else { - FREEMEM(tmp.buf); - return 0; - } -} - -int -ANY_to_type(ANY_t *st, asn_TYPE_descriptor_t *td, void **struct_ptr) { - asn_dec_rval_t rval; - void *newst = 0; - - if(!st || !td || !struct_ptr) { - errno = EINVAL; - return -1; - } - - if(st->buf == 0) { - /* Nothing to convert, make it empty. */ - *struct_ptr = (void *)0; - return 0; - } - - rval = ber_decode(0, td, (void **)&newst, st->buf, st->size); - if(rval.code == RC_OK) { - *struct_ptr = newst; - return 0; - } else { - /* Remove possibly partially decoded data. */ - ASN_STRUCT_FREE(*td, newst); - return -1; - } -} - -int -ANY_to_type_aper(ANY_t *st, asn_TYPE_descriptor_t *td, void **struct_ptr) { - asn_dec_rval_t rval; - void *newst = 0; - - if(!st || !td || !struct_ptr) { - errno = EINVAL; - return -1; - } - - if(st->buf == 0) { - /* Nothing to convert, make it empty. */ - *struct_ptr = (void *)0; - return 0; - } - - rval = aper_decode(0, td, (void **)&newst, st->buf, st->size, 0, 0); - if(rval.code == RC_OK) { - *struct_ptr = newst; - return 0; - } else { - /* Remove possibly partially decoded data. */ - ASN_STRUCT_FREE(*td, newst); - return -1; - } -} - -static int ANY__consume_bytes(const void *buffer, size_t size, void *key) { - struct _callback_arg *arg = (struct _callback_arg *)key; - - if((arg->offset + size) >= arg->size) { - size_t nsize = (arg->size ? arg->size << 2 : 16) + size; - void *p = REALLOC(arg->buffer, nsize); - if(!p) return -1; - arg->buffer = (uint8_t *)p; - arg->size = nsize; - } - - memcpy(arg->buffer + arg->offset, buffer, size); - arg->offset += size; - assert(arg->offset < arg->size); - - return 0; -} - -#ifndef ASN_DISABLE_PER_SUPPORT - -asn_dec_rval_t -ANY_decode_uper(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, void **sptr, - asn_per_data_t *pd) { - const asn_OCTET_STRING_specifics_t *specs = - td->specifics ? (const asn_OCTET_STRING_specifics_t *)td->specifics - : &asn_SPC_ANY_specs; - size_t consumed_myself = 0; - int repeat; - ANY_t *st = (ANY_t *)*sptr; - - (void)opt_codec_ctx; - (void)constraints; - - /* - * Allocate the structure. - */ - if(!st) { - st = (ANY_t *)(*sptr = CALLOC(1, specs->struct_size)); - if(!st) RETURN(RC_FAIL); - } - - ASN_DEBUG("UPER Decoding ANY type"); - - st->size = 0; - do { - ssize_t raw_len; - ssize_t len_bytes; - ssize_t len_bits; - void *p; - int ret; - - /* Get the PER length */ - raw_len = uper_get_length(pd, -1, 0, &repeat); - if(raw_len < 0) RETURN(RC_WMORE); - if(raw_len == 0 && st->buf) break; - - ASN_DEBUG("Got PER length len %" ASN_PRI_SIZE ", %s (%s)", raw_len, - repeat ? "repeat" : "once", td->name); - len_bytes = raw_len; - len_bits = len_bytes * 8; - - p = REALLOC(st->buf, st->size + len_bytes + 1); - if(!p) RETURN(RC_FAIL); - st->buf = (uint8_t *)p; - - ret = per_get_many_bits(pd, &st->buf[st->size], 0, len_bits); - if(ret < 0) RETURN(RC_WMORE); - consumed_myself += len_bits; - st->size += len_bytes; - } while(repeat); - st->buf[st->size] = 0; /* nul-terminate */ - - RETURN(RC_OK); -} - -asn_enc_rval_t -ANY_encode_uper(const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, const void *sptr, - asn_per_outp_t *po) { - const ANY_t *st = (const ANY_t *)sptr; - asn_enc_rval_t er = {0, 0, 0}; - const uint8_t *buf; - size_t size; - int ret; - - (void)constraints; - - if(!st || (!st->buf && st->size)) ASN__ENCODE_FAILED; - - buf = st->buf; - size = st->size; - do { - int need_eom = 0; - ssize_t may_save = uper_put_length(po, size, &need_eom); - if(may_save < 0) ASN__ENCODE_FAILED; - - ret = per_put_many_bits(po, buf, may_save * 8); - if(ret) ASN__ENCODE_FAILED; - - buf += may_save; - size -= may_save; - assert(!(may_save & 0x07) || !size); - if(need_eom && uper_put_length(po, 0, 0)) - ASN__ENCODE_FAILED; /* End of Message length */ - } while(size); - - ASN__ENCODED_OK(er); -} - -asn_dec_rval_t -ANY_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, void **sptr, - asn_per_data_t *pd) { - const asn_OCTET_STRING_specifics_t *specs = - td->specifics ? (const asn_OCTET_STRING_specifics_t *)td->specifics - : &asn_SPC_ANY_specs; - size_t consumed_myself = 0; - int repeat; - ANY_t *st = (ANY_t *)*sptr; - - (void)opt_codec_ctx; - (void)constraints; - - /* - * Allocate the structure. - */ - if(!st) { - st = (ANY_t *)(*sptr = CALLOC(1, specs->struct_size)); - if(!st) RETURN(RC_FAIL); - } - - ASN_DEBUG("APER Decoding ANY type"); - - st->size = 0; - do { - ssize_t raw_len; - ssize_t len_bytes; - ssize_t len_bits; - void *p; - int ret; - - /* Get the PER length */ - raw_len = aper_get_length(pd, -1, 0, &repeat); - if(raw_len < 0) RETURN(RC_WMORE); - if(raw_len == 0 && st->buf) break; - - ASN_DEBUG("Got PER length len %" ASN_PRI_SIZE ", %s (%s)", raw_len, - repeat ? "repeat" : "once", td->name); - len_bytes = raw_len; - len_bits = len_bytes * 8; - - p = REALLOC(st->buf, st->size + len_bytes + 1); - if(!p) RETURN(RC_FAIL); - st->buf = (uint8_t *)p; - - ret = per_get_many_bits(pd, &st->buf[st->size], 0, len_bits); - if(ret < 0) RETURN(RC_WMORE); - consumed_myself += len_bits; - st->size += len_bytes; - } while(repeat); - st->buf[st->size] = 0; /* nul-terminate */ - - RETURN(RC_OK); -} - -asn_enc_rval_t -ANY_encode_aper(const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, const void *sptr, - asn_per_outp_t *po) { - const ANY_t *st = (const ANY_t *)sptr; - asn_enc_rval_t er = {0, 0, 0}; - const uint8_t *buf; - size_t size; - int ret; - - (void)constraints; - - if(!st || (!st->buf && st->size)) ASN__ENCODE_FAILED; - - buf = st->buf; - size = st->size; - do { - int need_eom = 0; - ssize_t may_save = uper_put_length(po, size, &need_eom); - if(may_save < 0) ASN__ENCODE_FAILED; - - ret = per_put_many_bits(po, buf, may_save * 8); - if(ret) ASN__ENCODE_FAILED; - - buf += may_save; - size -= may_save; - assert(!(may_save & 0x07) || !size); - if(need_eom && uper_put_length(po, 0, 0)) - ASN__ENCODE_FAILED; /* End of Message length */ - } while(size); - - ASN__ENCODED_OK(er); -} -#endif /* ASN_DISABLE_PER_SUPPORT */ - diff --git a/asn1c_defs/ANY.h b/asn1c_defs/ANY.h deleted file mode 100644 index b30381f..0000000 --- a/asn1c_defs/ANY.h +++ /dev/null @@ -1,65 +0,0 @@ -/*- - * Copyright (c) 2004-2017 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef ASN_TYPE_ANY_H -#define ASN_TYPE_ANY_H - -#include /* Implemented via OCTET STRING type */ - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct ANY { - uint8_t *buf; /* BER-encoded ANY contents */ - int size; /* Size of the above buffer */ - - asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */ -} ANY_t; - -extern asn_TYPE_descriptor_t asn_DEF_ANY; -extern asn_TYPE_operation_t asn_OP_ANY; -extern asn_OCTET_STRING_specifics_t asn_SPC_ANY_specs; - -asn_struct_free_f ANY_free; -asn_struct_print_f ANY_print; -ber_type_decoder_f ANY_decode_ber; -der_type_encoder_f ANY_encode_der; -xer_type_encoder_f ANY_encode_xer; -per_type_decoder_f ANY_decode_uper; -per_type_encoder_f ANY_encode_uper; -per_type_decoder_f ANY_decode_aper; -per_type_encoder_f ANY_encode_aper; - -#define ANY_free OCTET_STRING_free -#define ANY_print OCTET_STRING_print -#define ANY_compare OCTET_STRING_compare -#define ANY_constraint asn_generic_no_constraint -#define ANY_decode_ber OCTET_STRING_decode_ber -#define ANY_encode_der OCTET_STRING_encode_der -#define ANY_decode_xer OCTET_STRING_decode_xer_hex - -/****************************** - * Handy conversion routines. * - ******************************/ - -/* Convert another ASN.1 type into the ANY. This implies DER encoding. */ -int ANY_fromType(ANY_t *, asn_TYPE_descriptor_t *td, void *struct_ptr); -int ANY_fromType_aper(ANY_t *st, asn_TYPE_descriptor_t *td, void *sptr); -ANY_t *ANY_new_fromType(asn_TYPE_descriptor_t *td, void *struct_ptr); -ANY_t *ANY_new_fromType_aper(asn_TYPE_descriptor_t *td, void *sptr); - -/* Convert the contents of the ANY type into the specified type. */ -int ANY_to_type(ANY_t *, asn_TYPE_descriptor_t *td, void **struct_ptr); -int ANY_to_type_aper(ANY_t *, asn_TYPE_descriptor_t *td, void **struct_ptr); - -#define ANY_fromBuf(s, buf, size) OCTET_STRING_fromBuf((s), (buf), (size)) -#define ANY_new_fromBuf(buf, size) OCTET_STRING_new_fromBuf( \ - &asn_DEF_ANY, (buf), (size)) - -#ifdef __cplusplus -} -#endif - -#endif /* ASN_TYPE_ANY_H */ diff --git a/asn1c_defs/BOOLEAN.c b/asn1c_defs/BOOLEAN.c deleted file mode 100644 index 25831e2..0000000 --- a/asn1c_defs/BOOLEAN.c +++ /dev/null @@ -1,492 +0,0 @@ -/*- - * Copyright (c) 2003, 2005 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include - -/* - * BOOLEAN basic type description. - */ -static const ber_tlv_tag_t asn_DEF_BOOLEAN_tags[] = { - (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)) -}; -asn_TYPE_operation_t asn_OP_BOOLEAN = { - BOOLEAN_free, - BOOLEAN_print, - BOOLEAN_compare, - BOOLEAN_decode_ber, - BOOLEAN_encode_der, - BOOLEAN_decode_xer, - BOOLEAN_encode_xer, -#ifdef ASN_DISABLE_OER_SUPPORT - 0, - 0, -#else - BOOLEAN_decode_oer, - BOOLEAN_encode_oer, -#endif /* ASN_DISABLE_OER_SUPPORT */ -#ifdef ASN_DISABLE_PER_SUPPORT - 0, - 0, - 0, - 0, -#else - BOOLEAN_decode_uper, /* Unaligned PER decoder */ - BOOLEAN_encode_uper, /* Unaligned PER encoder */ - BOOLEAN_decode_aper, /* Aligned PER decoder */ - BOOLEAN_encode_aper, /* Aligned PER encoder */ -#endif /* ASN_DISABLE_PER_SUPPORT */ - BOOLEAN_random_fill, - 0 /* Use generic outmost tag fetcher */ -}; -asn_TYPE_descriptor_t asn_DEF_BOOLEAN = { - "BOOLEAN", - "BOOLEAN", - &asn_OP_BOOLEAN, - asn_DEF_BOOLEAN_tags, - sizeof(asn_DEF_BOOLEAN_tags) / sizeof(asn_DEF_BOOLEAN_tags[0]), - asn_DEF_BOOLEAN_tags, /* Same as above */ - sizeof(asn_DEF_BOOLEAN_tags) / sizeof(asn_DEF_BOOLEAN_tags[0]), - { 0, 0, asn_generic_no_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - -/* - * Decode BOOLEAN type. - */ -asn_dec_rval_t -BOOLEAN_decode_ber(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, void **bool_value, - const void *buf_ptr, size_t size, int tag_mode) { - BOOLEAN_t *st = (BOOLEAN_t *)*bool_value; - asn_dec_rval_t rval; - ber_tlv_len_t length; - ber_tlv_len_t lidx; - - if(st == NULL) { - st = (BOOLEAN_t *)(*bool_value = CALLOC(1, sizeof(*st))); - if(st == NULL) { - rval.code = RC_FAIL; - rval.consumed = 0; - return rval; - } - } - - ASN_DEBUG("Decoding %s as BOOLEAN (tm=%d)", - td->name, tag_mode); - - /* - * Check tags. - */ - rval = ber_check_tags(opt_codec_ctx, td, 0, buf_ptr, size, - tag_mode, 0, &length, 0); - if(rval.code != RC_OK) - return rval; - - ASN_DEBUG("Boolean length is %d bytes", (int)length); - - buf_ptr = ((const char *)buf_ptr) + rval.consumed; - size -= rval.consumed; - if(length > (ber_tlv_len_t)size) { - rval.code = RC_WMORE; - rval.consumed = 0; - return rval; - } - - /* - * Compute boolean value. - */ - for(*st = 0, lidx = 0; - (lidx < length) && *st == 0; lidx++) { - /* - * Very simple approach: read bytes until the end or - * value is already TRUE. - * BOOLEAN is not supposed to contain meaningful data anyway. - */ - *st |= ((const uint8_t *)buf_ptr)[lidx]; - } - - rval.code = RC_OK; - rval.consumed += length; - - ASN_DEBUG("Took %ld/%ld bytes to encode %s, value=%d", - (long)rval.consumed, (long)length, - td->name, *st); - - return rval; -} - -asn_enc_rval_t -BOOLEAN_encode_der(const asn_TYPE_descriptor_t *td, const void *sptr, - int tag_mode, ber_tlv_tag_t tag, asn_app_consume_bytes_f *cb, - void *app_key) { - asn_enc_rval_t erval = {0,0,0}; - const BOOLEAN_t *st = (const BOOLEAN_t *)sptr; - - erval.encoded = der_write_tags(td, 1, tag_mode, 0, tag, cb, app_key); - if(erval.encoded == -1) { - erval.failed_type = td; - erval.structure_ptr = sptr; - return erval; - } - - if(cb) { - uint8_t bool_value; - - bool_value = *st ? 0xff : 0; /* 0xff mandated by DER */ - - if(cb(&bool_value, 1, app_key) < 0) { - erval.encoded = -1; - erval.failed_type = td; - erval.structure_ptr = sptr; - return erval; - } - } - - erval.encoded += 1; - - ASN__ENCODED_OK(erval); -} - - -/* - * Decode the chunk of XML text encoding INTEGER. - */ -static enum xer_pbd_rval -BOOLEAN__xer_body_decode(const asn_TYPE_descriptor_t *td, void *sptr, - const void *chunk_buf, size_t chunk_size) { - BOOLEAN_t *st = (BOOLEAN_t *)sptr; - const char *p = (const char *)chunk_buf; - - (void)td; - - if(chunk_size && p[0] == 0x3c /* '<' */) { - switch(xer_check_tag(chunk_buf, chunk_size, "false")) { - case XCT_BOTH: - /* "" */ - *st = 0; - break; - case XCT_UNKNOWN_BO: - if(xer_check_tag(chunk_buf, chunk_size, "true") - != XCT_BOTH) - return XPBD_BROKEN_ENCODING; - /* "" */ - *st = 1; /* Or 0xff as in DER?.. */ - break; - default: - return XPBD_BROKEN_ENCODING; - } - return XPBD_BODY_CONSUMED; - } else { - return XPBD_BROKEN_ENCODING; - } -} - - -asn_dec_rval_t -BOOLEAN_decode_xer(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, void **sptr, - const char *opt_mname, const void *buf_ptr, size_t size) { - return xer_decode_primitive(opt_codec_ctx, td, - sptr, sizeof(BOOLEAN_t), opt_mname, buf_ptr, size, - BOOLEAN__xer_body_decode); -} - -asn_enc_rval_t -BOOLEAN_encode_xer(const asn_TYPE_descriptor_t *td, const void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - const BOOLEAN_t *st = (const BOOLEAN_t *)sptr; - asn_enc_rval_t er = {0, 0, 0}; - - (void)ilevel; - (void)flags; - - if(!st) ASN__ENCODE_FAILED; - - if(*st) { - ASN__CALLBACK("", 7); - } else { - ASN__CALLBACK("", 8); - } - - ASN__ENCODED_OK(er); -cb_failed: - ASN__ENCODE_FAILED; -} - -int -BOOLEAN_print(const asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - asn_app_consume_bytes_f *cb, void *app_key) { - const BOOLEAN_t *st = (const BOOLEAN_t *)sptr; - const char *buf; - size_t buflen; - - (void)td; /* Unused argument */ - (void)ilevel; /* Unused argument */ - - if(st) { - if(*st) { - buf = "TRUE"; - buflen = 4; - } else { - buf = "FALSE"; - buflen = 5; - } - } else { - buf = ""; - buflen = 8; - } - - return (cb(buf, buflen, app_key) < 0) ? -1 : 0; -} - -void -BOOLEAN_free(const asn_TYPE_descriptor_t *td, void *ptr, - enum asn_struct_free_method method) { - if(td && ptr) { - switch(method) { - case ASFM_FREE_EVERYTHING: - FREEMEM(ptr); - break; - case ASFM_FREE_UNDERLYING: - break; - case ASFM_FREE_UNDERLYING_AND_RESET: - memset(ptr, 0, sizeof(BOOLEAN_t)); - break; - } - } -} - -#ifndef ASN_DISABLE_PER_SUPPORT - -asn_dec_rval_t -BOOLEAN_decode_uper(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, void **sptr, - asn_per_data_t *pd) { - asn_dec_rval_t rv; - BOOLEAN_t *st = (BOOLEAN_t *)*sptr; - - (void)opt_codec_ctx; - (void)td; - (void)constraints; - - if(!st) { - st = (BOOLEAN_t *)(*sptr = MALLOC(sizeof(*st))); - if(!st) ASN__DECODE_FAILED; - } - - /* - * Extract a single bit - */ - switch(per_get_few_bits(pd, 1)) { - case 1: *st = 1; break; - case 0: *st = 0; break; - case -1: default: ASN__DECODE_STARVED; - } - - ASN_DEBUG("%s decoded as %s", td->name, *st ? "TRUE" : "FALSE"); - - rv.code = RC_OK; - rv.consumed = 1; - return rv; -} - - -asn_enc_rval_t -BOOLEAN_encode_uper(const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, const void *sptr, - asn_per_outp_t *po) { - const BOOLEAN_t *st = (const BOOLEAN_t *)sptr; - asn_enc_rval_t er = { 0, 0, 0 }; - - (void)constraints; - - if(!st) ASN__ENCODE_FAILED; - - if(per_put_few_bits(po, *st ? 1 : 0, 1)) - ASN__ENCODE_FAILED; - - ASN__ENCODED_OK(er); -} - -asn_dec_rval_t -BOOLEAN_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - asn_dec_rval_t rv; - BOOLEAN_t *st = (BOOLEAN_t *)*sptr; - - (void)opt_codec_ctx; - (void)constraints; - (void)td; - - if(!st) { - st = (BOOLEAN_t *)(*sptr = MALLOC(sizeof(*st))); - if(!st) ASN__DECODE_FAILED; - } - - /* - * Extract a single bit - */ - switch(per_get_few_bits(pd, 1)) { - case 1: - *st = 1; - break; - case 0: - *st = 0; - break; - case -1: - default: - ASN__DECODE_STARVED; - } - - ASN_DEBUG("%s decoded as %s", td->name, *st ? "TRUE" : "FALSE"); - - rv.code = RC_OK; - rv.consumed = 1; - return rv; -} - -asn_enc_rval_t -BOOLEAN_encode_aper(const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, - const void *sptr, asn_per_outp_t *po) { - const BOOLEAN_t *st = (const BOOLEAN_t *)sptr; - asn_enc_rval_t er = { 0, 0, 0 }; - - (void)constraints; - - if(!st) ASN__ENCODE_FAILED; - - if(per_put_few_bits(po, *st ? 1 : 0, 1)) - ASN__ENCODE_FAILED; - - ASN__ENCODED_OK(er); -} - -#endif /* ASN_DISABLE_PER_SUPPORT */ - -#ifndef ASN_DISABLE_OER_SUPPORT - -/* - * Encode as Canonical OER. - */ -asn_enc_rval_t -BOOLEAN_encode_oer(const asn_TYPE_descriptor_t *td, - const asn_oer_constraints_t *constraints, const void *sptr, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t er = { 1, 0, 0 }; - const BOOLEAN_t *st = sptr; - uint8_t bool_value = *st ? 0xff : 0; /* 0xff mandated by OER */ - - (void)td; - (void)constraints; /* Constraints are unused in OER */ - - if(cb(&bool_value, 1, app_key) < 0) { - ASN__ENCODE_FAILED; - } else { - ASN__ENCODED_OK(er); - } -} - -asn_dec_rval_t -BOOLEAN_decode_oer(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, - const asn_oer_constraints_t *constraints, void **sptr, - const void *ptr, size_t size) { - asn_dec_rval_t ok = {RC_OK, 1}; - BOOLEAN_t *st; - - (void)opt_codec_ctx; - (void)td; - (void)constraints; /* Constraints are unused in OER */ - - if(size < 1) { - ASN__DECODE_STARVED; - } - - if(!(st = *sptr)) { - st = (BOOLEAN_t *)(*sptr = CALLOC(1, sizeof(*st))); - if(!st) ASN__DECODE_FAILED; - } - - *st = *(const uint8_t *)ptr; - - return ok; -} - - - -#endif - -int -BOOLEAN_compare(const asn_TYPE_descriptor_t *td, const void *aptr, - const void *bptr) { - const BOOLEAN_t *a = aptr; - const BOOLEAN_t *b = bptr; - - (void)td; - - if(a && b) { - if(!*a == !*b) { /* TRUE can be encoded by any non-zero byte. */ - return 0; - } else if(!*a) { - return -1; - } else { - return 1; - } - } else if(!a) { - return -1; - } else { - return 1; - } -} - -asn_random_fill_result_t -BOOLEAN_random_fill(const asn_TYPE_descriptor_t *td, void **sptr, - const asn_encoding_constraints_t *constraints, - size_t max_length) { - asn_random_fill_result_t result_ok = {ARFILL_OK, 1}; - asn_random_fill_result_t result_failed = {ARFILL_FAILED, 0}; - asn_random_fill_result_t result_skipped = {ARFILL_SKIPPED, 0}; - BOOLEAN_t *st = *sptr; - - if(max_length == 0) return result_skipped; - - if(st == NULL) { - st = (BOOLEAN_t *)(*sptr = CALLOC(1, sizeof(*st))); - if(st == NULL) { - return result_failed; - } - } - - if(!constraints || !constraints->per_constraints) - constraints = &td->encoding_constraints; - if(constraints->per_constraints) { - const asn_per_constraint_t *pc = &constraints->per_constraints->value; - if(pc->flags & APC_CONSTRAINED) { - *st = asn_random_between(pc->lower_bound, pc->upper_bound); - return result_ok; - } - } - - /* Simulate booleans that are sloppily set and biased. */ - switch(asn_random_between(0, 7)) { - case 0: - case 1: - case 2: - *st = 0; break; - case 3: *st = -1; break; - case 4: *st = 1; break; - case 5: *st = INT_MIN; break; - case 6: *st = INT_MAX; break; - default: - *st = asn_random_between(INT_MIN, INT_MAX); - break; - } - return result_ok; -} diff --git a/asn1c_defs/BOOLEAN.h b/asn1c_defs/BOOLEAN.h deleted file mode 100644 index 620acf7..0000000 --- a/asn1c_defs/BOOLEAN.h +++ /dev/null @@ -1,45 +0,0 @@ -/*- - * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _BOOLEAN_H_ -#define _BOOLEAN_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * The underlying integer may contain various values, but everything - * non-zero is capped to 0xff by the DER encoder. The BER decoder may - * yield non-zero values different from 1, beware. - */ -typedef int BOOLEAN_t; - -extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN; -extern asn_TYPE_operation_t asn_OP_BOOLEAN; - -asn_struct_free_f BOOLEAN_free; -asn_struct_print_f BOOLEAN_print; -asn_struct_compare_f BOOLEAN_compare; -ber_type_decoder_f BOOLEAN_decode_ber; -der_type_encoder_f BOOLEAN_encode_der; -oer_type_decoder_f BOOLEAN_decode_oer; -oer_type_encoder_f BOOLEAN_encode_oer; -per_type_decoder_f BOOLEAN_decode_uper; -per_type_encoder_f BOOLEAN_encode_uper; -per_type_decoder_f BOOLEAN_decode_aper; -per_type_encoder_f BOOLEAN_encode_aper; -xer_type_decoder_f BOOLEAN_decode_xer; -xer_type_encoder_f BOOLEAN_encode_xer; -asn_random_fill_f BOOLEAN_random_fill; - -#define BOOLEAN_constraint asn_generic_no_constraint - -#ifdef __cplusplus -} -#endif - -#endif /* _BOOLEAN_H_ */ diff --git a/asn1c_defs/Cause.c b/asn1c_defs/Cause.c deleted file mode 100644 index f69ff74..0000000 --- a/asn1c_defs/Cause.c +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "Cause.h" - -asn_per_constraints_t asn_PER_type_Cause_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 4 } /* (0..4,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -asn_TYPE_member_t asn_MBR_Cause_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.ricRequest), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CauseRIC, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricRequest" - }, - { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.ricService), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CauseRICservice, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricService" - }, - { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.transport), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CauseTransport, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "transport" - }, - { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.protocol), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CauseProtocol, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocol" - }, - { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.misc), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CauseMisc, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "misc" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_Cause_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ricRequest */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ricService */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* transport */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* protocol */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* misc */ -}; -asn_CHOICE_specifics_t asn_SPC_Cause_specs_1 = { - sizeof(struct Cause), - offsetof(struct Cause, _asn_ctx), - offsetof(struct Cause, present), - sizeof(((struct Cause *)0)->present), - asn_MAP_Cause_tag2el_1, - 5, /* Count of tags in the map */ - 0, 0, - 5 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_Cause = { - "Cause", - "Cause", - &asn_OP_CHOICE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, &asn_PER_type_Cause_constr_1, CHOICE_constraint }, - asn_MBR_Cause_1, - 5, /* Elements count */ - &asn_SPC_Cause_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/Cause.h b/asn1c_defs/Cause.h deleted file mode 100644 index 065ffd9..0000000 --- a/asn1c_defs/Cause.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _Cause_H_ -#define _Cause_H_ - - -#include - -/* Including external dependencies */ -#include "CauseRIC.h" -#include "CauseRICservice.h" -#include "CauseTransport.h" -#include "CauseProtocol.h" -#include "CauseMisc.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum Cause_PR { - Cause_PR_NOTHING, /* No components present */ - Cause_PR_ricRequest, - Cause_PR_ricService, - Cause_PR_transport, - Cause_PR_protocol, - Cause_PR_misc - /* Extensions may appear below */ - -} Cause_PR; - -/* Cause */ -typedef struct Cause { - Cause_PR present; - union Cause_u { - CauseRIC_t ricRequest; - CauseRICservice_t ricService; - CauseTransport_t transport; - CauseProtocol_t protocol; - CauseMisc_t misc; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Cause_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Cause; -extern asn_CHOICE_specifics_t asn_SPC_Cause_specs_1; -extern asn_TYPE_member_t asn_MBR_Cause_1[5]; -extern asn_per_constraints_t asn_PER_type_Cause_constr_1; - -#ifdef __cplusplus -} -#endif - -#endif /* _Cause_H_ */ -#include diff --git a/asn1c_defs/CauseMisc.c b/asn1c_defs/CauseMisc.c deleted file mode 100644 index 3429d70..0000000 --- a/asn1c_defs/CauseMisc.c +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "CauseMisc.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_CauseMisc_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_CauseMisc_value2enum_1[] = { - { 0, 27, "control-processing-overload" }, - { 1, 16, "hardware-failure" }, - { 2, 15, "om-intervention" }, - { 3, 11, "unspecified" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_CauseMisc_enum2value_1[] = { - 0, /* control-processing-overload(0) */ - 1, /* hardware-failure(1) */ - 2, /* om-intervention(2) */ - 3 /* unspecified(3) */ - /* This list is extensible */ -}; -const asn_INTEGER_specifics_t asn_SPC_CauseMisc_specs_1 = { - asn_MAP_CauseMisc_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_CauseMisc_enum2value_1, /* N => "tag"; sorted by N */ - 4, /* Number of elements in the maps */ - 5, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_CauseMisc_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CauseMisc = { - "CauseMisc", - "CauseMisc", - &asn_OP_NativeEnumerated, - asn_DEF_CauseMisc_tags_1, - sizeof(asn_DEF_CauseMisc_tags_1) - /sizeof(asn_DEF_CauseMisc_tags_1[0]), /* 1 */ - asn_DEF_CauseMisc_tags_1, /* Same as above */ - sizeof(asn_DEF_CauseMisc_tags_1) - /sizeof(asn_DEF_CauseMisc_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_CauseMisc_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_CauseMisc_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/CauseMisc.h b/asn1c_defs/CauseMisc.h deleted file mode 100644 index b7e336f..0000000 --- a/asn1c_defs/CauseMisc.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _CauseMisc_H_ -#define _CauseMisc_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CauseMisc { - CauseMisc_control_processing_overload = 0, - CauseMisc_hardware_failure = 1, - CauseMisc_om_intervention = 2, - CauseMisc_unspecified = 3 - /* - * Enumeration is extensible - */ -} e_CauseMisc; - -/* CauseMisc */ -typedef long CauseMisc_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_CauseMisc_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_CauseMisc; -extern const asn_INTEGER_specifics_t asn_SPC_CauseMisc_specs_1; -asn_struct_free_f CauseMisc_free; -asn_struct_print_f CauseMisc_print; -asn_constr_check_f CauseMisc_constraint; -ber_type_decoder_f CauseMisc_decode_ber; -der_type_encoder_f CauseMisc_encode_der; -xer_type_decoder_f CauseMisc_decode_xer; -xer_type_encoder_f CauseMisc_encode_xer; -per_type_decoder_f CauseMisc_decode_uper; -per_type_encoder_f CauseMisc_encode_uper; -per_type_decoder_f CauseMisc_decode_aper; -per_type_encoder_f CauseMisc_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CauseMisc_H_ */ -#include diff --git a/asn1c_defs/CauseProtocol.c b/asn1c_defs/CauseProtocol.c deleted file mode 100644 index 4bf6e59..0000000 --- a/asn1c_defs/CauseProtocol.c +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "CauseProtocol.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_CauseProtocol_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 6 } /* (0..6,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_CauseProtocol_value2enum_1[] = { - { 0, 21, "transfer-syntax-error" }, - { 1, 28, "abstract-syntax-error-reject" }, - { 2, 39, "abstract-syntax-error-ignore-and-notify" }, - { 3, 42, "message-not-compatible-with-receiver-state" }, - { 4, 14, "semantic-error" }, - { 5, 49, "abstract-syntax-error-falsely-constructed-message" }, - { 6, 11, "unspecified" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_CauseProtocol_enum2value_1[] = { - 5, /* abstract-syntax-error-falsely-constructed-message(5) */ - 2, /* abstract-syntax-error-ignore-and-notify(2) */ - 1, /* abstract-syntax-error-reject(1) */ - 3, /* message-not-compatible-with-receiver-state(3) */ - 4, /* semantic-error(4) */ - 0, /* transfer-syntax-error(0) */ - 6 /* unspecified(6) */ - /* This list is extensible */ -}; -const asn_INTEGER_specifics_t asn_SPC_CauseProtocol_specs_1 = { - asn_MAP_CauseProtocol_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_CauseProtocol_enum2value_1, /* N => "tag"; sorted by N */ - 7, /* Number of elements in the maps */ - 8, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_CauseProtocol_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CauseProtocol = { - "CauseProtocol", - "CauseProtocol", - &asn_OP_NativeEnumerated, - asn_DEF_CauseProtocol_tags_1, - sizeof(asn_DEF_CauseProtocol_tags_1) - /sizeof(asn_DEF_CauseProtocol_tags_1[0]), /* 1 */ - asn_DEF_CauseProtocol_tags_1, /* Same as above */ - sizeof(asn_DEF_CauseProtocol_tags_1) - /sizeof(asn_DEF_CauseProtocol_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_CauseProtocol_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_CauseProtocol_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/CauseProtocol.h b/asn1c_defs/CauseProtocol.h deleted file mode 100644 index 5f25ada..0000000 --- a/asn1c_defs/CauseProtocol.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _CauseProtocol_H_ -#define _CauseProtocol_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CauseProtocol { - CauseProtocol_transfer_syntax_error = 0, - CauseProtocol_abstract_syntax_error_reject = 1, - CauseProtocol_abstract_syntax_error_ignore_and_notify = 2, - CauseProtocol_message_not_compatible_with_receiver_state = 3, - CauseProtocol_semantic_error = 4, - CauseProtocol_abstract_syntax_error_falsely_constructed_message = 5, - CauseProtocol_unspecified = 6 - /* - * Enumeration is extensible - */ -} e_CauseProtocol; - -/* CauseProtocol */ -typedef long CauseProtocol_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_CauseProtocol_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_CauseProtocol; -extern const asn_INTEGER_specifics_t asn_SPC_CauseProtocol_specs_1; -asn_struct_free_f CauseProtocol_free; -asn_struct_print_f CauseProtocol_print; -asn_constr_check_f CauseProtocol_constraint; -ber_type_decoder_f CauseProtocol_decode_ber; -der_type_encoder_f CauseProtocol_encode_der; -xer_type_decoder_f CauseProtocol_decode_xer; -xer_type_encoder_f CauseProtocol_encode_xer; -per_type_decoder_f CauseProtocol_decode_uper; -per_type_encoder_f CauseProtocol_encode_uper; -per_type_decoder_f CauseProtocol_decode_aper; -per_type_encoder_f CauseProtocol_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CauseProtocol_H_ */ -#include diff --git a/asn1c_defs/CauseRIC.c b/asn1c_defs/CauseRIC.c deleted file mode 100644 index e49ca72..0000000 --- a/asn1c_defs/CauseRIC.c +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "CauseRIC.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_CauseRIC_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 4, 4, 0, 10 } /* (0..10,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_CauseRIC_value2enum_1[] = { - { 0, 23, "ran-function-id-Invalid" }, - { 1, 20, "action-not-supported" }, - { 2, 17, "excessive-actions" }, - { 3, 16, "duplicate-action" }, - { 4, 15, "duplicate-event" }, - { 5, 23, "function-resource-limit" }, - { 6, 18, "request-id-unknown" }, - { 7, 46, "inconsistent-action-subsequent-action-sequence" }, - { 8, 23, "control-message-invalid" }, - { 9, 23, "call-process-id-invalid" }, - { 10, 11, "unspecified" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_CauseRIC_enum2value_1[] = { - 1, /* action-not-supported(1) */ - 9, /* call-process-id-invalid(9) */ - 8, /* control-message-invalid(8) */ - 3, /* duplicate-action(3) */ - 4, /* duplicate-event(4) */ - 2, /* excessive-actions(2) */ - 5, /* function-resource-limit(5) */ - 7, /* inconsistent-action-subsequent-action-sequence(7) */ - 0, /* ran-function-id-Invalid(0) */ - 6, /* request-id-unknown(6) */ - 10 /* unspecified(10) */ - /* This list is extensible */ -}; -const asn_INTEGER_specifics_t asn_SPC_CauseRIC_specs_1 = { - asn_MAP_CauseRIC_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_CauseRIC_enum2value_1, /* N => "tag"; sorted by N */ - 11, /* Number of elements in the maps */ - 12, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_CauseRIC_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CauseRIC = { - "CauseRIC", - "CauseRIC", - &asn_OP_NativeEnumerated, - asn_DEF_CauseRIC_tags_1, - sizeof(asn_DEF_CauseRIC_tags_1) - /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */ - asn_DEF_CauseRIC_tags_1, /* Same as above */ - sizeof(asn_DEF_CauseRIC_tags_1) - /sizeof(asn_DEF_CauseRIC_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_CauseRIC_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_CauseRIC_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/CauseRIC.h b/asn1c_defs/CauseRIC.h deleted file mode 100644 index 72e66d0..0000000 --- a/asn1c_defs/CauseRIC.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _CauseRIC_H_ -#define _CauseRIC_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CauseRIC { - CauseRIC_ran_function_id_Invalid = 0, - CauseRIC_action_not_supported = 1, - CauseRIC_excessive_actions = 2, - CauseRIC_duplicate_action = 3, - CauseRIC_duplicate_event = 4, - CauseRIC_function_resource_limit = 5, - CauseRIC_request_id_unknown = 6, - CauseRIC_inconsistent_action_subsequent_action_sequence = 7, - CauseRIC_control_message_invalid = 8, - CauseRIC_call_process_id_invalid = 9, - CauseRIC_unspecified = 10 - /* - * Enumeration is extensible - */ -} e_CauseRIC; - -/* CauseRIC */ -typedef long CauseRIC_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_CauseRIC_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_CauseRIC; -extern const asn_INTEGER_specifics_t asn_SPC_CauseRIC_specs_1; -asn_struct_free_f CauseRIC_free; -asn_struct_print_f CauseRIC_print; -asn_constr_check_f CauseRIC_constraint; -ber_type_decoder_f CauseRIC_decode_ber; -der_type_encoder_f CauseRIC_encode_der; -xer_type_decoder_f CauseRIC_decode_xer; -xer_type_encoder_f CauseRIC_encode_xer; -per_type_decoder_f CauseRIC_decode_uper; -per_type_encoder_f CauseRIC_encode_uper; -per_type_decoder_f CauseRIC_decode_aper; -per_type_encoder_f CauseRIC_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CauseRIC_H_ */ -#include diff --git a/asn1c_defs/CauseRICservice.c b/asn1c_defs/CauseRICservice.c deleted file mode 100644 index 6411095..0000000 --- a/asn1c_defs/CauseRICservice.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "CauseRICservice.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_CauseRICservice_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_CauseRICservice_value2enum_1[] = { - { 0, 21, "function-not-required" }, - { 1, 19, "excessive-functions" }, - { 2, 18, "ric-resource-limit" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_CauseRICservice_enum2value_1[] = { - 1, /* excessive-functions(1) */ - 0, /* function-not-required(0) */ - 2 /* ric-resource-limit(2) */ - /* This list is extensible */ -}; -const asn_INTEGER_specifics_t asn_SPC_CauseRICservice_specs_1 = { - asn_MAP_CauseRICservice_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_CauseRICservice_enum2value_1, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 4, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_CauseRICservice_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CauseRICservice = { - "CauseRICservice", - "CauseRICservice", - &asn_OP_NativeEnumerated, - asn_DEF_CauseRICservice_tags_1, - sizeof(asn_DEF_CauseRICservice_tags_1) - /sizeof(asn_DEF_CauseRICservice_tags_1[0]), /* 1 */ - asn_DEF_CauseRICservice_tags_1, /* Same as above */ - sizeof(asn_DEF_CauseRICservice_tags_1) - /sizeof(asn_DEF_CauseRICservice_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_CauseRICservice_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_CauseRICservice_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/CauseRICservice.h b/asn1c_defs/CauseRICservice.h deleted file mode 100644 index 82ea26a..0000000 --- a/asn1c_defs/CauseRICservice.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _CauseRICservice_H_ -#define _CauseRICservice_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CauseRICservice { - CauseRICservice_function_not_required = 0, - CauseRICservice_excessive_functions = 1, - CauseRICservice_ric_resource_limit = 2 - /* - * Enumeration is extensible - */ -} e_CauseRICservice; - -/* CauseRICservice */ -typedef long CauseRICservice_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_CauseRICservice_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_CauseRICservice; -extern const asn_INTEGER_specifics_t asn_SPC_CauseRICservice_specs_1; -asn_struct_free_f CauseRICservice_free; -asn_struct_print_f CauseRICservice_print; -asn_constr_check_f CauseRICservice_constraint; -ber_type_decoder_f CauseRICservice_decode_ber; -der_type_encoder_f CauseRICservice_encode_der; -xer_type_decoder_f CauseRICservice_decode_xer; -xer_type_encoder_f CauseRICservice_encode_xer; -per_type_decoder_f CauseRICservice_decode_uper; -per_type_encoder_f CauseRICservice_encode_uper; -per_type_decoder_f CauseRICservice_decode_aper; -per_type_encoder_f CauseRICservice_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CauseRICservice_H_ */ -#include diff --git a/asn1c_defs/CauseTransport.c b/asn1c_defs/CauseTransport.c deleted file mode 100644 index bec13d8..0000000 --- a/asn1c_defs/CauseTransport.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "CauseTransport.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_CauseTransport_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_CauseTransport_value2enum_1[] = { - { 0, 11, "unspecified" }, - { 1, 30, "transport-resource-unavailable" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_CauseTransport_enum2value_1[] = { - 1, /* transport-resource-unavailable(1) */ - 0 /* unspecified(0) */ - /* This list is extensible */ -}; -const asn_INTEGER_specifics_t asn_SPC_CauseTransport_specs_1 = { - asn_MAP_CauseTransport_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_CauseTransport_enum2value_1, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 3, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_CauseTransport_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_CauseTransport = { - "CauseTransport", - "CauseTransport", - &asn_OP_NativeEnumerated, - asn_DEF_CauseTransport_tags_1, - sizeof(asn_DEF_CauseTransport_tags_1) - /sizeof(asn_DEF_CauseTransport_tags_1[0]), /* 1 */ - asn_DEF_CauseTransport_tags_1, /* Same as above */ - sizeof(asn_DEF_CauseTransport_tags_1) - /sizeof(asn_DEF_CauseTransport_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_CauseTransport_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_CauseTransport_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/CauseTransport.h b/asn1c_defs/CauseTransport.h deleted file mode 100644 index e839e86..0000000 --- a/asn1c_defs/CauseTransport.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _CauseTransport_H_ -#define _CauseTransport_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum CauseTransport { - CauseTransport_unspecified = 0, - CauseTransport_transport_resource_unavailable = 1 - /* - * Enumeration is extensible - */ -} e_CauseTransport; - -/* CauseTransport */ -typedef long CauseTransport_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_CauseTransport_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_CauseTransport; -extern const asn_INTEGER_specifics_t asn_SPC_CauseTransport_specs_1; -asn_struct_free_f CauseTransport_free; -asn_struct_print_f CauseTransport_print; -asn_constr_check_f CauseTransport_constraint; -ber_type_decoder_f CauseTransport_decode_ber; -der_type_encoder_f CauseTransport_encode_der; -xer_type_decoder_f CauseTransport_decode_xer; -xer_type_encoder_f CauseTransport_encode_xer; -per_type_decoder_f CauseTransport_decode_uper; -per_type_encoder_f CauseTransport_encode_uper; -per_type_decoder_f CauseTransport_decode_aper; -per_type_encoder_f CauseTransport_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _CauseTransport_H_ */ -#include diff --git a/asn1c_defs/Criticality.c b/asn1c_defs/Criticality.c deleted file mode 100644 index b60cef0..0000000 --- a/asn1c_defs/Criticality.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-CommonDataTypes" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "Criticality.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_Criticality_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_Criticality_value2enum_1[] = { - { 0, 6, "reject" }, - { 1, 6, "ignore" }, - { 2, 6, "notify" } -}; -static const unsigned int asn_MAP_Criticality_enum2value_1[] = { - 1, /* ignore(1) */ - 2, /* notify(2) */ - 0 /* reject(0) */ -}; -const asn_INTEGER_specifics_t asn_SPC_Criticality_specs_1 = { - asn_MAP_Criticality_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_Criticality_enum2value_1, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_Criticality_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_Criticality = { - "Criticality", - "Criticality", - &asn_OP_NativeEnumerated, - asn_DEF_Criticality_tags_1, - sizeof(asn_DEF_Criticality_tags_1) - /sizeof(asn_DEF_Criticality_tags_1[0]), /* 1 */ - asn_DEF_Criticality_tags_1, /* Same as above */ - sizeof(asn_DEF_Criticality_tags_1) - /sizeof(asn_DEF_Criticality_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_Criticality_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_Criticality_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/Criticality.h b/asn1c_defs/Criticality.h deleted file mode 100644 index 68e455f..0000000 --- a/asn1c_defs/Criticality.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-CommonDataTypes" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _Criticality_H_ -#define _Criticality_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum Criticality { - Criticality_reject = 0, - Criticality_ignore = 1, - Criticality_notify = 2 -} e_Criticality; - -/* Criticality */ -typedef long Criticality_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_Criticality_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_Criticality; -extern const asn_INTEGER_specifics_t asn_SPC_Criticality_specs_1; -asn_struct_free_f Criticality_free; -asn_struct_print_f Criticality_print; -asn_constr_check_f Criticality_constraint; -ber_type_decoder_f Criticality_decode_ber; -der_type_encoder_f Criticality_encode_der; -xer_type_decoder_f Criticality_decode_xer; -xer_type_encoder_f Criticality_encode_xer; -per_type_decoder_f Criticality_decode_uper; -per_type_encoder_f Criticality_encode_uper; -per_type_decoder_f Criticality_decode_aper; -per_type_encoder_f Criticality_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _Criticality_H_ */ -#include diff --git a/asn1c_defs/CriticalityDiagnostics-IE-Item.c b/asn1c_defs/CriticalityDiagnostics-IE-Item.c deleted file mode 100644 index 42eb719..0000000 --- a/asn1c_defs/CriticalityDiagnostics-IE-Item.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "CriticalityDiagnostics-IE-Item.h" - -asn_TYPE_member_t asn_MBR_CriticalityDiagnostics_IE_Item_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct CriticalityDiagnostics_IE_Item, iECriticality), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "iECriticality" - }, - { ATF_NOFLAGS, 0, offsetof(struct CriticalityDiagnostics_IE_Item, iE_ID), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "iE-ID" - }, - { ATF_NOFLAGS, 0, offsetof(struct CriticalityDiagnostics_IE_Item, typeOfError), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TypeOfError, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "typeOfError" - }, -}; -static const ber_tlv_tag_t asn_DEF_CriticalityDiagnostics_IE_Item_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_CriticalityDiagnostics_IE_Item_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* iECriticality */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* iE-ID */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* typeOfError */ -}; -asn_SEQUENCE_specifics_t asn_SPC_CriticalityDiagnostics_IE_Item_specs_1 = { - sizeof(struct CriticalityDiagnostics_IE_Item), - offsetof(struct CriticalityDiagnostics_IE_Item, _asn_ctx), - asn_MAP_CriticalityDiagnostics_IE_Item_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 3, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics_IE_Item = { - "CriticalityDiagnostics-IE-Item", - "CriticalityDiagnostics-IE-Item", - &asn_OP_SEQUENCE, - asn_DEF_CriticalityDiagnostics_IE_Item_tags_1, - sizeof(asn_DEF_CriticalityDiagnostics_IE_Item_tags_1) - /sizeof(asn_DEF_CriticalityDiagnostics_IE_Item_tags_1[0]), /* 1 */ - asn_DEF_CriticalityDiagnostics_IE_Item_tags_1, /* Same as above */ - sizeof(asn_DEF_CriticalityDiagnostics_IE_Item_tags_1) - /sizeof(asn_DEF_CriticalityDiagnostics_IE_Item_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_CriticalityDiagnostics_IE_Item_1, - 3, /* Elements count */ - &asn_SPC_CriticalityDiagnostics_IE_Item_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/CriticalityDiagnostics-IE-Item.h b/asn1c_defs/CriticalityDiagnostics-IE-Item.h deleted file mode 100644 index cb27d23..0000000 --- a/asn1c_defs/CriticalityDiagnostics-IE-Item.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _CriticalityDiagnostics_IE_Item_H_ -#define _CriticalityDiagnostics_IE_Item_H_ - - -#include - -/* Including external dependencies */ -#include "Criticality.h" -#include "ProtocolIE-ID.h" -#include "TypeOfError.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* CriticalityDiagnostics-IE-Item */ -typedef struct CriticalityDiagnostics_IE_Item { - Criticality_t iECriticality; - ProtocolIE_ID_t iE_ID; - TypeOfError_t typeOfError; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CriticalityDiagnostics_IE_Item_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics_IE_Item; -extern asn_SEQUENCE_specifics_t asn_SPC_CriticalityDiagnostics_IE_Item_specs_1; -extern asn_TYPE_member_t asn_MBR_CriticalityDiagnostics_IE_Item_1[3]; - -#ifdef __cplusplus -} -#endif - -#endif /* _CriticalityDiagnostics_IE_Item_H_ */ -#include diff --git a/asn1c_defs/CriticalityDiagnostics-IE-List.c b/asn1c_defs/CriticalityDiagnostics-IE-List.c deleted file mode 100644 index 697d4c4..0000000 --- a/asn1c_defs/CriticalityDiagnostics-IE-List.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "CriticalityDiagnostics-IE-List.h" - -#include "CriticalityDiagnostics-IE-Item.h" -asn_per_constraints_t asn_PER_type_CriticalityDiagnostics_IE_List_constr_1 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 8, 8, 1, 256 } /* (SIZE(1..256)) */, - 0, 0 /* No PER value map */ -}; -asn_TYPE_member_t asn_MBR_CriticalityDiagnostics_IE_List_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CriticalityDiagnostics_IE_Item, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_CriticalityDiagnostics_IE_List_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_CriticalityDiagnostics_IE_List_specs_1 = { - sizeof(struct CriticalityDiagnostics_IE_List), - offsetof(struct CriticalityDiagnostics_IE_List, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics_IE_List = { - "CriticalityDiagnostics-IE-List", - "CriticalityDiagnostics-IE-List", - &asn_OP_SEQUENCE_OF, - asn_DEF_CriticalityDiagnostics_IE_List_tags_1, - sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1) - /sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1[0]), /* 1 */ - asn_DEF_CriticalityDiagnostics_IE_List_tags_1, /* Same as above */ - sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1) - /sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_CriticalityDiagnostics_IE_List_constr_1, SEQUENCE_OF_constraint }, - asn_MBR_CriticalityDiagnostics_IE_List_1, - 1, /* Single element */ - &asn_SPC_CriticalityDiagnostics_IE_List_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/CriticalityDiagnostics-IE-List.h b/asn1c_defs/CriticalityDiagnostics-IE-List.h deleted file mode 100644 index 83f8f3e..0000000 --- a/asn1c_defs/CriticalityDiagnostics-IE-List.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _CriticalityDiagnostics_IE_List_H_ -#define _CriticalityDiagnostics_IE_List_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct CriticalityDiagnostics_IE_Item; - -/* CriticalityDiagnostics-IE-List */ -typedef struct CriticalityDiagnostics_IE_List { - A_SEQUENCE_OF(struct CriticalityDiagnostics_IE_Item) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CriticalityDiagnostics_IE_List_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics_IE_List; -extern asn_SET_OF_specifics_t asn_SPC_CriticalityDiagnostics_IE_List_specs_1; -extern asn_TYPE_member_t asn_MBR_CriticalityDiagnostics_IE_List_1[1]; -extern asn_per_constraints_t asn_PER_type_CriticalityDiagnostics_IE_List_constr_1; - -#ifdef __cplusplus -} -#endif - -#endif /* _CriticalityDiagnostics_IE_List_H_ */ -#include diff --git a/asn1c_defs/CriticalityDiagnostics.c b/asn1c_defs/CriticalityDiagnostics.c deleted file mode 100644 index c039e45..0000000 --- a/asn1c_defs/CriticalityDiagnostics.c +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "CriticalityDiagnostics.h" - -#include "RICrequestID.h" -#include "CriticalityDiagnostics-IE-List.h" -static asn_TYPE_member_t asn_MBR_CriticalityDiagnostics_1[] = { - { ATF_POINTER, 5, offsetof(struct CriticalityDiagnostics, procedureCode), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProcedureCode, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "procedureCode" - }, - { ATF_POINTER, 4, offsetof(struct CriticalityDiagnostics, triggeringMessage), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_TriggeringMessage, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "triggeringMessage" - }, - { ATF_POINTER, 3, offsetof(struct CriticalityDiagnostics, procedureCriticality), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "procedureCriticality" - }, - { ATF_POINTER, 2, offsetof(struct CriticalityDiagnostics, ricRequestorID), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricRequestorID" - }, - { ATF_POINTER, 1, offsetof(struct CriticalityDiagnostics, iEsCriticalityDiagnostics), - (ASN_TAG_CLASS_CONTEXT | (4 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_CriticalityDiagnostics_IE_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "iEsCriticalityDiagnostics" - }, -}; -static const int asn_MAP_CriticalityDiagnostics_oms_1[] = { 0, 1, 2, 3, 4 }; -static const ber_tlv_tag_t asn_DEF_CriticalityDiagnostics_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_CriticalityDiagnostics_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* triggeringMessage */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* procedureCriticality */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* ricRequestorID */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iEsCriticalityDiagnostics */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_CriticalityDiagnostics_specs_1 = { - sizeof(struct CriticalityDiagnostics), - offsetof(struct CriticalityDiagnostics, _asn_ctx), - asn_MAP_CriticalityDiagnostics_tag2el_1, - 5, /* Count of tags in the map */ - asn_MAP_CriticalityDiagnostics_oms_1, /* Optional members */ - 5, 0, /* Root/Additions */ - 5, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics = { - "CriticalityDiagnostics", - "CriticalityDiagnostics", - &asn_OP_SEQUENCE, - asn_DEF_CriticalityDiagnostics_tags_1, - sizeof(asn_DEF_CriticalityDiagnostics_tags_1) - /sizeof(asn_DEF_CriticalityDiagnostics_tags_1[0]), /* 1 */ - asn_DEF_CriticalityDiagnostics_tags_1, /* Same as above */ - sizeof(asn_DEF_CriticalityDiagnostics_tags_1) - /sizeof(asn_DEF_CriticalityDiagnostics_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_CriticalityDiagnostics_1, - 5, /* Elements count */ - &asn_SPC_CriticalityDiagnostics_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/CriticalityDiagnostics.h b/asn1c_defs/CriticalityDiagnostics.h deleted file mode 100644 index 90ee9a2..0000000 --- a/asn1c_defs/CriticalityDiagnostics.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _CriticalityDiagnostics_H_ -#define _CriticalityDiagnostics_H_ - - -#include - -/* Including external dependencies */ -#include "ProcedureCode.h" -#include "TriggeringMessage.h" -#include "Criticality.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RICrequestID; -struct CriticalityDiagnostics_IE_List; - -/* CriticalityDiagnostics */ -typedef struct CriticalityDiagnostics { - ProcedureCode_t *procedureCode; /* OPTIONAL */ - TriggeringMessage_t *triggeringMessage; /* OPTIONAL */ - Criticality_t *procedureCriticality; /* OPTIONAL */ - struct RICrequestID *ricRequestorID; /* OPTIONAL */ - struct CriticalityDiagnostics_IE_List *iEsCriticalityDiagnostics; /* OPTIONAL */ - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CriticalityDiagnostics_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics; - -#ifdef __cplusplus -} -#endif - -#endif /* _CriticalityDiagnostics_H_ */ -#include diff --git a/asn1c_defs/E2AP-PDU.c b/asn1c_defs/E2AP-PDU.c deleted file mode 100644 index b2d8966..0000000 --- a/asn1c_defs/E2AP-PDU.c +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Descriptions" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "E2AP-PDU.h" - -#include "InitiatingMessage.h" -#include "SuccessfulOutcome.h" -#include "UnsuccessfulOutcome.h" -static asn_per_constraints_t asn_PER_type_E2AP_PDU_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_E2AP_PDU_1[] = { - { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.initiatingMessage), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_InitiatingMessage, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "initiatingMessage" - }, - { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.successfulOutcome), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_SuccessfulOutcome, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "successfulOutcome" - }, - { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.unsuccessfulOutcome), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_UnsuccessfulOutcome, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "unsuccessfulOutcome" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_E2AP_PDU_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* initiatingMessage */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* successfulOutcome */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* unsuccessfulOutcome */ -}; -static asn_CHOICE_specifics_t asn_SPC_E2AP_PDU_specs_1 = { - sizeof(struct E2AP_PDU), - offsetof(struct E2AP_PDU, _asn_ctx), - offsetof(struct E2AP_PDU, present), - sizeof(((struct E2AP_PDU *)0)->present), - asn_MAP_E2AP_PDU_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, - 3 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_E2AP_PDU = { - "E2AP-PDU", - "E2AP-PDU", - &asn_OP_CHOICE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, &asn_PER_type_E2AP_PDU_constr_1, CHOICE_constraint }, - asn_MBR_E2AP_PDU_1, - 3, /* Elements count */ - &asn_SPC_E2AP_PDU_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/E2AP-PDU.h b/asn1c_defs/E2AP-PDU.h deleted file mode 100644 index 210b4f2..0000000 --- a/asn1c_defs/E2AP-PDU.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Descriptions" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _E2AP_PDU_H_ -#define _E2AP_PDU_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum E2AP_PDU_PR { - E2AP_PDU_PR_NOTHING, /* No components present */ - E2AP_PDU_PR_initiatingMessage, - E2AP_PDU_PR_successfulOutcome, - E2AP_PDU_PR_unsuccessfulOutcome - /* Extensions may appear below */ - -} E2AP_PDU_PR; - -/* Forward declarations */ -struct InitiatingMessage; -struct SuccessfulOutcome; -struct UnsuccessfulOutcome; - -/* E2AP-PDU */ -typedef struct E2AP_PDU { - E2AP_PDU_PR present; - union E2AP_PDU_u { - struct InitiatingMessage *initiatingMessage; - struct SuccessfulOutcome *successfulOutcome; - struct UnsuccessfulOutcome *unsuccessfulOutcome; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} E2AP_PDU_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_E2AP_PDU; - -#ifdef __cplusplus -} -#endif - -#endif /* _E2AP_PDU_H_ */ -#include diff --git a/asn1c_defs/E2setupFailure.c b/asn1c_defs/E2setupFailure.c deleted file mode 100644 index 0de5bbf..0000000 --- a/asn1c_defs/E2setupFailure.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "E2setupFailure.h" - -asn_TYPE_member_t asn_MBR_E2setupFailure_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct E2setupFailure, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P13, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_E2setupFailure_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_E2setupFailure_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_E2setupFailure_specs_1 = { - sizeof(struct E2setupFailure), - offsetof(struct E2setupFailure, _asn_ctx), - asn_MAP_E2setupFailure_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_E2setupFailure = { - "E2setupFailure", - "E2setupFailure", - &asn_OP_SEQUENCE, - asn_DEF_E2setupFailure_tags_1, - sizeof(asn_DEF_E2setupFailure_tags_1) - /sizeof(asn_DEF_E2setupFailure_tags_1[0]), /* 1 */ - asn_DEF_E2setupFailure_tags_1, /* Same as above */ - sizeof(asn_DEF_E2setupFailure_tags_1) - /sizeof(asn_DEF_E2setupFailure_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_E2setupFailure_1, - 1, /* Elements count */ - &asn_SPC_E2setupFailure_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/E2setupFailure.h b/asn1c_defs/E2setupFailure.h deleted file mode 100644 index 177bb94..0000000 --- a/asn1c_defs/E2setupFailure.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _E2setupFailure_H_ -#define _E2setupFailure_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* E2setupFailure */ -typedef struct E2setupFailure { - ProtocolIE_Container_1412P13_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} E2setupFailure_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_E2setupFailure; -extern asn_SEQUENCE_specifics_t asn_SPC_E2setupFailure_specs_1; -extern asn_TYPE_member_t asn_MBR_E2setupFailure_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _E2setupFailure_H_ */ -#include diff --git a/asn1c_defs/E2setupRequest.c b/asn1c_defs/E2setupRequest.c deleted file mode 100644 index 5c722b5..0000000 --- a/asn1c_defs/E2setupRequest.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "E2setupRequest.h" - -asn_TYPE_member_t asn_MBR_E2setupRequest_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct E2setupRequest, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P11, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_E2setupRequest_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_E2setupRequest_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_E2setupRequest_specs_1 = { - sizeof(struct E2setupRequest), - offsetof(struct E2setupRequest, _asn_ctx), - asn_MAP_E2setupRequest_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_E2setupRequest = { - "E2setupRequest", - "E2setupRequest", - &asn_OP_SEQUENCE, - asn_DEF_E2setupRequest_tags_1, - sizeof(asn_DEF_E2setupRequest_tags_1) - /sizeof(asn_DEF_E2setupRequest_tags_1[0]), /* 1 */ - asn_DEF_E2setupRequest_tags_1, /* Same as above */ - sizeof(asn_DEF_E2setupRequest_tags_1) - /sizeof(asn_DEF_E2setupRequest_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_E2setupRequest_1, - 1, /* Elements count */ - &asn_SPC_E2setupRequest_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/E2setupRequest.h b/asn1c_defs/E2setupRequest.h deleted file mode 100644 index e616c54..0000000 --- a/asn1c_defs/E2setupRequest.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _E2setupRequest_H_ -#define _E2setupRequest_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* E2setupRequest */ -typedef struct E2setupRequest { - ProtocolIE_Container_1412P11_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} E2setupRequest_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_E2setupRequest; -extern asn_SEQUENCE_specifics_t asn_SPC_E2setupRequest_specs_1; -extern asn_TYPE_member_t asn_MBR_E2setupRequest_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _E2setupRequest_H_ */ -#include diff --git a/asn1c_defs/E2setupResponse.c b/asn1c_defs/E2setupResponse.c deleted file mode 100644 index 89c8189..0000000 --- a/asn1c_defs/E2setupResponse.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "E2setupResponse.h" - -asn_TYPE_member_t asn_MBR_E2setupResponse_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct E2setupResponse, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P12, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_E2setupResponse_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_E2setupResponse_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_E2setupResponse_specs_1 = { - sizeof(struct E2setupResponse), - offsetof(struct E2setupResponse, _asn_ctx), - asn_MAP_E2setupResponse_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_E2setupResponse = { - "E2setupResponse", - "E2setupResponse", - &asn_OP_SEQUENCE, - asn_DEF_E2setupResponse_tags_1, - sizeof(asn_DEF_E2setupResponse_tags_1) - /sizeof(asn_DEF_E2setupResponse_tags_1[0]), /* 1 */ - asn_DEF_E2setupResponse_tags_1, /* Same as above */ - sizeof(asn_DEF_E2setupResponse_tags_1) - /sizeof(asn_DEF_E2setupResponse_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_E2setupResponse_1, - 1, /* Elements count */ - &asn_SPC_E2setupResponse_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/E2setupResponse.h b/asn1c_defs/E2setupResponse.h deleted file mode 100644 index 6e0cbaf..0000000 --- a/asn1c_defs/E2setupResponse.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _E2setupResponse_H_ -#define _E2setupResponse_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* E2setupResponse */ -typedef struct E2setupResponse { - ProtocolIE_Container_1412P12_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} E2setupResponse_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_E2setupResponse; -extern asn_SEQUENCE_specifics_t asn_SPC_E2setupResponse_specs_1; -extern asn_TYPE_member_t asn_MBR_E2setupResponse_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _E2setupResponse_H_ */ -#include diff --git a/asn1c_defs/ENB-ID-Choice.c b/asn1c_defs/ENB-ID-Choice.c deleted file mode 100644 index f5e95f4..0000000 --- a/asn1c_defs/ENB-ID-Choice.c +++ /dev/null @@ -1,180 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ENB-ID-Choice.h" - -static int -memb_enb_ID_macro_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 20)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_enb_ID_shortmacro_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 18)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_enb_ID_longmacro_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 21)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_enb_ID_macro_constr_2 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 20, 20 } /* (SIZE(20..20)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_enb_ID_shortmacro_constr_3 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 18, 18 } /* (SIZE(18..18)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_enb_ID_longmacro_constr_4 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 21, 21 } /* (SIZE(21..21)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ENB_ID_Choice_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -asn_TYPE_member_t asn_MBR_ENB_ID_Choice_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ENB_ID_Choice, choice.enb_ID_macro), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - 0, - { 0, &asn_PER_memb_enb_ID_macro_constr_2, memb_enb_ID_macro_constraint_1 }, - 0, 0, /* No default value */ - "enb-ID-macro" - }, - { ATF_NOFLAGS, 0, offsetof(struct ENB_ID_Choice, choice.enb_ID_shortmacro), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - 0, - { 0, &asn_PER_memb_enb_ID_shortmacro_constr_3, memb_enb_ID_shortmacro_constraint_1 }, - 0, 0, /* No default value */ - "enb-ID-shortmacro" - }, - { ATF_NOFLAGS, 0, offsetof(struct ENB_ID_Choice, choice.enb_ID_longmacro), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - 0, - { 0, &asn_PER_memb_enb_ID_longmacro_constr_4, memb_enb_ID_longmacro_constraint_1 }, - 0, 0, /* No default value */ - "enb-ID-longmacro" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_ENB_ID_Choice_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* enb-ID-macro */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* enb-ID-shortmacro */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* enb-ID-longmacro */ -}; -asn_CHOICE_specifics_t asn_SPC_ENB_ID_Choice_specs_1 = { - sizeof(struct ENB_ID_Choice), - offsetof(struct ENB_ID_Choice, _asn_ctx), - offsetof(struct ENB_ID_Choice, present), - sizeof(((struct ENB_ID_Choice *)0)->present), - asn_MAP_ENB_ID_Choice_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, - 3 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_ENB_ID_Choice = { - "ENB-ID-Choice", - "ENB-ID-Choice", - &asn_OP_CHOICE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, &asn_PER_type_ENB_ID_Choice_constr_1, CHOICE_constraint }, - asn_MBR_ENB_ID_Choice_1, - 3, /* Elements count */ - &asn_SPC_ENB_ID_Choice_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/ENB-ID-Choice.h b/asn1c_defs/ENB-ID-Choice.h deleted file mode 100644 index 7bea7f5..0000000 --- a/asn1c_defs/ENB-ID-Choice.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ENB_ID_Choice_H_ -#define _ENB_ID_Choice_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ENB_ID_Choice_PR { - ENB_ID_Choice_PR_NOTHING, /* No components present */ - ENB_ID_Choice_PR_enb_ID_macro, - ENB_ID_Choice_PR_enb_ID_shortmacro, - ENB_ID_Choice_PR_enb_ID_longmacro - /* Extensions may appear below */ - -} ENB_ID_Choice_PR; - -/* ENB-ID-Choice */ -typedef struct ENB_ID_Choice { - ENB_ID_Choice_PR present; - union ENB_ID_Choice_u { - BIT_STRING_t enb_ID_macro; - BIT_STRING_t enb_ID_shortmacro; - BIT_STRING_t enb_ID_longmacro; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ENB_ID_Choice_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ENB_ID_Choice; -extern asn_CHOICE_specifics_t asn_SPC_ENB_ID_Choice_specs_1; -extern asn_TYPE_member_t asn_MBR_ENB_ID_Choice_1[3]; -extern asn_per_constraints_t asn_PER_type_ENB_ID_Choice_constr_1; - -#ifdef __cplusplus -} -#endif - -#endif /* _ENB_ID_Choice_H_ */ -#include diff --git a/asn1c_defs/ENB-ID.c b/asn1c_defs/ENB-ID.c deleted file mode 100644 index 1e9f936..0000000 --- a/asn1c_defs/ENB-ID.c +++ /dev/null @@ -1,226 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ENB-ID.h" - -static int -memb_macro_eNB_ID_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 20)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_home_eNB_ID_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 28)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_short_Macro_eNB_ID_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 18)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_long_Macro_eNB_ID_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 21)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_macro_eNB_ID_constr_2 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 20, 20 } /* (SIZE(20..20)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_home_eNB_ID_constr_3 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 28, 28 } /* (SIZE(28..28)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_short_Macro_eNB_ID_constr_5 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 18, 18 } /* (SIZE(18..18)) */, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_long_Macro_eNB_ID_constr_6 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 21, 21 } /* (SIZE(21..21)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ENB_ID_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -asn_TYPE_member_t asn_MBR_ENB_ID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ENB_ID, choice.macro_eNB_ID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - 0, - { 0, &asn_PER_memb_macro_eNB_ID_constr_2, memb_macro_eNB_ID_constraint_1 }, - 0, 0, /* No default value */ - "macro-eNB-ID" - }, - { ATF_NOFLAGS, 0, offsetof(struct ENB_ID, choice.home_eNB_ID), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - 0, - { 0, &asn_PER_memb_home_eNB_ID_constr_3, memb_home_eNB_ID_constraint_1 }, - 0, 0, /* No default value */ - "home-eNB-ID" - }, - { ATF_NOFLAGS, 0, offsetof(struct ENB_ID, choice.short_Macro_eNB_ID), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - 0, - { 0, &asn_PER_memb_short_Macro_eNB_ID_constr_5, memb_short_Macro_eNB_ID_constraint_1 }, - 0, 0, /* No default value */ - "short-Macro-eNB-ID" - }, - { ATF_NOFLAGS, 0, offsetof(struct ENB_ID, choice.long_Macro_eNB_ID), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - 0, - { 0, &asn_PER_memb_long_Macro_eNB_ID_constr_6, memb_long_Macro_eNB_ID_constraint_1 }, - 0, 0, /* No default value */ - "long-Macro-eNB-ID" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_ENB_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* macro-eNB-ID */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* home-eNB-ID */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* short-Macro-eNB-ID */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* long-Macro-eNB-ID */ -}; -asn_CHOICE_specifics_t asn_SPC_ENB_ID_specs_1 = { - sizeof(struct ENB_ID), - offsetof(struct ENB_ID, _asn_ctx), - offsetof(struct ENB_ID, present), - sizeof(((struct ENB_ID *)0)->present), - asn_MAP_ENB_ID_tag2el_1, - 4, /* Count of tags in the map */ - 0, 0, - 2 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_ENB_ID = { - "ENB-ID", - "ENB-ID", - &asn_OP_CHOICE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, &asn_PER_type_ENB_ID_constr_1, CHOICE_constraint }, - asn_MBR_ENB_ID_1, - 4, /* Elements count */ - &asn_SPC_ENB_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/ENB-ID.h b/asn1c_defs/ENB-ID.h deleted file mode 100644 index cc15d1e..0000000 --- a/asn1c_defs/ENB-ID.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ENB_ID_H_ -#define _ENB_ID_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ENB_ID_PR { - ENB_ID_PR_NOTHING, /* No components present */ - ENB_ID_PR_macro_eNB_ID, - ENB_ID_PR_home_eNB_ID, - /* Extensions may appear below */ - ENB_ID_PR_short_Macro_eNB_ID, - ENB_ID_PR_long_Macro_eNB_ID -} ENB_ID_PR; - -/* ENB-ID */ -typedef struct ENB_ID { - ENB_ID_PR present; - union ENB_ID_u { - BIT_STRING_t macro_eNB_ID; - BIT_STRING_t home_eNB_ID; - /* - * This type is extensible, - * possible extensions are below. - */ - BIT_STRING_t short_Macro_eNB_ID; - BIT_STRING_t long_Macro_eNB_ID; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ENB_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ENB_ID; -extern asn_CHOICE_specifics_t asn_SPC_ENB_ID_specs_1; -extern asn_TYPE_member_t asn_MBR_ENB_ID_1[4]; -extern asn_per_constraints_t asn_PER_type_ENB_ID_constr_1; - -#ifdef __cplusplus -} -#endif - -#endif /* _ENB_ID_H_ */ -#include diff --git a/asn1c_defs/ENGNB-ID.c b/asn1c_defs/ENGNB-ID.c deleted file mode 100644 index 46ac40e..0000000 --- a/asn1c_defs/ENGNB-ID.c +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ENGNB-ID.h" - -static int -memb_gNB_ID_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size >= 22 && size <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_gNB_ID_constr_2 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 22, 32 } /* (SIZE(22..32)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ENGNB_ID_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -asn_TYPE_member_t asn_MBR_ENGNB_ID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ENGNB_ID, choice.gNB_ID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - 0, - { 0, &asn_PER_memb_gNB_ID_constr_2, memb_gNB_ID_constraint_1 }, - 0, 0, /* No default value */ - "gNB-ID" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_ENGNB_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* gNB-ID */ -}; -asn_CHOICE_specifics_t asn_SPC_ENGNB_ID_specs_1 = { - sizeof(struct ENGNB_ID), - offsetof(struct ENGNB_ID, _asn_ctx), - offsetof(struct ENGNB_ID, present), - sizeof(((struct ENGNB_ID *)0)->present), - asn_MAP_ENGNB_ID_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, - 1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_ENGNB_ID = { - "ENGNB-ID", - "ENGNB-ID", - &asn_OP_CHOICE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, &asn_PER_type_ENGNB_ID_constr_1, CHOICE_constraint }, - asn_MBR_ENGNB_ID_1, - 1, /* Elements count */ - &asn_SPC_ENGNB_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/ENGNB-ID.h b/asn1c_defs/ENGNB-ID.h deleted file mode 100644 index f5885f0..0000000 --- a/asn1c_defs/ENGNB-ID.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ENGNB_ID_H_ -#define _ENGNB_ID_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum ENGNB_ID_PR { - ENGNB_ID_PR_NOTHING, /* No components present */ - ENGNB_ID_PR_gNB_ID - /* Extensions may appear below */ - -} ENGNB_ID_PR; - -/* ENGNB-ID */ -typedef struct ENGNB_ID { - ENGNB_ID_PR present; - union ENGNB_ID_u { - BIT_STRING_t gNB_ID; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ENGNB_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ENGNB_ID; -extern asn_CHOICE_specifics_t asn_SPC_ENGNB_ID_specs_1; -extern asn_TYPE_member_t asn_MBR_ENGNB_ID_1[1]; -extern asn_per_constraints_t asn_PER_type_ENGNB_ID_constr_1; - -#ifdef __cplusplus -} -#endif - -#endif /* _ENGNB_ID_H_ */ -#include diff --git a/asn1c_defs/ErrorIndication.c b/asn1c_defs/ErrorIndication.c deleted file mode 100644 index cab3f7b..0000000 --- a/asn1c_defs/ErrorIndication.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ErrorIndication.h" - -asn_TYPE_member_t asn_MBR_ErrorIndication_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ErrorIndication, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P10, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_ErrorIndication_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_ErrorIndication_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_ErrorIndication_specs_1 = { - sizeof(struct ErrorIndication), - offsetof(struct ErrorIndication, _asn_ctx), - asn_MAP_ErrorIndication_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_ErrorIndication = { - "ErrorIndication", - "ErrorIndication", - &asn_OP_SEQUENCE, - asn_DEF_ErrorIndication_tags_1, - sizeof(asn_DEF_ErrorIndication_tags_1) - /sizeof(asn_DEF_ErrorIndication_tags_1[0]), /* 1 */ - asn_DEF_ErrorIndication_tags_1, /* Same as above */ - sizeof(asn_DEF_ErrorIndication_tags_1) - /sizeof(asn_DEF_ErrorIndication_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_ErrorIndication_1, - 1, /* Elements count */ - &asn_SPC_ErrorIndication_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/ErrorIndication.h b/asn1c_defs/ErrorIndication.h deleted file mode 100644 index 9d50ca2..0000000 --- a/asn1c_defs/ErrorIndication.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ErrorIndication_H_ -#define _ErrorIndication_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ErrorIndication */ -typedef struct ErrorIndication { - ProtocolIE_Container_1412P10_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ErrorIndication_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ErrorIndication; -extern asn_SEQUENCE_specifics_t asn_SPC_ErrorIndication_specs_1; -extern asn_TYPE_member_t asn_MBR_ErrorIndication_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _ErrorIndication_H_ */ -#include diff --git a/asn1c_defs/GNB-CU-UP-ID.c b/asn1c_defs/GNB-CU-UP-ID.c deleted file mode 100644 index b16eb48..0000000 --- a/asn1c_defs/GNB-CU-UP-ID.c +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GNB-CU-UP-ID.h" - -int -GNB_CU_UP_ID_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const INTEGER_t *st = (const INTEGER_t *)sptr; - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(asn_INTEGER2long(st, &value)) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value too large (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if((value >= 0 && value <= 68719476735)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using INTEGER, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_GNB_CU_UP_ID_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED, 36, -1, 0, 68719476735 } /* (0..68719476735) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_GNB_CU_UP_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_GNB_CU_UP_ID = { - "GNB-CU-UP-ID", - "GNB-CU-UP-ID", - &asn_OP_INTEGER, - asn_DEF_GNB_CU_UP_ID_tags_1, - sizeof(asn_DEF_GNB_CU_UP_ID_tags_1) - /sizeof(asn_DEF_GNB_CU_UP_ID_tags_1[0]), /* 1 */ - asn_DEF_GNB_CU_UP_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_GNB_CU_UP_ID_tags_1) - /sizeof(asn_DEF_GNB_CU_UP_ID_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_GNB_CU_UP_ID_constr_1, GNB_CU_UP_ID_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/asn1c_defs/GNB-CU-UP-ID.h b/asn1c_defs/GNB-CU-UP-ID.h deleted file mode 100644 index 0bf723f..0000000 --- a/asn1c_defs/GNB-CU-UP-ID.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GNB_CU_UP_ID_H_ -#define _GNB_CU_UP_ID_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* GNB-CU-UP-ID */ -typedef INTEGER_t GNB_CU_UP_ID_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GNB_CU_UP_ID_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GNB_CU_UP_ID; -asn_struct_free_f GNB_CU_UP_ID_free; -asn_struct_print_f GNB_CU_UP_ID_print; -asn_constr_check_f GNB_CU_UP_ID_constraint; -ber_type_decoder_f GNB_CU_UP_ID_decode_ber; -der_type_encoder_f GNB_CU_UP_ID_encode_der; -xer_type_decoder_f GNB_CU_UP_ID_decode_xer; -xer_type_encoder_f GNB_CU_UP_ID_encode_xer; -per_type_decoder_f GNB_CU_UP_ID_decode_uper; -per_type_encoder_f GNB_CU_UP_ID_encode_uper; -per_type_decoder_f GNB_CU_UP_ID_decode_aper; -per_type_encoder_f GNB_CU_UP_ID_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _GNB_CU_UP_ID_H_ */ -#include diff --git a/asn1c_defs/GNB-DU-ID.c b/asn1c_defs/GNB-DU-ID.c deleted file mode 100644 index 857a217..0000000 --- a/asn1c_defs/GNB-DU-ID.c +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GNB-DU-ID.h" - -int -GNB_DU_ID_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const INTEGER_t *st = (const INTEGER_t *)sptr; - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(asn_INTEGER2long(st, &value)) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value too large (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if((value >= 0 && value <= 68719476735)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using INTEGER, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_GNB_DU_ID_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED, 36, -1, 0, 68719476735 } /* (0..68719476735) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_GNB_DU_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_GNB_DU_ID = { - "GNB-DU-ID", - "GNB-DU-ID", - &asn_OP_INTEGER, - asn_DEF_GNB_DU_ID_tags_1, - sizeof(asn_DEF_GNB_DU_ID_tags_1) - /sizeof(asn_DEF_GNB_DU_ID_tags_1[0]), /* 1 */ - asn_DEF_GNB_DU_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_GNB_DU_ID_tags_1) - /sizeof(asn_DEF_GNB_DU_ID_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_GNB_DU_ID_constr_1, GNB_DU_ID_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/asn1c_defs/GNB-DU-ID.h b/asn1c_defs/GNB-DU-ID.h deleted file mode 100644 index 8af72bb..0000000 --- a/asn1c_defs/GNB-DU-ID.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GNB_DU_ID_H_ -#define _GNB_DU_ID_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* GNB-DU-ID */ -typedef INTEGER_t GNB_DU_ID_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GNB_DU_ID_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GNB_DU_ID; -asn_struct_free_f GNB_DU_ID_free; -asn_struct_print_f GNB_DU_ID_print; -asn_constr_check_f GNB_DU_ID_constraint; -ber_type_decoder_f GNB_DU_ID_decode_ber; -der_type_encoder_f GNB_DU_ID_encode_der; -xer_type_decoder_f GNB_DU_ID_decode_xer; -xer_type_encoder_f GNB_DU_ID_encode_xer; -per_type_decoder_f GNB_DU_ID_decode_uper; -per_type_encoder_f GNB_DU_ID_encode_uper; -per_type_decoder_f GNB_DU_ID_decode_aper; -per_type_encoder_f GNB_DU_ID_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _GNB_DU_ID_H_ */ -#include diff --git a/asn1c_defs/GNB-ID-Choice.c b/asn1c_defs/GNB-ID-Choice.c deleted file mode 100644 index 14a6ba8..0000000 --- a/asn1c_defs/GNB-ID-Choice.c +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GNB-ID-Choice.h" - -static int -memb_gnb_ID_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size >= 22 && size <= 32)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_gnb_ID_constr_2 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 22, 32 } /* (SIZE(22..32)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_GNB_ID_Choice_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -asn_TYPE_member_t asn_MBR_GNB_ID_Choice_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct GNB_ID_Choice, choice.gnb_ID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - 0, - { 0, &asn_PER_memb_gnb_ID_constr_2, memb_gnb_ID_constraint_1 }, - 0, 0, /* No default value */ - "gnb-ID" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_GNB_ID_Choice_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* gnb-ID */ -}; -asn_CHOICE_specifics_t asn_SPC_GNB_ID_Choice_specs_1 = { - sizeof(struct GNB_ID_Choice), - offsetof(struct GNB_ID_Choice, _asn_ctx), - offsetof(struct GNB_ID_Choice, present), - sizeof(((struct GNB_ID_Choice *)0)->present), - asn_MAP_GNB_ID_Choice_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, - 1 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_GNB_ID_Choice = { - "GNB-ID-Choice", - "GNB-ID-Choice", - &asn_OP_CHOICE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, &asn_PER_type_GNB_ID_Choice_constr_1, CHOICE_constraint }, - asn_MBR_GNB_ID_Choice_1, - 1, /* Elements count */ - &asn_SPC_GNB_ID_Choice_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/GNB-ID-Choice.h b/asn1c_defs/GNB-ID-Choice.h deleted file mode 100644 index a883727..0000000 --- a/asn1c_defs/GNB-ID-Choice.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GNB_ID_Choice_H_ -#define _GNB_ID_Choice_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum GNB_ID_Choice_PR { - GNB_ID_Choice_PR_NOTHING, /* No components present */ - GNB_ID_Choice_PR_gnb_ID - /* Extensions may appear below */ - -} GNB_ID_Choice_PR; - -/* GNB-ID-Choice */ -typedef struct GNB_ID_Choice { - GNB_ID_Choice_PR present; - union GNB_ID_Choice_u { - BIT_STRING_t gnb_ID; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GNB_ID_Choice_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GNB_ID_Choice; -extern asn_CHOICE_specifics_t asn_SPC_GNB_ID_Choice_specs_1; -extern asn_TYPE_member_t asn_MBR_GNB_ID_Choice_1[1]; -extern asn_per_constraints_t asn_PER_type_GNB_ID_Choice_constr_1; - -#ifdef __cplusplus -} -#endif - -#endif /* _GNB_ID_Choice_H_ */ -#include diff --git a/asn1c_defs/GlobalE2node-ID.c b/asn1c_defs/GlobalE2node-ID.c deleted file mode 100644 index dd56af6..0000000 --- a/asn1c_defs/GlobalE2node-ID.c +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GlobalE2node-ID.h" - -#include "GlobalE2node-gNB-ID.h" -#include "GlobalE2node-en-gNB-ID.h" -#include "GlobalE2node-ng-eNB-ID.h" -#include "GlobalE2node-eNB-ID.h" -static asn_per_constraints_t asn_PER_type_GlobalE2node_ID_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_GlobalE2node_ID_1[] = { - { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.gNB), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_GlobalE2node_gNB_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "gNB" - }, - { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.en_gNB), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_GlobalE2node_en_gNB_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "en-gNB" - }, - { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.ng_eNB), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_GlobalE2node_ng_eNB_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ng-eNB" - }, - { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.eNB), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_GlobalE2node_eNB_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "eNB" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_GlobalE2node_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gNB */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* en-gNB */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ng-eNB */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* eNB */ -}; -static asn_CHOICE_specifics_t asn_SPC_GlobalE2node_ID_specs_1 = { - sizeof(struct GlobalE2node_ID), - offsetof(struct GlobalE2node_ID, _asn_ctx), - offsetof(struct GlobalE2node_ID, present), - sizeof(((struct GlobalE2node_ID *)0)->present), - asn_MAP_GlobalE2node_ID_tag2el_1, - 4, /* Count of tags in the map */ - 0, 0, - 4 /* Extensions start */ -}; -asn_TYPE_descriptor_t asn_DEF_GlobalE2node_ID = { - "GlobalE2node-ID", - "GlobalE2node-ID", - &asn_OP_CHOICE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, &asn_PER_type_GlobalE2node_ID_constr_1, CHOICE_constraint }, - asn_MBR_GlobalE2node_ID_1, - 4, /* Elements count */ - &asn_SPC_GlobalE2node_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/GlobalE2node-ID.h b/asn1c_defs/GlobalE2node-ID.h deleted file mode 100644 index 4c6d47f..0000000 --- a/asn1c_defs/GlobalE2node-ID.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GlobalE2node_ID_H_ -#define _GlobalE2node_ID_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum GlobalE2node_ID_PR { - GlobalE2node_ID_PR_NOTHING, /* No components present */ - GlobalE2node_ID_PR_gNB, - GlobalE2node_ID_PR_en_gNB, - GlobalE2node_ID_PR_ng_eNB, - GlobalE2node_ID_PR_eNB - /* Extensions may appear below */ - -} GlobalE2node_ID_PR; - -/* Forward declarations */ -struct GlobalE2node_gNB_ID; -struct GlobalE2node_en_gNB_ID; -struct GlobalE2node_ng_eNB_ID; -struct GlobalE2node_eNB_ID; - -/* GlobalE2node-ID */ -typedef struct GlobalE2node_ID { - GlobalE2node_ID_PR present; - union GlobalE2node_ID_u { - struct GlobalE2node_gNB_ID *gNB; - struct GlobalE2node_en_gNB_ID *en_gNB; - struct GlobalE2node_ng_eNB_ID *ng_eNB; - struct GlobalE2node_eNB_ID *eNB; - /* - * This type is extensible, - * possible extensions are below. - */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GlobalE2node_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GlobalE2node_ID; - -#ifdef __cplusplus -} -#endif - -#endif /* _GlobalE2node_ID_H_ */ -#include diff --git a/asn1c_defs/GlobalE2node-eNB-ID.c b/asn1c_defs/GlobalE2node-eNB-ID.c deleted file mode 100644 index 2251ef9..0000000 --- a/asn1c_defs/GlobalE2node-eNB-ID.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GlobalE2node-eNB-ID.h" - -asn_TYPE_member_t asn_MBR_GlobalE2node_eNB_ID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct GlobalE2node_eNB_ID, global_eNB_ID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_GlobalENB_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "global-eNB-ID" - }, -}; -static const ber_tlv_tag_t asn_DEF_GlobalE2node_eNB_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_GlobalE2node_eNB_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* global-eNB-ID */ -}; -asn_SEQUENCE_specifics_t asn_SPC_GlobalE2node_eNB_ID_specs_1 = { - sizeof(struct GlobalE2node_eNB_ID), - offsetof(struct GlobalE2node_eNB_ID, _asn_ctx), - asn_MAP_GlobalE2node_eNB_ID_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_GlobalE2node_eNB_ID = { - "GlobalE2node-eNB-ID", - "GlobalE2node-eNB-ID", - &asn_OP_SEQUENCE, - asn_DEF_GlobalE2node_eNB_ID_tags_1, - sizeof(asn_DEF_GlobalE2node_eNB_ID_tags_1) - /sizeof(asn_DEF_GlobalE2node_eNB_ID_tags_1[0]), /* 1 */ - asn_DEF_GlobalE2node_eNB_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_GlobalE2node_eNB_ID_tags_1) - /sizeof(asn_DEF_GlobalE2node_eNB_ID_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_GlobalE2node_eNB_ID_1, - 1, /* Elements count */ - &asn_SPC_GlobalE2node_eNB_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/GlobalE2node-eNB-ID.h b/asn1c_defs/GlobalE2node-eNB-ID.h deleted file mode 100644 index e189a86..0000000 --- a/asn1c_defs/GlobalE2node-eNB-ID.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GlobalE2node_eNB_ID_H_ -#define _GlobalE2node_eNB_ID_H_ - - -#include - -/* Including external dependencies */ -#include "GlobalENB-ID.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* GlobalE2node-eNB-ID */ -typedef struct GlobalE2node_eNB_ID { - GlobalENB_ID_t global_eNB_ID; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GlobalE2node_eNB_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GlobalE2node_eNB_ID; -extern asn_SEQUENCE_specifics_t asn_SPC_GlobalE2node_eNB_ID_specs_1; -extern asn_TYPE_member_t asn_MBR_GlobalE2node_eNB_ID_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _GlobalE2node_eNB_ID_H_ */ -#include diff --git a/asn1c_defs/GlobalE2node-en-gNB-ID.c b/asn1c_defs/GlobalE2node-en-gNB-ID.c deleted file mode 100644 index 9465de5..0000000 --- a/asn1c_defs/GlobalE2node-en-gNB-ID.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GlobalE2node-en-gNB-ID.h" - -asn_TYPE_member_t asn_MBR_GlobalE2node_en_gNB_ID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct GlobalE2node_en_gNB_ID, global_gNB_ID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_GlobalenGNB_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "global-gNB-ID" - }, -}; -static const ber_tlv_tag_t asn_DEF_GlobalE2node_en_gNB_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_GlobalE2node_en_gNB_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* global-gNB-ID */ -}; -asn_SEQUENCE_specifics_t asn_SPC_GlobalE2node_en_gNB_ID_specs_1 = { - sizeof(struct GlobalE2node_en_gNB_ID), - offsetof(struct GlobalE2node_en_gNB_ID, _asn_ctx), - asn_MAP_GlobalE2node_en_gNB_ID_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_GlobalE2node_en_gNB_ID = { - "GlobalE2node-en-gNB-ID", - "GlobalE2node-en-gNB-ID", - &asn_OP_SEQUENCE, - asn_DEF_GlobalE2node_en_gNB_ID_tags_1, - sizeof(asn_DEF_GlobalE2node_en_gNB_ID_tags_1) - /sizeof(asn_DEF_GlobalE2node_en_gNB_ID_tags_1[0]), /* 1 */ - asn_DEF_GlobalE2node_en_gNB_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_GlobalE2node_en_gNB_ID_tags_1) - /sizeof(asn_DEF_GlobalE2node_en_gNB_ID_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_GlobalE2node_en_gNB_ID_1, - 1, /* Elements count */ - &asn_SPC_GlobalE2node_en_gNB_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/GlobalE2node-en-gNB-ID.h b/asn1c_defs/GlobalE2node-en-gNB-ID.h deleted file mode 100644 index 1ea04f0..0000000 --- a/asn1c_defs/GlobalE2node-en-gNB-ID.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GlobalE2node_en_gNB_ID_H_ -#define _GlobalE2node_en_gNB_ID_H_ - - -#include - -/* Including external dependencies */ -#include "GlobalenGNB-ID.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* GlobalE2node-en-gNB-ID */ -typedef struct GlobalE2node_en_gNB_ID { - GlobalenGNB_ID_t global_gNB_ID; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GlobalE2node_en_gNB_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GlobalE2node_en_gNB_ID; -extern asn_SEQUENCE_specifics_t asn_SPC_GlobalE2node_en_gNB_ID_specs_1; -extern asn_TYPE_member_t asn_MBR_GlobalE2node_en_gNB_ID_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _GlobalE2node_en_gNB_ID_H_ */ -#include diff --git a/asn1c_defs/GlobalE2node-gNB-ID.c b/asn1c_defs/GlobalE2node-gNB-ID.c deleted file mode 100644 index 9014abc..0000000 --- a/asn1c_defs/GlobalE2node-gNB-ID.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GlobalE2node-gNB-ID.h" - -asn_TYPE_member_t asn_MBR_GlobalE2node_gNB_ID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct GlobalE2node_gNB_ID, global_gNB_ID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_GlobalgNB_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "global-gNB-ID" - }, - { ATF_POINTER, 2, offsetof(struct GlobalE2node_gNB_ID, gNB_CU_UP_ID), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_GNB_CU_UP_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "gNB-CU-UP-ID" - }, - { ATF_POINTER, 1, offsetof(struct GlobalE2node_gNB_ID, gNB_DU_ID), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_GNB_DU_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "gNB-DU-ID" - }, -}; -static const int asn_MAP_GlobalE2node_gNB_ID_oms_1[] = { 1, 2 }; -static const ber_tlv_tag_t asn_DEF_GlobalE2node_gNB_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_GlobalE2node_gNB_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* global-gNB-ID */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gNB-CU-UP-ID */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* gNB-DU-ID */ -}; -asn_SEQUENCE_specifics_t asn_SPC_GlobalE2node_gNB_ID_specs_1 = { - sizeof(struct GlobalE2node_gNB_ID), - offsetof(struct GlobalE2node_gNB_ID, _asn_ctx), - asn_MAP_GlobalE2node_gNB_ID_tag2el_1, - 3, /* Count of tags in the map */ - asn_MAP_GlobalE2node_gNB_ID_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - 3, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_GlobalE2node_gNB_ID = { - "GlobalE2node-gNB-ID", - "GlobalE2node-gNB-ID", - &asn_OP_SEQUENCE, - asn_DEF_GlobalE2node_gNB_ID_tags_1, - sizeof(asn_DEF_GlobalE2node_gNB_ID_tags_1) - /sizeof(asn_DEF_GlobalE2node_gNB_ID_tags_1[0]), /* 1 */ - asn_DEF_GlobalE2node_gNB_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_GlobalE2node_gNB_ID_tags_1) - /sizeof(asn_DEF_GlobalE2node_gNB_ID_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_GlobalE2node_gNB_ID_1, - 3, /* Elements count */ - &asn_SPC_GlobalE2node_gNB_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/GlobalE2node-gNB-ID.h b/asn1c_defs/GlobalE2node-gNB-ID.h deleted file mode 100644 index 0c39c6f..0000000 --- a/asn1c_defs/GlobalE2node-gNB-ID.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GlobalE2node_gNB_ID_H_ -#define _GlobalE2node_gNB_ID_H_ - - -#include - -/* Including external dependencies */ -#include "GlobalgNB-ID.h" -#include "GNB-CU-UP-ID.h" -#include "GNB-DU-ID.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* GlobalE2node-gNB-ID */ -typedef struct GlobalE2node_gNB_ID { - GlobalgNB_ID_t global_gNB_ID; - GNB_CU_UP_ID_t *gNB_CU_UP_ID; /* OPTIONAL */ - GNB_DU_ID_t *gNB_DU_ID; /* OPTIONAL */ - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GlobalE2node_gNB_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GlobalE2node_gNB_ID; -extern asn_SEQUENCE_specifics_t asn_SPC_GlobalE2node_gNB_ID_specs_1; -extern asn_TYPE_member_t asn_MBR_GlobalE2node_gNB_ID_1[3]; - -#ifdef __cplusplus -} -#endif - -#endif /* _GlobalE2node_gNB_ID_H_ */ -#include diff --git a/asn1c_defs/GlobalE2node-ng-eNB-ID.c b/asn1c_defs/GlobalE2node-ng-eNB-ID.c deleted file mode 100644 index a89e588..0000000 --- a/asn1c_defs/GlobalE2node-ng-eNB-ID.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GlobalE2node-ng-eNB-ID.h" - -asn_TYPE_member_t asn_MBR_GlobalE2node_ng_eNB_ID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct GlobalE2node_ng_eNB_ID, global_ng_eNB_ID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_GlobalngeNB_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "global-ng-eNB-ID" - }, -}; -static const ber_tlv_tag_t asn_DEF_GlobalE2node_ng_eNB_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_GlobalE2node_ng_eNB_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* global-ng-eNB-ID */ -}; -asn_SEQUENCE_specifics_t asn_SPC_GlobalE2node_ng_eNB_ID_specs_1 = { - sizeof(struct GlobalE2node_ng_eNB_ID), - offsetof(struct GlobalE2node_ng_eNB_ID, _asn_ctx), - asn_MAP_GlobalE2node_ng_eNB_ID_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_GlobalE2node_ng_eNB_ID = { - "GlobalE2node-ng-eNB-ID", - "GlobalE2node-ng-eNB-ID", - &asn_OP_SEQUENCE, - asn_DEF_GlobalE2node_ng_eNB_ID_tags_1, - sizeof(asn_DEF_GlobalE2node_ng_eNB_ID_tags_1) - /sizeof(asn_DEF_GlobalE2node_ng_eNB_ID_tags_1[0]), /* 1 */ - asn_DEF_GlobalE2node_ng_eNB_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_GlobalE2node_ng_eNB_ID_tags_1) - /sizeof(asn_DEF_GlobalE2node_ng_eNB_ID_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_GlobalE2node_ng_eNB_ID_1, - 1, /* Elements count */ - &asn_SPC_GlobalE2node_ng_eNB_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/GlobalE2node-ng-eNB-ID.h b/asn1c_defs/GlobalE2node-ng-eNB-ID.h deleted file mode 100644 index 6f075a4..0000000 --- a/asn1c_defs/GlobalE2node-ng-eNB-ID.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GlobalE2node_ng_eNB_ID_H_ -#define _GlobalE2node_ng_eNB_ID_H_ - - -#include - -/* Including external dependencies */ -#include "GlobalngeNB-ID.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* GlobalE2node-ng-eNB-ID */ -typedef struct GlobalE2node_ng_eNB_ID { - GlobalngeNB_ID_t global_ng_eNB_ID; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GlobalE2node_ng_eNB_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GlobalE2node_ng_eNB_ID; -extern asn_SEQUENCE_specifics_t asn_SPC_GlobalE2node_ng_eNB_ID_specs_1; -extern asn_TYPE_member_t asn_MBR_GlobalE2node_ng_eNB_ID_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _GlobalE2node_ng_eNB_ID_H_ */ -#include diff --git a/asn1c_defs/GlobalENB-ID.c b/asn1c_defs/GlobalENB-ID.c deleted file mode 100644 index 449b448..0000000 --- a/asn1c_defs/GlobalENB-ID.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GlobalENB-ID.h" - -asn_TYPE_member_t asn_MBR_GlobalENB_ID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct GlobalENB_ID, pLMN_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "pLMN-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct GlobalENB_ID, eNB_ID), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ENB_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "eNB-ID" - }, -}; -static const ber_tlv_tag_t asn_DEF_GlobalENB_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_GlobalENB_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pLMN-Identity */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* eNB-ID */ -}; -asn_SEQUENCE_specifics_t asn_SPC_GlobalENB_ID_specs_1 = { - sizeof(struct GlobalENB_ID), - offsetof(struct GlobalENB_ID, _asn_ctx), - asn_MAP_GlobalENB_ID_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_GlobalENB_ID = { - "GlobalENB-ID", - "GlobalENB-ID", - &asn_OP_SEQUENCE, - asn_DEF_GlobalENB_ID_tags_1, - sizeof(asn_DEF_GlobalENB_ID_tags_1) - /sizeof(asn_DEF_GlobalENB_ID_tags_1[0]), /* 1 */ - asn_DEF_GlobalENB_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_GlobalENB_ID_tags_1) - /sizeof(asn_DEF_GlobalENB_ID_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_GlobalENB_ID_1, - 2, /* Elements count */ - &asn_SPC_GlobalENB_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/GlobalENB-ID.h b/asn1c_defs/GlobalENB-ID.h deleted file mode 100644 index 0942464..0000000 --- a/asn1c_defs/GlobalENB-ID.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GlobalENB_ID_H_ -#define _GlobalENB_ID_H_ - - -#include - -/* Including external dependencies */ -#include "PLMN-Identity.h" -#include "ENB-ID.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* GlobalENB-ID */ -typedef struct GlobalENB_ID { - PLMN_Identity_t pLMN_Identity; - ENB_ID_t eNB_ID; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GlobalENB_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GlobalENB_ID; -extern asn_SEQUENCE_specifics_t asn_SPC_GlobalENB_ID_specs_1; -extern asn_TYPE_member_t asn_MBR_GlobalENB_ID_1[2]; - -#ifdef __cplusplus -} -#endif - -#endif /* _GlobalENB_ID_H_ */ -#include diff --git a/asn1c_defs/GlobalRIC-ID.c b/asn1c_defs/GlobalRIC-ID.c deleted file mode 100644 index c35641a..0000000 --- a/asn1c_defs/GlobalRIC-ID.c +++ /dev/null @@ -1,96 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GlobalRIC-ID.h" - -static int -memb_ric_ID_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const BIT_STRING_t *st = (const BIT_STRING_t *)sptr; - size_t size; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - if(st->size > 0) { - /* Size in bits */ - size = 8 * st->size - (st->bits_unused & 0x07); - } else { - size = 0; - } - - if((size == 20)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_ric_ID_constr_3 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 20, 20 } /* (SIZE(20..20)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_GlobalRIC_ID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct GlobalRIC_ID, pLMN_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "pLMN-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct GlobalRIC_ID, ric_ID), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_BIT_STRING, - 0, - { 0, &asn_PER_memb_ric_ID_constr_3, memb_ric_ID_constraint_1 }, - 0, 0, /* No default value */ - "ric-ID" - }, -}; -static const ber_tlv_tag_t asn_DEF_GlobalRIC_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_GlobalRIC_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pLMN-Identity */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ric-ID */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_GlobalRIC_ID_specs_1 = { - sizeof(struct GlobalRIC_ID), - offsetof(struct GlobalRIC_ID, _asn_ctx), - asn_MAP_GlobalRIC_ID_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_GlobalRIC_ID = { - "GlobalRIC-ID", - "GlobalRIC-ID", - &asn_OP_SEQUENCE, - asn_DEF_GlobalRIC_ID_tags_1, - sizeof(asn_DEF_GlobalRIC_ID_tags_1) - /sizeof(asn_DEF_GlobalRIC_ID_tags_1[0]), /* 1 */ - asn_DEF_GlobalRIC_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_GlobalRIC_ID_tags_1) - /sizeof(asn_DEF_GlobalRIC_ID_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_GlobalRIC_ID_1, - 2, /* Elements count */ - &asn_SPC_GlobalRIC_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/GlobalRIC-ID.h b/asn1c_defs/GlobalRIC-ID.h deleted file mode 100644 index 2dc0c91..0000000 --- a/asn1c_defs/GlobalRIC-ID.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GlobalRIC_ID_H_ -#define _GlobalRIC_ID_H_ - - -#include - -/* Including external dependencies */ -#include "PLMN-Identity.h" -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* GlobalRIC-ID */ -typedef struct GlobalRIC_ID { - PLMN_Identity_t pLMN_Identity; - BIT_STRING_t ric_ID; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GlobalRIC_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GlobalRIC_ID; - -#ifdef __cplusplus -} -#endif - -#endif /* _GlobalRIC_ID_H_ */ -#include diff --git a/asn1c_defs/GlobalenGNB-ID.c b/asn1c_defs/GlobalenGNB-ID.c deleted file mode 100644 index 6054641..0000000 --- a/asn1c_defs/GlobalenGNB-ID.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GlobalenGNB-ID.h" - -asn_TYPE_member_t asn_MBR_GlobalenGNB_ID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct GlobalenGNB_ID, pLMN_Identity), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "pLMN-Identity" - }, - { ATF_NOFLAGS, 0, offsetof(struct GlobalenGNB_ID, gNB_ID), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ENGNB_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "gNB-ID" - }, -}; -static const ber_tlv_tag_t asn_DEF_GlobalenGNB_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_GlobalenGNB_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pLMN-Identity */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* gNB-ID */ -}; -asn_SEQUENCE_specifics_t asn_SPC_GlobalenGNB_ID_specs_1 = { - sizeof(struct GlobalenGNB_ID), - offsetof(struct GlobalenGNB_ID, _asn_ctx), - asn_MAP_GlobalenGNB_ID_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_GlobalenGNB_ID = { - "GlobalenGNB-ID", - "GlobalenGNB-ID", - &asn_OP_SEQUENCE, - asn_DEF_GlobalenGNB_ID_tags_1, - sizeof(asn_DEF_GlobalenGNB_ID_tags_1) - /sizeof(asn_DEF_GlobalenGNB_ID_tags_1[0]), /* 1 */ - asn_DEF_GlobalenGNB_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_GlobalenGNB_ID_tags_1) - /sizeof(asn_DEF_GlobalenGNB_ID_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_GlobalenGNB_ID_1, - 2, /* Elements count */ - &asn_SPC_GlobalenGNB_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/GlobalenGNB-ID.h b/asn1c_defs/GlobalenGNB-ID.h deleted file mode 100644 index cf96976..0000000 --- a/asn1c_defs/GlobalenGNB-ID.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GlobalenGNB_ID_H_ -#define _GlobalenGNB_ID_H_ - - -#include - -/* Including external dependencies */ -#include "PLMN-Identity.h" -#include "ENGNB-ID.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* GlobalenGNB-ID */ -typedef struct GlobalenGNB_ID { - PLMN_Identity_t pLMN_Identity; - ENGNB_ID_t gNB_ID; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GlobalenGNB_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GlobalenGNB_ID; -extern asn_SEQUENCE_specifics_t asn_SPC_GlobalenGNB_ID_specs_1; -extern asn_TYPE_member_t asn_MBR_GlobalenGNB_ID_1[2]; - -#ifdef __cplusplus -} -#endif - -#endif /* _GlobalenGNB_ID_H_ */ -#include diff --git a/asn1c_defs/GlobalgNB-ID.c b/asn1c_defs/GlobalgNB-ID.c deleted file mode 100644 index 6178aee..0000000 --- a/asn1c_defs/GlobalgNB-ID.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GlobalgNB-ID.h" - -asn_TYPE_member_t asn_MBR_GlobalgNB_ID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct GlobalgNB_ID, plmn_id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "plmn-id" - }, - { ATF_NOFLAGS, 0, offsetof(struct GlobalgNB_ID, gnb_id), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_GNB_ID_Choice, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "gnb-id" - }, -}; -static const ber_tlv_tag_t asn_DEF_GlobalgNB_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_GlobalgNB_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* gnb-id */ -}; -asn_SEQUENCE_specifics_t asn_SPC_GlobalgNB_ID_specs_1 = { - sizeof(struct GlobalgNB_ID), - offsetof(struct GlobalgNB_ID, _asn_ctx), - asn_MAP_GlobalgNB_ID_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_GlobalgNB_ID = { - "GlobalgNB-ID", - "GlobalgNB-ID", - &asn_OP_SEQUENCE, - asn_DEF_GlobalgNB_ID_tags_1, - sizeof(asn_DEF_GlobalgNB_ID_tags_1) - /sizeof(asn_DEF_GlobalgNB_ID_tags_1[0]), /* 1 */ - asn_DEF_GlobalgNB_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_GlobalgNB_ID_tags_1) - /sizeof(asn_DEF_GlobalgNB_ID_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_GlobalgNB_ID_1, - 2, /* Elements count */ - &asn_SPC_GlobalgNB_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/GlobalgNB-ID.h b/asn1c_defs/GlobalgNB-ID.h deleted file mode 100644 index a31a056..0000000 --- a/asn1c_defs/GlobalgNB-ID.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GlobalgNB_ID_H_ -#define _GlobalgNB_ID_H_ - - -#include - -/* Including external dependencies */ -#include "PLMN-Identity.h" -#include "GNB-ID-Choice.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* GlobalgNB-ID */ -typedef struct GlobalgNB_ID { - PLMN_Identity_t plmn_id; - GNB_ID_Choice_t gnb_id; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GlobalgNB_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GlobalgNB_ID; -extern asn_SEQUENCE_specifics_t asn_SPC_GlobalgNB_ID_specs_1; -extern asn_TYPE_member_t asn_MBR_GlobalgNB_ID_1[2]; - -#ifdef __cplusplus -} -#endif - -#endif /* _GlobalgNB_ID_H_ */ -#include diff --git a/asn1c_defs/GlobalngeNB-ID.c b/asn1c_defs/GlobalngeNB-ID.c deleted file mode 100644 index bb7615d..0000000 --- a/asn1c_defs/GlobalngeNB-ID.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "GlobalngeNB-ID.h" - -asn_TYPE_member_t asn_MBR_GlobalngeNB_ID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct GlobalngeNB_ID, plmn_id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_PLMN_Identity, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "plmn-id" - }, - { ATF_NOFLAGS, 0, offsetof(struct GlobalngeNB_ID, enb_id), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_ENB_ID_Choice, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "enb-id" - }, -}; -static const ber_tlv_tag_t asn_DEF_GlobalngeNB_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_GlobalngeNB_ID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* enb-id */ -}; -asn_SEQUENCE_specifics_t asn_SPC_GlobalngeNB_ID_specs_1 = { - sizeof(struct GlobalngeNB_ID), - offsetof(struct GlobalngeNB_ID, _asn_ctx), - asn_MAP_GlobalngeNB_ID_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_GlobalngeNB_ID = { - "GlobalngeNB-ID", - "GlobalngeNB-ID", - &asn_OP_SEQUENCE, - asn_DEF_GlobalngeNB_ID_tags_1, - sizeof(asn_DEF_GlobalngeNB_ID_tags_1) - /sizeof(asn_DEF_GlobalngeNB_ID_tags_1[0]), /* 1 */ - asn_DEF_GlobalngeNB_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_GlobalngeNB_ID_tags_1) - /sizeof(asn_DEF_GlobalngeNB_ID_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_GlobalngeNB_ID_1, - 2, /* Elements count */ - &asn_SPC_GlobalngeNB_ID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/GlobalngeNB-ID.h b/asn1c_defs/GlobalngeNB-ID.h deleted file mode 100644 index 30aa1fb..0000000 --- a/asn1c_defs/GlobalngeNB-ID.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _GlobalngeNB_ID_H_ -#define _GlobalngeNB_ID_H_ - - -#include - -/* Including external dependencies */ -#include "PLMN-Identity.h" -#include "ENB-ID-Choice.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* GlobalngeNB-ID */ -typedef struct GlobalngeNB_ID { - PLMN_Identity_t plmn_id; - ENB_ID_Choice_t enb_id; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GlobalngeNB_ID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GlobalngeNB_ID; -extern asn_SEQUENCE_specifics_t asn_SPC_GlobalngeNB_ID_specs_1; -extern asn_TYPE_member_t asn_MBR_GlobalngeNB_ID_1[2]; - -#ifdef __cplusplus -} -#endif - -#endif /* _GlobalngeNB_ID_H_ */ -#include diff --git a/asn1c_defs/HW-ControlCommand.c b/asn1c_defs/HW-ControlCommand.c deleted file mode 100644 index 2263722..0000000 --- a/asn1c_defs/HW-ControlCommand.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2SM-HelloWorld-IEs" - * found in "/home/sjana/ASN-Defns/e2sm-HelloWorld-v002.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "HW-ControlCommand.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static asn_per_constraints_t asn_PER_type_HW_ControlCommand_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_HW_ControlCommand_value2enum_1[] = { - { 0, 8, "addition" }, - { 1, 8, "deletion" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_HW_ControlCommand_enum2value_1[] = { - 0, /* addition(0) */ - 1 /* deletion(1) */ - /* This list is extensible */ -}; -static const asn_INTEGER_specifics_t asn_SPC_HW_ControlCommand_specs_1 = { - asn_MAP_HW_ControlCommand_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_HW_ControlCommand_enum2value_1, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 3, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_HW_ControlCommand_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_HW_ControlCommand = { - "HW-ControlCommand", - "HW-ControlCommand", - &asn_OP_NativeEnumerated, - asn_DEF_HW_ControlCommand_tags_1, - sizeof(asn_DEF_HW_ControlCommand_tags_1) - /sizeof(asn_DEF_HW_ControlCommand_tags_1[0]), /* 1 */ - asn_DEF_HW_ControlCommand_tags_1, /* Same as above */ - sizeof(asn_DEF_HW_ControlCommand_tags_1) - /sizeof(asn_DEF_HW_ControlCommand_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_HW_ControlCommand_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_HW_ControlCommand_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/HW-ControlCommand.h b/asn1c_defs/HW-ControlCommand.h deleted file mode 100644 index a0e1aa9..0000000 --- a/asn1c_defs/HW-ControlCommand.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2SM-HelloWorld-IEs" - * found in "/home/sjana/ASN-Defns/e2sm-HelloWorld-v002.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _HW_ControlCommand_H_ -#define _HW_ControlCommand_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum HW_ControlCommand { - HW_ControlCommand_addition = 0, - HW_ControlCommand_deletion = 1 - /* - * Enumeration is extensible - */ -} e_HW_ControlCommand; - -/* HW-ControlCommand */ -typedef long HW_ControlCommand_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HW_ControlCommand; -asn_struct_free_f HW_ControlCommand_free; -asn_struct_print_f HW_ControlCommand_print; -asn_constr_check_f HW_ControlCommand_constraint; -ber_type_decoder_f HW_ControlCommand_decode_ber; -der_type_encoder_f HW_ControlCommand_encode_der; -xer_type_decoder_f HW_ControlCommand_decode_xer; -xer_type_encoder_f HW_ControlCommand_encode_xer; -per_type_decoder_f HW_ControlCommand_decode_uper; -per_type_encoder_f HW_ControlCommand_encode_uper; -per_type_decoder_f HW_ControlCommand_decode_aper; -per_type_encoder_f HW_ControlCommand_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _HW_ControlCommand_H_ */ -#include diff --git a/asn1c_defs/InitiatingMessage.c b/asn1c_defs/InitiatingMessage.c deleted file mode 100644 index b7d73cf..0000000 --- a/asn1c_defs/InitiatingMessage.c +++ /dev/null @@ -1,389 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Descriptions" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "InitiatingMessage.h" - -static const long asn_VAL_1_id_RICsubscription = 8; -static const long asn_VAL_1_reject = 0; -static const long asn_VAL_2_id_RICsubscriptionDelete = 9; -static const long asn_VAL_2_reject = 0; -static const long asn_VAL_3_id_RICserviceUpdate = 7; -static const long asn_VAL_3_reject = 0; -static const long asn_VAL_4_id_RICcontrol = 4; -static const long asn_VAL_4_reject = 0; -static const long asn_VAL_5_id_E2setup = 1; -static const long asn_VAL_5_reject = 0; -static const long asn_VAL_6_id_Reset = 3; -static const long asn_VAL_6_reject = 0; -static const long asn_VAL_7_id_RICindication = 5; -static const long asn_VAL_7_ignore = 1; -static const long asn_VAL_8_id_RICserviceQuery = 6; -static const long asn_VAL_8_ignore = 1; -static const long asn_VAL_9_id_ErrorIndication = 2; -static const long asn_VAL_9_ignore = 1; -static const asn_ioc_cell_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows[] = { - { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionResponse }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_1_id_RICsubscription }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_1_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteResponse }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_2_id_RICsubscriptionDelete }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_2_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceUpdate }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateAcknowledge }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_RICserviceUpdate }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICcontrolRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolAcknowledge }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_RICcontrol }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_E2setupRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2setupResponse }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2setupFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_E2setup }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_ResetRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResetResponse }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_6_id_Reset }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICindication }, - { "&SuccessfulOutcome", }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_RICindication }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_ignore }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceQuery }, - { "&SuccessfulOutcome", }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_RICserviceQuery }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_ignore }, - { "&InitiatingMessage", aioc__type, &asn_DEF_ErrorIndication }, - { "&SuccessfulOutcome", }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_ErrorIndication }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_ignore } -}; -static const asn_ioc_set_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1[] = { - { 9, 5, asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows } -}; -static int -memb_procedureCode_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 255)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_InitiatingMessage_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1; - size_t constraining_column = 3; /* &procedureCode */ - size_t for_column = 4; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct InitiatingMessage, procedureCode)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_InitiatingMessage_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1; - size_t constraining_column = 3; /* &procedureCode */ - size_t for_column = 0; /* &InitiatingMessage */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct InitiatingMessage, procedureCode)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = { - { APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_value_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionRequest), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionRequest, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICsubscriptionRequest" - }, - { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICsubscriptionDeleteRequest), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionDeleteRequest, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICsubscriptionDeleteRequest" - }, - { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICserviceUpdate), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICserviceUpdate, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICserviceUpdate" - }, - { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICcontrolRequest), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICcontrolRequest, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcontrolRequest" - }, - { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.E2setupRequest), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_E2setupRequest, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "E2setupRequest" - }, - { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ResetRequest), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ResetRequest, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ResetRequest" - }, - { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICindication), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICindication, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICindication" - }, - { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.RICserviceQuery), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICserviceQuery, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICserviceQuery" - }, - { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage__value, choice.ErrorIndication), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ErrorIndication, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ErrorIndication" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 8 }, /* RICsubscriptionRequest */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 7 }, /* RICsubscriptionDeleteRequest */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 6 }, /* RICserviceUpdate */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 5 }, /* RICcontrolRequest */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 4 }, /* E2setupRequest */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 3 }, /* ResetRequest */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 6, -6, 2 }, /* RICindication */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 7, -7, 1 }, /* RICserviceQuery */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 8, -8, 0 } /* ErrorIndication */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = { - sizeof(struct InitiatingMessage__value), - offsetof(struct InitiatingMessage__value, _asn_ctx), - offsetof(struct InitiatingMessage__value, present), - sizeof(((struct InitiatingMessage__value *)0)->present), - asn_MAP_value_tag2el_4, - 9, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_4 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_4, - 9, /* Elements count */ - &asn_SPC_value_specs_4 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_InitiatingMessage_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, procedureCode), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProcedureCode, - 0, - { 0, &asn_PER_memb_procedureCode_constr_2, memb_procedureCode_constraint_1 }, - 0, 0, /* No default value */ - "procedureCode" - }, - { ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_InitiatingMessage_criticality_type, - { 0, &asn_PER_memb_criticality_constr_3, memb_criticality_constraint_1 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct InitiatingMessage, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_4, - select_InitiatingMessage_value_type, - { 0, &asn_PER_memb_value_constr_4, memb_value_constraint_1 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_InitiatingMessage_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_InitiatingMessage_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_InitiatingMessage_specs_1 = { - sizeof(struct InitiatingMessage), - offsetof(struct InitiatingMessage, _asn_ctx), - asn_MAP_InitiatingMessage_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_InitiatingMessage = { - "InitiatingMessage", - "InitiatingMessage", - &asn_OP_SEQUENCE, - asn_DEF_InitiatingMessage_tags_1, - sizeof(asn_DEF_InitiatingMessage_tags_1) - /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */ - asn_DEF_InitiatingMessage_tags_1, /* Same as above */ - sizeof(asn_DEF_InitiatingMessage_tags_1) - /sizeof(asn_DEF_InitiatingMessage_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_InitiatingMessage_1, - 3, /* Elements count */ - &asn_SPC_InitiatingMessage_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/InitiatingMessage.h b/asn1c_defs/InitiatingMessage.h deleted file mode 100644 index ef22437..0000000 --- a/asn1c_defs/InitiatingMessage.h +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Descriptions" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _InitiatingMessage_H_ -#define _InitiatingMessage_H_ - - -#include - -/* Including external dependencies */ -#include "ProcedureCode.h" -#include "Criticality.h" -#include -#include -#include "RICsubscriptionRequest.h" -#include "RICsubscriptionResponse.h" -#include "RICsubscriptionFailure.h" -#include "RICsubscriptionDeleteRequest.h" -#include "RICsubscriptionDeleteResponse.h" -#include "RICsubscriptionDeleteFailure.h" -#include "RICserviceUpdate.h" -#include "RICserviceUpdateAcknowledge.h" -#include "RICserviceUpdateFailure.h" -#include "RICcontrolRequest.h" -#include "RICcontrolAcknowledge.h" -#include "RICcontrolFailure.h" -#include "E2setupRequest.h" -#include "E2setupResponse.h" -#include "E2setupFailure.h" -#include "ResetRequest.h" -#include "ResetResponse.h" -#include "RICindication.h" -#include "RICserviceQuery.h" -#include "ErrorIndication.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum InitiatingMessage__value_PR { - InitiatingMessage__value_PR_NOTHING, /* No components present */ - InitiatingMessage__value_PR_RICsubscriptionRequest, - InitiatingMessage__value_PR_RICsubscriptionDeleteRequest, - InitiatingMessage__value_PR_RICserviceUpdate, - InitiatingMessage__value_PR_RICcontrolRequest, - InitiatingMessage__value_PR_E2setupRequest, - InitiatingMessage__value_PR_ResetRequest, - InitiatingMessage__value_PR_RICindication, - InitiatingMessage__value_PR_RICserviceQuery, - InitiatingMessage__value_PR_ErrorIndication -} InitiatingMessage__value_PR; - -/* InitiatingMessage */ -typedef struct InitiatingMessage { - ProcedureCode_t procedureCode; - Criticality_t criticality; - struct InitiatingMessage__value { - InitiatingMessage__value_PR present; - union InitiatingMessage__value_u { - RICsubscriptionRequest_t RICsubscriptionRequest; - RICsubscriptionDeleteRequest_t RICsubscriptionDeleteRequest; - RICserviceUpdate_t RICserviceUpdate; - RICcontrolRequest_t RICcontrolRequest; - E2setupRequest_t E2setupRequest; - ResetRequest_t ResetRequest; - RICindication_t RICindication; - RICserviceQuery_t RICserviceQuery; - ErrorIndication_t ErrorIndication; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} InitiatingMessage_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_InitiatingMessage; -extern asn_SEQUENCE_specifics_t asn_SPC_InitiatingMessage_specs_1; -extern asn_TYPE_member_t asn_MBR_InitiatingMessage_1[3]; - -#ifdef __cplusplus -} -#endif - -#endif /* _InitiatingMessage_H_ */ -#include diff --git a/asn1c_defs/NULL.c b/asn1c_defs/NULL.c deleted file mode 100644 index 4a2914f..0000000 --- a/asn1c_defs/NULL.c +++ /dev/null @@ -1,299 +0,0 @@ -/*- - * Copyright (c) 2003, 2005 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include -#include /* Implemented in terms of BOOLEAN type */ - -/* - * NULL basic type description. - */ -static const ber_tlv_tag_t asn_DEF_NULL_tags[] = { - (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)) -}; -asn_TYPE_operation_t asn_OP_NULL = { - BOOLEAN_free, - NULL_print, - NULL_compare, - BOOLEAN_decode_ber, /* Implemented in terms of BOOLEAN */ - NULL_encode_der, /* Special handling of DER encoding */ - NULL_decode_xer, - NULL_encode_xer, -#ifdef ASN_DISABLE_OER_SUPPORT - 0, - 0, -#else - NULL_decode_oer, - NULL_encode_oer, -#endif /* ASN_DISABLE_OER_SUPPORT */ -#ifdef ASN_DISABLE_PER_SUPPORT - 0, - 0, - 0, - 0, -#else - NULL_decode_uper, /* Unaligned PER decoder */ - NULL_encode_uper, /* Unaligned PER encoder */ - NULL_decode_aper, /* Aligned PER decoder */ - NULL_encode_aper, /* Aligned PER encoder */ -#endif /* ASN_DISABLE_PER_SUPPORT */ - NULL_random_fill, - 0 /* Use generic outmost tag fetcher */ -}; -asn_TYPE_descriptor_t asn_DEF_NULL = { - "NULL", - "NULL", - &asn_OP_NULL, - asn_DEF_NULL_tags, - sizeof(asn_DEF_NULL_tags) / sizeof(asn_DEF_NULL_tags[0]), - asn_DEF_NULL_tags, /* Same as above */ - sizeof(asn_DEF_NULL_tags) / sizeof(asn_DEF_NULL_tags[0]), - { 0, 0, asn_generic_no_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - -asn_enc_rval_t -NULL_encode_der(const asn_TYPE_descriptor_t *td, const void *ptr, int tag_mode, - ber_tlv_tag_t tag, asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t erval = {0,0,0}; - - erval.encoded = der_write_tags(td, 0, tag_mode, 0, tag, cb, app_key); - if(erval.encoded == -1) { - erval.failed_type = td; - erval.structure_ptr = ptr; - } - - ASN__ENCODED_OK(erval); -} - -asn_enc_rval_t -NULL_encode_xer(const asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - enum xer_encoder_flags_e flags, asn_app_consume_bytes_f *cb, - void *app_key) { - asn_enc_rval_t er = {0,0,0}; - - (void)td; - (void)sptr; - (void)ilevel; - (void)flags; - (void)cb; - (void)app_key; - - /* XMLNullValue is empty */ - er.encoded = 0; - ASN__ENCODED_OK(er); -} - - -static enum xer_pbd_rval -NULL__xer_body_decode(const asn_TYPE_descriptor_t *td, void *sptr, - const void *chunk_buf, size_t chunk_size) { - (void)td; - (void)sptr; - (void)chunk_buf; /* Going to be empty according to the rules below. */ - - /* - * There must be no content in self-terminating tag. - */ - if(chunk_size) - return XPBD_BROKEN_ENCODING; - else - return XPBD_BODY_CONSUMED; -} - -asn_dec_rval_t -NULL_decode_xer(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, void **sptr, - const char *opt_mname, const void *buf_ptr, size_t size) { - return xer_decode_primitive(opt_codec_ctx, td, - sptr, sizeof(NULL_t), opt_mname, buf_ptr, size, - NULL__xer_body_decode); -} - -int -NULL_compare(const asn_TYPE_descriptor_t *td, const void *a, const void *b) { - (void)td; - (void)a; - (void)b; - return 0; -} - -int -NULL_print(const asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, - asn_app_consume_bytes_f *cb, void *app_key) { - (void)td; /* Unused argument */ - (void)ilevel; /* Unused argument */ - - if(sptr) { - return (cb("", 9, app_key) < 0) ? -1 : 0; - } else { - return (cb("", 8, app_key) < 0) ? -1 : 0; - } -} - -#ifndef ASN_DISABLE_OER_SUPPORT - -asn_dec_rval_t -NULL_decode_oer(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, - const asn_oer_constraints_t *constraints, void **sptr, - const void *ptr, size_t size) { - asn_dec_rval_t rv = {RC_OK, 0}; - (void)opt_codec_ctx; - (void)td; - (void)constraints; - (void)ptr; - (void)size; - - if(!*sptr) { - *sptr = MALLOC(sizeof(NULL_t)); - if(*sptr) { - *(NULL_t *)*sptr = 0; - } else { - ASN__DECODE_FAILED; - } - } - - return rv; -} - -asn_enc_rval_t -NULL_encode_oer(const asn_TYPE_descriptor_t *td, - const asn_oer_constraints_t *constraints, const void *sptr, - asn_app_consume_bytes_f *cb, void *app_key) { - asn_enc_rval_t er = {0,0,0}; - - (void)td; - (void)sptr; - (void)constraints; - (void)cb; - (void)app_key; - - er.encoded = 0; /* Encoding in 0 bytes. */ - - ASN__ENCODED_OK(er); -} - -#endif /* ASN_DISABLE_OER_SUPPORT */ - -#ifndef ASN_DISABLE_PER_SUPPORT - -asn_dec_rval_t -NULL_decode_uper(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, void **sptr, - asn_per_data_t *pd) { - asn_dec_rval_t rv; - - (void)opt_codec_ctx; - (void)td; - (void)constraints; - (void)pd; - - if(!*sptr) { - *sptr = MALLOC(sizeof(NULL_t)); - if(*sptr) { - *(NULL_t *)*sptr = 0; - } else { - ASN__DECODE_FAILED; - } - } - - /* - * NULL type does not have content octets. - */ - - rv.code = RC_OK; - rv.consumed = 0; - return rv; -} - -asn_enc_rval_t -NULL_encode_uper(const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, const void *sptr, - asn_per_outp_t *po) { - asn_enc_rval_t er = {0,0,0}; - - (void)td; - (void)constraints; - (void)sptr; - (void)po; - - er.encoded = 0; - ASN__ENCODED_OK(er); -} - -asn_dec_rval_t -NULL_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) { - asn_dec_rval_t rv = {RC_OK, 0}; - - (void)opt_codec_ctx; - (void)td; - (void)constraints; - (void)pd; - - if(!*sptr) { - *sptr = MALLOC(sizeof(NULL_t)); - if(*sptr) { - *(NULL_t *)*sptr = 0; - } else { - ASN__DECODE_FAILED; - } - } - - /* - * NULL type does not have content octets. - */ - - rv.code = RC_OK; - rv.consumed = 0; - return rv; -} - - -asn_enc_rval_t -NULL_encode_aper(const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, - const void *sptr, asn_per_outp_t *po) { - asn_enc_rval_t er = {0,0,0}; - - (void)td; - (void)constraints; - (void)sptr; - (void)po; - - er.encoded = 0; - ASN__ENCODED_OK(er); -} - -#endif /* ASN_DISABLE_PER_SUPPORT */ - -asn_random_fill_result_t -NULL_random_fill(const asn_TYPE_descriptor_t *td, void **sptr, - const asn_encoding_constraints_t *constr, - size_t max_length) { - asn_random_fill_result_t result_ok = {ARFILL_OK, 1}; - asn_random_fill_result_t result_failed = {ARFILL_FAILED, 0}; - asn_random_fill_result_t result_skipped = {ARFILL_SKIPPED, 0}; - NULL_t *st = *sptr; - - (void)td; - (void)constr; - - if(max_length == 0) return result_skipped; - - if(st == NULL) { - st = (NULL_t *)(*sptr = CALLOC(1, sizeof(*st))); - if(st == NULL) { - return result_failed; - } - } - - return result_ok; -} - diff --git a/asn1c_defs/NULL.h b/asn1c_defs/NULL.h deleted file mode 100644 index 802d12c..0000000 --- a/asn1c_defs/NULL.h +++ /dev/null @@ -1,45 +0,0 @@ -/*- - * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef ASN_TYPE_NULL_H -#define ASN_TYPE_NULL_H - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* - * The value of the NULL type is meaningless: see BOOLEAN if you want to - * carry true/false semantics. - */ -typedef int NULL_t; - -extern asn_TYPE_descriptor_t asn_DEF_NULL; -extern asn_TYPE_operation_t asn_OP_NULL; - -asn_struct_print_f NULL_print; -asn_struct_compare_f NULL_compare; -der_type_encoder_f NULL_encode_der; -xer_type_decoder_f NULL_decode_xer; -xer_type_encoder_f NULL_encode_xer; -oer_type_decoder_f NULL_decode_oer; -oer_type_encoder_f NULL_encode_oer; -per_type_decoder_f NULL_decode_uper; -per_type_encoder_f NULL_encode_uper; -per_type_decoder_f NULL_decode_aper; -per_type_encoder_f NULL_encode_aper; -asn_random_fill_f NULL_random_fill; - -#define NULL_free BOOLEAN_free -#define NULL_decode_ber BOOLEAN_decode_ber -#define NULL_constraint asn_generic_no_constraint - -#ifdef __cplusplus -} -#endif - -#endif /* NULL_H */ diff --git a/asn1c_defs/OBJECT_IDENTIFIER.c b/asn1c_defs/OBJECT_IDENTIFIER.c deleted file mode 100644 index 8dccf01..0000000 --- a/asn1c_defs/OBJECT_IDENTIFIER.c +++ /dev/null @@ -1,656 +0,0 @@ -/*- - * Copyright (c) 2003, 2004 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include -#include -#include -#include /* for CHAR_BIT */ -#include - -/* - * OBJECT IDENTIFIER basic type description. - */ -static const ber_tlv_tag_t asn_DEF_OBJECT_IDENTIFIER_tags[] = { - (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)) -}; -asn_TYPE_operation_t asn_OP_OBJECT_IDENTIFIER = { - ASN__PRIMITIVE_TYPE_free, - OBJECT_IDENTIFIER_print, - OCTET_STRING_compare, /* Implemented in terms of a string comparison */ - ber_decode_primitive, - der_encode_primitive, - OBJECT_IDENTIFIER_decode_xer, - OBJECT_IDENTIFIER_encode_xer, -#ifdef ASN_DISABLE_OER_SUPPORT - 0, - 0, -#else - OBJECT_IDENTIFIER_decode_oer, - OBJECT_IDENTIFIER_encode_oer, -#endif /* ASN_DISABLE_OER_SUPPORT */ -#ifdef ASN_DISABLE_PER_SUPPORT - 0, - 0, - 0, - 0, -#else - OCTET_STRING_decode_uper, - OCTET_STRING_encode_uper, - OCTET_STRING_decode_aper, - OCTET_STRING_encode_aper, -#endif /* ASN_DISABLE_PER_SUPPORT */ - OBJECT_IDENTIFIER_random_fill, - 0 /* Use generic outmost tag fetcher */ -}; -asn_TYPE_descriptor_t asn_DEF_OBJECT_IDENTIFIER = { - "OBJECT IDENTIFIER", - "OBJECT_IDENTIFIER", - &asn_OP_OBJECT_IDENTIFIER, - asn_DEF_OBJECT_IDENTIFIER_tags, - sizeof(asn_DEF_OBJECT_IDENTIFIER_tags) - / sizeof(asn_DEF_OBJECT_IDENTIFIER_tags[0]), - asn_DEF_OBJECT_IDENTIFIER_tags, /* Same as above */ - sizeof(asn_DEF_OBJECT_IDENTIFIER_tags) - / sizeof(asn_DEF_OBJECT_IDENTIFIER_tags[0]), - { 0, 0, OBJECT_IDENTIFIER_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - -int -OBJECT_IDENTIFIER_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, - void *app_key) { - const OBJECT_IDENTIFIER_t *st = (const OBJECT_IDENTIFIER_t *)sptr; - - if(st && st->buf) { - if(st->size < 1) { - ASN__CTFAIL(app_key, td, sptr, - "%s: at least one numerical value " - "expected (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - return 0; -} - -static ssize_t -OBJECT_IDENTIFIER_get_first_arcs(const uint8_t *arcbuf, size_t arcbuf_len, - asn_oid_arc_t *arc0, asn_oid_arc_t *arc1) { - asn_oid_arc_t value; - - ssize_t rd = OBJECT_IDENTIFIER_get_single_arc(arcbuf, arcbuf_len, &value); - if(rd <= 0) return rd; - - if(value >= 80) { - *arc0 = 2; - *arc1 = value - 80; - } else if(value >= 40) { - *arc0 = 1; - *arc1 = value - 40; - } else { - *arc0 = 0; - *arc1 = value; - } - - return rd; -} - -ssize_t -OBJECT_IDENTIFIER_get_single_arc(const uint8_t *arcbuf, size_t arcbuf_len, - asn_oid_arc_t *ret_value) { - const uint8_t *b = arcbuf; - const uint8_t *arcend = arcbuf + arcbuf_len; /* End of arc */ - - if(arcbuf == arcend) { - return 0; - } else { - asn_oid_arc_t accum; - asn_oid_arc_t upper_limit = (ASN_OID_ARC_MAX >> 7); - /* When the value reaches "upper_limit", it can take */ - /* at most one more digit. If it exceeds "upper_limit" */ - /* but there are more digits - it's an Overflow condition */ - /* Gather all bits into the accumulator */ - for(accum = 0; b < arcend; b++) { - accum = (accum << 7) | (*b & ~0x80); - if((*b & 0x80) == 0) { // no more digits - if(accum <= ASN_OID_ARC_MAX) { - *ret_value = accum; - return 1 + (b - arcbuf); - } else { - errno = ERANGE; /* Overflow */ - return -1; - } - } else { // to make sure we aren't wrapping around - if(accum > upper_limit) { - errno = ERANGE; /* Overflow */ - return -1; - } - } - } - errno = EINVAL; - return -1; - } - -} - -static ssize_t -OBJECT_IDENTIFIER__dump_body(const OBJECT_IDENTIFIER_t *st, - asn_app_consume_bytes_f *cb, void *app_key) { - char scratch[32]; - asn_oid_arc_t arc0, arc1; - size_t produced = 0; - size_t off = 0; - ssize_t rd; - int ret; - - rd = OBJECT_IDENTIFIER_get_first_arcs(st->buf, st->size, &arc0, &arc1); - if(rd <= 0) { - return -1; - } - - ret = snprintf(scratch, sizeof(scratch), "%"PRIu32".%"PRIu32, arc0, arc1); - if(ret >= (ssize_t)sizeof(scratch)) { - return -1; - } - produced += ret; - if(cb(scratch, ret, app_key) < 0) - return -1; - - for(off = rd; ; ) { - asn_oid_arc_t arc; - rd = OBJECT_IDENTIFIER_get_single_arc(st->buf + off, st->size - off, - &arc); - if(rd < 0) { - return -1; - } else if(rd == 0) { - /* No more arcs. */ - break; - } else { - off += rd; - assert(off <= st->size); - ret = snprintf(scratch, sizeof(scratch), ".%" PRIu32, arc); - if(ret >= (ssize_t)sizeof(scratch)) { - return -1; - } - produced += ret; - if(cb(scratch, ret, app_key) < 0) return -1; - } - } - - if(off != st->size) { - ASN_DEBUG("Could not scan to the end of Object Identifier"); - return -1; - } - - return produced; -} - -static enum xer_pbd_rval -OBJECT_IDENTIFIER__xer_body_decode(const asn_TYPE_descriptor_t *td, void *sptr, - const void *chunk_buf, size_t chunk_size) { - OBJECT_IDENTIFIER_t *st = (OBJECT_IDENTIFIER_t *)sptr; - const char *chunk_end = (const char *)chunk_buf + chunk_size; - const char *endptr; - asn_oid_arc_t s_arcs[10]; - asn_oid_arc_t *arcs = s_arcs; - ssize_t num_arcs; - ssize_t ret; - - (void)td; - - num_arcs = OBJECT_IDENTIFIER_parse_arcs( - (const char *)chunk_buf, chunk_size, arcs, - sizeof(s_arcs) / sizeof(s_arcs[0]), &endptr); - if(num_arcs < 0) { - /* Expecting more than zero arcs */ - return XPBD_BROKEN_ENCODING; - } else if(num_arcs == 0) { - return XPBD_NOT_BODY_IGNORE; - } - assert(endptr == chunk_end); - - if((size_t)num_arcs > sizeof(s_arcs)/sizeof(s_arcs[0])) { - arcs = (asn_oid_arc_t *)MALLOC(num_arcs * sizeof(asn_oid_arc_t)); - if(!arcs) return XPBD_SYSTEM_FAILURE; - ret = OBJECT_IDENTIFIER_parse_arcs((const char *)chunk_buf, chunk_size, - arcs, num_arcs, &endptr); - if(ret != num_arcs) - return XPBD_SYSTEM_FAILURE; /* assert?.. */ - } - - /* - * Convert arcs into BER representation. - */ - ret = OBJECT_IDENTIFIER_set_arcs(st, arcs, num_arcs); - if(arcs != s_arcs) FREEMEM(arcs); - - return ret ? XPBD_SYSTEM_FAILURE : XPBD_BODY_CONSUMED; -} - -asn_dec_rval_t -OBJECT_IDENTIFIER_decode_xer(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, void **sptr, - const char *opt_mname, const void *buf_ptr, - size_t size) { - return xer_decode_primitive(opt_codec_ctx, td, - sptr, sizeof(OBJECT_IDENTIFIER_t), opt_mname, - buf_ptr, size, OBJECT_IDENTIFIER__xer_body_decode); -} - -asn_enc_rval_t -OBJECT_IDENTIFIER_encode_xer(const asn_TYPE_descriptor_t *td, const void *sptr, - int ilevel, enum xer_encoder_flags_e flags, - asn_app_consume_bytes_f *cb, void *app_key) { - const OBJECT_IDENTIFIER_t *st = (const OBJECT_IDENTIFIER_t *)sptr; - asn_enc_rval_t er = {0,0,0}; - - (void)ilevel; - (void)flags; - - if(!st || !st->buf) { - ASN__ENCODE_FAILED; - } - - er.encoded = OBJECT_IDENTIFIER__dump_body(st, cb, app_key); - if(er.encoded < 0) ASN__ENCODE_FAILED; - - ASN__ENCODED_OK(er); -} - -int -OBJECT_IDENTIFIER_print(const asn_TYPE_descriptor_t *td, const void *sptr, - int ilevel, asn_app_consume_bytes_f *cb, - void *app_key) { - const OBJECT_IDENTIFIER_t *st = (const OBJECT_IDENTIFIER_t *)sptr; - - (void)td; /* Unused argument */ - (void)ilevel; /* Unused argument */ - - if(!st || !st->buf) - return (cb("", 8, app_key) < 0) ? -1 : 0; - - /* Dump preamble */ - if(cb("{ ", 2, app_key) < 0) - return -1; - - if(OBJECT_IDENTIFIER__dump_body(st, cb, app_key) < 0) { - return -1; - } - - return (cb(" }", 2, app_key) < 0) ? -1 : 0; -} - -ssize_t -OBJECT_IDENTIFIER_get_arcs(const OBJECT_IDENTIFIER_t *st, asn_oid_arc_t *arcs, - size_t arc_slots) { - asn_oid_arc_t arc0, arc1; - size_t num_arcs = 0; - size_t off; - ssize_t rd; - - if(!st || !st->buf) { - errno = EINVAL; - return -1; - } - - rd = OBJECT_IDENTIFIER_get_first_arcs(st->buf, st->size, &arc0, &arc1); - if(rd <= 0) { - return -1; - } - num_arcs = 2; - switch(arc_slots) { - default: - case 2: - arcs[1] = arc1; - /* Fall through */ - case 1: - arcs[0] = arc0; - /* Fall through */ - case 0: - break; - } - - for(off = rd; ; ) { - asn_oid_arc_t arc; - rd = OBJECT_IDENTIFIER_get_single_arc(st->buf + off, st->size - off, - &arc); - if(rd < 0) { - return -1; - } else if(rd == 0) { - /* No more arcs. */ - break; - } else { - off += rd; - if(num_arcs < arc_slots) { - arcs[num_arcs] = arc; - } - num_arcs++; - } - } - - if(off != st->size) { - return -1; - } - - return num_arcs; -} - - -/* - * Save the single value as an object identifier arc. - */ -ssize_t -OBJECT_IDENTIFIER_set_single_arc(uint8_t *arcbuf, size_t arcbuf_len, - asn_oid_arc_t value) { - /* - * The following conditions must hold: - * assert(arcbuf); - */ - uint8_t scratch[((sizeof(value) * CHAR_BIT + 6) / 7)]; - uint8_t *scratch_end = &scratch[sizeof(scratch)-1]; - uint8_t *b; - size_t result_len; - uint8_t mask; - - for(b = scratch_end, mask = 0; ; mask = 0x80, b--) { - *b = mask | (value & 0x7f); - value >>= 7; - if(!value) { - break; - } - } - - result_len = (scratch_end - b) + 1; - - if(result_len > arcbuf_len) { - return -1; - } - - memcpy(arcbuf, b, result_len); - - return result_len; -} - -int -OBJECT_IDENTIFIER_set_arcs(OBJECT_IDENTIFIER_t *st, const asn_oid_arc_t *arcs, - size_t arc_slots) { - uint8_t *buf; - uint8_t *bp; - ssize_t wrote; - asn_oid_arc_t arc0; - asn_oid_arc_t arc1; - size_t size; - size_t i; - - if(!st || !arcs || arc_slots < 2) { - errno = EINVAL; - return -1; - } - - arc0 = arcs[0]; - arc1 = arcs[1]; - - if(arc0 <= 1) { - if(arc1 >= 40) { - /* 8.19.4: At most 39 subsequent values (including 0) */ - errno = ERANGE; - return -1; - } - } else if(arc0 == 2) { - if(arc1 > ASN_OID_ARC_MAX - 80) { - errno = ERANGE; - return -1; - } - } else if(arc0 > 2) { - /* 8.19.4: Only three values are allocated from the root node */ - errno = ERANGE; - return -1; - } - - /* - * After above tests it is known that the value of arc0 is completely - * trustworthy (0..2). However, the arc1's value is still meaningless. - */ - - /* - * Roughly estimate the maximum size necessary to encode these arcs. - * This estimation implicitly takes in account the following facts, - * that cancel each other: - * * the first two arcs are encoded in a single value. - * * the first value may require more space (+1 byte) - * * the value of the first arc which is in range (0..2) - */ - size = ((sizeof(asn_oid_arc_t) * CHAR_BIT + 6) / 7) * arc_slots; - bp = buf = (uint8_t *)MALLOC(size + 1); - if(!buf) { - /* ENOMEM */ - return -1; - } - - wrote = OBJECT_IDENTIFIER_set_single_arc(bp, size, arc0 * 40 + arc1); - if(wrote <= 0) { - FREEMEM(buf); - return -1; - } - assert((size_t)wrote <= size); - bp += wrote; - size -= wrote; - - for(i = 2; i < arc_slots; i++) { - wrote = OBJECT_IDENTIFIER_set_single_arc(bp, size, arcs[i]); - if(wrote <= 0) { - FREEMEM(buf); - return -1; - } - assert((size_t)wrote <= size); - bp += wrote; - size -= wrote; - } - - /* - * Replace buffer. - */ - st->size = bp - buf; - bp = st->buf; - st->buf = buf; - st->buf[st->size] = '\0'; - if(bp) FREEMEM(bp); - - return 0; -} - -ssize_t -OBJECT_IDENTIFIER_parse_arcs(const char *oid_text, ssize_t oid_txt_length, - asn_oid_arc_t *arcs, size_t arcs_count, - const char **opt_oid_text_end) { - size_t num_arcs = 0; - const char *oid_end; - enum { - ST_LEADSPACE, - ST_TAILSPACE, - ST_AFTERVALUE, /* Next character ought to be '.' or a space */ - ST_WAITDIGITS /* Next character is expected to be a digit */ - } state = ST_LEADSPACE; - - if(!oid_text || oid_txt_length < -1 || (arcs_count && !arcs)) { - if(opt_oid_text_end) *opt_oid_text_end = oid_text; - errno = EINVAL; - return -1; - } - - if(oid_txt_length == -1) - oid_txt_length = strlen(oid_text); - -#define _OID_CAPTURE_ARC(oid_text, oid_end) \ - do { \ - const char *endp = oid_end; \ - unsigned long value; \ - switch(asn_strtoul_lim(oid_text, &endp, &value)) { \ - case ASN_STRTOX_EXTRA_DATA: \ - case ASN_STRTOX_OK: \ - if(value <= ASN_OID_ARC_MAX) { \ - if(num_arcs < arcs_count) arcs[num_arcs] = value; \ - num_arcs++; \ - oid_text = endp - 1; \ - break; \ - } \ - /* Fall through */ \ - case ASN_STRTOX_ERROR_RANGE: \ - if(opt_oid_text_end) *opt_oid_text_end = oid_text; \ - errno = ERANGE; \ - return -1; \ - case ASN_STRTOX_ERROR_INVAL: \ - case ASN_STRTOX_EXPECT_MORE: \ - if(opt_oid_text_end) *opt_oid_text_end = oid_text; \ - errno = EINVAL; \ - return -1; \ - } \ - } while(0) - - for(oid_end = oid_text + oid_txt_length; oid_text broken OID */ - return -1; - case ST_LEADSPACE: - case ST_WAITDIGITS: - _OID_CAPTURE_ARC(oid_text, oid_end); - state = ST_AFTERVALUE; - continue; - } - break; - default: - /* Unexpected symbols */ - state = ST_WAITDIGITS; - break; - } /* switch() */ - break; - } /* for() */ - - - if(opt_oid_text_end) *opt_oid_text_end = oid_text; - - /* Finalize last arc */ - switch(state) { - case ST_LEADSPACE: - return 0; /* No OID found in input data */ - case ST_WAITDIGITS: - errno = EINVAL; /* Broken OID */ - return -1; - case ST_AFTERVALUE: - case ST_TAILSPACE: - return num_arcs; - } - - errno = EINVAL; /* Broken OID */ - return -1; -} - -/* - * Generate values from the list of interesting values, or just a random - * value up to the upper limit. - */ -static asn_oid_arc_t -OBJECT_IDENTIFIER__biased_random_arc(asn_oid_arc_t upper_bound) { - const asn_oid_arc_t values[] = {0, 1, 127, 128, 129, 254, 255, 256}; - size_t idx; - - switch(asn_random_between(0, 2)) { - case 0: - idx = asn_random_between(0, sizeof(values) / sizeof(values[0]) - 1); - if(values[idx] < upper_bound) { - return values[idx]; - } - /* Fall through */ - case 1: - return asn_random_between(0, upper_bound); - case 2: - default: - return upper_bound; - } -} - -asn_random_fill_result_t -OBJECT_IDENTIFIER_random_fill(const asn_TYPE_descriptor_t *td, void **sptr, - const asn_encoding_constraints_t *constraints, - size_t max_length) { - asn_random_fill_result_t result_ok = {ARFILL_OK, 1}; - asn_random_fill_result_t result_failed = {ARFILL_FAILED, 0}; - asn_random_fill_result_t result_skipped = {ARFILL_SKIPPED, 0}; - OBJECT_IDENTIFIER_t *st; - asn_oid_arc_t arcs[5]; - size_t arcs_len = asn_random_between(2, 5); - size_t i; - - (void)constraints; - - if(max_length < arcs_len) return result_skipped; - - if(*sptr) { - st = *sptr; - } else { - st = CALLOC(1, sizeof(*st)); - } - - arcs[0] = asn_random_between(0, 2); - arcs[1] = OBJECT_IDENTIFIER__biased_random_arc( - arcs[0] <= 1 ? 39 : (ASN_OID_ARC_MAX - 80)); - for(i = 2; i < arcs_len; i++) { - arcs[i] = OBJECT_IDENTIFIER__biased_random_arc(ASN_OID_ARC_MAX); - } - - if(OBJECT_IDENTIFIER_set_arcs(st, arcs, arcs_len)) { - if(st != *sptr) { - ASN_STRUCT_FREE(*td, st); - } - return result_failed; - } - - *sptr = st; - - result_ok.length = st->size; - return result_ok; -} diff --git a/asn1c_defs/OBJECT_IDENTIFIER.h b/asn1c_defs/OBJECT_IDENTIFIER.h deleted file mode 100644 index 087c6fd..0000000 --- a/asn1c_defs/OBJECT_IDENTIFIER.h +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _OBJECT_IDENTIFIER_H_ -#define _OBJECT_IDENTIFIER_H_ - -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef uint32_t asn_oid_arc_t; -#define ASN_OID_ARC_MAX (~((asn_oid_arc_t)0)) - -typedef ASN__PRIMITIVE_TYPE_t OBJECT_IDENTIFIER_t; - -extern asn_TYPE_descriptor_t asn_DEF_OBJECT_IDENTIFIER; -extern asn_TYPE_operation_t asn_OP_OBJECT_IDENTIFIER; - -asn_struct_print_f OBJECT_IDENTIFIER_print; -asn_constr_check_f OBJECT_IDENTIFIER_constraint; -der_type_encoder_f OBJECT_IDENTIFIER_encode_der; -xer_type_decoder_f OBJECT_IDENTIFIER_decode_xer; -xer_type_encoder_f OBJECT_IDENTIFIER_encode_xer; -asn_random_fill_f OBJECT_IDENTIFIER_random_fill; - -#define OBJECT_IDENTIFIER_free ASN__PRIMITIVE_TYPE_free -#define OBJECT_IDENTIFIER_compare OCTET_STRING_compare -#define OBJECT_IDENTIFIER_decode_ber ber_decode_primitive -#define OBJECT_IDENTIFIER_encode_der der_encode_primitive -#define OBJECT_IDENTIFIER_decode_oer oer_decode_primitive -#define OBJECT_IDENTIFIER_encode_oer oer_encode_primitive -#define OBJECT_IDENTIFIER_decode_uper OCTET_STRING_decode_uper -#define OBJECT_IDENTIFIER_encode_uper OCTET_STRING_encode_uper -#define OBJECT_IDENTIFIER_decode_aper OCTET_STRING_decode_aper -#define OBJECT_IDENTIFIER_encode_aper OCTET_STRING_encode_aper - -/********************************** - * Some handy conversion routines * - **********************************/ - -/* - * This function fills an (arcs) array with OBJECT IDENTIFIER arcs - * up to specified (arc_slots) elements. - * - * EXAMPLE: - * void print_arcs(OBJECT_IDENTIFIER_t *oid) { - * asn_oid_arc_t fixed_arcs[10]; // Try with fixed space first - * asn_oid_arc_t *arcs = fixed_arcs; - * size_t arc_slots = sizeof(fixed_arcs)/sizeof(fixed_arcs[0]); // 10 - * ssize_t count; // Real number of arcs. - * int i; - * - * count = OBJECT_IDENTIFIER_get_arcs(oid, arcs, arc_slots); - * // If necessary, reallocate arcs array and try again. - * if(count > arc_slots) { - * arc_slots = count; - * arcs = malloc(sizeof(asn_oid_arc_t) * arc_slots); - * if(!arcs) return; - * count = OBJECT_IDENTIFIER_get_arcs(oid, arcs, arc_slots); - * assert(count == arc_slots); - * } - * - * // Print the contents of the arcs array. - * for(i = 0; i < count; i++) - * printf("%"PRIu32"\n", arcs[i]); - * - * // Avoid memory leak. - * if(arcs != fixed_arcs) free(arcs); - * } - * - * RETURN VALUES: - * -1/EINVAL: Invalid arguments (oid is missing) - * -1/ERANGE: One or more arcs have value out of array cell type range. - * >=0: Number of arcs contained in the OBJECT IDENTIFIER - * - * WARNING: The function always returns the actual number of arcs, - * even if there is no sufficient (arc_slots) provided. - */ -ssize_t OBJECT_IDENTIFIER_get_arcs(const OBJECT_IDENTIFIER_t *oid, - asn_oid_arc_t *arcs, size_t arc_slots); - -/* - * This functions initializes the OBJECT IDENTIFIER object with - * the given set of arcs. - * The minimum of two arcs must be present; some restrictions apply. - * RETURN VALUES: - * -1/EINVAL: Invalid arguments - * -1/ERANGE: The first two arcs do not conform to ASN.1 restrictions. - * -1/ENOMEM: Memory allocation failed - * 0: The object was initialized with new arcs. - */ -int OBJECT_IDENTIFIER_set_arcs(OBJECT_IDENTIFIER_t *oid, - const asn_oid_arc_t *arcs, size_t arcs_count); - - -/* - * Parse the OBJECT IDENTIFIER textual representation ("1.3.6.1.4.1.9363"). - * No arc can exceed the (0..ASN_OID_ARC_MAX, which is the same as UINT32_MAX). - * This function is not specific to OBJECT IDENTIFIER, it may be used to parse - * the RELATIVE-OID data, or any other data consisting of dot-separated - * series of numeric values. - * - * If (oid_txt_length == -1), the strlen() will be invoked to determine the - * size of the (oid_text) string. - * - * After return, the optional (opt_oid_text_end) is set to the character after - * the last parsed one. (opt_oid_text_end) is never less than (oid_text). - * - * RETURN VALUES: - * -1: Parse error. - * >= 0: Number of arcs contained in the OBJECT IDENTIFIER. - * - * WARNING: The function always returns the real number of arcs, - * even if there is no sufficient (arc_slots) provided. - * This is useful for (arc_slots) value estimation. - */ -ssize_t OBJECT_IDENTIFIER_parse_arcs(const char *oid_text, - ssize_t oid_txt_length, - asn_oid_arc_t *arcs, size_t arcs_count, - const char **opt_oid_text_end); - -/* - * Internal functions. - * Used by RELATIVE-OID implementation in particular. - */ - -/* - * Retrieve a single arc of size from the (arcbuf) buffer. - * RETURN VALUES: - * -1: Failed to retrieve the value from the (arcbuf). - * >0: Number of bytes consumed from the (arcbuf), <= (arcbuf_len). - */ -ssize_t OBJECT_IDENTIFIER_get_single_arc(const uint8_t *arcbuf, - size_t arcbuf_len, - asn_oid_arc_t *ret_value); - -/* - * Write the unterminated arc value into the (arcbuf) which has the size at - * least (arcbuf_len). - * RETURN VALUES: - * -1: (arcbuf_len) size is not sufficient to write the value. - * : Number of bytes appended to the arcbuf (<= arcbuf_len). - */ -ssize_t OBJECT_IDENTIFIER_set_single_arc(uint8_t *arcbuf, size_t arcbuf_len, - asn_oid_arc_t arc_value); - -#ifdef __cplusplus -} -#endif - -#endif /* _OBJECT_IDENTIFIER_H_ */ diff --git a/asn1c_defs/PLMN-Identity.c b/asn1c_defs/PLMN-Identity.c deleted file mode 100644 index 13cb647..0000000 --- a/asn1c_defs/PLMN-Identity.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "PLMN-Identity.h" - -int -PLMN_Identity_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; - size_t size; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - size = st->size; - - if((size == 3)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_PLMN_Identity_constr_1 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 0, 0, 3, 3 } /* (SIZE(3..3)) */, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_PLMN_Identity_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_PLMN_Identity = { - "PLMN-Identity", - "PLMN-Identity", - &asn_OP_OCTET_STRING, - asn_DEF_PLMN_Identity_tags_1, - sizeof(asn_DEF_PLMN_Identity_tags_1) - /sizeof(asn_DEF_PLMN_Identity_tags_1[0]), /* 1 */ - asn_DEF_PLMN_Identity_tags_1, /* Same as above */ - sizeof(asn_DEF_PLMN_Identity_tags_1) - /sizeof(asn_DEF_PLMN_Identity_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_PLMN_Identity_constr_1, PLMN_Identity_constraint }, - 0, 0, /* No members */ - &asn_SPC_OCTET_STRING_specs /* Additional specs */ -}; - diff --git a/asn1c_defs/PLMN-Identity.h b/asn1c_defs/PLMN-Identity.h deleted file mode 100644 index cd3c495..0000000 --- a/asn1c_defs/PLMN-Identity.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _PLMN_Identity_H_ -#define _PLMN_Identity_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* PLMN-Identity */ -typedef OCTET_STRING_t PLMN_Identity_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_PLMN_Identity_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_PLMN_Identity; -asn_struct_free_f PLMN_Identity_free; -asn_struct_print_f PLMN_Identity_print; -asn_constr_check_f PLMN_Identity_constraint; -ber_type_decoder_f PLMN_Identity_decode_ber; -der_type_encoder_f PLMN_Identity_encode_der; -xer_type_decoder_f PLMN_Identity_decode_xer; -xer_type_encoder_f PLMN_Identity_encode_xer; -per_type_decoder_f PLMN_Identity_decode_uper; -per_type_encoder_f PLMN_Identity_encode_uper; -per_type_decoder_f PLMN_Identity_decode_aper; -per_type_encoder_f PLMN_Identity_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _PLMN_Identity_H_ */ -#include diff --git a/asn1c_defs/Presence.c b/asn1c_defs/Presence.c deleted file mode 100644 index 3d79059..0000000 --- a/asn1c_defs/Presence.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-CommonDataTypes" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "Presence.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_Presence_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_Presence_value2enum_1[] = { - { 0, 8, "optional" }, - { 1, 11, "conditional" }, - { 2, 9, "mandatory" } -}; -static const unsigned int asn_MAP_Presence_enum2value_1[] = { - 1, /* conditional(1) */ - 2, /* mandatory(2) */ - 0 /* optional(0) */ -}; -const asn_INTEGER_specifics_t asn_SPC_Presence_specs_1 = { - asn_MAP_Presence_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_Presence_enum2value_1, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_Presence_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_Presence = { - "Presence", - "Presence", - &asn_OP_NativeEnumerated, - asn_DEF_Presence_tags_1, - sizeof(asn_DEF_Presence_tags_1) - /sizeof(asn_DEF_Presence_tags_1[0]), /* 1 */ - asn_DEF_Presence_tags_1, /* Same as above */ - sizeof(asn_DEF_Presence_tags_1) - /sizeof(asn_DEF_Presence_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_Presence_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_Presence_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/Presence.h b/asn1c_defs/Presence.h deleted file mode 100644 index 342d661..0000000 --- a/asn1c_defs/Presence.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-CommonDataTypes" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _Presence_H_ -#define _Presence_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum Presence { - Presence_optional = 0, - Presence_conditional = 1, - Presence_mandatory = 2 -} e_Presence; - -/* Presence */ -typedef long Presence_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_Presence_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_Presence; -extern const asn_INTEGER_specifics_t asn_SPC_Presence_specs_1; -asn_struct_free_f Presence_free; -asn_struct_print_f Presence_print; -asn_constr_check_f Presence_constraint; -ber_type_decoder_f Presence_decode_ber; -der_type_encoder_f Presence_encode_der; -xer_type_decoder_f Presence_decode_xer; -xer_type_encoder_f Presence_encode_xer; -per_type_decoder_f Presence_decode_uper; -per_type_encoder_f Presence_encode_uper; -per_type_decoder_f Presence_decode_aper; -per_type_encoder_f Presence_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _Presence_H_ */ -#include diff --git a/asn1c_defs/PrintableString.c b/asn1c_defs/PrintableString.c deleted file mode 100644 index 8fc3939..0000000 --- a/asn1c_defs/PrintableString.c +++ /dev/null @@ -1,130 +0,0 @@ -/*- - * Copyright (c) 2003, 2004, 2006 Lev Walkin . - * All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#include -#include - -/* - * ASN.1:1984 (X.409) - */ -static const int _PrintableString_alphabet[256] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */ - 1, 0, 0, 0, 0, 0, 0, 2, 3, 4, 0, 5, 6, 7, 8, 9, /* . '() +,-./ */ -10,11,12,13,14,15,16,17,18,19,20, 0, 0,21, 0,22, /* 0123456789: = ? */ - 0,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37, /* ABCDEFGHIJKLMNO */ -38,39,40,41,42,43,44,45,46,47,48, 0, 0, 0, 0, 0, /* PQRSTUVWXYZ */ - 0,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63, /* abcdefghijklmno */ -64,65,66,67,68,69,70,71,72,73,74, 0, 0, 0, 0, 0, /* pqrstuvwxyz */ -}; -static const int _PrintableString_code2value[74] = { -32,39,40,41,43,44,45,46,47,48,49,50,51,52,53,54, -55,56,57,58,61,63,65,66,67,68,69,70,71,72,73,74, -75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90, -97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112, -113,114,115,116,117,118,119,120,121,122}; - -/* - * PrintableString basic type description. - */ -static const ber_tlv_tag_t asn_DEF_PrintableString_tags[] = { - (ASN_TAG_CLASS_UNIVERSAL | (19 << 2)), /* [UNIVERSAL 19] IMPLICIT ...*/ - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) /* ... OCTET STRING */ -}; -static int asn_DEF_PrintableString_v2c(unsigned int value) { - return _PrintableString_alphabet[value > 255 ? 0 : value] - 1; -} -static int asn_DEF_PrintableString_c2v(unsigned int code) { - if(code < 74) - return _PrintableString_code2value[code]; - return -1; -} -static asn_per_constraints_t asn_DEF_PrintableString_per_constraints = { - { APC_CONSTRAINED, 4, 4, 0x20, 0x39 }, /* Value */ - { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 }, /* Size */ - asn_DEF_PrintableString_v2c, - asn_DEF_PrintableString_c2v -}; -asn_TYPE_operation_t asn_OP_PrintableString = { - OCTET_STRING_free, - OCTET_STRING_print_utf8, /* ASCII subset */ - OCTET_STRING_compare, - OCTET_STRING_decode_ber, /* Implemented in terms of OCTET STRING */ - OCTET_STRING_encode_der, - OCTET_STRING_decode_xer_utf8, - OCTET_STRING_encode_xer_utf8, -#ifdef ASN_DISABLE_OER_SUPPORT - 0, - 0, -#else - OCTET_STRING_decode_oer, - OCTET_STRING_encode_oer, -#endif /* ASN_DISABLE_OER_SUPPORT */ -#ifdef ASN_DISABLE_PER_SUPPORT - 0, - 0, - 0, - 0, -#else - OCTET_STRING_decode_uper, - OCTET_STRING_encode_uper, - OCTET_STRING_decode_aper, - OCTET_STRING_encode_aper, -#endif /* ASN_DISABLE_PER_SUPPORT */ - OCTET_STRING_random_fill, - 0 /* Use generic outmost tag fetcher */ -}; -asn_TYPE_descriptor_t asn_DEF_PrintableString = { - "PrintableString", - "PrintableString", - &asn_OP_PrintableString, - asn_DEF_PrintableString_tags, - sizeof(asn_DEF_PrintableString_tags) - / sizeof(asn_DEF_PrintableString_tags[0]) - 1, - asn_DEF_PrintableString_tags, - sizeof(asn_DEF_PrintableString_tags) - / sizeof(asn_DEF_PrintableString_tags[0]), - { 0, &asn_DEF_PrintableString_per_constraints, PrintableString_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - - -int -PrintableString_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, - void *app_key) { - const PrintableString_t *st = (const PrintableString_t *)sptr; - - if(st && st->buf) { - uint8_t *buf = st->buf; - uint8_t *end = buf + st->size; - - /* - * Check the alphabet of the PrintableString. - * ASN.1:1984 (X.409) - */ - for(; buf < end; buf++) { - if(!_PrintableString_alphabet[*buf]) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value byte %ld (%d) " - "not in PrintableString alphabet " - "(%s:%d)", - td->name, - (long)((buf - st->buf) + 1), - *buf, - __FILE__, __LINE__); - return -1; - } - } - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - return 0; -} diff --git a/asn1c_defs/PrintableString.h b/asn1c_defs/PrintableString.h deleted file mode 100644 index 8c2b61a..0000000 --- a/asn1c_defs/PrintableString.h +++ /dev/null @@ -1,37 +0,0 @@ -/*- - * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. - * Redistribution and modifications are permitted subject to BSD license. - */ -#ifndef _PrintableString_H_ -#define _PrintableString_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -typedef OCTET_STRING_t PrintableString_t; /* Implemented via OCTET STRING */ - -extern asn_TYPE_descriptor_t asn_DEF_PrintableString; -extern asn_TYPE_operation_t asn_OP_PrintableString; - -asn_constr_check_f PrintableString_constraint; - -#define PrintableString_free OCTET_STRING_free -#define PrintableString_print OCTET_STRING_print_utf8 -#define PrintableString_compare OCTET_STRING_compare -#define PrintableString_decode_ber OCTET_STRING_decode_ber -#define PrintableString_encode_der OCTET_STRING_encode_der -#define PrintableString_decode_xer OCTET_STRING_decode_xer_utf8 -#define PrintableString_encode_xer OCTET_STRING_encode_xer_utf8 -#define PrintableString_decode_uper OCTET_STRING_decode_uper -#define PrintableString_encode_uper OCTET_STRING_encode_uper -#define PrintableString_decode_aper OCTET_STRING_decode_aper -#define PrintableString_encode_aper OCTET_STRING_encode_aper - -#ifdef __cplusplus -} -#endif - -#endif /* _PrintableString_H_ */ diff --git a/asn1c_defs/ProcedureCode.c b/asn1c_defs/ProcedureCode.c deleted file mode 100644 index e249718..0000000 --- a/asn1c_defs/ProcedureCode.c +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-CommonDataTypes" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ProcedureCode.h" - -int -ProcedureCode_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 255)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_ProcedureCode_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_ProcedureCode_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ProcedureCode = { - "ProcedureCode", - "ProcedureCode", - &asn_OP_NativeInteger, - asn_DEF_ProcedureCode_tags_1, - sizeof(asn_DEF_ProcedureCode_tags_1) - /sizeof(asn_DEF_ProcedureCode_tags_1[0]), /* 1 */ - asn_DEF_ProcedureCode_tags_1, /* Same as above */ - sizeof(asn_DEF_ProcedureCode_tags_1) - /sizeof(asn_DEF_ProcedureCode_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_ProcedureCode_constr_1, ProcedureCode_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/asn1c_defs/ProcedureCode.h b/asn1c_defs/ProcedureCode.h deleted file mode 100644 index b308887..0000000 --- a/asn1c_defs/ProcedureCode.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-CommonDataTypes" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ProcedureCode_H_ -#define _ProcedureCode_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ProcedureCode */ -typedef long ProcedureCode_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_ProcedureCode_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_ProcedureCode; -asn_struct_free_f ProcedureCode_free; -asn_struct_print_f ProcedureCode_print; -asn_constr_check_f ProcedureCode_constraint; -ber_type_decoder_f ProcedureCode_decode_ber; -der_type_encoder_f ProcedureCode_encode_der; -xer_type_decoder_f ProcedureCode_decode_xer; -xer_type_encoder_f ProcedureCode_encode_xer; -per_type_decoder_f ProcedureCode_decode_uper; -per_type_encoder_f ProcedureCode_encode_uper; -per_type_decoder_f ProcedureCode_decode_aper; -per_type_encoder_f ProcedureCode_encode_aper; -#define ProcedureCode_id_E2setup ((ProcedureCode_t)1) -#define ProcedureCode_id_ErrorIndication ((ProcedureCode_t)2) -#define ProcedureCode_id_Reset ((ProcedureCode_t)3) -#define ProcedureCode_id_RICcontrol ((ProcedureCode_t)4) -#define ProcedureCode_id_RICindication ((ProcedureCode_t)5) -#define ProcedureCode_id_RICserviceQuery ((ProcedureCode_t)6) -#define ProcedureCode_id_RICserviceUpdate ((ProcedureCode_t)7) -#define ProcedureCode_id_RICsubscription ((ProcedureCode_t)8) -#define ProcedureCode_id_RICsubscriptionDelete ((ProcedureCode_t)9) - -#ifdef __cplusplus -} -#endif - -#endif /* _ProcedureCode_H_ */ -#include diff --git a/asn1c_defs/ProtocolIE-Container.c b/asn1c_defs/ProtocolIE-Container.c deleted file mode 100644 index 26f0511..0000000 --- a/asn1c_defs/ProtocolIE-Container.c +++ /dev/null @@ -1,810 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ProtocolIE-Container.h" - -#include "ProtocolIE-Field.h" -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P0_constr_1 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P1_constr_3 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P2_constr_5 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P3_constr_7 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P4_constr_9 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P5_constr_11 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P6_constr_13 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P7_constr_15 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P8_constr_17 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P9_constr_19 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P10_constr_21 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P11_constr_23 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P12_constr_25 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P13_constr_27 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P14_constr_29 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P15_constr_31 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P16_constr_33 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P17_constr_35 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P18_constr_37 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P19_constr_39 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (SIZE(0..65535)) */, - 0, 0 /* No PER value map */ -}; -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P0_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionRequest_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P0_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P0_specs_1 = { - sizeof(struct ProtocolIE_Container_1412P0), - offsetof(struct ProtocolIE_Container_1412P0, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P0 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P0_tags_1, - sizeof(asn_DEF_ProtocolIE_Container_1412P0_tags_1) - /sizeof(asn_DEF_ProtocolIE_Container_1412P0_tags_1[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P0_tags_1, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P0_tags_1) - /sizeof(asn_DEF_ProtocolIE_Container_1412P0_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P0_constr_1, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P0_1, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P0_specs_1 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P1_3[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionResponse_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P1_tags_3[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P1_specs_3 = { - sizeof(struct ProtocolIE_Container_1412P1), - offsetof(struct ProtocolIE_Container_1412P1, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P1 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P1_tags_3, - sizeof(asn_DEF_ProtocolIE_Container_1412P1_tags_3) - /sizeof(asn_DEF_ProtocolIE_Container_1412P1_tags_3[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P1_tags_3, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P1_tags_3) - /sizeof(asn_DEF_ProtocolIE_Container_1412P1_tags_3[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P1_constr_3, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P1_3, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P1_specs_3 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P2_5[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionFailure_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P2_tags_5[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P2_specs_5 = { - sizeof(struct ProtocolIE_Container_1412P2), - offsetof(struct ProtocolIE_Container_1412P2, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P2 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P2_tags_5, - sizeof(asn_DEF_ProtocolIE_Container_1412P2_tags_5) - /sizeof(asn_DEF_ProtocolIE_Container_1412P2_tags_5[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P2_tags_5, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P2_tags_5) - /sizeof(asn_DEF_ProtocolIE_Container_1412P2_tags_5[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P2_constr_5, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P2_5, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P2_specs_5 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P3_7[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionDeleteRequest_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P3_tags_7[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P3_specs_7 = { - sizeof(struct ProtocolIE_Container_1412P3), - offsetof(struct ProtocolIE_Container_1412P3, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P3 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P3_tags_7, - sizeof(asn_DEF_ProtocolIE_Container_1412P3_tags_7) - /sizeof(asn_DEF_ProtocolIE_Container_1412P3_tags_7[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P3_tags_7, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P3_tags_7) - /sizeof(asn_DEF_ProtocolIE_Container_1412P3_tags_7[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P3_constr_7, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P3_7, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P3_specs_7 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P4_9[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionDeleteResponse_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P4_tags_9[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P4_specs_9 = { - sizeof(struct ProtocolIE_Container_1412P4), - offsetof(struct ProtocolIE_Container_1412P4, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P4 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P4_tags_9, - sizeof(asn_DEF_ProtocolIE_Container_1412P4_tags_9) - /sizeof(asn_DEF_ProtocolIE_Container_1412P4_tags_9[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P4_tags_9, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P4_tags_9) - /sizeof(asn_DEF_ProtocolIE_Container_1412P4_tags_9[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P4_constr_9, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P4_9, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P4_specs_9 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P5_11[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionDeleteFailure_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P5_tags_11[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P5_specs_11 = { - sizeof(struct ProtocolIE_Container_1412P5), - offsetof(struct ProtocolIE_Container_1412P5, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P5 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P5_tags_11, - sizeof(asn_DEF_ProtocolIE_Container_1412P5_tags_11) - /sizeof(asn_DEF_ProtocolIE_Container_1412P5_tags_11[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P5_tags_11, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P5_tags_11) - /sizeof(asn_DEF_ProtocolIE_Container_1412P5_tags_11[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P5_constr_11, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P5_11, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P5_specs_11 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P6_13[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICindication_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P6_tags_13[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P6_specs_13 = { - sizeof(struct ProtocolIE_Container_1412P6), - offsetof(struct ProtocolIE_Container_1412P6, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P6 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P6_tags_13, - sizeof(asn_DEF_ProtocolIE_Container_1412P6_tags_13) - /sizeof(asn_DEF_ProtocolIE_Container_1412P6_tags_13[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P6_tags_13, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P6_tags_13) - /sizeof(asn_DEF_ProtocolIE_Container_1412P6_tags_13[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P6_constr_13, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P6_13, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P6_specs_13 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P7_15[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICcontrolRequest_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P7_tags_15[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P7_specs_15 = { - sizeof(struct ProtocolIE_Container_1412P7), - offsetof(struct ProtocolIE_Container_1412P7, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P7 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P7_tags_15, - sizeof(asn_DEF_ProtocolIE_Container_1412P7_tags_15) - /sizeof(asn_DEF_ProtocolIE_Container_1412P7_tags_15[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P7_tags_15, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P7_tags_15) - /sizeof(asn_DEF_ProtocolIE_Container_1412P7_tags_15[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P7_constr_15, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P7_15, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P7_specs_15 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P8_17[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICcontrolAcknowledge_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P8_tags_17[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P8_specs_17 = { - sizeof(struct ProtocolIE_Container_1412P8), - offsetof(struct ProtocolIE_Container_1412P8, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P8 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P8_tags_17, - sizeof(asn_DEF_ProtocolIE_Container_1412P8_tags_17) - /sizeof(asn_DEF_ProtocolIE_Container_1412P8_tags_17[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P8_tags_17, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P8_tags_17) - /sizeof(asn_DEF_ProtocolIE_Container_1412P8_tags_17[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P8_constr_17, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P8_17, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P8_specs_17 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P9_19[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICcontrolFailure_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P9_tags_19[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P9_specs_19 = { - sizeof(struct ProtocolIE_Container_1412P9), - offsetof(struct ProtocolIE_Container_1412P9, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P9 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P9_tags_19, - sizeof(asn_DEF_ProtocolIE_Container_1412P9_tags_19) - /sizeof(asn_DEF_ProtocolIE_Container_1412P9_tags_19[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P9_tags_19, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P9_tags_19) - /sizeof(asn_DEF_ProtocolIE_Container_1412P9_tags_19[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P9_constr_19, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P9_19, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P9_specs_19 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P10_21[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ErrorIndication_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P10_tags_21[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P10_specs_21 = { - sizeof(struct ProtocolIE_Container_1412P10), - offsetof(struct ProtocolIE_Container_1412P10, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P10 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P10_tags_21, - sizeof(asn_DEF_ProtocolIE_Container_1412P10_tags_21) - /sizeof(asn_DEF_ProtocolIE_Container_1412P10_tags_21[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P10_tags_21, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P10_tags_21) - /sizeof(asn_DEF_ProtocolIE_Container_1412P10_tags_21[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P10_constr_21, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P10_21, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P10_specs_21 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P11_23[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_E2setupRequestIEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P11_tags_23[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P11_specs_23 = { - sizeof(struct ProtocolIE_Container_1412P11), - offsetof(struct ProtocolIE_Container_1412P11, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P11 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P11_tags_23, - sizeof(asn_DEF_ProtocolIE_Container_1412P11_tags_23) - /sizeof(asn_DEF_ProtocolIE_Container_1412P11_tags_23[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P11_tags_23, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P11_tags_23) - /sizeof(asn_DEF_ProtocolIE_Container_1412P11_tags_23[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P11_constr_23, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P11_23, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P11_specs_23 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P12_25[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_E2setupResponseIEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P12_tags_25[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P12_specs_25 = { - sizeof(struct ProtocolIE_Container_1412P12), - offsetof(struct ProtocolIE_Container_1412P12, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P12 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P12_tags_25, - sizeof(asn_DEF_ProtocolIE_Container_1412P12_tags_25) - /sizeof(asn_DEF_ProtocolIE_Container_1412P12_tags_25[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P12_tags_25, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P12_tags_25) - /sizeof(asn_DEF_ProtocolIE_Container_1412P12_tags_25[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P12_constr_25, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P12_25, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P12_specs_25 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P13_27[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_E2setupFailureIEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P13_tags_27[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P13_specs_27 = { - sizeof(struct ProtocolIE_Container_1412P13), - offsetof(struct ProtocolIE_Container_1412P13, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P13 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P13_tags_27, - sizeof(asn_DEF_ProtocolIE_Container_1412P13_tags_27) - /sizeof(asn_DEF_ProtocolIE_Container_1412P13_tags_27[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P13_tags_27, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P13_tags_27) - /sizeof(asn_DEF_ProtocolIE_Container_1412P13_tags_27[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P13_constr_27, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P13_27, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P13_specs_27 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P14_29[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ResetRequestIEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P14_tags_29[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P14_specs_29 = { - sizeof(struct ProtocolIE_Container_1412P14), - offsetof(struct ProtocolIE_Container_1412P14, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P14 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P14_tags_29, - sizeof(asn_DEF_ProtocolIE_Container_1412P14_tags_29) - /sizeof(asn_DEF_ProtocolIE_Container_1412P14_tags_29[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P14_tags_29, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P14_tags_29) - /sizeof(asn_DEF_ProtocolIE_Container_1412P14_tags_29[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P14_constr_29, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P14_29, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P14_specs_29 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P15_31[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ResetResponseIEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P15_tags_31[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P15_specs_31 = { - sizeof(struct ProtocolIE_Container_1412P15), - offsetof(struct ProtocolIE_Container_1412P15, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P15 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P15_tags_31, - sizeof(asn_DEF_ProtocolIE_Container_1412P15_tags_31) - /sizeof(asn_DEF_ProtocolIE_Container_1412P15_tags_31[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P15_tags_31, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P15_tags_31) - /sizeof(asn_DEF_ProtocolIE_Container_1412P15_tags_31[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P15_constr_31, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P15_31, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P15_specs_31 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P16_33[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICserviceUpdate_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P16_tags_33[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P16_specs_33 = { - sizeof(struct ProtocolIE_Container_1412P16), - offsetof(struct ProtocolIE_Container_1412P16, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P16 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P16_tags_33, - sizeof(asn_DEF_ProtocolIE_Container_1412P16_tags_33) - /sizeof(asn_DEF_ProtocolIE_Container_1412P16_tags_33[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P16_tags_33, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P16_tags_33) - /sizeof(asn_DEF_ProtocolIE_Container_1412P16_tags_33[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P16_constr_33, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P16_33, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P16_specs_33 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P17_35[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICserviceUpdateAcknowledge_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P17_tags_35[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P17_specs_35 = { - sizeof(struct ProtocolIE_Container_1412P17), - offsetof(struct ProtocolIE_Container_1412P17, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P17 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P17_tags_35, - sizeof(asn_DEF_ProtocolIE_Container_1412P17_tags_35) - /sizeof(asn_DEF_ProtocolIE_Container_1412P17_tags_35[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P17_tags_35, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P17_tags_35) - /sizeof(asn_DEF_ProtocolIE_Container_1412P17_tags_35[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P17_constr_35, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P17_35, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P17_specs_35 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P18_37[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICserviceUpdateFailure_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P18_tags_37[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P18_specs_37 = { - sizeof(struct ProtocolIE_Container_1412P18), - offsetof(struct ProtocolIE_Container_1412P18, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P18 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P18_tags_37, - sizeof(asn_DEF_ProtocolIE_Container_1412P18_tags_37) - /sizeof(asn_DEF_ProtocolIE_Container_1412P18_tags_37[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P18_tags_37, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P18_tags_37) - /sizeof(asn_DEF_ProtocolIE_Container_1412P18_tags_37[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P18_constr_37, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P18_37, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P18_specs_37 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P19_39[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICserviceQuery_IEs, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_Container_1412P19_tags_39[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P19_specs_39 = { - sizeof(struct ProtocolIE_Container_1412P19), - offsetof(struct ProtocolIE_Container_1412P19, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P19 = { - "ProtocolIE-Container", - "ProtocolIE-Container", - &asn_OP_SEQUENCE_OF, - asn_DEF_ProtocolIE_Container_1412P19_tags_39, - sizeof(asn_DEF_ProtocolIE_Container_1412P19_tags_39) - /sizeof(asn_DEF_ProtocolIE_Container_1412P19_tags_39[0]), /* 1 */ - asn_DEF_ProtocolIE_Container_1412P19_tags_39, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_Container_1412P19_tags_39) - /sizeof(asn_DEF_ProtocolIE_Container_1412P19_tags_39[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_Container_1412P19_constr_39, SEQUENCE_OF_constraint }, - asn_MBR_ProtocolIE_Container_1412P19_39, - 1, /* Single element */ - &asn_SPC_ProtocolIE_Container_1412P19_specs_39 /* Additional specs */ -}; - diff --git a/asn1c_defs/ProtocolIE-Container.h b/asn1c_defs/ProtocolIE-Container.h deleted file mode 100644 index cbecfd9..0000000 --- a/asn1c_defs/ProtocolIE-Container.h +++ /dev/null @@ -1,253 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ProtocolIE_Container_H_ -#define _ProtocolIE_Container_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RICsubscriptionRequest_IEs; -struct RICsubscriptionResponse_IEs; -struct RICsubscriptionFailure_IEs; -struct RICsubscriptionDeleteRequest_IEs; -struct RICsubscriptionDeleteResponse_IEs; -struct RICsubscriptionDeleteFailure_IEs; -struct RICindication_IEs; -struct RICcontrolRequest_IEs; -struct RICcontrolAcknowledge_IEs; -struct RICcontrolFailure_IEs; -struct ErrorIndication_IEs; -struct E2setupRequestIEs; -struct E2setupResponseIEs; -struct E2setupFailureIEs; -struct ResetRequestIEs; -struct ResetResponseIEs; -struct RICserviceUpdate_IEs; -struct RICserviceUpdateAcknowledge_IEs; -struct RICserviceUpdateFailure_IEs; -struct RICserviceQuery_IEs; - -/* ProtocolIE-Container */ -typedef struct ProtocolIE_Container_1412P0 { - A_SEQUENCE_OF(struct RICsubscriptionRequest_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P0_t; -typedef struct ProtocolIE_Container_1412P1 { - A_SEQUENCE_OF(struct RICsubscriptionResponse_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P1_t; -typedef struct ProtocolIE_Container_1412P2 { - A_SEQUENCE_OF(struct RICsubscriptionFailure_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P2_t; -typedef struct ProtocolIE_Container_1412P3 { - A_SEQUENCE_OF(struct RICsubscriptionDeleteRequest_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P3_t; -typedef struct ProtocolIE_Container_1412P4 { - A_SEQUENCE_OF(struct RICsubscriptionDeleteResponse_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P4_t; -typedef struct ProtocolIE_Container_1412P5 { - A_SEQUENCE_OF(struct RICsubscriptionDeleteFailure_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P5_t; -typedef struct ProtocolIE_Container_1412P6 { - A_SEQUENCE_OF(struct RICindication_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P6_t; -typedef struct ProtocolIE_Container_1412P7 { - A_SEQUENCE_OF(struct RICcontrolRequest_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P7_t; -typedef struct ProtocolIE_Container_1412P8 { - A_SEQUENCE_OF(struct RICcontrolAcknowledge_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P8_t; -typedef struct ProtocolIE_Container_1412P9 { - A_SEQUENCE_OF(struct RICcontrolFailure_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P9_t; -typedef struct ProtocolIE_Container_1412P10 { - A_SEQUENCE_OF(struct ErrorIndication_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P10_t; -typedef struct ProtocolIE_Container_1412P11 { - A_SEQUENCE_OF(struct E2setupRequestIEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P11_t; -typedef struct ProtocolIE_Container_1412P12 { - A_SEQUENCE_OF(struct E2setupResponseIEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P12_t; -typedef struct ProtocolIE_Container_1412P13 { - A_SEQUENCE_OF(struct E2setupFailureIEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P13_t; -typedef struct ProtocolIE_Container_1412P14 { - A_SEQUENCE_OF(struct ResetRequestIEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P14_t; -typedef struct ProtocolIE_Container_1412P15 { - A_SEQUENCE_OF(struct ResetResponseIEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P15_t; -typedef struct ProtocolIE_Container_1412P16 { - A_SEQUENCE_OF(struct RICserviceUpdate_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P16_t; -typedef struct ProtocolIE_Container_1412P17 { - A_SEQUENCE_OF(struct RICserviceUpdateAcknowledge_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P17_t; -typedef struct ProtocolIE_Container_1412P18 { - A_SEQUENCE_OF(struct RICserviceUpdateFailure_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P18_t; -typedef struct ProtocolIE_Container_1412P19 { - A_SEQUENCE_OF(struct RICserviceQuery_IEs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolIE_Container_1412P19_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P0; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P0_specs_1; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P0_1[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P0_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P1; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P1_specs_3; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P1_3[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P1_constr_3; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P2; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P2_specs_5; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P2_5[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P2_constr_5; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P3; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P3_specs_7; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P3_7[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P3_constr_7; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P4; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P4_specs_9; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P4_9[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P4_constr_9; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P5; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P5_specs_11; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P5_11[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P5_constr_11; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P6; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P6_specs_13; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P6_13[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P6_constr_13; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P7; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P7_specs_15; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P7_15[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P7_constr_15; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P8; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P8_specs_17; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P8_17[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P8_constr_17; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P9; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P9_specs_19; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P9_19[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P9_constr_19; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P10; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P10_specs_21; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P10_21[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P10_constr_21; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P11; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P11_specs_23; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P11_23[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P11_constr_23; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P12; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P12_specs_25; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P12_25[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P12_constr_25; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P13; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P13_specs_27; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P13_27[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P13_constr_27; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P14; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P14_specs_29; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P14_29[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P14_constr_29; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P15; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P15_specs_31; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P15_31[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P15_constr_31; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P16; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P16_specs_33; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P16_33[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P16_constr_33; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P17; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P17_specs_35; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P17_35[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P17_constr_35; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P18; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P18_specs_37; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P18_37[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P18_constr_37; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_Container_1412P19; -extern asn_SET_OF_specifics_t asn_SPC_ProtocolIE_Container_1412P19_specs_39; -extern asn_TYPE_member_t asn_MBR_ProtocolIE_Container_1412P19_39[1]; -extern asn_per_constraints_t asn_PER_type_ProtocolIE_Container_1412P19_constr_39; - -#ifdef __cplusplus -} -#endif - -#endif /* _ProtocolIE_Container_H_ */ -#include diff --git a/asn1c_defs/ProtocolIE-ContainerList.c b/asn1c_defs/ProtocolIE-ContainerList.c deleted file mode 100644 index e638670..0000000 --- a/asn1c_defs/ProtocolIE-ContainerList.c +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ProtocolIE-ContainerList.h" - diff --git a/asn1c_defs/ProtocolIE-ContainerList.h b/asn1c_defs/ProtocolIE-ContainerList.h deleted file mode 100644 index 6ad49b6..0000000 --- a/asn1c_defs/ProtocolIE-ContainerList.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ProtocolIE_ContainerList_H_ -#define _ProtocolIE_ContainerList_H_ - - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef __cplusplus -} -#endif - -#endif /* _ProtocolIE_ContainerList_H_ */ -#include diff --git a/asn1c_defs/ProtocolIE-ContainerPair.c b/asn1c_defs/ProtocolIE-ContainerPair.c deleted file mode 100644 index 9bd199d..0000000 --- a/asn1c_defs/ProtocolIE-ContainerPair.c +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ProtocolIE-ContainerPair.h" - diff --git a/asn1c_defs/ProtocolIE-ContainerPair.h b/asn1c_defs/ProtocolIE-ContainerPair.h deleted file mode 100644 index 957548a..0000000 --- a/asn1c_defs/ProtocolIE-ContainerPair.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ProtocolIE_ContainerPair_H_ -#define _ProtocolIE_ContainerPair_H_ - - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef __cplusplus -} -#endif - -#endif /* _ProtocolIE_ContainerPair_H_ */ -#include diff --git a/asn1c_defs/ProtocolIE-ContainerPairList.c b/asn1c_defs/ProtocolIE-ContainerPairList.c deleted file mode 100644 index 981d0d9..0000000 --- a/asn1c_defs/ProtocolIE-ContainerPairList.c +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ProtocolIE-ContainerPairList.h" - diff --git a/asn1c_defs/ProtocolIE-ContainerPairList.h b/asn1c_defs/ProtocolIE-ContainerPairList.h deleted file mode 100644 index 6f3603a..0000000 --- a/asn1c_defs/ProtocolIE-ContainerPairList.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ProtocolIE_ContainerPairList_H_ -#define _ProtocolIE_ContainerPairList_H_ - - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef __cplusplus -} -#endif - -#endif /* _ProtocolIE_ContainerPairList_H_ */ -#include diff --git a/asn1c_defs/ProtocolIE-Field.c b/asn1c_defs/ProtocolIE-Field.c deleted file mode 100644 index 0dc6e47..0000000 --- a/asn1c_defs/ProtocolIE-Field.c +++ /dev/null @@ -1,7190 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ProtocolIE-Field.h" - -static const long asn_VAL_4_id_RICaction_ToBeSetup_Item = 19; -static const long asn_VAL_4_ignore = 1; -static const long asn_VAL_4_mandatory = 2; -static const asn_ioc_cell_t asn_IOS_RICaction_ToBeSetup_ItemIEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_4_id_RICaction_ToBeSetup_Item }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_ignore }, - { "&Value", aioc__type, &asn_DEF_RICaction_ToBeSetup_Item }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_4_mandatory } -}; -static const asn_ioc_set_t asn_IOS_RICaction_ToBeSetup_ItemIEs_1[] = { - { 1, 4, asn_IOS_RICaction_ToBeSetup_ItemIEs_1_rows } -}; -static const long asn_VAL_9_id_RICaction_Admitted_Item = 14; -static const long asn_VAL_9_ignore = 1; -static const long asn_VAL_9_mandatory = 2; -static const asn_ioc_cell_t asn_IOS_RICaction_Admitted_ItemIEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_9_id_RICaction_Admitted_Item }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_ignore }, - { "&Value", aioc__type, &asn_DEF_RICaction_Admitted_Item }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_9_mandatory } -}; -static const asn_ioc_set_t asn_IOS_RICaction_Admitted_ItemIEs_1[] = { - { 1, 4, asn_IOS_RICaction_Admitted_ItemIEs_1_rows } -}; -static const long asn_VAL_10_id_RICaction_NotAdmitted_Item = 16; -static const long asn_VAL_10_ignore = 1; -static const long asn_VAL_10_mandatory = 2; -static const asn_ioc_cell_t asn_IOS_RICaction_NotAdmitted_ItemIEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_10_id_RICaction_NotAdmitted_Item }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_10_ignore }, - { "&Value", aioc__type, &asn_DEF_RICaction_NotAdmitted_Item }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_10_mandatory } -}; -static const asn_ioc_set_t asn_IOS_RICaction_NotAdmitted_ItemIEs_1[] = { - { 1, 4, asn_IOS_RICaction_NotAdmitted_ItemIEs_1_rows } -}; -static const long asn_VAL_64_id_RANfunction_Item = 8; -static const long asn_VAL_64_ignore = 1; -static const long asn_VAL_64_mandatory = 2; -static const asn_ioc_cell_t asn_IOS_RANfunction_ItemIEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_64_id_RANfunction_Item }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_64_ignore }, - { "&Value", aioc__type, &asn_DEF_RANfunction_Item }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_64_mandatory } -}; -static const asn_ioc_set_t asn_IOS_RANfunction_ItemIEs_1[] = { - { 1, 4, asn_IOS_RANfunction_ItemIEs_1_rows } -}; -static const long asn_VAL_65_id_RANfunctionID_Item = 6; -static const long asn_VAL_65_ignore = 1; -static const long asn_VAL_65_mandatory = 2; -static const asn_ioc_cell_t asn_IOS_RANfunctionID_ItemIEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_65_id_RANfunctionID_Item }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_65_ignore }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID_Item }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_65_mandatory } -}; -static const asn_ioc_set_t asn_IOS_RANfunctionID_ItemIEs_1[] = { - { 1, 4, asn_IOS_RANfunctionID_ItemIEs_1_rows } -}; -static const long asn_VAL_68_id_RANfunctionIEcause_Item = 7; -static const long asn_VAL_68_ignore = 1; -static const long asn_VAL_68_mandatory = 2; -static const asn_ioc_cell_t asn_IOS_RANfunctionIDcause_ItemIEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_68_id_RANfunctionIEcause_Item }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_68_ignore }, - { "&Value", aioc__type, &asn_DEF_RANfunctionIDcause_Item }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_68_mandatory } -}; -static const asn_ioc_set_t asn_IOS_RANfunctionIDcause_ItemIEs_1[] = { - { 1, 4, asn_IOS_RANfunctionIDcause_ItemIEs_1_rows } -}; -static const long asn_VAL_1_id_RICrequestID = 29; -static const long asn_VAL_1_reject = 0; -static const long asn_VAL_1_mandatory = 2; -static const long asn_VAL_2_id_RANfunctionID = 5; -static const long asn_VAL_2_reject = 0; -static const long asn_VAL_2_mandatory = 2; -static const long asn_VAL_3_id_RICsubscriptionDetails = 30; -static const long asn_VAL_3_reject = 0; -static const long asn_VAL_3_mandatory = 2; -static const asn_ioc_cell_t asn_IOS_RICsubscriptionRequest_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_1_id_RICrequestID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_1_reject }, - { "&Value", aioc__type, &asn_DEF_RICrequestID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_1_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_2_id_RANfunctionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_2_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_2_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_3_id_RICsubscriptionDetails }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject }, - { "&Value", aioc__type, &asn_DEF_RICsubscriptionDetails }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_3_mandatory } -}; -static const asn_ioc_set_t asn_IOS_RICsubscriptionRequest_IEs_1[] = { - { 3, 4, asn_IOS_RICsubscriptionRequest_IEs_1_rows } -}; -static const long asn_VAL_5_id_RICrequestID = 29; -static const long asn_VAL_5_reject = 0; -static const long asn_VAL_5_mandatory = 2; -static const long asn_VAL_6_id_RANfunctionID = 5; -static const long asn_VAL_6_reject = 0; -static const long asn_VAL_6_mandatory = 2; -static const long asn_VAL_7_id_RICactions_Admitted = 17; -static const long asn_VAL_7_reject = 0; -static const long asn_VAL_7_mandatory = 2; -static const long asn_VAL_8_id_RICactions_NotAdmitted = 18; -static const long asn_VAL_8_reject = 0; -static const long asn_VAL_8_optional = 0; -static const asn_ioc_cell_t asn_IOS_RICsubscriptionResponse_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_5_id_RICrequestID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject }, - { "&Value", aioc__type, &asn_DEF_RICrequestID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_5_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_6_id_RANfunctionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_6_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_7_id_RICactions_Admitted }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_reject }, - { "&Value", aioc__type, &asn_DEF_RICaction_Admitted_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_7_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_8_id_RICactions_NotAdmitted }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_reject }, - { "&Value", aioc__type, &asn_DEF_RICaction_NotAdmitted_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_8_optional } -}; -static const asn_ioc_set_t asn_IOS_RICsubscriptionResponse_IEs_1[] = { - { 4, 4, asn_IOS_RICsubscriptionResponse_IEs_1_rows } -}; -static const long asn_VAL_11_id_RICrequestID = 29; -static const long asn_VAL_11_reject = 0; -static const long asn_VAL_11_mandatory = 2; -static const long asn_VAL_12_id_RANfunctionID = 5; -static const long asn_VAL_12_reject = 0; -static const long asn_VAL_12_mandatory = 2; -static const long asn_VAL_13_id_RICactions_NotAdmitted = 18; -static const long asn_VAL_13_reject = 0; -static const long asn_VAL_13_mandatory = 2; -static const long asn_VAL_14_id_CriticalityDiagnostics = 2; -static const long asn_VAL_14_ignore = 1; -static const long asn_VAL_14_optional = 0; -static const asn_ioc_cell_t asn_IOS_RICsubscriptionFailure_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_11_id_RICrequestID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_11_reject }, - { "&Value", aioc__type, &asn_DEF_RICrequestID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_11_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_12_id_RANfunctionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_12_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_12_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_13_id_RICactions_NotAdmitted }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_13_reject }, - { "&Value", aioc__type, &asn_DEF_RICaction_NotAdmitted_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_13_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_14_id_CriticalityDiagnostics }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_14_ignore }, - { "&Value", aioc__type, &asn_DEF_CriticalityDiagnostics }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_14_optional } -}; -static const asn_ioc_set_t asn_IOS_RICsubscriptionFailure_IEs_1[] = { - { 4, 4, asn_IOS_RICsubscriptionFailure_IEs_1_rows } -}; -static const long asn_VAL_15_id_RICrequestID = 29; -static const long asn_VAL_15_reject = 0; -static const long asn_VAL_15_mandatory = 2; -static const long asn_VAL_16_id_RANfunctionID = 5; -static const long asn_VAL_16_reject = 0; -static const long asn_VAL_16_mandatory = 2; -static const asn_ioc_cell_t asn_IOS_RICsubscriptionDeleteRequest_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_15_id_RICrequestID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_15_reject }, - { "&Value", aioc__type, &asn_DEF_RICrequestID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_15_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_16_id_RANfunctionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_16_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_16_mandatory } -}; -static const asn_ioc_set_t asn_IOS_RICsubscriptionDeleteRequest_IEs_1[] = { - { 2, 4, asn_IOS_RICsubscriptionDeleteRequest_IEs_1_rows } -}; -static const long asn_VAL_17_id_RICrequestID = 29; -static const long asn_VAL_17_reject = 0; -static const long asn_VAL_17_mandatory = 2; -static const long asn_VAL_18_id_RANfunctionID = 5; -static const long asn_VAL_18_reject = 0; -static const long asn_VAL_18_mandatory = 2; -static const asn_ioc_cell_t asn_IOS_RICsubscriptionDeleteResponse_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_17_id_RICrequestID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_17_reject }, - { "&Value", aioc__type, &asn_DEF_RICrequestID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_17_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_18_id_RANfunctionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_18_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_18_mandatory } -}; -static const asn_ioc_set_t asn_IOS_RICsubscriptionDeleteResponse_IEs_1[] = { - { 2, 4, asn_IOS_RICsubscriptionDeleteResponse_IEs_1_rows } -}; -static const long asn_VAL_19_id_RICrequestID = 29; -static const long asn_VAL_19_reject = 0; -static const long asn_VAL_19_mandatory = 2; -static const long asn_VAL_20_id_RANfunctionID = 5; -static const long asn_VAL_20_reject = 0; -static const long asn_VAL_20_mandatory = 2; -static const long asn_VAL_21_id_Cause = 1; -static const long asn_VAL_21_ignore = 1; -static const long asn_VAL_21_mandatory = 2; -static const long asn_VAL_22_id_CriticalityDiagnostics = 2; -static const long asn_VAL_22_ignore = 1; -static const long asn_VAL_22_optional = 0; -static const asn_ioc_cell_t asn_IOS_RICsubscriptionDeleteFailure_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_19_id_RICrequestID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_19_reject }, - { "&Value", aioc__type, &asn_DEF_RICrequestID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_19_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_20_id_RANfunctionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_20_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_20_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_21_id_Cause }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_21_ignore }, - { "&Value", aioc__type, &asn_DEF_Cause }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_21_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_22_id_CriticalityDiagnostics }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_22_ignore }, - { "&Value", aioc__type, &asn_DEF_CriticalityDiagnostics }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_22_optional } -}; -static const asn_ioc_set_t asn_IOS_RICsubscriptionDeleteFailure_IEs_1[] = { - { 4, 4, asn_IOS_RICsubscriptionDeleteFailure_IEs_1_rows } -}; -static const long asn_VAL_23_id_RICrequestID = 29; -static const long asn_VAL_23_reject = 0; -static const long asn_VAL_23_mandatory = 2; -static const long asn_VAL_24_id_RANfunctionID = 5; -static const long asn_VAL_24_reject = 0; -static const long asn_VAL_24_mandatory = 2; -static const long asn_VAL_25_id_RICactionID = 15; -static const long asn_VAL_25_reject = 0; -static const long asn_VAL_25_mandatory = 2; -static const long asn_VAL_26_id_RICindicationSN = 27; -static const long asn_VAL_26_reject = 0; -static const long asn_VAL_26_optional = 0; -static const long asn_VAL_27_id_RICindicationType = 28; -static const long asn_VAL_27_reject = 0; -static const long asn_VAL_27_mandatory = 2; -static const long asn_VAL_28_id_RICindicationHeader = 25; -static const long asn_VAL_28_reject = 0; -static const long asn_VAL_28_mandatory = 2; -static const long asn_VAL_29_id_RICindicationMessage = 26; -static const long asn_VAL_29_reject = 0; -static const long asn_VAL_29_mandatory = 2; -static const long asn_VAL_30_id_RICcallProcessID = 20; -static const long asn_VAL_30_reject = 0; -static const long asn_VAL_30_optional = 0; -static const asn_ioc_cell_t asn_IOS_RICindication_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_23_id_RICrequestID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_23_reject }, - { "&Value", aioc__type, &asn_DEF_RICrequestID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_23_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_24_id_RANfunctionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_24_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_24_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_25_id_RICactionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_25_reject }, - { "&Value", aioc__type, &asn_DEF_RICactionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_25_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_26_id_RICindicationSN }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_26_reject }, - { "&Value", aioc__type, &asn_DEF_RICindicationSN }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_26_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_27_id_RICindicationType }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_27_reject }, - { "&Value", aioc__type, &asn_DEF_RICindicationType }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_27_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_28_id_RICindicationHeader }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_28_reject }, - { "&Value", aioc__type, &asn_DEF_RICindicationHeader }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_28_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_29_id_RICindicationMessage }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_29_reject }, - { "&Value", aioc__type, &asn_DEF_RICindicationMessage }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_29_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_30_id_RICcallProcessID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_30_reject }, - { "&Value", aioc__type, &asn_DEF_RICcallProcessID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_30_optional } -}; -static const asn_ioc_set_t asn_IOS_RICindication_IEs_1[] = { - { 8, 4, asn_IOS_RICindication_IEs_1_rows } -}; -static const long asn_VAL_31_id_RICrequestID = 29; -static const long asn_VAL_31_reject = 0; -static const long asn_VAL_31_mandatory = 2; -static const long asn_VAL_32_id_RANfunctionID = 5; -static const long asn_VAL_32_reject = 0; -static const long asn_VAL_32_mandatory = 2; -static const long asn_VAL_33_id_RICcallProcessID = 20; -static const long asn_VAL_33_reject = 0; -static const long asn_VAL_33_optional = 0; -static const long asn_VAL_34_id_RICcontrolHeader = 22; -static const long asn_VAL_34_reject = 0; -static const long asn_VAL_34_mandatory = 2; -static const long asn_VAL_35_id_RICcontrolMessage = 23; -static const long asn_VAL_35_reject = 0; -static const long asn_VAL_35_mandatory = 2; -static const long asn_VAL_36_id_RICcontrolAckRequest = 21; -static const long asn_VAL_36_reject = 0; -static const long asn_VAL_36_optional = 0; -static const asn_ioc_cell_t asn_IOS_RICcontrolRequest_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_31_id_RICrequestID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_31_reject }, - { "&Value", aioc__type, &asn_DEF_RICrequestID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_31_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_32_id_RANfunctionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_32_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_32_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_33_id_RICcallProcessID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_33_reject }, - { "&Value", aioc__type, &asn_DEF_RICcallProcessID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_33_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_34_id_RICcontrolHeader }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_34_reject }, - { "&Value", aioc__type, &asn_DEF_RICcontrolHeader }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_34_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_35_id_RICcontrolMessage }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_35_reject }, - { "&Value", aioc__type, &asn_DEF_RICcontrolMessage }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_35_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_36_id_RICcontrolAckRequest }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_36_reject }, - { "&Value", aioc__type, &asn_DEF_RICcontrolAckRequest }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_36_optional } -}; -static const asn_ioc_set_t asn_IOS_RICcontrolRequest_IEs_1[] = { - { 6, 4, asn_IOS_RICcontrolRequest_IEs_1_rows } -}; -static const long asn_VAL_37_id_RICrequestID = 29; -static const long asn_VAL_37_reject = 0; -static const long asn_VAL_37_mandatory = 2; -static const long asn_VAL_38_id_RANfunctionID = 5; -static const long asn_VAL_38_reject = 0; -static const long asn_VAL_38_mandatory = 2; -static const long asn_VAL_39_id_RICcallProcessID = 20; -static const long asn_VAL_39_reject = 0; -static const long asn_VAL_39_optional = 0; -static const long asn_VAL_40_id_RICcontrolStatus = 24; -static const long asn_VAL_40_reject = 0; -static const long asn_VAL_40_mandatory = 2; -static const long asn_VAL_41_id_RICcontrolOutcome = 32; -static const long asn_VAL_41_reject = 0; -static const long asn_VAL_41_optional = 0; -static const asn_ioc_cell_t asn_IOS_RICcontrolAcknowledge_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_37_id_RICrequestID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_37_reject }, - { "&Value", aioc__type, &asn_DEF_RICrequestID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_37_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_38_id_RANfunctionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_38_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_38_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_39_id_RICcallProcessID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_39_reject }, - { "&Value", aioc__type, &asn_DEF_RICcallProcessID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_39_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_40_id_RICcontrolStatus }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_40_reject }, - { "&Value", aioc__type, &asn_DEF_RICcontrolStatus }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_40_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_41_id_RICcontrolOutcome }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_41_reject }, - { "&Value", aioc__type, &asn_DEF_RICcontrolOutcome }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_41_optional } -}; -static const asn_ioc_set_t asn_IOS_RICcontrolAcknowledge_IEs_1[] = { - { 5, 4, asn_IOS_RICcontrolAcknowledge_IEs_1_rows } -}; -static const long asn_VAL_42_id_RICrequestID = 29; -static const long asn_VAL_42_reject = 0; -static const long asn_VAL_42_mandatory = 2; -static const long asn_VAL_43_id_RANfunctionID = 5; -static const long asn_VAL_43_reject = 0; -static const long asn_VAL_43_mandatory = 2; -static const long asn_VAL_44_id_RICcallProcessID = 20; -static const long asn_VAL_44_reject = 0; -static const long asn_VAL_44_optional = 0; -static const long asn_VAL_45_id_Cause = 1; -static const long asn_VAL_45_ignore = 1; -static const long asn_VAL_45_mandatory = 2; -static const long asn_VAL_46_id_RICcontrolOutcome = 32; -static const long asn_VAL_46_reject = 0; -static const long asn_VAL_46_optional = 0; -static const asn_ioc_cell_t asn_IOS_RICcontrolFailure_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_42_id_RICrequestID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_42_reject }, - { "&Value", aioc__type, &asn_DEF_RICrequestID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_42_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_43_id_RANfunctionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_43_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_43_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_44_id_RICcallProcessID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_44_reject }, - { "&Value", aioc__type, &asn_DEF_RICcallProcessID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_44_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_45_id_Cause }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_45_ignore }, - { "&Value", aioc__type, &asn_DEF_Cause }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_45_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_46_id_RICcontrolOutcome }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_46_reject }, - { "&Value", aioc__type, &asn_DEF_RICcontrolOutcome }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_46_optional } -}; -static const asn_ioc_set_t asn_IOS_RICcontrolFailure_IEs_1[] = { - { 5, 4, asn_IOS_RICcontrolFailure_IEs_1_rows } -}; -static const long asn_VAL_47_id_RICrequestID = 29; -static const long asn_VAL_47_reject = 0; -static const long asn_VAL_47_optional = 0; -static const long asn_VAL_48_id_RANfunctionID = 5; -static const long asn_VAL_48_reject = 0; -static const long asn_VAL_48_optional = 0; -static const long asn_VAL_49_id_Cause = 1; -static const long asn_VAL_49_ignore = 1; -static const long asn_VAL_49_optional = 0; -static const long asn_VAL_50_id_CriticalityDiagnostics = 2; -static const long asn_VAL_50_ignore = 1; -static const long asn_VAL_50_optional = 0; -static const asn_ioc_cell_t asn_IOS_ErrorIndication_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_47_id_RICrequestID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_47_reject }, - { "&Value", aioc__type, &asn_DEF_RICrequestID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_47_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_48_id_RANfunctionID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_48_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_48_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_49_id_Cause }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_49_ignore }, - { "&Value", aioc__type, &asn_DEF_Cause }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_49_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_50_id_CriticalityDiagnostics }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_50_ignore }, - { "&Value", aioc__type, &asn_DEF_CriticalityDiagnostics }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_50_optional } -}; -static const asn_ioc_set_t asn_IOS_ErrorIndication_IEs_1[] = { - { 4, 4, asn_IOS_ErrorIndication_IEs_1_rows } -}; -static const long asn_VAL_51_id_GlobalE2node_ID = 3; -static const long asn_VAL_51_reject = 0; -static const long asn_VAL_51_mandatory = 2; -static const long asn_VAL_52_id_RANfunctionsAdded = 10; -static const long asn_VAL_52_reject = 0; -static const long asn_VAL_52_optional = 0; -static const asn_ioc_cell_t asn_IOS_E2setupRequestIEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_51_id_GlobalE2node_ID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_51_reject }, - { "&Value", aioc__type, &asn_DEF_GlobalE2node_ID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_51_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_52_id_RANfunctionsAdded }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_52_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctions_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_52_optional } -}; -static const asn_ioc_set_t asn_IOS_E2setupRequestIEs_1[] = { - { 2, 4, asn_IOS_E2setupRequestIEs_1_rows } -}; -static const long asn_VAL_53_id_GlobalRIC_ID = 4; -static const long asn_VAL_53_reject = 0; -static const long asn_VAL_53_mandatory = 2; -static const long asn_VAL_54_id_RANfunctionsAccepted = 9; -static const long asn_VAL_54_reject = 0; -static const long asn_VAL_54_optional = 0; -static const long asn_VAL_55_id_RANfunctionsRejected = 13; -static const long asn_VAL_55_reject = 0; -static const long asn_VAL_55_optional = 0; -static const asn_ioc_cell_t asn_IOS_E2setupResponseIEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_53_id_GlobalRIC_ID }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_53_reject }, - { "&Value", aioc__type, &asn_DEF_GlobalRIC_ID }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_53_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_54_id_RANfunctionsAccepted }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_54_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionsID_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_54_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_55_id_RANfunctionsRejected }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_55_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionsIDcause_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_55_optional } -}; -static const asn_ioc_set_t asn_IOS_E2setupResponseIEs_1[] = { - { 3, 4, asn_IOS_E2setupResponseIEs_1_rows } -}; -static const long asn_VAL_56_id_Cause = 1; -static const long asn_VAL_56_ignore = 1; -static const long asn_VAL_56_mandatory = 2; -static const long asn_VAL_57_id_TimeToWait = 31; -static const long asn_VAL_57_ignore = 1; -static const long asn_VAL_57_optional = 0; -static const long asn_VAL_58_id_CriticalityDiagnostics = 2; -static const long asn_VAL_58_ignore = 1; -static const long asn_VAL_58_optional = 0; -static const asn_ioc_cell_t asn_IOS_E2setupFailureIEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_56_id_Cause }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_56_ignore }, - { "&Value", aioc__type, &asn_DEF_Cause }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_56_mandatory }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_57_id_TimeToWait }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_57_ignore }, - { "&Value", aioc__type, &asn_DEF_TimeToWait }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_57_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_58_id_CriticalityDiagnostics }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_58_ignore }, - { "&Value", aioc__type, &asn_DEF_CriticalityDiagnostics }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_58_optional } -}; -static const asn_ioc_set_t asn_IOS_E2setupFailureIEs_1[] = { - { 3, 4, asn_IOS_E2setupFailureIEs_1_rows } -}; -static const long asn_VAL_59_id_Cause = 1; -static const long asn_VAL_59_ignore = 1; -static const long asn_VAL_59_mandatory = 2; -static const asn_ioc_cell_t asn_IOS_ResetRequestIEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_59_id_Cause }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_59_ignore }, - { "&Value", aioc__type, &asn_DEF_Cause }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_59_mandatory } -}; -static const asn_ioc_set_t asn_IOS_ResetRequestIEs_1[] = { - { 1, 4, asn_IOS_ResetRequestIEs_1_rows } -}; -static const long asn_VAL_60_id_CriticalityDiagnostics = 2; -static const long asn_VAL_60_ignore = 1; -static const long asn_VAL_60_optional = 0; -static const asn_ioc_cell_t asn_IOS_ResetResponseIEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_60_id_CriticalityDiagnostics }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_60_ignore }, - { "&Value", aioc__type, &asn_DEF_CriticalityDiagnostics }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_60_optional } -}; -static const asn_ioc_set_t asn_IOS_ResetResponseIEs_1[] = { - { 1, 4, asn_IOS_ResetResponseIEs_1_rows } -}; -static const long asn_VAL_61_id_RANfunctionsAdded = 10; -static const long asn_VAL_61_reject = 0; -static const long asn_VAL_61_optional = 0; -static const long asn_VAL_62_id_RANfunctionsModified = 12; -static const long asn_VAL_62_reject = 0; -static const long asn_VAL_62_optional = 0; -static const long asn_VAL_63_id_RANfunctionsDeleted = 11; -static const long asn_VAL_63_reject = 0; -static const long asn_VAL_63_optional = 0; -static const asn_ioc_cell_t asn_IOS_RICserviceUpdate_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_61_id_RANfunctionsAdded }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_61_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctions_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_61_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_62_id_RANfunctionsModified }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_62_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctions_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_62_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_63_id_RANfunctionsDeleted }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_63_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionsID_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_63_optional } -}; -static const asn_ioc_set_t asn_IOS_RICserviceUpdate_IEs_1[] = { - { 3, 4, asn_IOS_RICserviceUpdate_IEs_1_rows } -}; -static const long asn_VAL_66_id_RANfunctionsAccepted = 9; -static const long asn_VAL_66_reject = 0; -static const long asn_VAL_66_optional = 0; -static const long asn_VAL_67_id_RANfunctionsRejected = 13; -static const long asn_VAL_67_reject = 0; -static const long asn_VAL_67_optional = 0; -static const asn_ioc_cell_t asn_IOS_RICserviceUpdateAcknowledge_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_66_id_RANfunctionsAccepted }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_66_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionsID_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_66_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_67_id_RANfunctionsRejected }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_67_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionsIDcause_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_67_optional } -}; -static const asn_ioc_set_t asn_IOS_RICserviceUpdateAcknowledge_IEs_1[] = { - { 2, 4, asn_IOS_RICserviceUpdateAcknowledge_IEs_1_rows } -}; -static const long asn_VAL_69_id_RANfunctionsRejected = 13; -static const long asn_VAL_69_ignore = 1; -static const long asn_VAL_69_optional = 0; -static const long asn_VAL_70_id_TimeToWait = 31; -static const long asn_VAL_70_ignore = 1; -static const long asn_VAL_70_optional = 0; -static const long asn_VAL_71_id_CriticalityDiagnostics = 2; -static const long asn_VAL_71_ignore = 1; -static const long asn_VAL_71_optional = 0; -static const asn_ioc_cell_t asn_IOS_RICserviceUpdateFailure_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_69_id_RANfunctionsRejected }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_69_ignore }, - { "&Value", aioc__type, &asn_DEF_RANfunctionsIDcause_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_69_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_70_id_TimeToWait }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_70_ignore }, - { "&Value", aioc__type, &asn_DEF_TimeToWait }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_70_optional }, - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_71_id_CriticalityDiagnostics }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_71_ignore }, - { "&Value", aioc__type, &asn_DEF_CriticalityDiagnostics }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_71_optional } -}; -static const asn_ioc_set_t asn_IOS_RICserviceUpdateFailure_IEs_1[] = { - { 3, 4, asn_IOS_RICserviceUpdateFailure_IEs_1_rows } -}; -static const long asn_VAL_72_id_RANfunctionsAccepted = 9; -static const long asn_VAL_72_reject = 0; -static const long asn_VAL_72_optional = 0; -static const asn_ioc_cell_t asn_IOS_RICserviceQuery_IEs_1_rows[] = { - { "&id", aioc__value, &asn_DEF_ProtocolIE_ID, &asn_VAL_72_id_RANfunctionsAccepted }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_72_reject }, - { "&Value", aioc__type, &asn_DEF_RANfunctionsID_List }, - { "&presence", aioc__value, &asn_DEF_Presence, &asn_VAL_72_optional } -}; -static const asn_ioc_set_t asn_IOS_RICserviceQuery_IEs_1[] = { - { 1, 4, asn_IOS_RICserviceQuery_IEs_1_rows } -}; -static int -memb_id_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICaction_ToBeSetup_ItemIEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICaction_ToBeSetup_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICaction_ToBeSetup_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICaction_ToBeSetup_ItemIEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICaction_ToBeSetup_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICaction_ToBeSetup_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_5(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICaction_Admitted_ItemIEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICaction_Admitted_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICaction_Admitted_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_5(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICaction_Admitted_ItemIEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICaction_Admitted_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICaction_Admitted_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_5(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICaction_NotAdmitted_ItemIEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICaction_NotAdmitted_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICaction_NotAdmitted_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICaction_NotAdmitted_ItemIEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICaction_NotAdmitted_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICaction_NotAdmitted_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_13(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RANfunction_ItemIEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RANfunction_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RANfunction_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_13(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RANfunction_ItemIEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RANfunction_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RANfunction_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_13(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_17(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RANfunctionID_ItemIEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RANfunctionID_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RANfunctionID_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_17(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RANfunctionID_ItemIEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RANfunctionID_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RANfunctionID_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_17(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_21(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RANfunctionIDcause_ItemIEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RANfunctionIDcause_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RANfunctionIDcause_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_21(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RANfunctionIDcause_ItemIEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RANfunctionIDcause_ItemIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RANfunctionIDcause_ItemIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_21(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_25(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICsubscriptionRequest_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionRequest_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionRequest_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_25(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICsubscriptionRequest_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionRequest_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionRequest_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_25(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_29(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICsubscriptionResponse_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionResponse_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionResponse_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_29(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICsubscriptionResponse_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionResponse_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionResponse_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_29(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_33(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICsubscriptionFailure_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionFailure_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionFailure_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_33(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICsubscriptionFailure_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionFailure_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionFailure_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_33(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_37(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICsubscriptionDeleteRequest_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionDeleteRequest_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionDeleteRequest_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_37(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICsubscriptionDeleteRequest_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionDeleteRequest_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionDeleteRequest_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_37(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_41(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICsubscriptionDeleteResponse_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionDeleteResponse_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionDeleteResponse_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_41(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICsubscriptionDeleteResponse_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionDeleteResponse_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionDeleteResponse_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_41(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_45(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICsubscriptionDeleteFailure_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionDeleteFailure_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionDeleteFailure_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_45(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICsubscriptionDeleteFailure_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICsubscriptionDeleteFailure_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICsubscriptionDeleteFailure_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_45(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_49(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICindication_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICindication_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICindication_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_49(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICindication_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICindication_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICindication_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_49(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_53(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICcontrolRequest_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICcontrolRequest_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICcontrolRequest_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_53(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICcontrolRequest_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICcontrolRequest_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICcontrolRequest_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_53(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_57(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICcontrolAcknowledge_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICcontrolAcknowledge_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICcontrolAcknowledge_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_57(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICcontrolAcknowledge_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICcontrolAcknowledge_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICcontrolAcknowledge_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_57(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_61(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICcontrolFailure_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICcontrolFailure_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICcontrolFailure_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_61(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICcontrolFailure_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICcontrolFailure_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICcontrolFailure_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_61(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_65(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_ErrorIndication_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_ErrorIndication_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct ErrorIndication_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_65(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_ErrorIndication_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_ErrorIndication_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct ErrorIndication_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_65(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_69(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_E2setupRequestIEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2setupRequestIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct E2setupRequestIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_69(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_E2setupRequestIEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2setupRequestIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct E2setupRequestIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_69(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_73(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_E2setupResponseIEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2setupResponseIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct E2setupResponseIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_73(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_E2setupResponseIEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2setupResponseIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct E2setupResponseIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_73(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_77(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_E2setupFailureIEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2setupFailureIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct E2setupFailureIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_77(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_E2setupFailureIEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2setupFailureIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct E2setupFailureIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_77(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_81(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_ResetRequestIEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_ResetRequestIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct ResetRequestIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_81(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_ResetRequestIEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_ResetRequestIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct ResetRequestIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_81(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_85(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_ResetResponseIEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_ResetResponseIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct ResetResponseIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_85(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_ResetResponseIEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_ResetResponseIEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct ResetResponseIEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_85(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_89(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICserviceUpdate_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICserviceUpdate_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICserviceUpdate_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_89(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICserviceUpdate_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICserviceUpdate_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICserviceUpdate_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_89(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_93(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICserviceUpdateAcknowledge_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICserviceUpdateAcknowledge_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICserviceUpdateAcknowledge_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_93(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICserviceUpdateAcknowledge_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICserviceUpdateAcknowledge_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICserviceUpdateAcknowledge_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_93(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_97(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICserviceUpdateFailure_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICserviceUpdateFailure_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICserviceUpdateFailure_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_97(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICserviceUpdateFailure_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICserviceUpdateFailure_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICserviceUpdateFailure_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_97(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static int -memb_id_constraint_101(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_RICserviceQuery_IEs_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICserviceQuery_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 1; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICserviceQuery_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_101(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_RICserviceQuery_IEs_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_RICserviceQuery_IEs_1; - size_t constraining_column = 0; /* &id */ - size_t for_column = 2; /* &Value */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct RICserviceQuery_IEs, id)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_101(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_per_constraints_t asn_PER_memb_id_constr_2 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_6 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_7 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_8 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_10 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_11 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_12 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_14 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_15 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_16 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_18 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_19 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_20 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_22 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_23 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_24 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_26 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_27 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_28 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_30 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_31 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_32 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_34 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_35 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_36 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_38 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_39 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_40 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_42 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_43 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_44 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_46 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_47 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_48 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_50 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_51 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_52 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_54 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_55 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_56 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_58 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_59 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_60 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_62 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_63 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_64 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_66 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_67 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_68 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_70 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_71 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_72 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_74 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_75 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_76 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_78 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_79 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_80 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_82 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_83 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_84 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_86 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_87 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_88 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_90 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_91 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_92 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_94 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_95 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_96 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_98 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_99 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_100 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_id_constr_102 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_103 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_104 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_value_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICaction_ToBeSetup_ItemIEs__value, choice.RICaction_ToBeSetup_Item), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICaction_ToBeSetup_Item, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICaction-ToBeSetup-Item" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RICaction-ToBeSetup-Item */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = { - sizeof(struct RICaction_ToBeSetup_ItemIEs__value), - offsetof(struct RICaction_ToBeSetup_ItemIEs__value, _asn_ctx), - offsetof(struct RICaction_ToBeSetup_ItemIEs__value, present), - sizeof(((struct RICaction_ToBeSetup_ItemIEs__value *)0)->present), - asn_MAP_value_tag2el_4, - 1, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_4 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_4, - 1, /* Elements count */ - &asn_SPC_value_specs_4 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICaction_ToBeSetup_ItemIEs_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICaction_ToBeSetup_ItemIEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_2, memb_id_constraint_1 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICaction_ToBeSetup_ItemIEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICaction_ToBeSetup_ItemIEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_3, memb_criticality_constraint_1 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICaction_ToBeSetup_ItemIEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_4, - select_RICaction_ToBeSetup_ItemIEs_value_type, - { 0, &asn_PER_memb_value_constr_4, memb_value_constraint_1 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICaction_ToBeSetup_ItemIEs_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICaction_ToBeSetup_ItemIEs_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICaction_ToBeSetup_ItemIEs_specs_1 = { - sizeof(struct RICaction_ToBeSetup_ItemIEs), - offsetof(struct RICaction_ToBeSetup_ItemIEs, _asn_ctx), - asn_MAP_RICaction_ToBeSetup_ItemIEs_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICaction_ToBeSetup_ItemIEs = { - "RICaction-ToBeSetup-ItemIEs", - "RICaction-ToBeSetup-ItemIEs", - &asn_OP_SEQUENCE, - asn_DEF_RICaction_ToBeSetup_ItemIEs_tags_1, - sizeof(asn_DEF_RICaction_ToBeSetup_ItemIEs_tags_1) - /sizeof(asn_DEF_RICaction_ToBeSetup_ItemIEs_tags_1[0]), /* 1 */ - asn_DEF_RICaction_ToBeSetup_ItemIEs_tags_1, /* Same as above */ - sizeof(asn_DEF_RICaction_ToBeSetup_ItemIEs_tags_1) - /sizeof(asn_DEF_RICaction_ToBeSetup_ItemIEs_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICaction_ToBeSetup_ItemIEs_1, - 3, /* Elements count */ - &asn_SPC_RICaction_ToBeSetup_ItemIEs_specs_1 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_8[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICaction_Admitted_ItemIEs__value, choice.RICaction_Admitted_Item), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICaction_Admitted_Item, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICaction-Admitted-Item" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_8[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RICaction-Admitted-Item */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_8 = { - sizeof(struct RICaction_Admitted_ItemIEs__value), - offsetof(struct RICaction_Admitted_ItemIEs__value, _asn_ctx), - offsetof(struct RICaction_Admitted_ItemIEs__value, present), - sizeof(((struct RICaction_Admitted_ItemIEs__value *)0)->present), - asn_MAP_value_tag2el_8, - 1, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_8 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_8, - 1, /* Elements count */ - &asn_SPC_value_specs_8 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICaction_Admitted_ItemIEs_5[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICaction_Admitted_ItemIEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_6, memb_id_constraint_5 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICaction_Admitted_ItemIEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICaction_Admitted_ItemIEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_7, memb_criticality_constraint_5 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICaction_Admitted_ItemIEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_8, - select_RICaction_Admitted_ItemIEs_value_type, - { 0, &asn_PER_memb_value_constr_8, memb_value_constraint_5 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICaction_Admitted_ItemIEs_tags_5[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICaction_Admitted_ItemIEs_tag2el_5[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICaction_Admitted_ItemIEs_specs_5 = { - sizeof(struct RICaction_Admitted_ItemIEs), - offsetof(struct RICaction_Admitted_ItemIEs, _asn_ctx), - asn_MAP_RICaction_Admitted_ItemIEs_tag2el_5, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICaction_Admitted_ItemIEs = { - "RICaction-Admitted-ItemIEs", - "RICaction-Admitted-ItemIEs", - &asn_OP_SEQUENCE, - asn_DEF_RICaction_Admitted_ItemIEs_tags_5, - sizeof(asn_DEF_RICaction_Admitted_ItemIEs_tags_5) - /sizeof(asn_DEF_RICaction_Admitted_ItemIEs_tags_5[0]), /* 1 */ - asn_DEF_RICaction_Admitted_ItemIEs_tags_5, /* Same as above */ - sizeof(asn_DEF_RICaction_Admitted_ItemIEs_tags_5) - /sizeof(asn_DEF_RICaction_Admitted_ItemIEs_tags_5[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICaction_Admitted_ItemIEs_5, - 3, /* Elements count */ - &asn_SPC_RICaction_Admitted_ItemIEs_specs_5 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_12[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICaction_NotAdmitted_ItemIEs__value, choice.RICaction_NotAdmitted_Item), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICaction_NotAdmitted_Item, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICaction-NotAdmitted-Item" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_12[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RICaction-NotAdmitted-Item */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_12 = { - sizeof(struct RICaction_NotAdmitted_ItemIEs__value), - offsetof(struct RICaction_NotAdmitted_ItemIEs__value, _asn_ctx), - offsetof(struct RICaction_NotAdmitted_ItemIEs__value, present), - sizeof(((struct RICaction_NotAdmitted_ItemIEs__value *)0)->present), - asn_MAP_value_tag2el_12, - 1, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_12 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_12, - 1, /* Elements count */ - &asn_SPC_value_specs_12 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICaction_NotAdmitted_ItemIEs_9[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICaction_NotAdmitted_ItemIEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_10, memb_id_constraint_9 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICaction_NotAdmitted_ItemIEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICaction_NotAdmitted_ItemIEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_11, memb_criticality_constraint_9 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICaction_NotAdmitted_ItemIEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_12, - select_RICaction_NotAdmitted_ItemIEs_value_type, - { 0, &asn_PER_memb_value_constr_12, memb_value_constraint_9 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICaction_NotAdmitted_ItemIEs_tags_9[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICaction_NotAdmitted_ItemIEs_tag2el_9[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICaction_NotAdmitted_ItemIEs_specs_9 = { - sizeof(struct RICaction_NotAdmitted_ItemIEs), - offsetof(struct RICaction_NotAdmitted_ItemIEs, _asn_ctx), - asn_MAP_RICaction_NotAdmitted_ItemIEs_tag2el_9, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICaction_NotAdmitted_ItemIEs = { - "RICaction-NotAdmitted-ItemIEs", - "RICaction-NotAdmitted-ItemIEs", - &asn_OP_SEQUENCE, - asn_DEF_RICaction_NotAdmitted_ItemIEs_tags_9, - sizeof(asn_DEF_RICaction_NotAdmitted_ItemIEs_tags_9) - /sizeof(asn_DEF_RICaction_NotAdmitted_ItemIEs_tags_9[0]), /* 1 */ - asn_DEF_RICaction_NotAdmitted_ItemIEs_tags_9, /* Same as above */ - sizeof(asn_DEF_RICaction_NotAdmitted_ItemIEs_tags_9) - /sizeof(asn_DEF_RICaction_NotAdmitted_ItemIEs_tags_9[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICaction_NotAdmitted_ItemIEs_9, - 3, /* Elements count */ - &asn_SPC_RICaction_NotAdmitted_ItemIEs_specs_9 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_16[] = { - { ATF_NOFLAGS, 0, offsetof(struct RANfunction_ItemIEs__value, choice.RANfunction_Item), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunction_Item, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunction-Item" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_16[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RANfunction-Item */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_16 = { - sizeof(struct RANfunction_ItemIEs__value), - offsetof(struct RANfunction_ItemIEs__value, _asn_ctx), - offsetof(struct RANfunction_ItemIEs__value, present), - sizeof(((struct RANfunction_ItemIEs__value *)0)->present), - asn_MAP_value_tag2el_16, - 1, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_16 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_16, - 1, /* Elements count */ - &asn_SPC_value_specs_16 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RANfunction_ItemIEs_13[] = { - { ATF_NOFLAGS, 0, offsetof(struct RANfunction_ItemIEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_14, memb_id_constraint_13 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RANfunction_ItemIEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RANfunction_ItemIEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_15, memb_criticality_constraint_13 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RANfunction_ItemIEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_16, - select_RANfunction_ItemIEs_value_type, - { 0, &asn_PER_memb_value_constr_16, memb_value_constraint_13 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RANfunction_ItemIEs_tags_13[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RANfunction_ItemIEs_tag2el_13[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RANfunction_ItemIEs_specs_13 = { - sizeof(struct RANfunction_ItemIEs), - offsetof(struct RANfunction_ItemIEs, _asn_ctx), - asn_MAP_RANfunction_ItemIEs_tag2el_13, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RANfunction_ItemIEs = { - "RANfunction-ItemIEs", - "RANfunction-ItemIEs", - &asn_OP_SEQUENCE, - asn_DEF_RANfunction_ItemIEs_tags_13, - sizeof(asn_DEF_RANfunction_ItemIEs_tags_13) - /sizeof(asn_DEF_RANfunction_ItemIEs_tags_13[0]), /* 1 */ - asn_DEF_RANfunction_ItemIEs_tags_13, /* Same as above */ - sizeof(asn_DEF_RANfunction_ItemIEs_tags_13) - /sizeof(asn_DEF_RANfunction_ItemIEs_tags_13[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RANfunction_ItemIEs_13, - 3, /* Elements count */ - &asn_SPC_RANfunction_ItemIEs_specs_13 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_20[] = { - { ATF_NOFLAGS, 0, offsetof(struct RANfunctionID_ItemIEs__value, choice.RANfunctionID_Item), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunctionID_Item, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID-Item" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_20[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RANfunctionID-Item */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_20 = { - sizeof(struct RANfunctionID_ItemIEs__value), - offsetof(struct RANfunctionID_ItemIEs__value, _asn_ctx), - offsetof(struct RANfunctionID_ItemIEs__value, present), - sizeof(((struct RANfunctionID_ItemIEs__value *)0)->present), - asn_MAP_value_tag2el_20, - 1, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_20 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_20, - 1, /* Elements count */ - &asn_SPC_value_specs_20 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RANfunctionID_ItemIEs_17[] = { - { ATF_NOFLAGS, 0, offsetof(struct RANfunctionID_ItemIEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_18, memb_id_constraint_17 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RANfunctionID_ItemIEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RANfunctionID_ItemIEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_19, memb_criticality_constraint_17 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RANfunctionID_ItemIEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_20, - select_RANfunctionID_ItemIEs_value_type, - { 0, &asn_PER_memb_value_constr_20, memb_value_constraint_17 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RANfunctionID_ItemIEs_tags_17[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RANfunctionID_ItemIEs_tag2el_17[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RANfunctionID_ItemIEs_specs_17 = { - sizeof(struct RANfunctionID_ItemIEs), - offsetof(struct RANfunctionID_ItemIEs, _asn_ctx), - asn_MAP_RANfunctionID_ItemIEs_tag2el_17, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RANfunctionID_ItemIEs = { - "RANfunctionID-ItemIEs", - "RANfunctionID-ItemIEs", - &asn_OP_SEQUENCE, - asn_DEF_RANfunctionID_ItemIEs_tags_17, - sizeof(asn_DEF_RANfunctionID_ItemIEs_tags_17) - /sizeof(asn_DEF_RANfunctionID_ItemIEs_tags_17[0]), /* 1 */ - asn_DEF_RANfunctionID_ItemIEs_tags_17, /* Same as above */ - sizeof(asn_DEF_RANfunctionID_ItemIEs_tags_17) - /sizeof(asn_DEF_RANfunctionID_ItemIEs_tags_17[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RANfunctionID_ItemIEs_17, - 3, /* Elements count */ - &asn_SPC_RANfunctionID_ItemIEs_specs_17 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_24[] = { - { ATF_NOFLAGS, 0, offsetof(struct RANfunctionIDcause_ItemIEs__value, choice.RANfunctionIDcause_Item), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunctionIDcause_Item, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionIDcause-Item" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_24[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RANfunctionIDcause-Item */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_24 = { - sizeof(struct RANfunctionIDcause_ItemIEs__value), - offsetof(struct RANfunctionIDcause_ItemIEs__value, _asn_ctx), - offsetof(struct RANfunctionIDcause_ItemIEs__value, present), - sizeof(((struct RANfunctionIDcause_ItemIEs__value *)0)->present), - asn_MAP_value_tag2el_24, - 1, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_24 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_24, - 1, /* Elements count */ - &asn_SPC_value_specs_24 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RANfunctionIDcause_ItemIEs_21[] = { - { ATF_NOFLAGS, 0, offsetof(struct RANfunctionIDcause_ItemIEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_22, memb_id_constraint_21 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RANfunctionIDcause_ItemIEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RANfunctionIDcause_ItemIEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_23, memb_criticality_constraint_21 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RANfunctionIDcause_ItemIEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_24, - select_RANfunctionIDcause_ItemIEs_value_type, - { 0, &asn_PER_memb_value_constr_24, memb_value_constraint_21 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RANfunctionIDcause_ItemIEs_tags_21[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RANfunctionIDcause_ItemIEs_tag2el_21[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RANfunctionIDcause_ItemIEs_specs_21 = { - sizeof(struct RANfunctionIDcause_ItemIEs), - offsetof(struct RANfunctionIDcause_ItemIEs, _asn_ctx), - asn_MAP_RANfunctionIDcause_ItemIEs_tag2el_21, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RANfunctionIDcause_ItemIEs = { - "RANfunctionIDcause-ItemIEs", - "RANfunctionIDcause-ItemIEs", - &asn_OP_SEQUENCE, - asn_DEF_RANfunctionIDcause_ItemIEs_tags_21, - sizeof(asn_DEF_RANfunctionIDcause_ItemIEs_tags_21) - /sizeof(asn_DEF_RANfunctionIDcause_ItemIEs_tags_21[0]), /* 1 */ - asn_DEF_RANfunctionIDcause_ItemIEs_tags_21, /* Same as above */ - sizeof(asn_DEF_RANfunctionIDcause_ItemIEs_tags_21) - /sizeof(asn_DEF_RANfunctionIDcause_ItemIEs_tags_21[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RANfunctionIDcause_ItemIEs_21, - 3, /* Elements count */ - &asn_SPC_RANfunctionIDcause_ItemIEs_specs_21 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_28[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionRequest_IEs__value, choice.RICrequestID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICrequestID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionRequest_IEs__value, choice.RANfunctionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionRequest_IEs__value, choice.RICsubscriptionDetails), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionDetails, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICsubscriptionDetails" - }, -}; -static const unsigned asn_MAP_value_to_canonical_28[] = { 1, 0, 2 }; -static const unsigned asn_MAP_value_from_canonical_28[] = { 1, 0, 2 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_28[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* RANfunctionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* RICrequestID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -1, 0 } /* RICsubscriptionDetails */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_28 = { - sizeof(struct RICsubscriptionRequest_IEs__value), - offsetof(struct RICsubscriptionRequest_IEs__value, _asn_ctx), - offsetof(struct RICsubscriptionRequest_IEs__value, present), - sizeof(((struct RICsubscriptionRequest_IEs__value *)0)->present), - asn_MAP_value_tag2el_28, - 3, /* Count of tags in the map */ - asn_MAP_value_to_canonical_28, - asn_MAP_value_from_canonical_28, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_28 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_28, - 3, /* Elements count */ - &asn_SPC_value_specs_28 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICsubscriptionRequest_IEs_25[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionRequest_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_26, memb_id_constraint_25 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionRequest_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICsubscriptionRequest_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_27, memb_criticality_constraint_25 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionRequest_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_28, - select_RICsubscriptionRequest_IEs_value_type, - { 0, &asn_PER_memb_value_constr_28, memb_value_constraint_25 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionRequest_IEs_tags_25[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionRequest_IEs_tag2el_25[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionRequest_IEs_specs_25 = { - sizeof(struct RICsubscriptionRequest_IEs), - offsetof(struct RICsubscriptionRequest_IEs, _asn_ctx), - asn_MAP_RICsubscriptionRequest_IEs_tag2el_25, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionRequest_IEs = { - "RICsubscriptionRequest-IEs", - "RICsubscriptionRequest-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionRequest_IEs_tags_25, - sizeof(asn_DEF_RICsubscriptionRequest_IEs_tags_25) - /sizeof(asn_DEF_RICsubscriptionRequest_IEs_tags_25[0]), /* 1 */ - asn_DEF_RICsubscriptionRequest_IEs_tags_25, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionRequest_IEs_tags_25) - /sizeof(asn_DEF_RICsubscriptionRequest_IEs_tags_25[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionRequest_IEs_25, - 3, /* Elements count */ - &asn_SPC_RICsubscriptionRequest_IEs_specs_25 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_32[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionResponse_IEs__value, choice.RICrequestID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICrequestID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionResponse_IEs__value, choice.RANfunctionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionResponse_IEs__value, choice.RICaction_Admitted_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICaction_Admitted_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICaction-Admitted-List" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionResponse_IEs__value, choice.RICaction_NotAdmitted_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICaction_NotAdmitted_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICaction-NotAdmitted-List" - }, -}; -static const unsigned asn_MAP_value_to_canonical_32[] = { 1, 0, 2, 3 }; -static const unsigned asn_MAP_value_from_canonical_32[] = { 1, 0, 2, 3 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_32[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* RANfunctionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 2 }, /* RICrequestID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -1, 1 }, /* RICaction-Admitted-List */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -2, 0 } /* RICaction-NotAdmitted-List */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_32 = { - sizeof(struct RICsubscriptionResponse_IEs__value), - offsetof(struct RICsubscriptionResponse_IEs__value, _asn_ctx), - offsetof(struct RICsubscriptionResponse_IEs__value, present), - sizeof(((struct RICsubscriptionResponse_IEs__value *)0)->present), - asn_MAP_value_tag2el_32, - 4, /* Count of tags in the map */ - asn_MAP_value_to_canonical_32, - asn_MAP_value_from_canonical_32, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_32 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_32, - 4, /* Elements count */ - &asn_SPC_value_specs_32 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICsubscriptionResponse_IEs_29[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionResponse_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_30, memb_id_constraint_29 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionResponse_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICsubscriptionResponse_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_31, memb_criticality_constraint_29 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionResponse_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_32, - select_RICsubscriptionResponse_IEs_value_type, - { 0, &asn_PER_memb_value_constr_32, memb_value_constraint_29 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionResponse_IEs_tags_29[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionResponse_IEs_tag2el_29[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionResponse_IEs_specs_29 = { - sizeof(struct RICsubscriptionResponse_IEs), - offsetof(struct RICsubscriptionResponse_IEs, _asn_ctx), - asn_MAP_RICsubscriptionResponse_IEs_tag2el_29, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionResponse_IEs = { - "RICsubscriptionResponse-IEs", - "RICsubscriptionResponse-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionResponse_IEs_tags_29, - sizeof(asn_DEF_RICsubscriptionResponse_IEs_tags_29) - /sizeof(asn_DEF_RICsubscriptionResponse_IEs_tags_29[0]), /* 1 */ - asn_DEF_RICsubscriptionResponse_IEs_tags_29, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionResponse_IEs_tags_29) - /sizeof(asn_DEF_RICsubscriptionResponse_IEs_tags_29[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionResponse_IEs_29, - 3, /* Elements count */ - &asn_SPC_RICsubscriptionResponse_IEs_specs_29 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_36[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionFailure_IEs__value, choice.RICrequestID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICrequestID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionFailure_IEs__value, choice.RANfunctionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionFailure_IEs__value, choice.RICaction_NotAdmitted_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICaction_NotAdmitted_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICaction-NotAdmitted-List" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionFailure_IEs__value, choice.CriticalityDiagnostics), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CriticalityDiagnostics, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "CriticalityDiagnostics" - }, -}; -static const unsigned asn_MAP_value_to_canonical_36[] = { 1, 0, 2, 3 }; -static const unsigned asn_MAP_value_from_canonical_36[] = { 1, 0, 2, 3 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_36[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* RANfunctionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 2 }, /* RICrequestID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -1, 1 }, /* RICaction-NotAdmitted-List */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -2, 0 } /* CriticalityDiagnostics */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_36 = { - sizeof(struct RICsubscriptionFailure_IEs__value), - offsetof(struct RICsubscriptionFailure_IEs__value, _asn_ctx), - offsetof(struct RICsubscriptionFailure_IEs__value, present), - sizeof(((struct RICsubscriptionFailure_IEs__value *)0)->present), - asn_MAP_value_tag2el_36, - 4, /* Count of tags in the map */ - asn_MAP_value_to_canonical_36, - asn_MAP_value_from_canonical_36, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_36 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_36, - 4, /* Elements count */ - &asn_SPC_value_specs_36 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICsubscriptionFailure_IEs_33[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionFailure_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_34, memb_id_constraint_33 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionFailure_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICsubscriptionFailure_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_35, memb_criticality_constraint_33 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionFailure_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_36, - select_RICsubscriptionFailure_IEs_value_type, - { 0, &asn_PER_memb_value_constr_36, memb_value_constraint_33 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionFailure_IEs_tags_33[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionFailure_IEs_tag2el_33[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionFailure_IEs_specs_33 = { - sizeof(struct RICsubscriptionFailure_IEs), - offsetof(struct RICsubscriptionFailure_IEs, _asn_ctx), - asn_MAP_RICsubscriptionFailure_IEs_tag2el_33, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionFailure_IEs = { - "RICsubscriptionFailure-IEs", - "RICsubscriptionFailure-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionFailure_IEs_tags_33, - sizeof(asn_DEF_RICsubscriptionFailure_IEs_tags_33) - /sizeof(asn_DEF_RICsubscriptionFailure_IEs_tags_33[0]), /* 1 */ - asn_DEF_RICsubscriptionFailure_IEs_tags_33, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionFailure_IEs_tags_33) - /sizeof(asn_DEF_RICsubscriptionFailure_IEs_tags_33[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionFailure_IEs_33, - 3, /* Elements count */ - &asn_SPC_RICsubscriptionFailure_IEs_specs_33 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_40[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteRequest_IEs__value, choice.RICrequestID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICrequestID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteRequest_IEs__value, choice.RANfunctionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID" - }, -}; -static const unsigned asn_MAP_value_to_canonical_40[] = { 1, 0 }; -static const unsigned asn_MAP_value_from_canonical_40[] = { 1, 0 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_40[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* RANfunctionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RICrequestID */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_40 = { - sizeof(struct RICsubscriptionDeleteRequest_IEs__value), - offsetof(struct RICsubscriptionDeleteRequest_IEs__value, _asn_ctx), - offsetof(struct RICsubscriptionDeleteRequest_IEs__value, present), - sizeof(((struct RICsubscriptionDeleteRequest_IEs__value *)0)->present), - asn_MAP_value_tag2el_40, - 2, /* Count of tags in the map */ - asn_MAP_value_to_canonical_40, - asn_MAP_value_from_canonical_40, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_40 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_40, - 2, /* Elements count */ - &asn_SPC_value_specs_40 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteRequest_IEs_37[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteRequest_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_38, memb_id_constraint_37 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteRequest_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICsubscriptionDeleteRequest_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_39, memb_criticality_constraint_37 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteRequest_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_40, - select_RICsubscriptionDeleteRequest_IEs_value_type, - { 0, &asn_PER_memb_value_constr_40, memb_value_constraint_37 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionDeleteRequest_IEs_tags_37[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionDeleteRequest_IEs_tag2el_37[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteRequest_IEs_specs_37 = { - sizeof(struct RICsubscriptionDeleteRequest_IEs), - offsetof(struct RICsubscriptionDeleteRequest_IEs, _asn_ctx), - asn_MAP_RICsubscriptionDeleteRequest_IEs_tag2el_37, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteRequest_IEs = { - "RICsubscriptionDeleteRequest-IEs", - "RICsubscriptionDeleteRequest-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionDeleteRequest_IEs_tags_37, - sizeof(asn_DEF_RICsubscriptionDeleteRequest_IEs_tags_37) - /sizeof(asn_DEF_RICsubscriptionDeleteRequest_IEs_tags_37[0]), /* 1 */ - asn_DEF_RICsubscriptionDeleteRequest_IEs_tags_37, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionDeleteRequest_IEs_tags_37) - /sizeof(asn_DEF_RICsubscriptionDeleteRequest_IEs_tags_37[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionDeleteRequest_IEs_37, - 3, /* Elements count */ - &asn_SPC_RICsubscriptionDeleteRequest_IEs_specs_37 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_44[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteResponse_IEs__value, choice.RICrequestID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICrequestID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteResponse_IEs__value, choice.RANfunctionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID" - }, -}; -static const unsigned asn_MAP_value_to_canonical_44[] = { 1, 0 }; -static const unsigned asn_MAP_value_from_canonical_44[] = { 1, 0 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_44[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* RANfunctionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RICrequestID */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_44 = { - sizeof(struct RICsubscriptionDeleteResponse_IEs__value), - offsetof(struct RICsubscriptionDeleteResponse_IEs__value, _asn_ctx), - offsetof(struct RICsubscriptionDeleteResponse_IEs__value, present), - sizeof(((struct RICsubscriptionDeleteResponse_IEs__value *)0)->present), - asn_MAP_value_tag2el_44, - 2, /* Count of tags in the map */ - asn_MAP_value_to_canonical_44, - asn_MAP_value_from_canonical_44, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_44 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_44, - 2, /* Elements count */ - &asn_SPC_value_specs_44 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteResponse_IEs_41[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteResponse_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_42, memb_id_constraint_41 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteResponse_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICsubscriptionDeleteResponse_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_43, memb_criticality_constraint_41 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteResponse_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_44, - select_RICsubscriptionDeleteResponse_IEs_value_type, - { 0, &asn_PER_memb_value_constr_44, memb_value_constraint_41 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionDeleteResponse_IEs_tags_41[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionDeleteResponse_IEs_tag2el_41[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteResponse_IEs_specs_41 = { - sizeof(struct RICsubscriptionDeleteResponse_IEs), - offsetof(struct RICsubscriptionDeleteResponse_IEs, _asn_ctx), - asn_MAP_RICsubscriptionDeleteResponse_IEs_tag2el_41, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteResponse_IEs = { - "RICsubscriptionDeleteResponse-IEs", - "RICsubscriptionDeleteResponse-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionDeleteResponse_IEs_tags_41, - sizeof(asn_DEF_RICsubscriptionDeleteResponse_IEs_tags_41) - /sizeof(asn_DEF_RICsubscriptionDeleteResponse_IEs_tags_41[0]), /* 1 */ - asn_DEF_RICsubscriptionDeleteResponse_IEs_tags_41, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionDeleteResponse_IEs_tags_41) - /sizeof(asn_DEF_RICsubscriptionDeleteResponse_IEs_tags_41[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionDeleteResponse_IEs_41, - 3, /* Elements count */ - &asn_SPC_RICsubscriptionDeleteResponse_IEs_specs_41 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_48[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteFailure_IEs__value, choice.RICrequestID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICrequestID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteFailure_IEs__value, choice.RANfunctionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteFailure_IEs__value, choice.Cause), - -1 /* Ambiguous tag (CHOICE?) */, - 0, - &asn_DEF_Cause, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "Cause" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteFailure_IEs__value, choice.CriticalityDiagnostics), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CriticalityDiagnostics, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "CriticalityDiagnostics" - }, -}; -static const unsigned asn_MAP_value_to_canonical_48[] = { 1, 0, 3, 2 }; -static const unsigned asn_MAP_value_from_canonical_48[] = { 1, 0, 3, 2 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_48[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* RANfunctionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* RICrequestID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -1, 0 }, /* CriticalityDiagnostics */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* ricRequest */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 }, /* ricService */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* transport */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 }, /* protocol */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 2, 0, 0 } /* misc */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_48 = { - sizeof(struct RICsubscriptionDeleteFailure_IEs__value), - offsetof(struct RICsubscriptionDeleteFailure_IEs__value, _asn_ctx), - offsetof(struct RICsubscriptionDeleteFailure_IEs__value, present), - sizeof(((struct RICsubscriptionDeleteFailure_IEs__value *)0)->present), - asn_MAP_value_tag2el_48, - 8, /* Count of tags in the map */ - asn_MAP_value_to_canonical_48, - asn_MAP_value_from_canonical_48, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_48 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_48, - 4, /* Elements count */ - &asn_SPC_value_specs_48 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteFailure_IEs_45[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteFailure_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_46, memb_id_constraint_45 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteFailure_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICsubscriptionDeleteFailure_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_47, memb_criticality_constraint_45 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteFailure_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_48, - select_RICsubscriptionDeleteFailure_IEs_value_type, - { 0, &asn_PER_memb_value_constr_48, memb_value_constraint_45 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionDeleteFailure_IEs_tags_45[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionDeleteFailure_IEs_tag2el_45[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteFailure_IEs_specs_45 = { - sizeof(struct RICsubscriptionDeleteFailure_IEs), - offsetof(struct RICsubscriptionDeleteFailure_IEs, _asn_ctx), - asn_MAP_RICsubscriptionDeleteFailure_IEs_tag2el_45, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteFailure_IEs = { - "RICsubscriptionDeleteFailure-IEs", - "RICsubscriptionDeleteFailure-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionDeleteFailure_IEs_tags_45, - sizeof(asn_DEF_RICsubscriptionDeleteFailure_IEs_tags_45) - /sizeof(asn_DEF_RICsubscriptionDeleteFailure_IEs_tags_45[0]), /* 1 */ - asn_DEF_RICsubscriptionDeleteFailure_IEs_tags_45, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionDeleteFailure_IEs_tags_45) - /sizeof(asn_DEF_RICsubscriptionDeleteFailure_IEs_tags_45[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionDeleteFailure_IEs_45, - 3, /* Elements count */ - &asn_SPC_RICsubscriptionDeleteFailure_IEs_specs_45 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_52[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICindication_IEs__value, choice.RICrequestID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICrequestID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICindication_IEs__value, choice.RANfunctionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICindication_IEs__value, choice.RICactionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RICactionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICactionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICindication_IEs__value, choice.RICindicationSN), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RICindicationSN, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICindicationSN" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICindication_IEs__value, choice.RICindicationType), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_RICindicationType, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICindicationType" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICindication_IEs__value, choice.RICindicationHeader), - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_RICindicationHeader, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICindicationHeader" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICindication_IEs__value, choice.RICindicationMessage), - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_RICindicationMessage, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICindicationMessage" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICindication_IEs__value, choice.RICcallProcessID), - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_RICcallProcessID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcallProcessID" - }, -}; -static const unsigned asn_MAP_value_to_canonical_52[] = { 1, 2, 3, 5, 6, 7, 4, 0 }; -static const unsigned asn_MAP_value_from_canonical_52[] = { 7, 0, 1, 2, 6, 3, 4, 5 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_52[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 2 }, /* RANfunctionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, -1, 1 }, /* RICactionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, -2, 0 }, /* RICindicationSN */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 5, 0, 2 }, /* RICindicationHeader */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 6, -1, 1 }, /* RICindicationMessage */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 7, -2, 0 }, /* RICcallProcessID */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 4, 0, 0 }, /* RICindicationType */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RICrequestID */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_52 = { - sizeof(struct RICindication_IEs__value), - offsetof(struct RICindication_IEs__value, _asn_ctx), - offsetof(struct RICindication_IEs__value, present), - sizeof(((struct RICindication_IEs__value *)0)->present), - asn_MAP_value_tag2el_52, - 8, /* Count of tags in the map */ - asn_MAP_value_to_canonical_52, - asn_MAP_value_from_canonical_52, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_52 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_52, - 8, /* Elements count */ - &asn_SPC_value_specs_52 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICindication_IEs_49[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICindication_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_50, memb_id_constraint_49 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICindication_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICindication_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_51, memb_criticality_constraint_49 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICindication_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_52, - select_RICindication_IEs_value_type, - { 0, &asn_PER_memb_value_constr_52, memb_value_constraint_49 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICindication_IEs_tags_49[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICindication_IEs_tag2el_49[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICindication_IEs_specs_49 = { - sizeof(struct RICindication_IEs), - offsetof(struct RICindication_IEs, _asn_ctx), - asn_MAP_RICindication_IEs_tag2el_49, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICindication_IEs = { - "RICindication-IEs", - "RICindication-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICindication_IEs_tags_49, - sizeof(asn_DEF_RICindication_IEs_tags_49) - /sizeof(asn_DEF_RICindication_IEs_tags_49[0]), /* 1 */ - asn_DEF_RICindication_IEs_tags_49, /* Same as above */ - sizeof(asn_DEF_RICindication_IEs_tags_49) - /sizeof(asn_DEF_RICindication_IEs_tags_49[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICindication_IEs_49, - 3, /* Elements count */ - &asn_SPC_RICindication_IEs_specs_49 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_56[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolRequest_IEs__value, choice.RICrequestID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICrequestID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolRequest_IEs__value, choice.RANfunctionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolRequest_IEs__value, choice.RICcallProcessID), - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_RICcallProcessID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcallProcessID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolRequest_IEs__value, choice.RICcontrolHeader), - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_RICcontrolHeader, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcontrolHeader" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolRequest_IEs__value, choice.RICcontrolMessage), - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_RICcontrolMessage, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcontrolMessage" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolRequest_IEs__value, choice.RICcontrolAckRequest), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_RICcontrolAckRequest, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcontrolAckRequest" - }, -}; -static const unsigned asn_MAP_value_to_canonical_56[] = { 1, 2, 3, 4, 5, 0 }; -static const unsigned asn_MAP_value_from_canonical_56[] = { 5, 0, 1, 2, 3, 4 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_56[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* RANfunctionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 2, 0, 2 }, /* RICcallProcessID */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 3, -1, 1 }, /* RICcontrolHeader */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 4, -2, 0 }, /* RICcontrolMessage */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 5, 0, 0 }, /* RICcontrolAckRequest */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RICrequestID */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_56 = { - sizeof(struct RICcontrolRequest_IEs__value), - offsetof(struct RICcontrolRequest_IEs__value, _asn_ctx), - offsetof(struct RICcontrolRequest_IEs__value, present), - sizeof(((struct RICcontrolRequest_IEs__value *)0)->present), - asn_MAP_value_tag2el_56, - 6, /* Count of tags in the map */ - asn_MAP_value_to_canonical_56, - asn_MAP_value_from_canonical_56, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_56 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_56, - 6, /* Elements count */ - &asn_SPC_value_specs_56 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICcontrolRequest_IEs_53[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolRequest_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_54, memb_id_constraint_53 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolRequest_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICcontrolRequest_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_55, memb_criticality_constraint_53 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICcontrolRequest_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_56, - select_RICcontrolRequest_IEs_value_type, - { 0, &asn_PER_memb_value_constr_56, memb_value_constraint_53 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICcontrolRequest_IEs_tags_53[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICcontrolRequest_IEs_tag2el_53[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICcontrolRequest_IEs_specs_53 = { - sizeof(struct RICcontrolRequest_IEs), - offsetof(struct RICcontrolRequest_IEs, _asn_ctx), - asn_MAP_RICcontrolRequest_IEs_tag2el_53, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICcontrolRequest_IEs = { - "RICcontrolRequest-IEs", - "RICcontrolRequest-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICcontrolRequest_IEs_tags_53, - sizeof(asn_DEF_RICcontrolRequest_IEs_tags_53) - /sizeof(asn_DEF_RICcontrolRequest_IEs_tags_53[0]), /* 1 */ - asn_DEF_RICcontrolRequest_IEs_tags_53, /* Same as above */ - sizeof(asn_DEF_RICcontrolRequest_IEs_tags_53) - /sizeof(asn_DEF_RICcontrolRequest_IEs_tags_53[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICcontrolRequest_IEs_53, - 3, /* Elements count */ - &asn_SPC_RICcontrolRequest_IEs_specs_53 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_60[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolAcknowledge_IEs__value, choice.RICrequestID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICrequestID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolAcknowledge_IEs__value, choice.RANfunctionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolAcknowledge_IEs__value, choice.RICcallProcessID), - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_RICcallProcessID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcallProcessID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolAcknowledge_IEs__value, choice.RICcontrolStatus), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_RICcontrolStatus, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcontrolStatus" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolAcknowledge_IEs__value, choice.RICcontrolOutcome), - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_RICcontrolOutcome, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcontrolOutcome" - }, -}; -static const unsigned asn_MAP_value_to_canonical_60[] = { 1, 2, 4, 3, 0 }; -static const unsigned asn_MAP_value_from_canonical_60[] = { 4, 0, 1, 3, 2 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_60[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* RANfunctionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 2, 0, 1 }, /* RICcallProcessID */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 4, -1, 0 }, /* RICcontrolOutcome */ - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 3, 0, 0 }, /* RICcontrolStatus */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RICrequestID */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_60 = { - sizeof(struct RICcontrolAcknowledge_IEs__value), - offsetof(struct RICcontrolAcknowledge_IEs__value, _asn_ctx), - offsetof(struct RICcontrolAcknowledge_IEs__value, present), - sizeof(((struct RICcontrolAcknowledge_IEs__value *)0)->present), - asn_MAP_value_tag2el_60, - 5, /* Count of tags in the map */ - asn_MAP_value_to_canonical_60, - asn_MAP_value_from_canonical_60, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_60 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_60, - 5, /* Elements count */ - &asn_SPC_value_specs_60 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICcontrolAcknowledge_IEs_57[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolAcknowledge_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_58, memb_id_constraint_57 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolAcknowledge_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICcontrolAcknowledge_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_59, memb_criticality_constraint_57 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICcontrolAcknowledge_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_60, - select_RICcontrolAcknowledge_IEs_value_type, - { 0, &asn_PER_memb_value_constr_60, memb_value_constraint_57 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICcontrolAcknowledge_IEs_tags_57[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICcontrolAcknowledge_IEs_tag2el_57[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICcontrolAcknowledge_IEs_specs_57 = { - sizeof(struct RICcontrolAcknowledge_IEs), - offsetof(struct RICcontrolAcknowledge_IEs, _asn_ctx), - asn_MAP_RICcontrolAcknowledge_IEs_tag2el_57, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICcontrolAcknowledge_IEs = { - "RICcontrolAcknowledge-IEs", - "RICcontrolAcknowledge-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICcontrolAcknowledge_IEs_tags_57, - sizeof(asn_DEF_RICcontrolAcknowledge_IEs_tags_57) - /sizeof(asn_DEF_RICcontrolAcknowledge_IEs_tags_57[0]), /* 1 */ - asn_DEF_RICcontrolAcknowledge_IEs_tags_57, /* Same as above */ - sizeof(asn_DEF_RICcontrolAcknowledge_IEs_tags_57) - /sizeof(asn_DEF_RICcontrolAcknowledge_IEs_tags_57[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICcontrolAcknowledge_IEs_57, - 3, /* Elements count */ - &asn_SPC_RICcontrolAcknowledge_IEs_specs_57 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_64[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolFailure_IEs__value, choice.RICrequestID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICrequestID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolFailure_IEs__value, choice.RANfunctionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolFailure_IEs__value, choice.RICcallProcessID), - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_RICcallProcessID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcallProcessID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolFailure_IEs__value, choice.Cause), - -1 /* Ambiguous tag (CHOICE?) */, - 0, - &asn_DEF_Cause, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "Cause" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolFailure_IEs__value, choice.RICcontrolOutcome), - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), - 0, - &asn_DEF_RICcontrolOutcome, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcontrolOutcome" - }, -}; -static const unsigned asn_MAP_value_to_canonical_64[] = { 1, 2, 4, 0, 3 }; -static const unsigned asn_MAP_value_from_canonical_64[] = { 3, 0, 1, 4, 2 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_64[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* RANfunctionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 2, 0, 1 }, /* RICcallProcessID */ - { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 4, -1, 0 }, /* RICcontrolOutcome */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* RICrequestID */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 3, 0, 0 }, /* ricRequest */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 3, 0, 0 }, /* ricService */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 3, 0, 0 }, /* transport */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* protocol */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 3, 0, 0 } /* misc */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_64 = { - sizeof(struct RICcontrolFailure_IEs__value), - offsetof(struct RICcontrolFailure_IEs__value, _asn_ctx), - offsetof(struct RICcontrolFailure_IEs__value, present), - sizeof(((struct RICcontrolFailure_IEs__value *)0)->present), - asn_MAP_value_tag2el_64, - 9, /* Count of tags in the map */ - asn_MAP_value_to_canonical_64, - asn_MAP_value_from_canonical_64, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_64 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_64, - 5, /* Elements count */ - &asn_SPC_value_specs_64 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICcontrolFailure_IEs_61[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolFailure_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_62, memb_id_constraint_61 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolFailure_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICcontrolFailure_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_63, memb_criticality_constraint_61 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICcontrolFailure_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_64, - select_RICcontrolFailure_IEs_value_type, - { 0, &asn_PER_memb_value_constr_64, memb_value_constraint_61 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICcontrolFailure_IEs_tags_61[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICcontrolFailure_IEs_tag2el_61[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICcontrolFailure_IEs_specs_61 = { - sizeof(struct RICcontrolFailure_IEs), - offsetof(struct RICcontrolFailure_IEs, _asn_ctx), - asn_MAP_RICcontrolFailure_IEs_tag2el_61, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICcontrolFailure_IEs = { - "RICcontrolFailure-IEs", - "RICcontrolFailure-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICcontrolFailure_IEs_tags_61, - sizeof(asn_DEF_RICcontrolFailure_IEs_tags_61) - /sizeof(asn_DEF_RICcontrolFailure_IEs_tags_61[0]), /* 1 */ - asn_DEF_RICcontrolFailure_IEs_tags_61, /* Same as above */ - sizeof(asn_DEF_RICcontrolFailure_IEs_tags_61) - /sizeof(asn_DEF_RICcontrolFailure_IEs_tags_61[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICcontrolFailure_IEs_61, - 3, /* Elements count */ - &asn_SPC_RICcontrolFailure_IEs_specs_61 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_68[] = { - { ATF_NOFLAGS, 0, offsetof(struct ErrorIndication_IEs__value, choice.RICrequestID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICrequestID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICrequestID" - }, - { ATF_NOFLAGS, 0, offsetof(struct ErrorIndication_IEs__value, choice.RANfunctionID), - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), - 0, - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct ErrorIndication_IEs__value, choice.Cause), - -1 /* Ambiguous tag (CHOICE?) */, - 0, - &asn_DEF_Cause, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "Cause" - }, - { ATF_NOFLAGS, 0, offsetof(struct ErrorIndication_IEs__value, choice.CriticalityDiagnostics), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CriticalityDiagnostics, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "CriticalityDiagnostics" - }, -}; -static const unsigned asn_MAP_value_to_canonical_68[] = { 1, 0, 3, 2 }; -static const unsigned asn_MAP_value_from_canonical_68[] = { 1, 0, 3, 2 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_68[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* RANfunctionID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* RICrequestID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -1, 0 }, /* CriticalityDiagnostics */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* ricRequest */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 }, /* ricService */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* transport */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 }, /* protocol */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 2, 0, 0 } /* misc */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_68 = { - sizeof(struct ErrorIndication_IEs__value), - offsetof(struct ErrorIndication_IEs__value, _asn_ctx), - offsetof(struct ErrorIndication_IEs__value, present), - sizeof(((struct ErrorIndication_IEs__value *)0)->present), - asn_MAP_value_tag2el_68, - 8, /* Count of tags in the map */ - asn_MAP_value_to_canonical_68, - asn_MAP_value_from_canonical_68, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_68 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_68, - 4, /* Elements count */ - &asn_SPC_value_specs_68 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ErrorIndication_IEs_65[] = { - { ATF_NOFLAGS, 0, offsetof(struct ErrorIndication_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_66, memb_id_constraint_65 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct ErrorIndication_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_ErrorIndication_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_67, memb_criticality_constraint_65 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct ErrorIndication_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_68, - select_ErrorIndication_IEs_value_type, - { 0, &asn_PER_memb_value_constr_68, memb_value_constraint_65 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_ErrorIndication_IEs_tags_65[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_ErrorIndication_IEs_tag2el_65[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_ErrorIndication_IEs_specs_65 = { - sizeof(struct ErrorIndication_IEs), - offsetof(struct ErrorIndication_IEs, _asn_ctx), - asn_MAP_ErrorIndication_IEs_tag2el_65, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_ErrorIndication_IEs = { - "ErrorIndication-IEs", - "ErrorIndication-IEs", - &asn_OP_SEQUENCE, - asn_DEF_ErrorIndication_IEs_tags_65, - sizeof(asn_DEF_ErrorIndication_IEs_tags_65) - /sizeof(asn_DEF_ErrorIndication_IEs_tags_65[0]), /* 1 */ - asn_DEF_ErrorIndication_IEs_tags_65, /* Same as above */ - sizeof(asn_DEF_ErrorIndication_IEs_tags_65) - /sizeof(asn_DEF_ErrorIndication_IEs_tags_65[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_ErrorIndication_IEs_65, - 3, /* Elements count */ - &asn_SPC_ErrorIndication_IEs_specs_65 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_72[] = { - { ATF_NOFLAGS, 0, offsetof(struct E2setupRequestIEs__value, choice.GlobalE2node_ID), - -1 /* Ambiguous tag (CHOICE?) */, - 0, - &asn_DEF_GlobalE2node_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "GlobalE2node-ID" - }, - { ATF_NOFLAGS, 0, offsetof(struct E2setupRequestIEs__value, choice.RANfunctions_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunctions_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctions-List" - }, -}; -static const unsigned asn_MAP_value_to_canonical_72[] = { 1, 0 }; -static const unsigned asn_MAP_value_from_canonical_72[] = { 1, 0 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_72[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 }, /* RANfunctions-List */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gNB */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* en-gNB */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* ng-eNB */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* eNB */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_72 = { - sizeof(struct E2setupRequestIEs__value), - offsetof(struct E2setupRequestIEs__value, _asn_ctx), - offsetof(struct E2setupRequestIEs__value, present), - sizeof(((struct E2setupRequestIEs__value *)0)->present), - asn_MAP_value_tag2el_72, - 5, /* Count of tags in the map */ - asn_MAP_value_to_canonical_72, - asn_MAP_value_from_canonical_72, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_72 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_72, - 2, /* Elements count */ - &asn_SPC_value_specs_72 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_E2setupRequestIEs_69[] = { - { ATF_NOFLAGS, 0, offsetof(struct E2setupRequestIEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_70, memb_id_constraint_69 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct E2setupRequestIEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_E2setupRequestIEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_71, memb_criticality_constraint_69 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct E2setupRequestIEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_72, - select_E2setupRequestIEs_value_type, - { 0, &asn_PER_memb_value_constr_72, memb_value_constraint_69 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_E2setupRequestIEs_tags_69[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_E2setupRequestIEs_tag2el_69[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_E2setupRequestIEs_specs_69 = { - sizeof(struct E2setupRequestIEs), - offsetof(struct E2setupRequestIEs, _asn_ctx), - asn_MAP_E2setupRequestIEs_tag2el_69, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_E2setupRequestIEs = { - "E2setupRequestIEs", - "E2setupRequestIEs", - &asn_OP_SEQUENCE, - asn_DEF_E2setupRequestIEs_tags_69, - sizeof(asn_DEF_E2setupRequestIEs_tags_69) - /sizeof(asn_DEF_E2setupRequestIEs_tags_69[0]), /* 1 */ - asn_DEF_E2setupRequestIEs_tags_69, /* Same as above */ - sizeof(asn_DEF_E2setupRequestIEs_tags_69) - /sizeof(asn_DEF_E2setupRequestIEs_tags_69[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_E2setupRequestIEs_69, - 3, /* Elements count */ - &asn_SPC_E2setupRequestIEs_specs_69 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_76[] = { - { ATF_NOFLAGS, 0, offsetof(struct E2setupResponseIEs__value, choice.GlobalRIC_ID), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_GlobalRIC_ID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "GlobalRIC-ID" - }, - { ATF_NOFLAGS, 0, offsetof(struct E2setupResponseIEs__value, choice.RANfunctionsID_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunctionsID_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionsID-List" - }, - { ATF_NOFLAGS, 0, offsetof(struct E2setupResponseIEs__value, choice.RANfunctionsIDcause_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunctionsIDcause_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionsIDcause-List" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_76[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 2 }, /* GlobalRIC-ID */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 1 }, /* RANfunctionsID-List */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 0 } /* RANfunctionsIDcause-List */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_76 = { - sizeof(struct E2setupResponseIEs__value), - offsetof(struct E2setupResponseIEs__value, _asn_ctx), - offsetof(struct E2setupResponseIEs__value, present), - sizeof(((struct E2setupResponseIEs__value *)0)->present), - asn_MAP_value_tag2el_76, - 3, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_76 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_76, - 3, /* Elements count */ - &asn_SPC_value_specs_76 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_E2setupResponseIEs_73[] = { - { ATF_NOFLAGS, 0, offsetof(struct E2setupResponseIEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_74, memb_id_constraint_73 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct E2setupResponseIEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_E2setupResponseIEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_75, memb_criticality_constraint_73 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct E2setupResponseIEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_76, - select_E2setupResponseIEs_value_type, - { 0, &asn_PER_memb_value_constr_76, memb_value_constraint_73 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_E2setupResponseIEs_tags_73[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_E2setupResponseIEs_tag2el_73[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_E2setupResponseIEs_specs_73 = { - sizeof(struct E2setupResponseIEs), - offsetof(struct E2setupResponseIEs, _asn_ctx), - asn_MAP_E2setupResponseIEs_tag2el_73, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_E2setupResponseIEs = { - "E2setupResponseIEs", - "E2setupResponseIEs", - &asn_OP_SEQUENCE, - asn_DEF_E2setupResponseIEs_tags_73, - sizeof(asn_DEF_E2setupResponseIEs_tags_73) - /sizeof(asn_DEF_E2setupResponseIEs_tags_73[0]), /* 1 */ - asn_DEF_E2setupResponseIEs_tags_73, /* Same as above */ - sizeof(asn_DEF_E2setupResponseIEs_tags_73) - /sizeof(asn_DEF_E2setupResponseIEs_tags_73[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_E2setupResponseIEs_73, - 3, /* Elements count */ - &asn_SPC_E2setupResponseIEs_specs_73 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_80[] = { - { ATF_NOFLAGS, 0, offsetof(struct E2setupFailureIEs__value, choice.Cause), - -1 /* Ambiguous tag (CHOICE?) */, - 0, - &asn_DEF_Cause, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "Cause" - }, - { ATF_NOFLAGS, 0, offsetof(struct E2setupFailureIEs__value, choice.TimeToWait), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_TimeToWait, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "TimeToWait" - }, - { ATF_NOFLAGS, 0, offsetof(struct E2setupFailureIEs__value, choice.CriticalityDiagnostics), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CriticalityDiagnostics, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "CriticalityDiagnostics" - }, -}; -static const unsigned asn_MAP_value_to_canonical_80[] = { 1, 2, 0 }; -static const unsigned asn_MAP_value_from_canonical_80[] = { 2, 0, 1 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_80[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 }, /* TimeToWait */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 }, /* CriticalityDiagnostics */ - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ricRequest */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* ricService */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* transport */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 }, /* protocol */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 0, 0, 0 } /* misc */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_80 = { - sizeof(struct E2setupFailureIEs__value), - offsetof(struct E2setupFailureIEs__value, _asn_ctx), - offsetof(struct E2setupFailureIEs__value, present), - sizeof(((struct E2setupFailureIEs__value *)0)->present), - asn_MAP_value_tag2el_80, - 7, /* Count of tags in the map */ - asn_MAP_value_to_canonical_80, - asn_MAP_value_from_canonical_80, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_80 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_80, - 3, /* Elements count */ - &asn_SPC_value_specs_80 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_E2setupFailureIEs_77[] = { - { ATF_NOFLAGS, 0, offsetof(struct E2setupFailureIEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_78, memb_id_constraint_77 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct E2setupFailureIEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_E2setupFailureIEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_79, memb_criticality_constraint_77 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct E2setupFailureIEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_80, - select_E2setupFailureIEs_value_type, - { 0, &asn_PER_memb_value_constr_80, memb_value_constraint_77 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_E2setupFailureIEs_tags_77[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_E2setupFailureIEs_tag2el_77[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_E2setupFailureIEs_specs_77 = { - sizeof(struct E2setupFailureIEs), - offsetof(struct E2setupFailureIEs, _asn_ctx), - asn_MAP_E2setupFailureIEs_tag2el_77, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_E2setupFailureIEs = { - "E2setupFailureIEs", - "E2setupFailureIEs", - &asn_OP_SEQUENCE, - asn_DEF_E2setupFailureIEs_tags_77, - sizeof(asn_DEF_E2setupFailureIEs_tags_77) - /sizeof(asn_DEF_E2setupFailureIEs_tags_77[0]), /* 1 */ - asn_DEF_E2setupFailureIEs_tags_77, /* Same as above */ - sizeof(asn_DEF_E2setupFailureIEs_tags_77) - /sizeof(asn_DEF_E2setupFailureIEs_tags_77[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_E2setupFailureIEs_77, - 3, /* Elements count */ - &asn_SPC_E2setupFailureIEs_specs_77 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_84[] = { - { ATF_NOFLAGS, 0, offsetof(struct ResetRequestIEs__value, choice.Cause), - -1 /* Ambiguous tag (CHOICE?) */, - 0, - &asn_DEF_Cause, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "Cause" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_84[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ricRequest */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* ricService */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* transport */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 }, /* protocol */ - { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 0, 0, 0 } /* misc */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_84 = { - sizeof(struct ResetRequestIEs__value), - offsetof(struct ResetRequestIEs__value, _asn_ctx), - offsetof(struct ResetRequestIEs__value, present), - sizeof(((struct ResetRequestIEs__value *)0)->present), - asn_MAP_value_tag2el_84, - 5, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_84 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_84, - 1, /* Elements count */ - &asn_SPC_value_specs_84 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ResetRequestIEs_81[] = { - { ATF_NOFLAGS, 0, offsetof(struct ResetRequestIEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_82, memb_id_constraint_81 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct ResetRequestIEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_ResetRequestIEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_83, memb_criticality_constraint_81 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct ResetRequestIEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_84, - select_ResetRequestIEs_value_type, - { 0, &asn_PER_memb_value_constr_84, memb_value_constraint_81 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_ResetRequestIEs_tags_81[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_ResetRequestIEs_tag2el_81[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_ResetRequestIEs_specs_81 = { - sizeof(struct ResetRequestIEs), - offsetof(struct ResetRequestIEs, _asn_ctx), - asn_MAP_ResetRequestIEs_tag2el_81, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_ResetRequestIEs = { - "ResetRequestIEs", - "ResetRequestIEs", - &asn_OP_SEQUENCE, - asn_DEF_ResetRequestIEs_tags_81, - sizeof(asn_DEF_ResetRequestIEs_tags_81) - /sizeof(asn_DEF_ResetRequestIEs_tags_81[0]), /* 1 */ - asn_DEF_ResetRequestIEs_tags_81, /* Same as above */ - sizeof(asn_DEF_ResetRequestIEs_tags_81) - /sizeof(asn_DEF_ResetRequestIEs_tags_81[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_ResetRequestIEs_81, - 3, /* Elements count */ - &asn_SPC_ResetRequestIEs_specs_81 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_88[] = { - { ATF_NOFLAGS, 0, offsetof(struct ResetResponseIEs__value, choice.CriticalityDiagnostics), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CriticalityDiagnostics, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "CriticalityDiagnostics" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_88[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* CriticalityDiagnostics */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_88 = { - sizeof(struct ResetResponseIEs__value), - offsetof(struct ResetResponseIEs__value, _asn_ctx), - offsetof(struct ResetResponseIEs__value, present), - sizeof(((struct ResetResponseIEs__value *)0)->present), - asn_MAP_value_tag2el_88, - 1, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_88 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_88, - 1, /* Elements count */ - &asn_SPC_value_specs_88 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_ResetResponseIEs_85[] = { - { ATF_NOFLAGS, 0, offsetof(struct ResetResponseIEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_86, memb_id_constraint_85 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct ResetResponseIEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_ResetResponseIEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_87, memb_criticality_constraint_85 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct ResetResponseIEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_88, - select_ResetResponseIEs_value_type, - { 0, &asn_PER_memb_value_constr_88, memb_value_constraint_85 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_ResetResponseIEs_tags_85[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_ResetResponseIEs_tag2el_85[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_ResetResponseIEs_specs_85 = { - sizeof(struct ResetResponseIEs), - offsetof(struct ResetResponseIEs, _asn_ctx), - asn_MAP_ResetResponseIEs_tag2el_85, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_ResetResponseIEs = { - "ResetResponseIEs", - "ResetResponseIEs", - &asn_OP_SEQUENCE, - asn_DEF_ResetResponseIEs_tags_85, - sizeof(asn_DEF_ResetResponseIEs_tags_85) - /sizeof(asn_DEF_ResetResponseIEs_tags_85[0]), /* 1 */ - asn_DEF_ResetResponseIEs_tags_85, /* Same as above */ - sizeof(asn_DEF_ResetResponseIEs_tags_85) - /sizeof(asn_DEF_ResetResponseIEs_tags_85[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_ResetResponseIEs_85, - 3, /* Elements count */ - &asn_SPC_ResetResponseIEs_specs_85 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_92[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdate_IEs__value, choice.RANfunctions_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunctions_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctions-List" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdate_IEs__value, choice.RANfunctionsID_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunctionsID_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionsID-List" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_92[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* RANfunctions-List */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 0 } /* RANfunctionsID-List */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_92 = { - sizeof(struct RICserviceUpdate_IEs__value), - offsetof(struct RICserviceUpdate_IEs__value, _asn_ctx), - offsetof(struct RICserviceUpdate_IEs__value, present), - sizeof(((struct RICserviceUpdate_IEs__value *)0)->present), - asn_MAP_value_tag2el_92, - 2, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_92 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_92, - 2, /* Elements count */ - &asn_SPC_value_specs_92 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICserviceUpdate_IEs_89[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdate_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_90, memb_id_constraint_89 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdate_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICserviceUpdate_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_91, memb_criticality_constraint_89 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdate_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_92, - select_RICserviceUpdate_IEs_value_type, - { 0, &asn_PER_memb_value_constr_92, memb_value_constraint_89 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICserviceUpdate_IEs_tags_89[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICserviceUpdate_IEs_tag2el_89[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdate_IEs_specs_89 = { - sizeof(struct RICserviceUpdate_IEs), - offsetof(struct RICserviceUpdate_IEs, _asn_ctx), - asn_MAP_RICserviceUpdate_IEs_tag2el_89, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICserviceUpdate_IEs = { - "RICserviceUpdate-IEs", - "RICserviceUpdate-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICserviceUpdate_IEs_tags_89, - sizeof(asn_DEF_RICserviceUpdate_IEs_tags_89) - /sizeof(asn_DEF_RICserviceUpdate_IEs_tags_89[0]), /* 1 */ - asn_DEF_RICserviceUpdate_IEs_tags_89, /* Same as above */ - sizeof(asn_DEF_RICserviceUpdate_IEs_tags_89) - /sizeof(asn_DEF_RICserviceUpdate_IEs_tags_89[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICserviceUpdate_IEs_89, - 3, /* Elements count */ - &asn_SPC_RICserviceUpdate_IEs_specs_89 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_96[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateAcknowledge_IEs__value, choice.RANfunctionsID_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunctionsID_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionsID-List" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateAcknowledge_IEs__value, choice.RANfunctionsIDcause_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunctionsIDcause_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionsIDcause-List" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_96[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* RANfunctionsID-List */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 0 } /* RANfunctionsIDcause-List */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_96 = { - sizeof(struct RICserviceUpdateAcknowledge_IEs__value), - offsetof(struct RICserviceUpdateAcknowledge_IEs__value, _asn_ctx), - offsetof(struct RICserviceUpdateAcknowledge_IEs__value, present), - sizeof(((struct RICserviceUpdateAcknowledge_IEs__value *)0)->present), - asn_MAP_value_tag2el_96, - 2, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_96 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_96, - 2, /* Elements count */ - &asn_SPC_value_specs_96 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICserviceUpdateAcknowledge_IEs_93[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateAcknowledge_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_94, memb_id_constraint_93 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateAcknowledge_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICserviceUpdateAcknowledge_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_95, memb_criticality_constraint_93 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateAcknowledge_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_96, - select_RICserviceUpdateAcknowledge_IEs_value_type, - { 0, &asn_PER_memb_value_constr_96, memb_value_constraint_93 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICserviceUpdateAcknowledge_IEs_tags_93[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICserviceUpdateAcknowledge_IEs_tag2el_93[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdateAcknowledge_IEs_specs_93 = { - sizeof(struct RICserviceUpdateAcknowledge_IEs), - offsetof(struct RICserviceUpdateAcknowledge_IEs, _asn_ctx), - asn_MAP_RICserviceUpdateAcknowledge_IEs_tag2el_93, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICserviceUpdateAcknowledge_IEs = { - "RICserviceUpdateAcknowledge-IEs", - "RICserviceUpdateAcknowledge-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICserviceUpdateAcknowledge_IEs_tags_93, - sizeof(asn_DEF_RICserviceUpdateAcknowledge_IEs_tags_93) - /sizeof(asn_DEF_RICserviceUpdateAcknowledge_IEs_tags_93[0]), /* 1 */ - asn_DEF_RICserviceUpdateAcknowledge_IEs_tags_93, /* Same as above */ - sizeof(asn_DEF_RICserviceUpdateAcknowledge_IEs_tags_93) - /sizeof(asn_DEF_RICserviceUpdateAcknowledge_IEs_tags_93[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICserviceUpdateAcknowledge_IEs_93, - 3, /* Elements count */ - &asn_SPC_RICserviceUpdateAcknowledge_IEs_specs_93 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_100[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateFailure_IEs__value, choice.RANfunctionsIDcause_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunctionsIDcause_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionsIDcause-List" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateFailure_IEs__value, choice.TimeToWait), - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), - 0, - &asn_DEF_TimeToWait, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "TimeToWait" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateFailure_IEs__value, choice.CriticalityDiagnostics), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_CriticalityDiagnostics, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "CriticalityDiagnostics" - }, -}; -static const unsigned asn_MAP_value_to_canonical_100[] = { 1, 0, 2 }; -static const unsigned asn_MAP_value_from_canonical_100[] = { 1, 0, 2 }; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_100[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 }, /* TimeToWait */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* RANfunctionsIDcause-List */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -1, 0 } /* CriticalityDiagnostics */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_100 = { - sizeof(struct RICserviceUpdateFailure_IEs__value), - offsetof(struct RICserviceUpdateFailure_IEs__value, _asn_ctx), - offsetof(struct RICserviceUpdateFailure_IEs__value, present), - sizeof(((struct RICserviceUpdateFailure_IEs__value *)0)->present), - asn_MAP_value_tag2el_100, - 3, /* Count of tags in the map */ - asn_MAP_value_to_canonical_100, - asn_MAP_value_from_canonical_100, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_100 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_100, - 3, /* Elements count */ - &asn_SPC_value_specs_100 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICserviceUpdateFailure_IEs_97[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateFailure_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_98, memb_id_constraint_97 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateFailure_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICserviceUpdateFailure_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_99, memb_criticality_constraint_97 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateFailure_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_100, - select_RICserviceUpdateFailure_IEs_value_type, - { 0, &asn_PER_memb_value_constr_100, memb_value_constraint_97 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICserviceUpdateFailure_IEs_tags_97[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICserviceUpdateFailure_IEs_tag2el_97[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdateFailure_IEs_specs_97 = { - sizeof(struct RICserviceUpdateFailure_IEs), - offsetof(struct RICserviceUpdateFailure_IEs, _asn_ctx), - asn_MAP_RICserviceUpdateFailure_IEs_tag2el_97, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICserviceUpdateFailure_IEs = { - "RICserviceUpdateFailure-IEs", - "RICserviceUpdateFailure-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICserviceUpdateFailure_IEs_tags_97, - sizeof(asn_DEF_RICserviceUpdateFailure_IEs_tags_97) - /sizeof(asn_DEF_RICserviceUpdateFailure_IEs_tags_97[0]), /* 1 */ - asn_DEF_RICserviceUpdateFailure_IEs_tags_97, /* Same as above */ - sizeof(asn_DEF_RICserviceUpdateFailure_IEs_tags_97) - /sizeof(asn_DEF_RICserviceUpdateFailure_IEs_tags_97[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICserviceUpdateFailure_IEs_97, - 3, /* Elements count */ - &asn_SPC_RICserviceUpdateFailure_IEs_specs_97 /* Additional specs */ -}; - -static asn_TYPE_member_t asn_MBR_value_104[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceQuery_IEs__value, choice.RANfunctionsID_List), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANfunctionsID_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RANfunctionsID-List" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_104[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* RANfunctionsID-List */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_104 = { - sizeof(struct RICserviceQuery_IEs__value), - offsetof(struct RICserviceQuery_IEs__value, _asn_ctx), - offsetof(struct RICserviceQuery_IEs__value, present), - sizeof(((struct RICserviceQuery_IEs__value *)0)->present), - asn_MAP_value_tag2el_104, - 1, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_104 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_104, - 1, /* Elements count */ - &asn_SPC_value_specs_104 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_RICserviceQuery_IEs_101[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceQuery_IEs, id), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_ID, - 0, - { 0, &asn_PER_memb_id_constr_102, memb_id_constraint_101 }, - 0, 0, /* No default value */ - "id" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICserviceQuery_IEs, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_RICserviceQuery_IEs_criticality_type, - { 0, &asn_PER_memb_criticality_constr_103, memb_criticality_constraint_101 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct RICserviceQuery_IEs, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_104, - select_RICserviceQuery_IEs_value_type, - { 0, &asn_PER_memb_value_constr_104, memb_value_constraint_101 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICserviceQuery_IEs_tags_101[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICserviceQuery_IEs_tag2el_101[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICserviceQuery_IEs_specs_101 = { - sizeof(struct RICserviceQuery_IEs), - offsetof(struct RICserviceQuery_IEs, _asn_ctx), - asn_MAP_RICserviceQuery_IEs_tag2el_101, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICserviceQuery_IEs = { - "RICserviceQuery-IEs", - "RICserviceQuery-IEs", - &asn_OP_SEQUENCE, - asn_DEF_RICserviceQuery_IEs_tags_101, - sizeof(asn_DEF_RICserviceQuery_IEs_tags_101) - /sizeof(asn_DEF_RICserviceQuery_IEs_tags_101[0]), /* 1 */ - asn_DEF_RICserviceQuery_IEs_tags_101, /* Same as above */ - sizeof(asn_DEF_RICserviceQuery_IEs_tags_101) - /sizeof(asn_DEF_RICserviceQuery_IEs_tags_101[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICserviceQuery_IEs_101, - 3, /* Elements count */ - &asn_SPC_RICserviceQuery_IEs_specs_101 /* Additional specs */ -}; - diff --git a/asn1c_defs/ProtocolIE-Field.h b/asn1c_defs/ProtocolIE-Field.h deleted file mode 100644 index 335c767..0000000 --- a/asn1c_defs/ProtocolIE-Field.h +++ /dev/null @@ -1,757 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ProtocolIE_Field_H_ -#define _ProtocolIE_Field_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-ID.h" -#include "Criticality.h" -#include -#include -#include "RICaction-ToBeSetup-Item.h" -#include "Presence.h" -#include -#include -#include -#include "RICaction-Admitted-Item.h" -#include "RICaction-NotAdmitted-Item.h" -#include "RANfunction-Item.h" -#include "RANfunctionID-Item.h" -#include "RANfunctionIDcause-Item.h" -#include "RICrequestID.h" -#include "RANfunctionID.h" -#include "RICsubscriptionDetails.h" -#include "RICaction-Admitted-List.h" -#include "RICaction-NotAdmitted-List.h" -#include "CriticalityDiagnostics.h" -#include "Cause.h" -#include "RICactionID.h" -#include "RICindicationSN.h" -#include "RICindicationType.h" -#include "RICindicationHeader.h" -#include "RICindicationMessage.h" -#include "RICcallProcessID.h" -#include "RICcontrolHeader.h" -#include "RICcontrolMessage.h" -#include "RICcontrolAckRequest.h" -#include "RICcontrolStatus.h" -#include "RICcontrolOutcome.h" -#include "GlobalE2node-ID.h" -#include "RANfunctions-List.h" -#include "GlobalRIC-ID.h" -#include "RANfunctionsID-List.h" -#include "RANfunctionsIDcause-List.h" -#include "TimeToWait.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RICaction_ToBeSetup_ItemIEs__value_PR { - RICaction_ToBeSetup_ItemIEs__value_PR_NOTHING, /* No components present */ - RICaction_ToBeSetup_ItemIEs__value_PR_RICaction_ToBeSetup_Item -} RICaction_ToBeSetup_ItemIEs__value_PR; -typedef enum RICaction_Admitted_ItemIEs__value_PR { - RICaction_Admitted_ItemIEs__value_PR_NOTHING, /* No components present */ - RICaction_Admitted_ItemIEs__value_PR_RICaction_Admitted_Item -} RICaction_Admitted_ItemIEs__value_PR; -typedef enum RICaction_NotAdmitted_ItemIEs__value_PR { - RICaction_NotAdmitted_ItemIEs__value_PR_NOTHING, /* No components present */ - RICaction_NotAdmitted_ItemIEs__value_PR_RICaction_NotAdmitted_Item -} RICaction_NotAdmitted_ItemIEs__value_PR; -typedef enum RANfunction_ItemIEs__value_PR { - RANfunction_ItemIEs__value_PR_NOTHING, /* No components present */ - RANfunction_ItemIEs__value_PR_RANfunction_Item -} RANfunction_ItemIEs__value_PR; -typedef enum RANfunctionID_ItemIEs__value_PR { - RANfunctionID_ItemIEs__value_PR_NOTHING, /* No components present */ - RANfunctionID_ItemIEs__value_PR_RANfunctionID_Item -} RANfunctionID_ItemIEs__value_PR; -typedef enum RANfunctionIDcause_ItemIEs__value_PR { - RANfunctionIDcause_ItemIEs__value_PR_NOTHING, /* No components present */ - RANfunctionIDcause_ItemIEs__value_PR_RANfunctionIDcause_Item -} RANfunctionIDcause_ItemIEs__value_PR; -typedef enum RICsubscriptionRequest_IEs__value_PR { - RICsubscriptionRequest_IEs__value_PR_NOTHING, /* No components present */ - RICsubscriptionRequest_IEs__value_PR_RICrequestID, - RICsubscriptionRequest_IEs__value_PR_RANfunctionID, - RICsubscriptionRequest_IEs__value_PR_RICsubscriptionDetails -} RICsubscriptionRequest_IEs__value_PR; -typedef enum RICsubscriptionResponse_IEs__value_PR { - RICsubscriptionResponse_IEs__value_PR_NOTHING, /* No components present */ - RICsubscriptionResponse_IEs__value_PR_RICrequestID, - RICsubscriptionResponse_IEs__value_PR_RANfunctionID, - RICsubscriptionResponse_IEs__value_PR_RICaction_Admitted_List, - RICsubscriptionResponse_IEs__value_PR_RICaction_NotAdmitted_List -} RICsubscriptionResponse_IEs__value_PR; -typedef enum RICsubscriptionFailure_IEs__value_PR { - RICsubscriptionFailure_IEs__value_PR_NOTHING, /* No components present */ - RICsubscriptionFailure_IEs__value_PR_RICrequestID, - RICsubscriptionFailure_IEs__value_PR_RANfunctionID, - RICsubscriptionFailure_IEs__value_PR_RICaction_NotAdmitted_List, - RICsubscriptionFailure_IEs__value_PR_CriticalityDiagnostics -} RICsubscriptionFailure_IEs__value_PR; -typedef enum RICsubscriptionDeleteRequest_IEs__value_PR { - RICsubscriptionDeleteRequest_IEs__value_PR_NOTHING, /* No components present */ - RICsubscriptionDeleteRequest_IEs__value_PR_RICrequestID, - RICsubscriptionDeleteRequest_IEs__value_PR_RANfunctionID -} RICsubscriptionDeleteRequest_IEs__value_PR; -typedef enum RICsubscriptionDeleteResponse_IEs__value_PR { - RICsubscriptionDeleteResponse_IEs__value_PR_NOTHING, /* No components present */ - RICsubscriptionDeleteResponse_IEs__value_PR_RICrequestID, - RICsubscriptionDeleteResponse_IEs__value_PR_RANfunctionID -} RICsubscriptionDeleteResponse_IEs__value_PR; -typedef enum RICsubscriptionDeleteFailure_IEs__value_PR { - RICsubscriptionDeleteFailure_IEs__value_PR_NOTHING, /* No components present */ - RICsubscriptionDeleteFailure_IEs__value_PR_RICrequestID, - RICsubscriptionDeleteFailure_IEs__value_PR_RANfunctionID, - RICsubscriptionDeleteFailure_IEs__value_PR_Cause, - RICsubscriptionDeleteFailure_IEs__value_PR_CriticalityDiagnostics -} RICsubscriptionDeleteFailure_IEs__value_PR; -typedef enum RICindication_IEs__value_PR { - RICindication_IEs__value_PR_NOTHING, /* No components present */ - RICindication_IEs__value_PR_RICrequestID, - RICindication_IEs__value_PR_RANfunctionID, - RICindication_IEs__value_PR_RICactionID, - RICindication_IEs__value_PR_RICindicationSN, - RICindication_IEs__value_PR_RICindicationType, - RICindication_IEs__value_PR_RICindicationHeader, - RICindication_IEs__value_PR_RICindicationMessage, - RICindication_IEs__value_PR_RICcallProcessID -} RICindication_IEs__value_PR; -typedef enum RICcontrolRequest_IEs__value_PR { - RICcontrolRequest_IEs__value_PR_NOTHING, /* No components present */ - RICcontrolRequest_IEs__value_PR_RICrequestID, - RICcontrolRequest_IEs__value_PR_RANfunctionID, - RICcontrolRequest_IEs__value_PR_RICcallProcessID, - RICcontrolRequest_IEs__value_PR_RICcontrolHeader, - RICcontrolRequest_IEs__value_PR_RICcontrolMessage, - RICcontrolRequest_IEs__value_PR_RICcontrolAckRequest -} RICcontrolRequest_IEs__value_PR; -typedef enum RICcontrolAcknowledge_IEs__value_PR { - RICcontrolAcknowledge_IEs__value_PR_NOTHING, /* No components present */ - RICcontrolAcknowledge_IEs__value_PR_RICrequestID, - RICcontrolAcknowledge_IEs__value_PR_RANfunctionID, - RICcontrolAcknowledge_IEs__value_PR_RICcallProcessID, - RICcontrolAcknowledge_IEs__value_PR_RICcontrolStatus, - RICcontrolAcknowledge_IEs__value_PR_RICcontrolOutcome -} RICcontrolAcknowledge_IEs__value_PR; -typedef enum RICcontrolFailure_IEs__value_PR { - RICcontrolFailure_IEs__value_PR_NOTHING, /* No components present */ - RICcontrolFailure_IEs__value_PR_RICrequestID, - RICcontrolFailure_IEs__value_PR_RANfunctionID, - RICcontrolFailure_IEs__value_PR_RICcallProcessID, - RICcontrolFailure_IEs__value_PR_Cause, - RICcontrolFailure_IEs__value_PR_RICcontrolOutcome -} RICcontrolFailure_IEs__value_PR; -typedef enum ErrorIndication_IEs__value_PR { - ErrorIndication_IEs__value_PR_NOTHING, /* No components present */ - ErrorIndication_IEs__value_PR_RICrequestID, - ErrorIndication_IEs__value_PR_RANfunctionID, - ErrorIndication_IEs__value_PR_Cause, - ErrorIndication_IEs__value_PR_CriticalityDiagnostics -} ErrorIndication_IEs__value_PR; -typedef enum E2setupRequestIEs__value_PR { - E2setupRequestIEs__value_PR_NOTHING, /* No components present */ - E2setupRequestIEs__value_PR_GlobalE2node_ID, - E2setupRequestIEs__value_PR_RANfunctions_List -} E2setupRequestIEs__value_PR; -typedef enum E2setupResponseIEs__value_PR { - E2setupResponseIEs__value_PR_NOTHING, /* No components present */ - E2setupResponseIEs__value_PR_GlobalRIC_ID, - E2setupResponseIEs__value_PR_RANfunctionsID_List, - E2setupResponseIEs__value_PR_RANfunctionsIDcause_List -} E2setupResponseIEs__value_PR; -typedef enum E2setupFailureIEs__value_PR { - E2setupFailureIEs__value_PR_NOTHING, /* No components present */ - E2setupFailureIEs__value_PR_Cause, - E2setupFailureIEs__value_PR_TimeToWait, - E2setupFailureIEs__value_PR_CriticalityDiagnostics -} E2setupFailureIEs__value_PR; -typedef enum ResetRequestIEs__value_PR { - ResetRequestIEs__value_PR_NOTHING, /* No components present */ - ResetRequestIEs__value_PR_Cause -} ResetRequestIEs__value_PR; -typedef enum ResetResponseIEs__value_PR { - ResetResponseIEs__value_PR_NOTHING, /* No components present */ - ResetResponseIEs__value_PR_CriticalityDiagnostics -} ResetResponseIEs__value_PR; -typedef enum RICserviceUpdate_IEs__value_PR { - RICserviceUpdate_IEs__value_PR_NOTHING, /* No components present */ - RICserviceUpdate_IEs__value_PR_RANfunctions_List, - RICserviceUpdate_IEs__value_PR_RANfunctionsID_List -} RICserviceUpdate_IEs__value_PR; -typedef enum RICserviceUpdateAcknowledge_IEs__value_PR { - RICserviceUpdateAcknowledge_IEs__value_PR_NOTHING, /* No components present */ - RICserviceUpdateAcknowledge_IEs__value_PR_RANfunctionsID_List, - RICserviceUpdateAcknowledge_IEs__value_PR_RANfunctionsIDcause_List -} RICserviceUpdateAcknowledge_IEs__value_PR; -typedef enum RICserviceUpdateFailure_IEs__value_PR { - RICserviceUpdateFailure_IEs__value_PR_NOTHING, /* No components present */ - RICserviceUpdateFailure_IEs__value_PR_RANfunctionsIDcause_List, - RICserviceUpdateFailure_IEs__value_PR_TimeToWait, - RICserviceUpdateFailure_IEs__value_PR_CriticalityDiagnostics -} RICserviceUpdateFailure_IEs__value_PR; -typedef enum RICserviceQuery_IEs__value_PR { - RICserviceQuery_IEs__value_PR_NOTHING, /* No components present */ - RICserviceQuery_IEs__value_PR_RANfunctionsID_List -} RICserviceQuery_IEs__value_PR; - -/* ProtocolIE-Field */ -typedef struct RICaction_ToBeSetup_ItemIEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICaction_ToBeSetup_ItemIEs__value { - RICaction_ToBeSetup_ItemIEs__value_PR present; - union RICaction_ToBeSetup_ItemIEs__value_u { - RICaction_ToBeSetup_Item_t RICaction_ToBeSetup_Item; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICaction_ToBeSetup_ItemIEs_t; -typedef struct RICaction_Admitted_ItemIEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICaction_Admitted_ItemIEs__value { - RICaction_Admitted_ItemIEs__value_PR present; - union RICaction_Admitted_ItemIEs__value_u { - RICaction_Admitted_Item_t RICaction_Admitted_Item; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICaction_Admitted_ItemIEs_t; -typedef struct RICaction_NotAdmitted_ItemIEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICaction_NotAdmitted_ItemIEs__value { - RICaction_NotAdmitted_ItemIEs__value_PR present; - union RICaction_NotAdmitted_ItemIEs__value_u { - RICaction_NotAdmitted_Item_t RICaction_NotAdmitted_Item; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICaction_NotAdmitted_ItemIEs_t; -typedef struct RANfunction_ItemIEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RANfunction_ItemIEs__value { - RANfunction_ItemIEs__value_PR present; - union RANfunction_ItemIEs__value_u { - RANfunction_Item_t RANfunction_Item; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RANfunction_ItemIEs_t; -typedef struct RANfunctionID_ItemIEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RANfunctionID_ItemIEs__value { - RANfunctionID_ItemIEs__value_PR present; - union RANfunctionID_ItemIEs__value_u { - RANfunctionID_Item_t RANfunctionID_Item; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RANfunctionID_ItemIEs_t; -typedef struct RANfunctionIDcause_ItemIEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RANfunctionIDcause_ItemIEs__value { - RANfunctionIDcause_ItemIEs__value_PR present; - union RANfunctionIDcause_ItemIEs__value_u { - RANfunctionIDcause_Item_t RANfunctionIDcause_Item; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RANfunctionIDcause_ItemIEs_t; -typedef struct RICsubscriptionRequest_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICsubscriptionRequest_IEs__value { - RICsubscriptionRequest_IEs__value_PR present; - union RICsubscriptionRequest_IEs__value_u { - RICrequestID_t RICrequestID; - RANfunctionID_t RANfunctionID; - RICsubscriptionDetails_t RICsubscriptionDetails; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionRequest_IEs_t; -typedef struct RICsubscriptionResponse_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICsubscriptionResponse_IEs__value { - RICsubscriptionResponse_IEs__value_PR present; - union RICsubscriptionResponse_IEs__value_u { - RICrequestID_t RICrequestID; - RANfunctionID_t RANfunctionID; - RICaction_Admitted_List_t RICaction_Admitted_List; - RICaction_NotAdmitted_List_t RICaction_NotAdmitted_List; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionResponse_IEs_t; -typedef struct RICsubscriptionFailure_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICsubscriptionFailure_IEs__value { - RICsubscriptionFailure_IEs__value_PR present; - union RICsubscriptionFailure_IEs__value_u { - RICrequestID_t RICrequestID; - RANfunctionID_t RANfunctionID; - RICaction_NotAdmitted_List_t RICaction_NotAdmitted_List; - CriticalityDiagnostics_t CriticalityDiagnostics; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionFailure_IEs_t; -typedef struct RICsubscriptionDeleteRequest_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICsubscriptionDeleteRequest_IEs__value { - RICsubscriptionDeleteRequest_IEs__value_PR present; - union RICsubscriptionDeleteRequest_IEs__value_u { - RICrequestID_t RICrequestID; - RANfunctionID_t RANfunctionID; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionDeleteRequest_IEs_t; -typedef struct RICsubscriptionDeleteResponse_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICsubscriptionDeleteResponse_IEs__value { - RICsubscriptionDeleteResponse_IEs__value_PR present; - union RICsubscriptionDeleteResponse_IEs__value_u { - RICrequestID_t RICrequestID; - RANfunctionID_t RANfunctionID; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionDeleteResponse_IEs_t; -typedef struct RICsubscriptionDeleteFailure_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICsubscriptionDeleteFailure_IEs__value { - RICsubscriptionDeleteFailure_IEs__value_PR present; - union RICsubscriptionDeleteFailure_IEs__value_u { - RICrequestID_t RICrequestID; - RANfunctionID_t RANfunctionID; - Cause_t Cause; - CriticalityDiagnostics_t CriticalityDiagnostics; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionDeleteFailure_IEs_t; -typedef struct RICindication_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICindication_IEs__value { - RICindication_IEs__value_PR present; - union RICindication_IEs__value_u { - RICrequestID_t RICrequestID; - RANfunctionID_t RANfunctionID; - RICactionID_t RICactionID; - RICindicationSN_t RICindicationSN; - RICindicationType_t RICindicationType; - RICindicationHeader_t RICindicationHeader; - RICindicationMessage_t RICindicationMessage; - RICcallProcessID_t RICcallProcessID; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICindication_IEs_t; -typedef struct RICcontrolRequest_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICcontrolRequest_IEs__value { - RICcontrolRequest_IEs__value_PR present; - union RICcontrolRequest_IEs__value_u { - RICrequestID_t RICrequestID; - RANfunctionID_t RANfunctionID; - RICcallProcessID_t RICcallProcessID; - RICcontrolHeader_t RICcontrolHeader; - RICcontrolMessage_t RICcontrolMessage; - RICcontrolAckRequest_t RICcontrolAckRequest; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICcontrolRequest_IEs_t; -typedef struct RICcontrolAcknowledge_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICcontrolAcknowledge_IEs__value { - RICcontrolAcknowledge_IEs__value_PR present; - union RICcontrolAcknowledge_IEs__value_u { - RICrequestID_t RICrequestID; - RANfunctionID_t RANfunctionID; - RICcallProcessID_t RICcallProcessID; - RICcontrolStatus_t RICcontrolStatus; - RICcontrolOutcome_t RICcontrolOutcome; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICcontrolAcknowledge_IEs_t; -typedef struct RICcontrolFailure_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICcontrolFailure_IEs__value { - RICcontrolFailure_IEs__value_PR present; - union RICcontrolFailure_IEs__value_u { - RICrequestID_t RICrequestID; - RANfunctionID_t RANfunctionID; - RICcallProcessID_t RICcallProcessID; - Cause_t Cause; - RICcontrolOutcome_t RICcontrolOutcome; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICcontrolFailure_IEs_t; -typedef struct ErrorIndication_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct ErrorIndication_IEs__value { - ErrorIndication_IEs__value_PR present; - union ErrorIndication_IEs__value_u { - RICrequestID_t RICrequestID; - RANfunctionID_t RANfunctionID; - Cause_t Cause; - CriticalityDiagnostics_t CriticalityDiagnostics; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ErrorIndication_IEs_t; -typedef struct E2setupRequestIEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct E2setupRequestIEs__value { - E2setupRequestIEs__value_PR present; - union E2setupRequestIEs__value_u { - GlobalE2node_ID_t GlobalE2node_ID; - RANfunctions_List_t RANfunctions_List; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} E2setupRequestIEs_t; -typedef struct E2setupResponseIEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct E2setupResponseIEs__value { - E2setupResponseIEs__value_PR present; - union E2setupResponseIEs__value_u { - GlobalRIC_ID_t GlobalRIC_ID; - RANfunctionsID_List_t RANfunctionsID_List; - RANfunctionsIDcause_List_t RANfunctionsIDcause_List; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} E2setupResponseIEs_t; -typedef struct E2setupFailureIEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct E2setupFailureIEs__value { - E2setupFailureIEs__value_PR present; - union E2setupFailureIEs__value_u { - Cause_t Cause; - TimeToWait_t TimeToWait; - CriticalityDiagnostics_t CriticalityDiagnostics; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} E2setupFailureIEs_t; -typedef struct ResetRequestIEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct ResetRequestIEs__value { - ResetRequestIEs__value_PR present; - union ResetRequestIEs__value_u { - Cause_t Cause; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ResetRequestIEs_t; -typedef struct ResetResponseIEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct ResetResponseIEs__value { - ResetResponseIEs__value_PR present; - union ResetResponseIEs__value_u { - CriticalityDiagnostics_t CriticalityDiagnostics; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ResetResponseIEs_t; -typedef struct RICserviceUpdate_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICserviceUpdate_IEs__value { - RICserviceUpdate_IEs__value_PR present; - union RICserviceUpdate_IEs__value_u { - RANfunctions_List_t RANfunctions_List; - RANfunctionsID_List_t RANfunctionsID_List; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICserviceUpdate_IEs_t; -typedef struct RICserviceUpdateAcknowledge_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICserviceUpdateAcknowledge_IEs__value { - RICserviceUpdateAcknowledge_IEs__value_PR present; - union RICserviceUpdateAcknowledge_IEs__value_u { - RANfunctionsID_List_t RANfunctionsID_List; - RANfunctionsIDcause_List_t RANfunctionsIDcause_List; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICserviceUpdateAcknowledge_IEs_t; -typedef struct RICserviceUpdateFailure_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICserviceUpdateFailure_IEs__value { - RICserviceUpdateFailure_IEs__value_PR present; - union RICserviceUpdateFailure_IEs__value_u { - RANfunctionsIDcause_List_t RANfunctionsIDcause_List; - TimeToWait_t TimeToWait; - CriticalityDiagnostics_t CriticalityDiagnostics; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICserviceUpdateFailure_IEs_t; -typedef struct RICserviceQuery_IEs { - ProtocolIE_ID_t id; - Criticality_t criticality; - struct RICserviceQuery_IEs__value { - RICserviceQuery_IEs__value_PR present; - union RICserviceQuery_IEs__value_u { - RANfunctionsID_List_t RANfunctionsID_List; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICserviceQuery_IEs_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICaction_ToBeSetup_ItemIEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICaction_ToBeSetup_ItemIEs_specs_1; -extern asn_TYPE_member_t asn_MBR_RICaction_ToBeSetup_ItemIEs_1[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICaction_Admitted_ItemIEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICaction_Admitted_ItemIEs_specs_5; -extern asn_TYPE_member_t asn_MBR_RICaction_Admitted_ItemIEs_5[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICaction_NotAdmitted_ItemIEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICaction_NotAdmitted_ItemIEs_specs_9; -extern asn_TYPE_member_t asn_MBR_RICaction_NotAdmitted_ItemIEs_9[3]; -extern asn_TYPE_descriptor_t asn_DEF_RANfunction_ItemIEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RANfunction_ItemIEs_specs_13; -extern asn_TYPE_member_t asn_MBR_RANfunction_ItemIEs_13[3]; -extern asn_TYPE_descriptor_t asn_DEF_RANfunctionID_ItemIEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RANfunctionID_ItemIEs_specs_17; -extern asn_TYPE_member_t asn_MBR_RANfunctionID_ItemIEs_17[3]; -extern asn_TYPE_descriptor_t asn_DEF_RANfunctionIDcause_ItemIEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RANfunctionIDcause_ItemIEs_specs_21; -extern asn_TYPE_member_t asn_MBR_RANfunctionIDcause_ItemIEs_21[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionRequest_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionRequest_IEs_specs_25; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionRequest_IEs_25[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionResponse_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionResponse_IEs_specs_29; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionResponse_IEs_29[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionFailure_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionFailure_IEs_specs_33; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionFailure_IEs_33[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteRequest_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteRequest_IEs_specs_37; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteRequest_IEs_37[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteResponse_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteResponse_IEs_specs_41; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteResponse_IEs_41[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteFailure_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteFailure_IEs_specs_45; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteFailure_IEs_45[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICindication_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICindication_IEs_specs_49; -extern asn_TYPE_member_t asn_MBR_RICindication_IEs_49[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICcontrolRequest_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICcontrolRequest_IEs_specs_53; -extern asn_TYPE_member_t asn_MBR_RICcontrolRequest_IEs_53[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICcontrolAcknowledge_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICcontrolAcknowledge_IEs_specs_57; -extern asn_TYPE_member_t asn_MBR_RICcontrolAcknowledge_IEs_57[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICcontrolFailure_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICcontrolFailure_IEs_specs_61; -extern asn_TYPE_member_t asn_MBR_RICcontrolFailure_IEs_61[3]; -extern asn_TYPE_descriptor_t asn_DEF_ErrorIndication_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_ErrorIndication_IEs_specs_65; -extern asn_TYPE_member_t asn_MBR_ErrorIndication_IEs_65[3]; -extern asn_TYPE_descriptor_t asn_DEF_E2setupRequestIEs; -extern asn_SEQUENCE_specifics_t asn_SPC_E2setupRequestIEs_specs_69; -extern asn_TYPE_member_t asn_MBR_E2setupRequestIEs_69[3]; -extern asn_TYPE_descriptor_t asn_DEF_E2setupResponseIEs; -extern asn_SEQUENCE_specifics_t asn_SPC_E2setupResponseIEs_specs_73; -extern asn_TYPE_member_t asn_MBR_E2setupResponseIEs_73[3]; -extern asn_TYPE_descriptor_t asn_DEF_E2setupFailureIEs; -extern asn_SEQUENCE_specifics_t asn_SPC_E2setupFailureIEs_specs_77; -extern asn_TYPE_member_t asn_MBR_E2setupFailureIEs_77[3]; -extern asn_TYPE_descriptor_t asn_DEF_ResetRequestIEs; -extern asn_SEQUENCE_specifics_t asn_SPC_ResetRequestIEs_specs_81; -extern asn_TYPE_member_t asn_MBR_ResetRequestIEs_81[3]; -extern asn_TYPE_descriptor_t asn_DEF_ResetResponseIEs; -extern asn_SEQUENCE_specifics_t asn_SPC_ResetResponseIEs_specs_85; -extern asn_TYPE_member_t asn_MBR_ResetResponseIEs_85[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICserviceUpdate_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdate_IEs_specs_89; -extern asn_TYPE_member_t asn_MBR_RICserviceUpdate_IEs_89[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICserviceUpdateAcknowledge_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdateAcknowledge_IEs_specs_93; -extern asn_TYPE_member_t asn_MBR_RICserviceUpdateAcknowledge_IEs_93[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICserviceUpdateFailure_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdateFailure_IEs_specs_97; -extern asn_TYPE_member_t asn_MBR_RICserviceUpdateFailure_IEs_97[3]; -extern asn_TYPE_descriptor_t asn_DEF_RICserviceQuery_IEs; -extern asn_SEQUENCE_specifics_t asn_SPC_RICserviceQuery_IEs_specs_101; -extern asn_TYPE_member_t asn_MBR_RICserviceQuery_IEs_101[3]; - -#ifdef __cplusplus -} -#endif - -#endif /* _ProtocolIE_Field_H_ */ -#include diff --git a/asn1c_defs/ProtocolIE-FieldPair.c b/asn1c_defs/ProtocolIE-FieldPair.c deleted file mode 100644 index 8cb02cf..0000000 --- a/asn1c_defs/ProtocolIE-FieldPair.c +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ProtocolIE-FieldPair.h" - diff --git a/asn1c_defs/ProtocolIE-FieldPair.h b/asn1c_defs/ProtocolIE-FieldPair.h deleted file mode 100644 index 5c52fc6..0000000 --- a/asn1c_defs/ProtocolIE-FieldPair.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ProtocolIE_FieldPair_H_ -#define _ProtocolIE_FieldPair_H_ - - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef __cplusplus -} -#endif - -#endif /* _ProtocolIE_FieldPair_H_ */ -#include diff --git a/asn1c_defs/ProtocolIE-ID.c b/asn1c_defs/ProtocolIE-ID.c deleted file mode 100644 index 22f6915..0000000 --- a/asn1c_defs/ProtocolIE-ID.c +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-CommonDataTypes" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ProtocolIE-ID.h" - -int -ProtocolIE_ID_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_ProtocolIE_ID_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_ProtocolIE_ID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_ID = { - "ProtocolIE-ID", - "ProtocolIE-ID", - &asn_OP_NativeInteger, - asn_DEF_ProtocolIE_ID_tags_1, - sizeof(asn_DEF_ProtocolIE_ID_tags_1) - /sizeof(asn_DEF_ProtocolIE_ID_tags_1[0]), /* 1 */ - asn_DEF_ProtocolIE_ID_tags_1, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_ID_tags_1) - /sizeof(asn_DEF_ProtocolIE_ID_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_ProtocolIE_ID_constr_1, ProtocolIE_ID_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/asn1c_defs/ProtocolIE-ID.h b/asn1c_defs/ProtocolIE-ID.h deleted file mode 100644 index c09d2f3..0000000 --- a/asn1c_defs/ProtocolIE-ID.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-CommonDataTypes" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ProtocolIE_ID_H_ -#define _ProtocolIE_ID_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ProtocolIE-ID */ -typedef long ProtocolIE_ID_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_ProtocolIE_ID_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_ID; -asn_struct_free_f ProtocolIE_ID_free; -asn_struct_print_f ProtocolIE_ID_print; -asn_constr_check_f ProtocolIE_ID_constraint; -ber_type_decoder_f ProtocolIE_ID_decode_ber; -der_type_encoder_f ProtocolIE_ID_encode_der; -xer_type_decoder_f ProtocolIE_ID_decode_xer; -xer_type_encoder_f ProtocolIE_ID_encode_xer; -per_type_decoder_f ProtocolIE_ID_decode_uper; -per_type_encoder_f ProtocolIE_ID_encode_uper; -per_type_decoder_f ProtocolIE_ID_decode_aper; -per_type_encoder_f ProtocolIE_ID_encode_aper; -#define ProtocolIE_ID_id_Cause ((ProtocolIE_ID_t)1) -#define ProtocolIE_ID_id_CriticalityDiagnostics ((ProtocolIE_ID_t)2) -#define ProtocolIE_ID_id_GlobalE2node_ID ((ProtocolIE_ID_t)3) -#define ProtocolIE_ID_id_GlobalRIC_ID ((ProtocolIE_ID_t)4) -#define ProtocolIE_ID_id_RANfunctionID ((ProtocolIE_ID_t)5) -#define ProtocolIE_ID_id_RANfunctionID_Item ((ProtocolIE_ID_t)6) -#define ProtocolIE_ID_id_RANfunctionIEcause_Item ((ProtocolIE_ID_t)7) -#define ProtocolIE_ID_id_RANfunction_Item ((ProtocolIE_ID_t)8) -#define ProtocolIE_ID_id_RANfunctionsAccepted ((ProtocolIE_ID_t)9) -#define ProtocolIE_ID_id_RANfunctionsAdded ((ProtocolIE_ID_t)10) -#define ProtocolIE_ID_id_RANfunctionsDeleted ((ProtocolIE_ID_t)11) -#define ProtocolIE_ID_id_RANfunctionsModified ((ProtocolIE_ID_t)12) -#define ProtocolIE_ID_id_RANfunctionsRejected ((ProtocolIE_ID_t)13) -#define ProtocolIE_ID_id_RICaction_Admitted_Item ((ProtocolIE_ID_t)14) -#define ProtocolIE_ID_id_RICactionID ((ProtocolIE_ID_t)15) -#define ProtocolIE_ID_id_RICaction_NotAdmitted_Item ((ProtocolIE_ID_t)16) -#define ProtocolIE_ID_id_RICactions_Admitted ((ProtocolIE_ID_t)17) -#define ProtocolIE_ID_id_RICactions_NotAdmitted ((ProtocolIE_ID_t)18) -#define ProtocolIE_ID_id_RICaction_ToBeSetup_Item ((ProtocolIE_ID_t)19) -#define ProtocolIE_ID_id_RICcallProcessID ((ProtocolIE_ID_t)20) -#define ProtocolIE_ID_id_RICcontrolAckRequest ((ProtocolIE_ID_t)21) -#define ProtocolIE_ID_id_RICcontrolHeader ((ProtocolIE_ID_t)22) -#define ProtocolIE_ID_id_RICcontrolMessage ((ProtocolIE_ID_t)23) -#define ProtocolIE_ID_id_RICcontrolStatus ((ProtocolIE_ID_t)24) -#define ProtocolIE_ID_id_RICindicationHeader ((ProtocolIE_ID_t)25) -#define ProtocolIE_ID_id_RICindicationMessage ((ProtocolIE_ID_t)26) -#define ProtocolIE_ID_id_RICindicationSN ((ProtocolIE_ID_t)27) -#define ProtocolIE_ID_id_RICindicationType ((ProtocolIE_ID_t)28) -#define ProtocolIE_ID_id_RICrequestID ((ProtocolIE_ID_t)29) -#define ProtocolIE_ID_id_RICsubscriptionDetails ((ProtocolIE_ID_t)30) -#define ProtocolIE_ID_id_TimeToWait ((ProtocolIE_ID_t)31) -#define ProtocolIE_ID_id_RICcontrolOutcome ((ProtocolIE_ID_t)32) - -#ifdef __cplusplus -} -#endif - -#endif /* _ProtocolIE_ID_H_ */ -#include diff --git a/asn1c_defs/ProtocolIE-SingleContainer.c b/asn1c_defs/ProtocolIE-SingleContainer.c deleted file mode 100644 index 36d9c58..0000000 --- a/asn1c_defs/ProtocolIE-SingleContainer.c +++ /dev/null @@ -1,147 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ProtocolIE-SingleContainer.h" - -/* - * This type is implemented using RICaction_ToBeSetup_ItemIEs, - * so here we adjust the DEF accordingly. - */ -/* - * This type is implemented using RICaction_Admitted_ItemIEs, - * so here we adjust the DEF accordingly. - */ -/* - * This type is implemented using RICaction_NotAdmitted_ItemIEs, - * so here we adjust the DEF accordingly. - */ -/* - * This type is implemented using RANfunction_ItemIEs, - * so here we adjust the DEF accordingly. - */ -/* - * This type is implemented using RANfunctionID_ItemIEs, - * so here we adjust the DEF accordingly. - */ -/* - * This type is implemented using RANfunctionIDcause_ItemIEs, - * so here we adjust the DEF accordingly. - */ -static const ber_tlv_tag_t asn_DEF_ProtocolIE_SingleContainer_1415P0_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P0 = { - "ProtocolIE-SingleContainer", - "ProtocolIE-SingleContainer", - &asn_OP_SEQUENCE, - asn_DEF_ProtocolIE_SingleContainer_1415P0_tags_1, - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P0_tags_1) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P0_tags_1[0]), /* 1 */ - asn_DEF_ProtocolIE_SingleContainer_1415P0_tags_1, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P0_tags_1) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P0_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICaction_ToBeSetup_ItemIEs_1, - 3, /* Elements count */ - &asn_SPC_RICaction_ToBeSetup_ItemIEs_specs_1 /* Additional specs */ -}; - -static const ber_tlv_tag_t asn_DEF_ProtocolIE_SingleContainer_1415P1_tags_2[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P1 = { - "ProtocolIE-SingleContainer", - "ProtocolIE-SingleContainer", - &asn_OP_SEQUENCE, - asn_DEF_ProtocolIE_SingleContainer_1415P1_tags_2, - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P1_tags_2) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P1_tags_2[0]), /* 1 */ - asn_DEF_ProtocolIE_SingleContainer_1415P1_tags_2, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P1_tags_2) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P1_tags_2[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICaction_Admitted_ItemIEs_5, - 3, /* Elements count */ - &asn_SPC_RICaction_Admitted_ItemIEs_specs_5 /* Additional specs */ -}; - -static const ber_tlv_tag_t asn_DEF_ProtocolIE_SingleContainer_1415P2_tags_3[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P2 = { - "ProtocolIE-SingleContainer", - "ProtocolIE-SingleContainer", - &asn_OP_SEQUENCE, - asn_DEF_ProtocolIE_SingleContainer_1415P2_tags_3, - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P2_tags_3) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P2_tags_3[0]), /* 1 */ - asn_DEF_ProtocolIE_SingleContainer_1415P2_tags_3, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P2_tags_3) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P2_tags_3[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICaction_NotAdmitted_ItemIEs_9, - 3, /* Elements count */ - &asn_SPC_RICaction_NotAdmitted_ItemIEs_specs_9 /* Additional specs */ -}; - -static const ber_tlv_tag_t asn_DEF_ProtocolIE_SingleContainer_1415P3_tags_4[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P3 = { - "ProtocolIE-SingleContainer", - "ProtocolIE-SingleContainer", - &asn_OP_SEQUENCE, - asn_DEF_ProtocolIE_SingleContainer_1415P3_tags_4, - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P3_tags_4) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P3_tags_4[0]), /* 1 */ - asn_DEF_ProtocolIE_SingleContainer_1415P3_tags_4, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P3_tags_4) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P3_tags_4[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RANfunction_ItemIEs_13, - 3, /* Elements count */ - &asn_SPC_RANfunction_ItemIEs_specs_13 /* Additional specs */ -}; - -static const ber_tlv_tag_t asn_DEF_ProtocolIE_SingleContainer_1415P4_tags_5[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P4 = { - "ProtocolIE-SingleContainer", - "ProtocolIE-SingleContainer", - &asn_OP_SEQUENCE, - asn_DEF_ProtocolIE_SingleContainer_1415P4_tags_5, - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P4_tags_5) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P4_tags_5[0]), /* 1 */ - asn_DEF_ProtocolIE_SingleContainer_1415P4_tags_5, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P4_tags_5) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P4_tags_5[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RANfunctionID_ItemIEs_17, - 3, /* Elements count */ - &asn_SPC_RANfunctionID_ItemIEs_specs_17 /* Additional specs */ -}; - -static const ber_tlv_tag_t asn_DEF_ProtocolIE_SingleContainer_1415P5_tags_6[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P5 = { - "ProtocolIE-SingleContainer", - "ProtocolIE-SingleContainer", - &asn_OP_SEQUENCE, - asn_DEF_ProtocolIE_SingleContainer_1415P5_tags_6, - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P5_tags_6) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P5_tags_6[0]), /* 1 */ - asn_DEF_ProtocolIE_SingleContainer_1415P5_tags_6, /* Same as above */ - sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P5_tags_6) - /sizeof(asn_DEF_ProtocolIE_SingleContainer_1415P5_tags_6[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RANfunctionIDcause_ItemIEs_21, - 3, /* Elements count */ - &asn_SPC_RANfunctionIDcause_ItemIEs_specs_21 /* Additional specs */ -}; - diff --git a/asn1c_defs/ProtocolIE-SingleContainer.h b/asn1c_defs/ProtocolIE-SingleContainer.h deleted file mode 100644 index 4f4214f..0000000 --- a/asn1c_defs/ProtocolIE-SingleContainer.h +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-Containers" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ProtocolIE_SingleContainer_H_ -#define _ProtocolIE_SingleContainer_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Field.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/* ProtocolIE-SingleContainer */ -typedef RICaction_ToBeSetup_ItemIEs_t ProtocolIE_SingleContainer_1415P0_t; -typedef RICaction_Admitted_ItemIEs_t ProtocolIE_SingleContainer_1415P1_t; -typedef RICaction_NotAdmitted_ItemIEs_t ProtocolIE_SingleContainer_1415P2_t; -typedef RANfunction_ItemIEs_t ProtocolIE_SingleContainer_1415P3_t; -typedef RANfunctionID_ItemIEs_t ProtocolIE_SingleContainer_1415P4_t; -typedef RANfunctionIDcause_ItemIEs_t ProtocolIE_SingleContainer_1415P5_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P0; -asn_struct_free_f ProtocolIE_SingleContainer_1415P0_free; -asn_struct_print_f ProtocolIE_SingleContainer_1415P0_print; -asn_constr_check_f ProtocolIE_SingleContainer_1415P0_constraint; -ber_type_decoder_f ProtocolIE_SingleContainer_1415P0_decode_ber; -der_type_encoder_f ProtocolIE_SingleContainer_1415P0_encode_der; -xer_type_decoder_f ProtocolIE_SingleContainer_1415P0_decode_xer; -xer_type_encoder_f ProtocolIE_SingleContainer_1415P0_encode_xer; -per_type_decoder_f ProtocolIE_SingleContainer_1415P0_decode_uper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P0_encode_uper; -per_type_decoder_f ProtocolIE_SingleContainer_1415P0_decode_aper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P0_encode_aper; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P1; -asn_struct_free_f ProtocolIE_SingleContainer_1415P1_free; -asn_struct_print_f ProtocolIE_SingleContainer_1415P1_print; -asn_constr_check_f ProtocolIE_SingleContainer_1415P1_constraint; -ber_type_decoder_f ProtocolIE_SingleContainer_1415P1_decode_ber; -der_type_encoder_f ProtocolIE_SingleContainer_1415P1_encode_der; -xer_type_decoder_f ProtocolIE_SingleContainer_1415P1_decode_xer; -xer_type_encoder_f ProtocolIE_SingleContainer_1415P1_encode_xer; -per_type_decoder_f ProtocolIE_SingleContainer_1415P1_decode_uper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P1_encode_uper; -per_type_decoder_f ProtocolIE_SingleContainer_1415P1_decode_aper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P1_encode_aper; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P2; -asn_struct_free_f ProtocolIE_SingleContainer_1415P2_free; -asn_struct_print_f ProtocolIE_SingleContainer_1415P2_print; -asn_constr_check_f ProtocolIE_SingleContainer_1415P2_constraint; -ber_type_decoder_f ProtocolIE_SingleContainer_1415P2_decode_ber; -der_type_encoder_f ProtocolIE_SingleContainer_1415P2_encode_der; -xer_type_decoder_f ProtocolIE_SingleContainer_1415P2_decode_xer; -xer_type_encoder_f ProtocolIE_SingleContainer_1415P2_encode_xer; -per_type_decoder_f ProtocolIE_SingleContainer_1415P2_decode_uper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P2_encode_uper; -per_type_decoder_f ProtocolIE_SingleContainer_1415P2_decode_aper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P2_encode_aper; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P3; -asn_struct_free_f ProtocolIE_SingleContainer_1415P3_free; -asn_struct_print_f ProtocolIE_SingleContainer_1415P3_print; -asn_constr_check_f ProtocolIE_SingleContainer_1415P3_constraint; -ber_type_decoder_f ProtocolIE_SingleContainer_1415P3_decode_ber; -der_type_encoder_f ProtocolIE_SingleContainer_1415P3_encode_der; -xer_type_decoder_f ProtocolIE_SingleContainer_1415P3_decode_xer; -xer_type_encoder_f ProtocolIE_SingleContainer_1415P3_encode_xer; -per_type_decoder_f ProtocolIE_SingleContainer_1415P3_decode_uper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P3_encode_uper; -per_type_decoder_f ProtocolIE_SingleContainer_1415P3_decode_aper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P3_encode_aper; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P4; -asn_struct_free_f ProtocolIE_SingleContainer_1415P4_free; -asn_struct_print_f ProtocolIE_SingleContainer_1415P4_print; -asn_constr_check_f ProtocolIE_SingleContainer_1415P4_constraint; -ber_type_decoder_f ProtocolIE_SingleContainer_1415P4_decode_ber; -der_type_encoder_f ProtocolIE_SingleContainer_1415P4_encode_der; -xer_type_decoder_f ProtocolIE_SingleContainer_1415P4_decode_xer; -xer_type_encoder_f ProtocolIE_SingleContainer_1415P4_encode_xer; -per_type_decoder_f ProtocolIE_SingleContainer_1415P4_decode_uper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P4_encode_uper; -per_type_decoder_f ProtocolIE_SingleContainer_1415P4_decode_aper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P4_encode_aper; -extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_1415P5; -asn_struct_free_f ProtocolIE_SingleContainer_1415P5_free; -asn_struct_print_f ProtocolIE_SingleContainer_1415P5_print; -asn_constr_check_f ProtocolIE_SingleContainer_1415P5_constraint; -ber_type_decoder_f ProtocolIE_SingleContainer_1415P5_decode_ber; -der_type_encoder_f ProtocolIE_SingleContainer_1415P5_encode_der; -xer_type_decoder_f ProtocolIE_SingleContainer_1415P5_decode_xer; -xer_type_encoder_f ProtocolIE_SingleContainer_1415P5_encode_xer; -per_type_decoder_f ProtocolIE_SingleContainer_1415P5_decode_uper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P5_encode_uper; -per_type_decoder_f ProtocolIE_SingleContainer_1415P5_decode_aper; -per_type_encoder_f ProtocolIE_SingleContainer_1415P5_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _ProtocolIE_SingleContainer_H_ */ -#include diff --git a/asn1c_defs/RANfunction-Item.c b/asn1c_defs/RANfunction-Item.c deleted file mode 100644 index e3db093..0000000 --- a/asn1c_defs/RANfunction-Item.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RANfunction-Item.h" - -static asn_TYPE_member_t asn_MBR_RANfunction_Item_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RANfunction_Item, ranFunctionID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ranFunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RANfunction_Item, ranFunctionDefinition), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RANfunctionDefinition, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ranFunctionDefinition" - }, - { ATF_NOFLAGS, 0, offsetof(struct RANfunction_Item, ranFunctionRevision), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RANfunctionRevision, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ranFunctionRevision" - }, -}; -static const ber_tlv_tag_t asn_DEF_RANfunction_Item_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RANfunction_Item_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ranFunctionID */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ranFunctionDefinition */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* ranFunctionRevision */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RANfunction_Item_specs_1 = { - sizeof(struct RANfunction_Item), - offsetof(struct RANfunction_Item, _asn_ctx), - asn_MAP_RANfunction_Item_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 3, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RANfunction_Item = { - "RANfunction-Item", - "RANfunction-Item", - &asn_OP_SEQUENCE, - asn_DEF_RANfunction_Item_tags_1, - sizeof(asn_DEF_RANfunction_Item_tags_1) - /sizeof(asn_DEF_RANfunction_Item_tags_1[0]), /* 1 */ - asn_DEF_RANfunction_Item_tags_1, /* Same as above */ - sizeof(asn_DEF_RANfunction_Item_tags_1) - /sizeof(asn_DEF_RANfunction_Item_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RANfunction_Item_1, - 3, /* Elements count */ - &asn_SPC_RANfunction_Item_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RANfunction-Item.h b/asn1c_defs/RANfunction-Item.h deleted file mode 100644 index 866ffce..0000000 --- a/asn1c_defs/RANfunction-Item.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RANfunction_Item_H_ -#define _RANfunction_Item_H_ - - -#include - -/* Including external dependencies */ -#include "RANfunctionID.h" -#include "RANfunctionDefinition.h" -#include "RANfunctionRevision.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RANfunction-Item */ -typedef struct RANfunction_Item { - RANfunctionID_t ranFunctionID; - RANfunctionDefinition_t ranFunctionDefinition; - RANfunctionRevision_t ranFunctionRevision; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RANfunction_Item_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RANfunction_Item; - -#ifdef __cplusplus -} -#endif - -#endif /* _RANfunction_Item_H_ */ -#include diff --git a/asn1c_defs/RANfunctionDefinition.c b/asn1c_defs/RANfunctionDefinition.c deleted file mode 100644 index 2c284fc..0000000 --- a/asn1c_defs/RANfunctionDefinition.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RANfunctionDefinition.h" - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static const ber_tlv_tag_t asn_DEF_RANfunctionDefinition_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RANfunctionDefinition = { - "RANfunctionDefinition", - "RANfunctionDefinition", - &asn_OP_OCTET_STRING, - asn_DEF_RANfunctionDefinition_tags_1, - sizeof(asn_DEF_RANfunctionDefinition_tags_1) - /sizeof(asn_DEF_RANfunctionDefinition_tags_1[0]), /* 1 */ - asn_DEF_RANfunctionDefinition_tags_1, /* Same as above */ - sizeof(asn_DEF_RANfunctionDefinition_tags_1) - /sizeof(asn_DEF_RANfunctionDefinition_tags_1[0]), /* 1 */ - { 0, 0, OCTET_STRING_constraint }, - 0, 0, /* No members */ - &asn_SPC_OCTET_STRING_specs /* Additional specs */ -}; - diff --git a/asn1c_defs/RANfunctionDefinition.h b/asn1c_defs/RANfunctionDefinition.h deleted file mode 100644 index f9ebd15..0000000 --- a/asn1c_defs/RANfunctionDefinition.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RANfunctionDefinition_H_ -#define _RANfunctionDefinition_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RANfunctionDefinition */ -typedef OCTET_STRING_t RANfunctionDefinition_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RANfunctionDefinition; -asn_struct_free_f RANfunctionDefinition_free; -asn_struct_print_f RANfunctionDefinition_print; -asn_constr_check_f RANfunctionDefinition_constraint; -ber_type_decoder_f RANfunctionDefinition_decode_ber; -der_type_encoder_f RANfunctionDefinition_encode_der; -xer_type_decoder_f RANfunctionDefinition_decode_xer; -xer_type_encoder_f RANfunctionDefinition_encode_xer; -per_type_decoder_f RANfunctionDefinition_decode_uper; -per_type_encoder_f RANfunctionDefinition_encode_uper; -per_type_decoder_f RANfunctionDefinition_decode_aper; -per_type_encoder_f RANfunctionDefinition_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RANfunctionDefinition_H_ */ -#include diff --git a/asn1c_defs/RANfunctionID-Item.c b/asn1c_defs/RANfunctionID-Item.c deleted file mode 100644 index e34040d..0000000 --- a/asn1c_defs/RANfunctionID-Item.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RANfunctionID-Item.h" - -static asn_TYPE_member_t asn_MBR_RANfunctionID_Item_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RANfunctionID_Item, ranFunctionID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ranFunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RANfunctionID_Item, ranFunctionRevision), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RANfunctionRevision, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ranFunctionRevision" - }, -}; -static const ber_tlv_tag_t asn_DEF_RANfunctionID_Item_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RANfunctionID_Item_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ranFunctionID */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ranFunctionRevision */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RANfunctionID_Item_specs_1 = { - sizeof(struct RANfunctionID_Item), - offsetof(struct RANfunctionID_Item, _asn_ctx), - asn_MAP_RANfunctionID_Item_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RANfunctionID_Item = { - "RANfunctionID-Item", - "RANfunctionID-Item", - &asn_OP_SEQUENCE, - asn_DEF_RANfunctionID_Item_tags_1, - sizeof(asn_DEF_RANfunctionID_Item_tags_1) - /sizeof(asn_DEF_RANfunctionID_Item_tags_1[0]), /* 1 */ - asn_DEF_RANfunctionID_Item_tags_1, /* Same as above */ - sizeof(asn_DEF_RANfunctionID_Item_tags_1) - /sizeof(asn_DEF_RANfunctionID_Item_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RANfunctionID_Item_1, - 2, /* Elements count */ - &asn_SPC_RANfunctionID_Item_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RANfunctionID-Item.h b/asn1c_defs/RANfunctionID-Item.h deleted file mode 100644 index 57e155a..0000000 --- a/asn1c_defs/RANfunctionID-Item.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RANfunctionID_Item_H_ -#define _RANfunctionID_Item_H_ - - -#include - -/* Including external dependencies */ -#include "RANfunctionID.h" -#include "RANfunctionRevision.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RANfunctionID-Item */ -typedef struct RANfunctionID_Item { - RANfunctionID_t ranFunctionID; - RANfunctionRevision_t ranFunctionRevision; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RANfunctionID_Item_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RANfunctionID_Item; - -#ifdef __cplusplus -} -#endif - -#endif /* _RANfunctionID_Item_H_ */ -#include diff --git a/asn1c_defs/RANfunctionID.c b/asn1c_defs/RANfunctionID.c deleted file mode 100644 index 34ad369..0000000 --- a/asn1c_defs/RANfunctionID.c +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RANfunctionID.h" - -int -RANfunctionID_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 4095)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_RANfunctionID_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED, 12, 12, 0, 4095 } /* (0..4095) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_RANfunctionID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RANfunctionID = { - "RANfunctionID", - "RANfunctionID", - &asn_OP_NativeInteger, - asn_DEF_RANfunctionID_tags_1, - sizeof(asn_DEF_RANfunctionID_tags_1) - /sizeof(asn_DEF_RANfunctionID_tags_1[0]), /* 1 */ - asn_DEF_RANfunctionID_tags_1, /* Same as above */ - sizeof(asn_DEF_RANfunctionID_tags_1) - /sizeof(asn_DEF_RANfunctionID_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RANfunctionID_constr_1, RANfunctionID_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/asn1c_defs/RANfunctionID.h b/asn1c_defs/RANfunctionID.h deleted file mode 100644 index ae17aaa..0000000 --- a/asn1c_defs/RANfunctionID.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RANfunctionID_H_ -#define _RANfunctionID_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RANfunctionID */ -typedef long RANfunctionID_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RANfunctionID_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RANfunctionID; -asn_struct_free_f RANfunctionID_free; -asn_struct_print_f RANfunctionID_print; -asn_constr_check_f RANfunctionID_constraint; -ber_type_decoder_f RANfunctionID_decode_ber; -der_type_encoder_f RANfunctionID_encode_der; -xer_type_decoder_f RANfunctionID_decode_xer; -xer_type_encoder_f RANfunctionID_encode_xer; -per_type_decoder_f RANfunctionID_decode_uper; -per_type_encoder_f RANfunctionID_encode_uper; -per_type_decoder_f RANfunctionID_decode_aper; -per_type_encoder_f RANfunctionID_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RANfunctionID_H_ */ -#include diff --git a/asn1c_defs/RANfunctionIDcause-Item.c b/asn1c_defs/RANfunctionIDcause-Item.c deleted file mode 100644 index 3ddc1cc..0000000 --- a/asn1c_defs/RANfunctionIDcause-Item.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RANfunctionIDcause-Item.h" - -static asn_TYPE_member_t asn_MBR_RANfunctionIDcause_Item_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RANfunctionIDcause_Item, ranFunctionID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RANfunctionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ranFunctionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RANfunctionIDcause_Item, cause), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_Cause, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "cause" - }, -}; -static const ber_tlv_tag_t asn_DEF_RANfunctionIDcause_Item_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RANfunctionIDcause_Item_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ranFunctionID */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cause */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RANfunctionIDcause_Item_specs_1 = { - sizeof(struct RANfunctionIDcause_Item), - offsetof(struct RANfunctionIDcause_Item, _asn_ctx), - asn_MAP_RANfunctionIDcause_Item_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RANfunctionIDcause_Item = { - "RANfunctionIDcause-Item", - "RANfunctionIDcause-Item", - &asn_OP_SEQUENCE, - asn_DEF_RANfunctionIDcause_Item_tags_1, - sizeof(asn_DEF_RANfunctionIDcause_Item_tags_1) - /sizeof(asn_DEF_RANfunctionIDcause_Item_tags_1[0]), /* 1 */ - asn_DEF_RANfunctionIDcause_Item_tags_1, /* Same as above */ - sizeof(asn_DEF_RANfunctionIDcause_Item_tags_1) - /sizeof(asn_DEF_RANfunctionIDcause_Item_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RANfunctionIDcause_Item_1, - 2, /* Elements count */ - &asn_SPC_RANfunctionIDcause_Item_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RANfunctionIDcause-Item.h b/asn1c_defs/RANfunctionIDcause-Item.h deleted file mode 100644 index 916f7fb..0000000 --- a/asn1c_defs/RANfunctionIDcause-Item.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RANfunctionIDcause_Item_H_ -#define _RANfunctionIDcause_Item_H_ - - -#include - -/* Including external dependencies */ -#include "RANfunctionID.h" -#include "Cause.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RANfunctionIDcause-Item */ -typedef struct RANfunctionIDcause_Item { - RANfunctionID_t ranFunctionID; - Cause_t cause; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RANfunctionIDcause_Item_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RANfunctionIDcause_Item; - -#ifdef __cplusplus -} -#endif - -#endif /* _RANfunctionIDcause_Item_H_ */ -#include diff --git a/asn1c_defs/RANfunctionRevision.c b/asn1c_defs/RANfunctionRevision.c deleted file mode 100644 index 034bf19..0000000 --- a/asn1c_defs/RANfunctionRevision.c +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RANfunctionRevision.h" - -int -RANfunctionRevision_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 4095)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_RANfunctionRevision_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED, 12, 12, 0, 4095 } /* (0..4095) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_RANfunctionRevision_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RANfunctionRevision = { - "RANfunctionRevision", - "RANfunctionRevision", - &asn_OP_NativeInteger, - asn_DEF_RANfunctionRevision_tags_1, - sizeof(asn_DEF_RANfunctionRevision_tags_1) - /sizeof(asn_DEF_RANfunctionRevision_tags_1[0]), /* 1 */ - asn_DEF_RANfunctionRevision_tags_1, /* Same as above */ - sizeof(asn_DEF_RANfunctionRevision_tags_1) - /sizeof(asn_DEF_RANfunctionRevision_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RANfunctionRevision_constr_1, RANfunctionRevision_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/asn1c_defs/RANfunctionRevision.h b/asn1c_defs/RANfunctionRevision.h deleted file mode 100644 index 12e4cab..0000000 --- a/asn1c_defs/RANfunctionRevision.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RANfunctionRevision_H_ -#define _RANfunctionRevision_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RANfunctionRevision */ -typedef long RANfunctionRevision_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RANfunctionRevision_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RANfunctionRevision; -asn_struct_free_f RANfunctionRevision_free; -asn_struct_print_f RANfunctionRevision_print; -asn_constr_check_f RANfunctionRevision_constraint; -ber_type_decoder_f RANfunctionRevision_decode_ber; -der_type_encoder_f RANfunctionRevision_encode_der; -xer_type_decoder_f RANfunctionRevision_decode_xer; -xer_type_encoder_f RANfunctionRevision_encode_xer; -per_type_decoder_f RANfunctionRevision_decode_uper; -per_type_encoder_f RANfunctionRevision_encode_uper; -per_type_decoder_f RANfunctionRevision_decode_aper; -per_type_encoder_f RANfunctionRevision_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RANfunctionRevision_H_ */ -#include diff --git a/asn1c_defs/RANfunctions-List.c b/asn1c_defs/RANfunctions-List.c deleted file mode 100644 index 634938e..0000000 --- a/asn1c_defs/RANfunctions-List.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RANfunctions-List.h" - -#include "ProtocolIE-SingleContainer.h" -static asn_per_constraints_t asn_PER_type_RANfunctions_List_constr_1 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 9, 9, 0, 256 } /* (SIZE(0..256)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RANfunctions_List_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ProtocolIE_SingleContainer_1415P3, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_RANfunctions_List_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_RANfunctions_List_specs_1 = { - sizeof(struct RANfunctions_List), - offsetof(struct RANfunctions_List, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_RANfunctions_List = { - "RANfunctions-List", - "RANfunctions-List", - &asn_OP_SEQUENCE_OF, - asn_DEF_RANfunctions_List_tags_1, - sizeof(asn_DEF_RANfunctions_List_tags_1) - /sizeof(asn_DEF_RANfunctions_List_tags_1[0]), /* 1 */ - asn_DEF_RANfunctions_List_tags_1, /* Same as above */ - sizeof(asn_DEF_RANfunctions_List_tags_1) - /sizeof(asn_DEF_RANfunctions_List_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RANfunctions_List_constr_1, SEQUENCE_OF_constraint }, - asn_MBR_RANfunctions_List_1, - 1, /* Single element */ - &asn_SPC_RANfunctions_List_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RANfunctions-List.h b/asn1c_defs/RANfunctions-List.h deleted file mode 100644 index aa6e23a..0000000 --- a/asn1c_defs/RANfunctions-List.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RANfunctions_List_H_ -#define _RANfunctions_List_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct ProtocolIE_SingleContainer; - -/* RANfunctions-List */ -typedef struct RANfunctions_List { - A_SEQUENCE_OF(struct ProtocolIE_SingleContainer) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RANfunctions_List_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RANfunctions_List; - -#ifdef __cplusplus -} -#endif - -#endif /* _RANfunctions_List_H_ */ -#include diff --git a/asn1c_defs/RANfunctionsID-List.c b/asn1c_defs/RANfunctionsID-List.c deleted file mode 100644 index 2f3b5a7..0000000 --- a/asn1c_defs/RANfunctionsID-List.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RANfunctionsID-List.h" - -#include "ProtocolIE-SingleContainer.h" -static asn_per_constraints_t asn_PER_type_RANfunctionsID_List_constr_1 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 9, 9, 0, 256 } /* (SIZE(0..256)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RANfunctionsID_List_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ProtocolIE_SingleContainer_1415P4, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_RANfunctionsID_List_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_RANfunctionsID_List_specs_1 = { - sizeof(struct RANfunctionsID_List), - offsetof(struct RANfunctionsID_List, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_RANfunctionsID_List = { - "RANfunctionsID-List", - "RANfunctionsID-List", - &asn_OP_SEQUENCE_OF, - asn_DEF_RANfunctionsID_List_tags_1, - sizeof(asn_DEF_RANfunctionsID_List_tags_1) - /sizeof(asn_DEF_RANfunctionsID_List_tags_1[0]), /* 1 */ - asn_DEF_RANfunctionsID_List_tags_1, /* Same as above */ - sizeof(asn_DEF_RANfunctionsID_List_tags_1) - /sizeof(asn_DEF_RANfunctionsID_List_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RANfunctionsID_List_constr_1, SEQUENCE_OF_constraint }, - asn_MBR_RANfunctionsID_List_1, - 1, /* Single element */ - &asn_SPC_RANfunctionsID_List_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RANfunctionsID-List.h b/asn1c_defs/RANfunctionsID-List.h deleted file mode 100644 index 8b46859..0000000 --- a/asn1c_defs/RANfunctionsID-List.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RANfunctionsID_List_H_ -#define _RANfunctionsID_List_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct ProtocolIE_SingleContainer; - -/* RANfunctionsID-List */ -typedef struct RANfunctionsID_List { - A_SEQUENCE_OF(struct ProtocolIE_SingleContainer) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RANfunctionsID_List_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RANfunctionsID_List; - -#ifdef __cplusplus -} -#endif - -#endif /* _RANfunctionsID_List_H_ */ -#include diff --git a/asn1c_defs/RANfunctionsIDcause-List.c b/asn1c_defs/RANfunctionsIDcause-List.c deleted file mode 100644 index 3bb0da0..0000000 --- a/asn1c_defs/RANfunctionsIDcause-List.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RANfunctionsIDcause-List.h" - -#include "ProtocolIE-SingleContainer.h" -static asn_per_constraints_t asn_PER_type_RANfunctionsIDcause_List_constr_1 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 9, 9, 0, 256 } /* (SIZE(0..256)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RANfunctionsIDcause_List_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ProtocolIE_SingleContainer_1415P5, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_RANfunctionsIDcause_List_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_RANfunctionsIDcause_List_specs_1 = { - sizeof(struct RANfunctionsIDcause_List), - offsetof(struct RANfunctionsIDcause_List, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_RANfunctionsIDcause_List = { - "RANfunctionsIDcause-List", - "RANfunctionsIDcause-List", - &asn_OP_SEQUENCE_OF, - asn_DEF_RANfunctionsIDcause_List_tags_1, - sizeof(asn_DEF_RANfunctionsIDcause_List_tags_1) - /sizeof(asn_DEF_RANfunctionsIDcause_List_tags_1[0]), /* 1 */ - asn_DEF_RANfunctionsIDcause_List_tags_1, /* Same as above */ - sizeof(asn_DEF_RANfunctionsIDcause_List_tags_1) - /sizeof(asn_DEF_RANfunctionsIDcause_List_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RANfunctionsIDcause_List_constr_1, SEQUENCE_OF_constraint }, - asn_MBR_RANfunctionsIDcause_List_1, - 1, /* Single element */ - &asn_SPC_RANfunctionsIDcause_List_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RANfunctionsIDcause-List.h b/asn1c_defs/RANfunctionsIDcause-List.h deleted file mode 100644 index 4baf6c8..0000000 --- a/asn1c_defs/RANfunctionsIDcause-List.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RANfunctionsIDcause_List_H_ -#define _RANfunctionsIDcause_List_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct ProtocolIE_SingleContainer; - -/* RANfunctionsIDcause-List */ -typedef struct RANfunctionsIDcause_List { - A_SEQUENCE_OF(struct ProtocolIE_SingleContainer) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RANfunctionsIDcause_List_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RANfunctionsIDcause_List; - -#ifdef __cplusplus -} -#endif - -#endif /* _RANfunctionsIDcause_List_H_ */ -#include diff --git a/asn1c_defs/RICaction-Admitted-Item.c b/asn1c_defs/RICaction-Admitted-Item.c deleted file mode 100644 index 1b01f80..0000000 --- a/asn1c_defs/RICaction-Admitted-Item.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICaction-Admitted-Item.h" - -static asn_TYPE_member_t asn_MBR_RICaction_Admitted_Item_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICaction_Admitted_Item, ricActionID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RICactionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricActionID" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICaction_Admitted_Item_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICaction_Admitted_Item_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* ricActionID */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RICaction_Admitted_Item_specs_1 = { - sizeof(struct RICaction_Admitted_Item), - offsetof(struct RICaction_Admitted_Item, _asn_ctx), - asn_MAP_RICaction_Admitted_Item_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICaction_Admitted_Item = { - "RICaction-Admitted-Item", - "RICaction-Admitted-Item", - &asn_OP_SEQUENCE, - asn_DEF_RICaction_Admitted_Item_tags_1, - sizeof(asn_DEF_RICaction_Admitted_Item_tags_1) - /sizeof(asn_DEF_RICaction_Admitted_Item_tags_1[0]), /* 1 */ - asn_DEF_RICaction_Admitted_Item_tags_1, /* Same as above */ - sizeof(asn_DEF_RICaction_Admitted_Item_tags_1) - /sizeof(asn_DEF_RICaction_Admitted_Item_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICaction_Admitted_Item_1, - 1, /* Elements count */ - &asn_SPC_RICaction_Admitted_Item_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICaction-Admitted-Item.h b/asn1c_defs/RICaction-Admitted-Item.h deleted file mode 100644 index 05883ba..0000000 --- a/asn1c_defs/RICaction-Admitted-Item.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICaction_Admitted_Item_H_ -#define _RICaction_Admitted_Item_H_ - - -#include - -/* Including external dependencies */ -#include "RICactionID.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICaction-Admitted-Item */ -typedef struct RICaction_Admitted_Item { - RICactionID_t ricActionID; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICaction_Admitted_Item_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICaction_Admitted_Item; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICaction_Admitted_Item_H_ */ -#include diff --git a/asn1c_defs/RICaction-Admitted-List.c b/asn1c_defs/RICaction-Admitted-List.c deleted file mode 100644 index 251a61a..0000000 --- a/asn1c_defs/RICaction-Admitted-List.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICaction-Admitted-List.h" - -#include "ProtocolIE-SingleContainer.h" -static asn_per_constraints_t asn_PER_type_RICaction_Admitted_List_constr_1 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RICaction_Admitted_List_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ProtocolIE_SingleContainer_1415P1, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICaction_Admitted_List_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_RICaction_Admitted_List_specs_1 = { - sizeof(struct RICaction_Admitted_List), - offsetof(struct RICaction_Admitted_List, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_RICaction_Admitted_List = { - "RICaction-Admitted-List", - "RICaction-Admitted-List", - &asn_OP_SEQUENCE_OF, - asn_DEF_RICaction_Admitted_List_tags_1, - sizeof(asn_DEF_RICaction_Admitted_List_tags_1) - /sizeof(asn_DEF_RICaction_Admitted_List_tags_1[0]), /* 1 */ - asn_DEF_RICaction_Admitted_List_tags_1, /* Same as above */ - sizeof(asn_DEF_RICaction_Admitted_List_tags_1) - /sizeof(asn_DEF_RICaction_Admitted_List_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RICaction_Admitted_List_constr_1, SEQUENCE_OF_constraint }, - asn_MBR_RICaction_Admitted_List_1, - 1, /* Single element */ - &asn_SPC_RICaction_Admitted_List_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICaction-Admitted-List.h b/asn1c_defs/RICaction-Admitted-List.h deleted file mode 100644 index 0f53cb1..0000000 --- a/asn1c_defs/RICaction-Admitted-List.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICaction_Admitted_List_H_ -#define _RICaction_Admitted_List_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct ProtocolIE_SingleContainer; - -/* RICaction-Admitted-List */ -typedef struct RICaction_Admitted_List { - A_SEQUENCE_OF(struct ProtocolIE_SingleContainer) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICaction_Admitted_List_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICaction_Admitted_List; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICaction_Admitted_List_H_ */ -#include diff --git a/asn1c_defs/RICaction-NotAdmitted-Item.c b/asn1c_defs/RICaction-NotAdmitted-Item.c deleted file mode 100644 index 747a529..0000000 --- a/asn1c_defs/RICaction-NotAdmitted-Item.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICaction-NotAdmitted-Item.h" - -static asn_TYPE_member_t asn_MBR_RICaction_NotAdmitted_Item_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICaction_NotAdmitted_Item, ricActionID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RICactionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricActionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICaction_NotAdmitted_Item, cause), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_Cause, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "cause" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICaction_NotAdmitted_Item_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICaction_NotAdmitted_Item_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ricActionID */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cause */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RICaction_NotAdmitted_Item_specs_1 = { - sizeof(struct RICaction_NotAdmitted_Item), - offsetof(struct RICaction_NotAdmitted_Item, _asn_ctx), - asn_MAP_RICaction_NotAdmitted_Item_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICaction_NotAdmitted_Item = { - "RICaction-NotAdmitted-Item", - "RICaction-NotAdmitted-Item", - &asn_OP_SEQUENCE, - asn_DEF_RICaction_NotAdmitted_Item_tags_1, - sizeof(asn_DEF_RICaction_NotAdmitted_Item_tags_1) - /sizeof(asn_DEF_RICaction_NotAdmitted_Item_tags_1[0]), /* 1 */ - asn_DEF_RICaction_NotAdmitted_Item_tags_1, /* Same as above */ - sizeof(asn_DEF_RICaction_NotAdmitted_Item_tags_1) - /sizeof(asn_DEF_RICaction_NotAdmitted_Item_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICaction_NotAdmitted_Item_1, - 2, /* Elements count */ - &asn_SPC_RICaction_NotAdmitted_Item_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICaction-NotAdmitted-Item.h b/asn1c_defs/RICaction-NotAdmitted-Item.h deleted file mode 100644 index 3d44090..0000000 --- a/asn1c_defs/RICaction-NotAdmitted-Item.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICaction_NotAdmitted_Item_H_ -#define _RICaction_NotAdmitted_Item_H_ - - -#include - -/* Including external dependencies */ -#include "RICactionID.h" -#include "Cause.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICaction-NotAdmitted-Item */ -typedef struct RICaction_NotAdmitted_Item { - RICactionID_t ricActionID; - Cause_t cause; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICaction_NotAdmitted_Item_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICaction_NotAdmitted_Item; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICaction_NotAdmitted_Item_H_ */ -#include diff --git a/asn1c_defs/RICaction-NotAdmitted-List.c b/asn1c_defs/RICaction-NotAdmitted-List.c deleted file mode 100644 index a4f656f..0000000 --- a/asn1c_defs/RICaction-NotAdmitted-List.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICaction-NotAdmitted-List.h" - -#include "ProtocolIE-SingleContainer.h" -static asn_per_constraints_t asn_PER_type_RICaction_NotAdmitted_List_constr_1 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 5, 5, 0, 16 } /* (SIZE(0..16)) */, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_RICaction_NotAdmitted_List_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ProtocolIE_SingleContainer_1415P2, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICaction_NotAdmitted_List_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static asn_SET_OF_specifics_t asn_SPC_RICaction_NotAdmitted_List_specs_1 = { - sizeof(struct RICaction_NotAdmitted_List), - offsetof(struct RICaction_NotAdmitted_List, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_RICaction_NotAdmitted_List = { - "RICaction-NotAdmitted-List", - "RICaction-NotAdmitted-List", - &asn_OP_SEQUENCE_OF, - asn_DEF_RICaction_NotAdmitted_List_tags_1, - sizeof(asn_DEF_RICaction_NotAdmitted_List_tags_1) - /sizeof(asn_DEF_RICaction_NotAdmitted_List_tags_1[0]), /* 1 */ - asn_DEF_RICaction_NotAdmitted_List_tags_1, /* Same as above */ - sizeof(asn_DEF_RICaction_NotAdmitted_List_tags_1) - /sizeof(asn_DEF_RICaction_NotAdmitted_List_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RICaction_NotAdmitted_List_constr_1, SEQUENCE_OF_constraint }, - asn_MBR_RICaction_NotAdmitted_List_1, - 1, /* Single element */ - &asn_SPC_RICaction_NotAdmitted_List_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICaction-NotAdmitted-List.h b/asn1c_defs/RICaction-NotAdmitted-List.h deleted file mode 100644 index a24aabb..0000000 --- a/asn1c_defs/RICaction-NotAdmitted-List.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICaction_NotAdmitted_List_H_ -#define _RICaction_NotAdmitted_List_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct ProtocolIE_SingleContainer; - -/* RICaction-NotAdmitted-List */ -typedef struct RICaction_NotAdmitted_List { - A_SEQUENCE_OF(struct ProtocolIE_SingleContainer) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICaction_NotAdmitted_List_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICaction_NotAdmitted_List; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICaction_NotAdmitted_List_H_ */ -#include diff --git a/asn1c_defs/RICaction-ToBeSetup-Item.c b/asn1c_defs/RICaction-ToBeSetup-Item.c deleted file mode 100644 index 580cc9f..0000000 --- a/asn1c_defs/RICaction-ToBeSetup-Item.c +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICaction-ToBeSetup-Item.h" - -#include "RICsubsequentAction.h" -static asn_TYPE_member_t asn_MBR_RICaction_ToBeSetup_Item_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICaction_ToBeSetup_Item, ricActionID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RICactionID, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricActionID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICaction_ToBeSetup_Item, ricActionType), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RICactionType, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricActionType" - }, - { ATF_POINTER, 2, offsetof(struct RICaction_ToBeSetup_Item, ricActionDefinition), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RICactionDefinition, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricActionDefinition" - }, - { ATF_POINTER, 1, offsetof(struct RICaction_ToBeSetup_Item, ricSubsequentAction), - (ASN_TAG_CLASS_CONTEXT | (3 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RICsubsequentAction, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricSubsequentAction" - }, -}; -static const int asn_MAP_RICaction_ToBeSetup_Item_oms_1[] = { 2, 3 }; -static const ber_tlv_tag_t asn_DEF_RICaction_ToBeSetup_Item_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICaction_ToBeSetup_Item_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ricActionID */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ricActionType */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ricActionDefinition */ - { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* ricSubsequentAction */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RICaction_ToBeSetup_Item_specs_1 = { - sizeof(struct RICaction_ToBeSetup_Item), - offsetof(struct RICaction_ToBeSetup_Item, _asn_ctx), - asn_MAP_RICaction_ToBeSetup_Item_tag2el_1, - 4, /* Count of tags in the map */ - asn_MAP_RICaction_ToBeSetup_Item_oms_1, /* Optional members */ - 2, 0, /* Root/Additions */ - 4, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICaction_ToBeSetup_Item = { - "RICaction-ToBeSetup-Item", - "RICaction-ToBeSetup-Item", - &asn_OP_SEQUENCE, - asn_DEF_RICaction_ToBeSetup_Item_tags_1, - sizeof(asn_DEF_RICaction_ToBeSetup_Item_tags_1) - /sizeof(asn_DEF_RICaction_ToBeSetup_Item_tags_1[0]), /* 1 */ - asn_DEF_RICaction_ToBeSetup_Item_tags_1, /* Same as above */ - sizeof(asn_DEF_RICaction_ToBeSetup_Item_tags_1) - /sizeof(asn_DEF_RICaction_ToBeSetup_Item_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICaction_ToBeSetup_Item_1, - 4, /* Elements count */ - &asn_SPC_RICaction_ToBeSetup_Item_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICaction-ToBeSetup-Item.h b/asn1c_defs/RICaction-ToBeSetup-Item.h deleted file mode 100644 index c881c32..0000000 --- a/asn1c_defs/RICaction-ToBeSetup-Item.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICaction_ToBeSetup_Item_H_ -#define _RICaction_ToBeSetup_Item_H_ - - -#include - -/* Including external dependencies */ -#include "RICactionID.h" -#include "RICactionType.h" -#include "RICactionDefinition.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RICsubsequentAction; - -/* RICaction-ToBeSetup-Item */ -typedef struct RICaction_ToBeSetup_Item { - RICactionID_t ricActionID; - RICactionType_t ricActionType; - RICactionDefinition_t *ricActionDefinition; /* OPTIONAL */ - struct RICsubsequentAction *ricSubsequentAction; /* OPTIONAL */ - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICaction_ToBeSetup_Item_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICaction_ToBeSetup_Item; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICaction_ToBeSetup_Item_H_ */ -#include diff --git a/asn1c_defs/RICactionDefinition.c b/asn1c_defs/RICactionDefinition.c deleted file mode 100644 index 220fc33..0000000 --- a/asn1c_defs/RICactionDefinition.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICactionDefinition.h" - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static const ber_tlv_tag_t asn_DEF_RICactionDefinition_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICactionDefinition = { - "RICactionDefinition", - "RICactionDefinition", - &asn_OP_OCTET_STRING, - asn_DEF_RICactionDefinition_tags_1, - sizeof(asn_DEF_RICactionDefinition_tags_1) - /sizeof(asn_DEF_RICactionDefinition_tags_1[0]), /* 1 */ - asn_DEF_RICactionDefinition_tags_1, /* Same as above */ - sizeof(asn_DEF_RICactionDefinition_tags_1) - /sizeof(asn_DEF_RICactionDefinition_tags_1[0]), /* 1 */ - { 0, 0, OCTET_STRING_constraint }, - 0, 0, /* No members */ - &asn_SPC_OCTET_STRING_specs /* Additional specs */ -}; - diff --git a/asn1c_defs/RICactionDefinition.h b/asn1c_defs/RICactionDefinition.h deleted file mode 100644 index 86bb4ef..0000000 --- a/asn1c_defs/RICactionDefinition.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICactionDefinition_H_ -#define _RICactionDefinition_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICactionDefinition */ -typedef OCTET_STRING_t RICactionDefinition_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICactionDefinition; -asn_struct_free_f RICactionDefinition_free; -asn_struct_print_f RICactionDefinition_print; -asn_constr_check_f RICactionDefinition_constraint; -ber_type_decoder_f RICactionDefinition_decode_ber; -der_type_encoder_f RICactionDefinition_encode_der; -xer_type_decoder_f RICactionDefinition_decode_xer; -xer_type_encoder_f RICactionDefinition_encode_xer; -per_type_decoder_f RICactionDefinition_decode_uper; -per_type_encoder_f RICactionDefinition_encode_uper; -per_type_decoder_f RICactionDefinition_decode_aper; -per_type_encoder_f RICactionDefinition_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICactionDefinition_H_ */ -#include diff --git a/asn1c_defs/RICactionID.c b/asn1c_defs/RICactionID.c deleted file mode 100644 index f3eb81d..0000000 --- a/asn1c_defs/RICactionID.c +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICactionID.h" - -int -RICactionID_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 255)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_RICactionID_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_RICactionID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICactionID = { - "RICactionID", - "RICactionID", - &asn_OP_NativeInteger, - asn_DEF_RICactionID_tags_1, - sizeof(asn_DEF_RICactionID_tags_1) - /sizeof(asn_DEF_RICactionID_tags_1[0]), /* 1 */ - asn_DEF_RICactionID_tags_1, /* Same as above */ - sizeof(asn_DEF_RICactionID_tags_1) - /sizeof(asn_DEF_RICactionID_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RICactionID_constr_1, RICactionID_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/asn1c_defs/RICactionID.h b/asn1c_defs/RICactionID.h deleted file mode 100644 index 068e0db..0000000 --- a/asn1c_defs/RICactionID.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICactionID_H_ -#define _RICactionID_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICactionID */ -typedef long RICactionID_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RICactionID_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RICactionID; -asn_struct_free_f RICactionID_free; -asn_struct_print_f RICactionID_print; -asn_constr_check_f RICactionID_constraint; -ber_type_decoder_f RICactionID_decode_ber; -der_type_encoder_f RICactionID_encode_der; -xer_type_decoder_f RICactionID_decode_xer; -xer_type_encoder_f RICactionID_encode_xer; -per_type_decoder_f RICactionID_decode_uper; -per_type_encoder_f RICactionID_encode_uper; -per_type_decoder_f RICactionID_decode_aper; -per_type_encoder_f RICactionID_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICactionID_H_ */ -#include diff --git a/asn1c_defs/RICactionType.c b/asn1c_defs/RICactionType.c deleted file mode 100644 index dec4ecf..0000000 --- a/asn1c_defs/RICactionType.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICactionType.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_RICactionType_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_RICactionType_value2enum_1[] = { - { 0, 6, "report" }, - { 1, 6, "insert" }, - { 2, 6, "policy" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_RICactionType_enum2value_1[] = { - 1, /* insert(1) */ - 2, /* policy(2) */ - 0 /* report(0) */ - /* This list is extensible */ -}; -const asn_INTEGER_specifics_t asn_SPC_RICactionType_specs_1 = { - asn_MAP_RICactionType_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_RICactionType_enum2value_1, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 4, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_RICactionType_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICactionType = { - "RICactionType", - "RICactionType", - &asn_OP_NativeEnumerated, - asn_DEF_RICactionType_tags_1, - sizeof(asn_DEF_RICactionType_tags_1) - /sizeof(asn_DEF_RICactionType_tags_1[0]), /* 1 */ - asn_DEF_RICactionType_tags_1, /* Same as above */ - sizeof(asn_DEF_RICactionType_tags_1) - /sizeof(asn_DEF_RICactionType_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RICactionType_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_RICactionType_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICactionType.h b/asn1c_defs/RICactionType.h deleted file mode 100644 index 3add63f..0000000 --- a/asn1c_defs/RICactionType.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICactionType_H_ -#define _RICactionType_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RICactionType { - RICactionType_report = 0, - RICactionType_insert = 1, - RICactionType_policy = 2 - /* - * Enumeration is extensible - */ -} e_RICactionType; - -/* RICactionType */ -typedef long RICactionType_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RICactionType_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RICactionType; -extern const asn_INTEGER_specifics_t asn_SPC_RICactionType_specs_1; -asn_struct_free_f RICactionType_free; -asn_struct_print_f RICactionType_print; -asn_constr_check_f RICactionType_constraint; -ber_type_decoder_f RICactionType_decode_ber; -der_type_encoder_f RICactionType_encode_der; -xer_type_decoder_f RICactionType_decode_xer; -xer_type_encoder_f RICactionType_encode_xer; -per_type_decoder_f RICactionType_decode_uper; -per_type_encoder_f RICactionType_encode_uper; -per_type_decoder_f RICactionType_decode_aper; -per_type_encoder_f RICactionType_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICactionType_H_ */ -#include diff --git a/asn1c_defs/RICactions-ToBeSetup-List.c b/asn1c_defs/RICactions-ToBeSetup-List.c deleted file mode 100644 index 2107172..0000000 --- a/asn1c_defs/RICactions-ToBeSetup-List.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICactions-ToBeSetup-List.h" - -#include "ProtocolIE-SingleContainer.h" -asn_per_constraints_t asn_PER_type_RICactions_ToBeSetup_List_constr_1 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 4, 4, 1, 16 } /* (SIZE(1..16)) */, - 0, 0 /* No PER value map */ -}; -asn_TYPE_member_t asn_MBR_RICactions_ToBeSetup_List_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ProtocolIE_SingleContainer_1415P0, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICactions_ToBeSetup_List_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_RICactions_ToBeSetup_List_specs_1 = { - sizeof(struct RICactions_ToBeSetup_List), - offsetof(struct RICactions_ToBeSetup_List, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_RICactions_ToBeSetup_List = { - "RICactions-ToBeSetup-List", - "RICactions-ToBeSetup-List", - &asn_OP_SEQUENCE_OF, - asn_DEF_RICactions_ToBeSetup_List_tags_1, - sizeof(asn_DEF_RICactions_ToBeSetup_List_tags_1) - /sizeof(asn_DEF_RICactions_ToBeSetup_List_tags_1[0]), /* 1 */ - asn_DEF_RICactions_ToBeSetup_List_tags_1, /* Same as above */ - sizeof(asn_DEF_RICactions_ToBeSetup_List_tags_1) - /sizeof(asn_DEF_RICactions_ToBeSetup_List_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RICactions_ToBeSetup_List_constr_1, SEQUENCE_OF_constraint }, - asn_MBR_RICactions_ToBeSetup_List_1, - 1, /* Single element */ - &asn_SPC_RICactions_ToBeSetup_List_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICactions-ToBeSetup-List.h b/asn1c_defs/RICactions-ToBeSetup-List.h deleted file mode 100644 index 105ab79..0000000 --- a/asn1c_defs/RICactions-ToBeSetup-List.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICactions_ToBeSetup_List_H_ -#define _RICactions_ToBeSetup_List_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct ProtocolIE_SingleContainer; - -/* RICactions-ToBeSetup-List */ -typedef struct RICactions_ToBeSetup_List { - A_SEQUENCE_OF(struct ProtocolIE_SingleContainer) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICactions_ToBeSetup_List_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICactions_ToBeSetup_List; -extern asn_SET_OF_specifics_t asn_SPC_RICactions_ToBeSetup_List_specs_1; -extern asn_TYPE_member_t asn_MBR_RICactions_ToBeSetup_List_1[1]; -extern asn_per_constraints_t asn_PER_type_RICactions_ToBeSetup_List_constr_1; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICactions_ToBeSetup_List_H_ */ -#include diff --git a/asn1c_defs/RICcallProcessID.c b/asn1c_defs/RICcallProcessID.c deleted file mode 100644 index 7e19fa7..0000000 --- a/asn1c_defs/RICcallProcessID.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICcallProcessID.h" - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static const ber_tlv_tag_t asn_DEF_RICcallProcessID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICcallProcessID = { - "RICcallProcessID", - "RICcallProcessID", - &asn_OP_OCTET_STRING, - asn_DEF_RICcallProcessID_tags_1, - sizeof(asn_DEF_RICcallProcessID_tags_1) - /sizeof(asn_DEF_RICcallProcessID_tags_1[0]), /* 1 */ - asn_DEF_RICcallProcessID_tags_1, /* Same as above */ - sizeof(asn_DEF_RICcallProcessID_tags_1) - /sizeof(asn_DEF_RICcallProcessID_tags_1[0]), /* 1 */ - { 0, 0, OCTET_STRING_constraint }, - 0, 0, /* No members */ - &asn_SPC_OCTET_STRING_specs /* Additional specs */ -}; - diff --git a/asn1c_defs/RICcallProcessID.h b/asn1c_defs/RICcallProcessID.h deleted file mode 100644 index e3ac800..0000000 --- a/asn1c_defs/RICcallProcessID.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICcallProcessID_H_ -#define _RICcallProcessID_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICcallProcessID */ -typedef OCTET_STRING_t RICcallProcessID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICcallProcessID; -asn_struct_free_f RICcallProcessID_free; -asn_struct_print_f RICcallProcessID_print; -asn_constr_check_f RICcallProcessID_constraint; -ber_type_decoder_f RICcallProcessID_decode_ber; -der_type_encoder_f RICcallProcessID_encode_der; -xer_type_decoder_f RICcallProcessID_decode_xer; -xer_type_encoder_f RICcallProcessID_encode_xer; -per_type_decoder_f RICcallProcessID_decode_uper; -per_type_encoder_f RICcallProcessID_encode_uper; -per_type_decoder_f RICcallProcessID_decode_aper; -per_type_encoder_f RICcallProcessID_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICcallProcessID_H_ */ -#include diff --git a/asn1c_defs/RICcontrolAckRequest.c b/asn1c_defs/RICcontrolAckRequest.c deleted file mode 100644 index aa6c5ea..0000000 --- a/asn1c_defs/RICcontrolAckRequest.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICcontrolAckRequest.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static asn_per_constraints_t asn_PER_type_RICcontrolAckRequest_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_RICcontrolAckRequest_value2enum_1[] = { - { 0, 5, "noAck" }, - { 1, 3, "ack" }, - { 2, 4, "nAck" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_RICcontrolAckRequest_enum2value_1[] = { - 1, /* ack(1) */ - 2, /* nAck(2) */ - 0 /* noAck(0) */ - /* This list is extensible */ -}; -static const asn_INTEGER_specifics_t asn_SPC_RICcontrolAckRequest_specs_1 = { - asn_MAP_RICcontrolAckRequest_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_RICcontrolAckRequest_enum2value_1, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 4, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_RICcontrolAckRequest_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICcontrolAckRequest = { - "RICcontrolAckRequest", - "RICcontrolAckRequest", - &asn_OP_NativeEnumerated, - asn_DEF_RICcontrolAckRequest_tags_1, - sizeof(asn_DEF_RICcontrolAckRequest_tags_1) - /sizeof(asn_DEF_RICcontrolAckRequest_tags_1[0]), /* 1 */ - asn_DEF_RICcontrolAckRequest_tags_1, /* Same as above */ - sizeof(asn_DEF_RICcontrolAckRequest_tags_1) - /sizeof(asn_DEF_RICcontrolAckRequest_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RICcontrolAckRequest_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_RICcontrolAckRequest_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICcontrolAckRequest.h b/asn1c_defs/RICcontrolAckRequest.h deleted file mode 100644 index e658c5e..0000000 --- a/asn1c_defs/RICcontrolAckRequest.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICcontrolAckRequest_H_ -#define _RICcontrolAckRequest_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RICcontrolAckRequest { - RICcontrolAckRequest_noAck = 0, - RICcontrolAckRequest_ack = 1, - RICcontrolAckRequest_nAck = 2 - /* - * Enumeration is extensible - */ -} e_RICcontrolAckRequest; - -/* RICcontrolAckRequest */ -typedef long RICcontrolAckRequest_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICcontrolAckRequest; -asn_struct_free_f RICcontrolAckRequest_free; -asn_struct_print_f RICcontrolAckRequest_print; -asn_constr_check_f RICcontrolAckRequest_constraint; -ber_type_decoder_f RICcontrolAckRequest_decode_ber; -der_type_encoder_f RICcontrolAckRequest_encode_der; -xer_type_decoder_f RICcontrolAckRequest_decode_xer; -xer_type_encoder_f RICcontrolAckRequest_encode_xer; -per_type_decoder_f RICcontrolAckRequest_decode_uper; -per_type_encoder_f RICcontrolAckRequest_encode_uper; -per_type_decoder_f RICcontrolAckRequest_decode_aper; -per_type_encoder_f RICcontrolAckRequest_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICcontrolAckRequest_H_ */ -#include diff --git a/asn1c_defs/RICcontrolAcknowledge.c b/asn1c_defs/RICcontrolAcknowledge.c deleted file mode 100644 index 86dbf2b..0000000 --- a/asn1c_defs/RICcontrolAcknowledge.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICcontrolAcknowledge.h" - -asn_TYPE_member_t asn_MBR_RICcontrolAcknowledge_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolAcknowledge, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P8, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICcontrolAcknowledge_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICcontrolAcknowledge_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICcontrolAcknowledge_specs_1 = { - sizeof(struct RICcontrolAcknowledge), - offsetof(struct RICcontrolAcknowledge, _asn_ctx), - asn_MAP_RICcontrolAcknowledge_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICcontrolAcknowledge = { - "RICcontrolAcknowledge", - "RICcontrolAcknowledge", - &asn_OP_SEQUENCE, - asn_DEF_RICcontrolAcknowledge_tags_1, - sizeof(asn_DEF_RICcontrolAcknowledge_tags_1) - /sizeof(asn_DEF_RICcontrolAcknowledge_tags_1[0]), /* 1 */ - asn_DEF_RICcontrolAcknowledge_tags_1, /* Same as above */ - sizeof(asn_DEF_RICcontrolAcknowledge_tags_1) - /sizeof(asn_DEF_RICcontrolAcknowledge_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICcontrolAcknowledge_1, - 1, /* Elements count */ - &asn_SPC_RICcontrolAcknowledge_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICcontrolAcknowledge.h b/asn1c_defs/RICcontrolAcknowledge.h deleted file mode 100644 index 8e1fc3a..0000000 --- a/asn1c_defs/RICcontrolAcknowledge.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICcontrolAcknowledge_H_ -#define _RICcontrolAcknowledge_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICcontrolAcknowledge */ -typedef struct RICcontrolAcknowledge { - ProtocolIE_Container_1412P8_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICcontrolAcknowledge_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICcontrolAcknowledge; -extern asn_SEQUENCE_specifics_t asn_SPC_RICcontrolAcknowledge_specs_1; -extern asn_TYPE_member_t asn_MBR_RICcontrolAcknowledge_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICcontrolAcknowledge_H_ */ -#include diff --git a/asn1c_defs/RICcontrolFailure.c b/asn1c_defs/RICcontrolFailure.c deleted file mode 100644 index 507ed34..0000000 --- a/asn1c_defs/RICcontrolFailure.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICcontrolFailure.h" - -asn_TYPE_member_t asn_MBR_RICcontrolFailure_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolFailure, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P9, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICcontrolFailure_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICcontrolFailure_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICcontrolFailure_specs_1 = { - sizeof(struct RICcontrolFailure), - offsetof(struct RICcontrolFailure, _asn_ctx), - asn_MAP_RICcontrolFailure_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICcontrolFailure = { - "RICcontrolFailure", - "RICcontrolFailure", - &asn_OP_SEQUENCE, - asn_DEF_RICcontrolFailure_tags_1, - sizeof(asn_DEF_RICcontrolFailure_tags_1) - /sizeof(asn_DEF_RICcontrolFailure_tags_1[0]), /* 1 */ - asn_DEF_RICcontrolFailure_tags_1, /* Same as above */ - sizeof(asn_DEF_RICcontrolFailure_tags_1) - /sizeof(asn_DEF_RICcontrolFailure_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICcontrolFailure_1, - 1, /* Elements count */ - &asn_SPC_RICcontrolFailure_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICcontrolFailure.h b/asn1c_defs/RICcontrolFailure.h deleted file mode 100644 index 715dfeb..0000000 --- a/asn1c_defs/RICcontrolFailure.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICcontrolFailure_H_ -#define _RICcontrolFailure_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICcontrolFailure */ -typedef struct RICcontrolFailure { - ProtocolIE_Container_1412P9_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICcontrolFailure_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICcontrolFailure; -extern asn_SEQUENCE_specifics_t asn_SPC_RICcontrolFailure_specs_1; -extern asn_TYPE_member_t asn_MBR_RICcontrolFailure_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICcontrolFailure_H_ */ -#include diff --git a/asn1c_defs/RICcontrolHeader.c b/asn1c_defs/RICcontrolHeader.c deleted file mode 100644 index f3afae4..0000000 --- a/asn1c_defs/RICcontrolHeader.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICcontrolHeader.h" - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static const ber_tlv_tag_t asn_DEF_RICcontrolHeader_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICcontrolHeader = { - "RICcontrolHeader", - "RICcontrolHeader", - &asn_OP_OCTET_STRING, - asn_DEF_RICcontrolHeader_tags_1, - sizeof(asn_DEF_RICcontrolHeader_tags_1) - /sizeof(asn_DEF_RICcontrolHeader_tags_1[0]), /* 1 */ - asn_DEF_RICcontrolHeader_tags_1, /* Same as above */ - sizeof(asn_DEF_RICcontrolHeader_tags_1) - /sizeof(asn_DEF_RICcontrolHeader_tags_1[0]), /* 1 */ - { 0, 0, OCTET_STRING_constraint }, - 0, 0, /* No members */ - &asn_SPC_OCTET_STRING_specs /* Additional specs */ -}; - diff --git a/asn1c_defs/RICcontrolHeader.h b/asn1c_defs/RICcontrolHeader.h deleted file mode 100644 index 6907190..0000000 --- a/asn1c_defs/RICcontrolHeader.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICcontrolHeader_H_ -#define _RICcontrolHeader_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICcontrolHeader */ -typedef OCTET_STRING_t RICcontrolHeader_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICcontrolHeader; -asn_struct_free_f RICcontrolHeader_free; -asn_struct_print_f RICcontrolHeader_print; -asn_constr_check_f RICcontrolHeader_constraint; -ber_type_decoder_f RICcontrolHeader_decode_ber; -der_type_encoder_f RICcontrolHeader_encode_der; -xer_type_decoder_f RICcontrolHeader_decode_xer; -xer_type_encoder_f RICcontrolHeader_encode_xer; -per_type_decoder_f RICcontrolHeader_decode_uper; -per_type_encoder_f RICcontrolHeader_encode_uper; -per_type_decoder_f RICcontrolHeader_decode_aper; -per_type_encoder_f RICcontrolHeader_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICcontrolHeader_H_ */ -#include diff --git a/asn1c_defs/RICcontrolMessage.c b/asn1c_defs/RICcontrolMessage.c deleted file mode 100644 index 9aabdcc..0000000 --- a/asn1c_defs/RICcontrolMessage.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICcontrolMessage.h" - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static const ber_tlv_tag_t asn_DEF_RICcontrolMessage_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICcontrolMessage = { - "RICcontrolMessage", - "RICcontrolMessage", - &asn_OP_OCTET_STRING, - asn_DEF_RICcontrolMessage_tags_1, - sizeof(asn_DEF_RICcontrolMessage_tags_1) - /sizeof(asn_DEF_RICcontrolMessage_tags_1[0]), /* 1 */ - asn_DEF_RICcontrolMessage_tags_1, /* Same as above */ - sizeof(asn_DEF_RICcontrolMessage_tags_1) - /sizeof(asn_DEF_RICcontrolMessage_tags_1[0]), /* 1 */ - { 0, 0, OCTET_STRING_constraint }, - 0, 0, /* No members */ - &asn_SPC_OCTET_STRING_specs /* Additional specs */ -}; - diff --git a/asn1c_defs/RICcontrolMessage.h b/asn1c_defs/RICcontrolMessage.h deleted file mode 100644 index fc6a84c..0000000 --- a/asn1c_defs/RICcontrolMessage.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICcontrolMessage_H_ -#define _RICcontrolMessage_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICcontrolMessage */ -typedef OCTET_STRING_t RICcontrolMessage_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICcontrolMessage; -asn_struct_free_f RICcontrolMessage_free; -asn_struct_print_f RICcontrolMessage_print; -asn_constr_check_f RICcontrolMessage_constraint; -ber_type_decoder_f RICcontrolMessage_decode_ber; -der_type_encoder_f RICcontrolMessage_encode_der; -xer_type_decoder_f RICcontrolMessage_decode_xer; -xer_type_encoder_f RICcontrolMessage_encode_xer; -per_type_decoder_f RICcontrolMessage_decode_uper; -per_type_encoder_f RICcontrolMessage_encode_uper; -per_type_decoder_f RICcontrolMessage_decode_aper; -per_type_encoder_f RICcontrolMessage_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICcontrolMessage_H_ */ -#include diff --git a/asn1c_defs/RICcontrolOutcome.c b/asn1c_defs/RICcontrolOutcome.c deleted file mode 100644 index 26e3048..0000000 --- a/asn1c_defs/RICcontrolOutcome.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICcontrolOutcome.h" - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static const ber_tlv_tag_t asn_DEF_RICcontrolOutcome_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICcontrolOutcome = { - "RICcontrolOutcome", - "RICcontrolOutcome", - &asn_OP_OCTET_STRING, - asn_DEF_RICcontrolOutcome_tags_1, - sizeof(asn_DEF_RICcontrolOutcome_tags_1) - /sizeof(asn_DEF_RICcontrolOutcome_tags_1[0]), /* 1 */ - asn_DEF_RICcontrolOutcome_tags_1, /* Same as above */ - sizeof(asn_DEF_RICcontrolOutcome_tags_1) - /sizeof(asn_DEF_RICcontrolOutcome_tags_1[0]), /* 1 */ - { 0, 0, OCTET_STRING_constraint }, - 0, 0, /* No members */ - &asn_SPC_OCTET_STRING_specs /* Additional specs */ -}; - diff --git a/asn1c_defs/RICcontrolOutcome.h b/asn1c_defs/RICcontrolOutcome.h deleted file mode 100644 index d065421..0000000 --- a/asn1c_defs/RICcontrolOutcome.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICcontrolOutcome_H_ -#define _RICcontrolOutcome_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICcontrolOutcome */ -typedef OCTET_STRING_t RICcontrolOutcome_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICcontrolOutcome; -asn_struct_free_f RICcontrolOutcome_free; -asn_struct_print_f RICcontrolOutcome_print; -asn_constr_check_f RICcontrolOutcome_constraint; -ber_type_decoder_f RICcontrolOutcome_decode_ber; -der_type_encoder_f RICcontrolOutcome_encode_der; -xer_type_decoder_f RICcontrolOutcome_decode_xer; -xer_type_encoder_f RICcontrolOutcome_encode_xer; -per_type_decoder_f RICcontrolOutcome_decode_uper; -per_type_encoder_f RICcontrolOutcome_encode_uper; -per_type_decoder_f RICcontrolOutcome_decode_aper; -per_type_encoder_f RICcontrolOutcome_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICcontrolOutcome_H_ */ -#include diff --git a/asn1c_defs/RICcontrolRequest.c b/asn1c_defs/RICcontrolRequest.c deleted file mode 100644 index d2ed2a1..0000000 --- a/asn1c_defs/RICcontrolRequest.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICcontrolRequest.h" - -asn_TYPE_member_t asn_MBR_RICcontrolRequest_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICcontrolRequest, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P7, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICcontrolRequest_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICcontrolRequest_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICcontrolRequest_specs_1 = { - sizeof(struct RICcontrolRequest), - offsetof(struct RICcontrolRequest, _asn_ctx), - asn_MAP_RICcontrolRequest_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICcontrolRequest = { - "RICcontrolRequest", - "RICcontrolRequest", - &asn_OP_SEQUENCE, - asn_DEF_RICcontrolRequest_tags_1, - sizeof(asn_DEF_RICcontrolRequest_tags_1) - /sizeof(asn_DEF_RICcontrolRequest_tags_1[0]), /* 1 */ - asn_DEF_RICcontrolRequest_tags_1, /* Same as above */ - sizeof(asn_DEF_RICcontrolRequest_tags_1) - /sizeof(asn_DEF_RICcontrolRequest_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICcontrolRequest_1, - 1, /* Elements count */ - &asn_SPC_RICcontrolRequest_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICcontrolRequest.h b/asn1c_defs/RICcontrolRequest.h deleted file mode 100644 index e7e3659..0000000 --- a/asn1c_defs/RICcontrolRequest.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICcontrolRequest_H_ -#define _RICcontrolRequest_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICcontrolRequest */ -typedef struct RICcontrolRequest { - ProtocolIE_Container_1412P7_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICcontrolRequest_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICcontrolRequest; -extern asn_SEQUENCE_specifics_t asn_SPC_RICcontrolRequest_specs_1; -extern asn_TYPE_member_t asn_MBR_RICcontrolRequest_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICcontrolRequest_H_ */ -#include diff --git a/asn1c_defs/RICcontrolStatus.c b/asn1c_defs/RICcontrolStatus.c deleted file mode 100644 index b935667..0000000 --- a/asn1c_defs/RICcontrolStatus.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICcontrolStatus.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static asn_per_constraints_t asn_PER_type_RICcontrolStatus_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_RICcontrolStatus_value2enum_1[] = { - { 0, 7, "success" }, - { 1, 8, "rejected" }, - { 2, 6, "failed" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_RICcontrolStatus_enum2value_1[] = { - 2, /* failed(2) */ - 1, /* rejected(1) */ - 0 /* success(0) */ - /* This list is extensible */ -}; -static const asn_INTEGER_specifics_t asn_SPC_RICcontrolStatus_specs_1 = { - asn_MAP_RICcontrolStatus_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_RICcontrolStatus_enum2value_1, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 4, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_RICcontrolStatus_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICcontrolStatus = { - "RICcontrolStatus", - "RICcontrolStatus", - &asn_OP_NativeEnumerated, - asn_DEF_RICcontrolStatus_tags_1, - sizeof(asn_DEF_RICcontrolStatus_tags_1) - /sizeof(asn_DEF_RICcontrolStatus_tags_1[0]), /* 1 */ - asn_DEF_RICcontrolStatus_tags_1, /* Same as above */ - sizeof(asn_DEF_RICcontrolStatus_tags_1) - /sizeof(asn_DEF_RICcontrolStatus_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RICcontrolStatus_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_RICcontrolStatus_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICcontrolStatus.h b/asn1c_defs/RICcontrolStatus.h deleted file mode 100644 index bb06dc0..0000000 --- a/asn1c_defs/RICcontrolStatus.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICcontrolStatus_H_ -#define _RICcontrolStatus_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RICcontrolStatus { - RICcontrolStatus_success = 0, - RICcontrolStatus_rejected = 1, - RICcontrolStatus_failed = 2 - /* - * Enumeration is extensible - */ -} e_RICcontrolStatus; - -/* RICcontrolStatus */ -typedef long RICcontrolStatus_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICcontrolStatus; -asn_struct_free_f RICcontrolStatus_free; -asn_struct_print_f RICcontrolStatus_print; -asn_constr_check_f RICcontrolStatus_constraint; -ber_type_decoder_f RICcontrolStatus_decode_ber; -der_type_encoder_f RICcontrolStatus_encode_der; -xer_type_decoder_f RICcontrolStatus_decode_xer; -xer_type_encoder_f RICcontrolStatus_encode_xer; -per_type_decoder_f RICcontrolStatus_decode_uper; -per_type_encoder_f RICcontrolStatus_encode_uper; -per_type_decoder_f RICcontrolStatus_decode_aper; -per_type_encoder_f RICcontrolStatus_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICcontrolStatus_H_ */ -#include diff --git a/asn1c_defs/RICeventTriggerDefinition.c b/asn1c_defs/RICeventTriggerDefinition.c deleted file mode 100644 index ef4dc70..0000000 --- a/asn1c_defs/RICeventTriggerDefinition.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICeventTriggerDefinition.h" - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static const ber_tlv_tag_t asn_DEF_RICeventTriggerDefinition_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICeventTriggerDefinition = { - "RICeventTriggerDefinition", - "RICeventTriggerDefinition", - &asn_OP_OCTET_STRING, - asn_DEF_RICeventTriggerDefinition_tags_1, - sizeof(asn_DEF_RICeventTriggerDefinition_tags_1) - /sizeof(asn_DEF_RICeventTriggerDefinition_tags_1[0]), /* 1 */ - asn_DEF_RICeventTriggerDefinition_tags_1, /* Same as above */ - sizeof(asn_DEF_RICeventTriggerDefinition_tags_1) - /sizeof(asn_DEF_RICeventTriggerDefinition_tags_1[0]), /* 1 */ - { 0, 0, OCTET_STRING_constraint }, - 0, 0, /* No members */ - &asn_SPC_OCTET_STRING_specs /* Additional specs */ -}; - diff --git a/asn1c_defs/RICeventTriggerDefinition.h b/asn1c_defs/RICeventTriggerDefinition.h deleted file mode 100644 index 4b6258a..0000000 --- a/asn1c_defs/RICeventTriggerDefinition.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICeventTriggerDefinition_H_ -#define _RICeventTriggerDefinition_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICeventTriggerDefinition */ -typedef OCTET_STRING_t RICeventTriggerDefinition_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICeventTriggerDefinition; -asn_struct_free_f RICeventTriggerDefinition_free; -asn_struct_print_f RICeventTriggerDefinition_print; -asn_constr_check_f RICeventTriggerDefinition_constraint; -ber_type_decoder_f RICeventTriggerDefinition_decode_ber; -der_type_encoder_f RICeventTriggerDefinition_encode_der; -xer_type_decoder_f RICeventTriggerDefinition_decode_xer; -xer_type_encoder_f RICeventTriggerDefinition_encode_xer; -per_type_decoder_f RICeventTriggerDefinition_decode_uper; -per_type_encoder_f RICeventTriggerDefinition_encode_uper; -per_type_decoder_f RICeventTriggerDefinition_decode_aper; -per_type_encoder_f RICeventTriggerDefinition_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICeventTriggerDefinition_H_ */ -#include diff --git a/asn1c_defs/RICindication.c b/asn1c_defs/RICindication.c deleted file mode 100644 index 5ae7d28..0000000 --- a/asn1c_defs/RICindication.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICindication.h" - -asn_TYPE_member_t asn_MBR_RICindication_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICindication, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P6, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICindication_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICindication_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICindication_specs_1 = { - sizeof(struct RICindication), - offsetof(struct RICindication, _asn_ctx), - asn_MAP_RICindication_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICindication = { - "RICindication", - "RICindication", - &asn_OP_SEQUENCE, - asn_DEF_RICindication_tags_1, - sizeof(asn_DEF_RICindication_tags_1) - /sizeof(asn_DEF_RICindication_tags_1[0]), /* 1 */ - asn_DEF_RICindication_tags_1, /* Same as above */ - sizeof(asn_DEF_RICindication_tags_1) - /sizeof(asn_DEF_RICindication_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICindication_1, - 1, /* Elements count */ - &asn_SPC_RICindication_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICindication.h b/asn1c_defs/RICindication.h deleted file mode 100644 index fbf8c9d..0000000 --- a/asn1c_defs/RICindication.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICindication_H_ -#define _RICindication_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICindication */ -typedef struct RICindication { - ProtocolIE_Container_1412P6_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICindication_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICindication; -extern asn_SEQUENCE_specifics_t asn_SPC_RICindication_specs_1; -extern asn_TYPE_member_t asn_MBR_RICindication_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICindication_H_ */ -#include diff --git a/asn1c_defs/RICindicationHeader.c b/asn1c_defs/RICindicationHeader.c deleted file mode 100644 index 223ec0c..0000000 --- a/asn1c_defs/RICindicationHeader.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICindicationHeader.h" - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static const ber_tlv_tag_t asn_DEF_RICindicationHeader_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICindicationHeader = { - "RICindicationHeader", - "RICindicationHeader", - &asn_OP_OCTET_STRING, - asn_DEF_RICindicationHeader_tags_1, - sizeof(asn_DEF_RICindicationHeader_tags_1) - /sizeof(asn_DEF_RICindicationHeader_tags_1[0]), /* 1 */ - asn_DEF_RICindicationHeader_tags_1, /* Same as above */ - sizeof(asn_DEF_RICindicationHeader_tags_1) - /sizeof(asn_DEF_RICindicationHeader_tags_1[0]), /* 1 */ - { 0, 0, OCTET_STRING_constraint }, - 0, 0, /* No members */ - &asn_SPC_OCTET_STRING_specs /* Additional specs */ -}; - diff --git a/asn1c_defs/RICindicationHeader.h b/asn1c_defs/RICindicationHeader.h deleted file mode 100644 index f1355c6..0000000 --- a/asn1c_defs/RICindicationHeader.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICindicationHeader_H_ -#define _RICindicationHeader_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICindicationHeader */ -typedef OCTET_STRING_t RICindicationHeader_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICindicationHeader; -asn_struct_free_f RICindicationHeader_free; -asn_struct_print_f RICindicationHeader_print; -asn_constr_check_f RICindicationHeader_constraint; -ber_type_decoder_f RICindicationHeader_decode_ber; -der_type_encoder_f RICindicationHeader_encode_der; -xer_type_decoder_f RICindicationHeader_decode_xer; -xer_type_encoder_f RICindicationHeader_encode_xer; -per_type_decoder_f RICindicationHeader_decode_uper; -per_type_encoder_f RICindicationHeader_encode_uper; -per_type_decoder_f RICindicationHeader_decode_aper; -per_type_encoder_f RICindicationHeader_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICindicationHeader_H_ */ -#include diff --git a/asn1c_defs/RICindicationMessage.c b/asn1c_defs/RICindicationMessage.c deleted file mode 100644 index 8cf70c9..0000000 --- a/asn1c_defs/RICindicationMessage.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICindicationMessage.h" - -/* - * This type is implemented using OCTET_STRING, - * so here we adjust the DEF accordingly. - */ -static const ber_tlv_tag_t asn_DEF_RICindicationMessage_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICindicationMessage = { - "RICindicationMessage", - "RICindicationMessage", - &asn_OP_OCTET_STRING, - asn_DEF_RICindicationMessage_tags_1, - sizeof(asn_DEF_RICindicationMessage_tags_1) - /sizeof(asn_DEF_RICindicationMessage_tags_1[0]), /* 1 */ - asn_DEF_RICindicationMessage_tags_1, /* Same as above */ - sizeof(asn_DEF_RICindicationMessage_tags_1) - /sizeof(asn_DEF_RICindicationMessage_tags_1[0]), /* 1 */ - { 0, 0, OCTET_STRING_constraint }, - 0, 0, /* No members */ - &asn_SPC_OCTET_STRING_specs /* Additional specs */ -}; - diff --git a/asn1c_defs/RICindicationMessage.h b/asn1c_defs/RICindicationMessage.h deleted file mode 100644 index 777829f..0000000 --- a/asn1c_defs/RICindicationMessage.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICindicationMessage_H_ -#define _RICindicationMessage_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICindicationMessage */ -typedef OCTET_STRING_t RICindicationMessage_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICindicationMessage; -asn_struct_free_f RICindicationMessage_free; -asn_struct_print_f RICindicationMessage_print; -asn_constr_check_f RICindicationMessage_constraint; -ber_type_decoder_f RICindicationMessage_decode_ber; -der_type_encoder_f RICindicationMessage_encode_der; -xer_type_decoder_f RICindicationMessage_decode_xer; -xer_type_encoder_f RICindicationMessage_encode_xer; -per_type_decoder_f RICindicationMessage_decode_uper; -per_type_encoder_f RICindicationMessage_encode_uper; -per_type_decoder_f RICindicationMessage_decode_aper; -per_type_encoder_f RICindicationMessage_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICindicationMessage_H_ */ -#include diff --git a/asn1c_defs/RICindicationSN.c b/asn1c_defs/RICindicationSN.c deleted file mode 100644 index 67bdff3..0000000 --- a/asn1c_defs/RICindicationSN.c +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICindicationSN.h" - -int -RICindicationSN_constraint(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -/* - * This type is implemented using NativeInteger, - * so here we adjust the DEF accordingly. - */ -static asn_per_constraints_t asn_PER_type_RICindicationSN_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const ber_tlv_tag_t asn_DEF_RICindicationSN_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICindicationSN = { - "RICindicationSN", - "RICindicationSN", - &asn_OP_NativeInteger, - asn_DEF_RICindicationSN_tags_1, - sizeof(asn_DEF_RICindicationSN_tags_1) - /sizeof(asn_DEF_RICindicationSN_tags_1[0]), /* 1 */ - asn_DEF_RICindicationSN_tags_1, /* Same as above */ - sizeof(asn_DEF_RICindicationSN_tags_1) - /sizeof(asn_DEF_RICindicationSN_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RICindicationSN_constr_1, RICindicationSN_constraint }, - 0, 0, /* No members */ - 0 /* No specifics */ -}; - diff --git a/asn1c_defs/RICindicationSN.h b/asn1c_defs/RICindicationSN.h deleted file mode 100644 index d07c9ed..0000000 --- a/asn1c_defs/RICindicationSN.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICindicationSN_H_ -#define _RICindicationSN_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICindicationSN */ -typedef long RICindicationSN_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICindicationSN; -asn_struct_free_f RICindicationSN_free; -asn_struct_print_f RICindicationSN_print; -asn_constr_check_f RICindicationSN_constraint; -ber_type_decoder_f RICindicationSN_decode_ber; -der_type_encoder_f RICindicationSN_encode_der; -xer_type_decoder_f RICindicationSN_decode_xer; -xer_type_encoder_f RICindicationSN_encode_xer; -per_type_decoder_f RICindicationSN_decode_uper; -per_type_encoder_f RICindicationSN_encode_uper; -per_type_decoder_f RICindicationSN_decode_aper; -per_type_encoder_f RICindicationSN_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICindicationSN_H_ */ -#include diff --git a/asn1c_defs/RICindicationType.c b/asn1c_defs/RICindicationType.c deleted file mode 100644 index a77173f..0000000 --- a/asn1c_defs/RICindicationType.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICindicationType.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static asn_per_constraints_t asn_PER_type_RICindicationType_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_RICindicationType_value2enum_1[] = { - { 0, 6, "report" }, - { 1, 6, "insert" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_RICindicationType_enum2value_1[] = { - 1, /* insert(1) */ - 0 /* report(0) */ - /* This list is extensible */ -}; -static const asn_INTEGER_specifics_t asn_SPC_RICindicationType_specs_1 = { - asn_MAP_RICindicationType_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_RICindicationType_enum2value_1, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 3, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_RICindicationType_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICindicationType = { - "RICindicationType", - "RICindicationType", - &asn_OP_NativeEnumerated, - asn_DEF_RICindicationType_tags_1, - sizeof(asn_DEF_RICindicationType_tags_1) - /sizeof(asn_DEF_RICindicationType_tags_1[0]), /* 1 */ - asn_DEF_RICindicationType_tags_1, /* Same as above */ - sizeof(asn_DEF_RICindicationType_tags_1) - /sizeof(asn_DEF_RICindicationType_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RICindicationType_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_RICindicationType_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICindicationType.h b/asn1c_defs/RICindicationType.h deleted file mode 100644 index dac22be..0000000 --- a/asn1c_defs/RICindicationType.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICindicationType_H_ -#define _RICindicationType_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RICindicationType { - RICindicationType_report = 0, - RICindicationType_insert = 1 - /* - * Enumeration is extensible - */ -} e_RICindicationType; - -/* RICindicationType */ -typedef long RICindicationType_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICindicationType; -asn_struct_free_f RICindicationType_free; -asn_struct_print_f RICindicationType_print; -asn_constr_check_f RICindicationType_constraint; -ber_type_decoder_f RICindicationType_decode_ber; -der_type_encoder_f RICindicationType_encode_der; -xer_type_decoder_f RICindicationType_decode_xer; -xer_type_encoder_f RICindicationType_encode_xer; -per_type_decoder_f RICindicationType_decode_uper; -per_type_encoder_f RICindicationType_encode_uper; -per_type_decoder_f RICindicationType_decode_aper; -per_type_encoder_f RICindicationType_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICindicationType_H_ */ -#include diff --git a/asn1c_defs/RICrequestID.c b/asn1c_defs/RICrequestID.c deleted file mode 100644 index bcb4982..0000000 --- a/asn1c_defs/RICrequestID.c +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICrequestID.h" - -static int -memb_ricRequestorID_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static int -memb_ricInstanceID_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 65535)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_per_constraints_t asn_PER_memb_ricRequestorID_constr_2 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_ricInstanceID_constr_3 CC_NOTUSED = { - { APC_CONSTRAINED, 16, 16, 0, 65535 } /* (0..65535) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -asn_TYPE_member_t asn_MBR_RICrequestID_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICrequestID, ricRequestorID), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - 0, - { 0, &asn_PER_memb_ricRequestorID_constr_2, memb_ricRequestorID_constraint_1 }, - 0, 0, /* No default value */ - "ricRequestorID" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICrequestID, ricInstanceID), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_NativeInteger, - 0, - { 0, &asn_PER_memb_ricInstanceID_constr_3, memb_ricInstanceID_constraint_1 }, - 0, 0, /* No default value */ - "ricInstanceID" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICrequestID_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICrequestID_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ricRequestorID */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ricInstanceID */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICrequestID_specs_1 = { - sizeof(struct RICrequestID), - offsetof(struct RICrequestID, _asn_ctx), - asn_MAP_RICrequestID_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICrequestID = { - "RICrequestID", - "RICrequestID", - &asn_OP_SEQUENCE, - asn_DEF_RICrequestID_tags_1, - sizeof(asn_DEF_RICrequestID_tags_1) - /sizeof(asn_DEF_RICrequestID_tags_1[0]), /* 1 */ - asn_DEF_RICrequestID_tags_1, /* Same as above */ - sizeof(asn_DEF_RICrequestID_tags_1) - /sizeof(asn_DEF_RICrequestID_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICrequestID_1, - 2, /* Elements count */ - &asn_SPC_RICrequestID_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICrequestID.h b/asn1c_defs/RICrequestID.h deleted file mode 100644 index 4a06672..0000000 --- a/asn1c_defs/RICrequestID.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICrequestID_H_ -#define _RICrequestID_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICrequestID */ -typedef struct RICrequestID { - long ricRequestorID; - long ricInstanceID; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICrequestID_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICrequestID; -extern asn_SEQUENCE_specifics_t asn_SPC_RICrequestID_specs_1; -extern asn_TYPE_member_t asn_MBR_RICrequestID_1[2]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICrequestID_H_ */ -#include diff --git a/asn1c_defs/RICserviceQuery.c b/asn1c_defs/RICserviceQuery.c deleted file mode 100644 index c89e7a1..0000000 --- a/asn1c_defs/RICserviceQuery.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICserviceQuery.h" - -asn_TYPE_member_t asn_MBR_RICserviceQuery_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceQuery, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P19, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICserviceQuery_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICserviceQuery_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICserviceQuery_specs_1 = { - sizeof(struct RICserviceQuery), - offsetof(struct RICserviceQuery, _asn_ctx), - asn_MAP_RICserviceQuery_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICserviceQuery = { - "RICserviceQuery", - "RICserviceQuery", - &asn_OP_SEQUENCE, - asn_DEF_RICserviceQuery_tags_1, - sizeof(asn_DEF_RICserviceQuery_tags_1) - /sizeof(asn_DEF_RICserviceQuery_tags_1[0]), /* 1 */ - asn_DEF_RICserviceQuery_tags_1, /* Same as above */ - sizeof(asn_DEF_RICserviceQuery_tags_1) - /sizeof(asn_DEF_RICserviceQuery_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICserviceQuery_1, - 1, /* Elements count */ - &asn_SPC_RICserviceQuery_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICserviceQuery.h b/asn1c_defs/RICserviceQuery.h deleted file mode 100644 index 2c4ef8b..0000000 --- a/asn1c_defs/RICserviceQuery.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICserviceQuery_H_ -#define _RICserviceQuery_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICserviceQuery */ -typedef struct RICserviceQuery { - ProtocolIE_Container_1412P19_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICserviceQuery_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICserviceQuery; -extern asn_SEQUENCE_specifics_t asn_SPC_RICserviceQuery_specs_1; -extern asn_TYPE_member_t asn_MBR_RICserviceQuery_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICserviceQuery_H_ */ -#include diff --git a/asn1c_defs/RICserviceUpdate.c b/asn1c_defs/RICserviceUpdate.c deleted file mode 100644 index 961cacb..0000000 --- a/asn1c_defs/RICserviceUpdate.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICserviceUpdate.h" - -asn_TYPE_member_t asn_MBR_RICserviceUpdate_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdate, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P16, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICserviceUpdate_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICserviceUpdate_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdate_specs_1 = { - sizeof(struct RICserviceUpdate), - offsetof(struct RICserviceUpdate, _asn_ctx), - asn_MAP_RICserviceUpdate_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICserviceUpdate = { - "RICserviceUpdate", - "RICserviceUpdate", - &asn_OP_SEQUENCE, - asn_DEF_RICserviceUpdate_tags_1, - sizeof(asn_DEF_RICserviceUpdate_tags_1) - /sizeof(asn_DEF_RICserviceUpdate_tags_1[0]), /* 1 */ - asn_DEF_RICserviceUpdate_tags_1, /* Same as above */ - sizeof(asn_DEF_RICserviceUpdate_tags_1) - /sizeof(asn_DEF_RICserviceUpdate_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICserviceUpdate_1, - 1, /* Elements count */ - &asn_SPC_RICserviceUpdate_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICserviceUpdate.h b/asn1c_defs/RICserviceUpdate.h deleted file mode 100644 index 3a00283..0000000 --- a/asn1c_defs/RICserviceUpdate.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICserviceUpdate_H_ -#define _RICserviceUpdate_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICserviceUpdate */ -typedef struct RICserviceUpdate { - ProtocolIE_Container_1412P16_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICserviceUpdate_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICserviceUpdate; -extern asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdate_specs_1; -extern asn_TYPE_member_t asn_MBR_RICserviceUpdate_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICserviceUpdate_H_ */ -#include diff --git a/asn1c_defs/RICserviceUpdateAcknowledge.c b/asn1c_defs/RICserviceUpdateAcknowledge.c deleted file mode 100644 index bf13534..0000000 --- a/asn1c_defs/RICserviceUpdateAcknowledge.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICserviceUpdateAcknowledge.h" - -asn_TYPE_member_t asn_MBR_RICserviceUpdateAcknowledge_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateAcknowledge, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P17, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICserviceUpdateAcknowledge_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICserviceUpdateAcknowledge_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdateAcknowledge_specs_1 = { - sizeof(struct RICserviceUpdateAcknowledge), - offsetof(struct RICserviceUpdateAcknowledge, _asn_ctx), - asn_MAP_RICserviceUpdateAcknowledge_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICserviceUpdateAcknowledge = { - "RICserviceUpdateAcknowledge", - "RICserviceUpdateAcknowledge", - &asn_OP_SEQUENCE, - asn_DEF_RICserviceUpdateAcknowledge_tags_1, - sizeof(asn_DEF_RICserviceUpdateAcknowledge_tags_1) - /sizeof(asn_DEF_RICserviceUpdateAcknowledge_tags_1[0]), /* 1 */ - asn_DEF_RICserviceUpdateAcknowledge_tags_1, /* Same as above */ - sizeof(asn_DEF_RICserviceUpdateAcknowledge_tags_1) - /sizeof(asn_DEF_RICserviceUpdateAcknowledge_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICserviceUpdateAcknowledge_1, - 1, /* Elements count */ - &asn_SPC_RICserviceUpdateAcknowledge_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICserviceUpdateAcknowledge.h b/asn1c_defs/RICserviceUpdateAcknowledge.h deleted file mode 100644 index 5be500f..0000000 --- a/asn1c_defs/RICserviceUpdateAcknowledge.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICserviceUpdateAcknowledge_H_ -#define _RICserviceUpdateAcknowledge_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICserviceUpdateAcknowledge */ -typedef struct RICserviceUpdateAcknowledge { - ProtocolIE_Container_1412P17_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICserviceUpdateAcknowledge_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICserviceUpdateAcknowledge; -extern asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdateAcknowledge_specs_1; -extern asn_TYPE_member_t asn_MBR_RICserviceUpdateAcknowledge_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICserviceUpdateAcknowledge_H_ */ -#include diff --git a/asn1c_defs/RICserviceUpdateFailure.c b/asn1c_defs/RICserviceUpdateFailure.c deleted file mode 100644 index 8f180a7..0000000 --- a/asn1c_defs/RICserviceUpdateFailure.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICserviceUpdateFailure.h" - -asn_TYPE_member_t asn_MBR_RICserviceUpdateFailure_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICserviceUpdateFailure, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P18, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICserviceUpdateFailure_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICserviceUpdateFailure_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdateFailure_specs_1 = { - sizeof(struct RICserviceUpdateFailure), - offsetof(struct RICserviceUpdateFailure, _asn_ctx), - asn_MAP_RICserviceUpdateFailure_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICserviceUpdateFailure = { - "RICserviceUpdateFailure", - "RICserviceUpdateFailure", - &asn_OP_SEQUENCE, - asn_DEF_RICserviceUpdateFailure_tags_1, - sizeof(asn_DEF_RICserviceUpdateFailure_tags_1) - /sizeof(asn_DEF_RICserviceUpdateFailure_tags_1[0]), /* 1 */ - asn_DEF_RICserviceUpdateFailure_tags_1, /* Same as above */ - sizeof(asn_DEF_RICserviceUpdateFailure_tags_1) - /sizeof(asn_DEF_RICserviceUpdateFailure_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICserviceUpdateFailure_1, - 1, /* Elements count */ - &asn_SPC_RICserviceUpdateFailure_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICserviceUpdateFailure.h b/asn1c_defs/RICserviceUpdateFailure.h deleted file mode 100644 index f7fde09..0000000 --- a/asn1c_defs/RICserviceUpdateFailure.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICserviceUpdateFailure_H_ -#define _RICserviceUpdateFailure_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICserviceUpdateFailure */ -typedef struct RICserviceUpdateFailure { - ProtocolIE_Container_1412P18_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICserviceUpdateFailure_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICserviceUpdateFailure; -extern asn_SEQUENCE_specifics_t asn_SPC_RICserviceUpdateFailure_specs_1; -extern asn_TYPE_member_t asn_MBR_RICserviceUpdateFailure_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICserviceUpdateFailure_H_ */ -#include diff --git a/asn1c_defs/RICsubscriptionDeleteFailure.c b/asn1c_defs/RICsubscriptionDeleteFailure.c deleted file mode 100644 index 0517d61..0000000 --- a/asn1c_defs/RICsubscriptionDeleteFailure.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICsubscriptionDeleteFailure.h" - -asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteFailure_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteFailure, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P5, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionDeleteFailure_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionDeleteFailure_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteFailure_specs_1 = { - sizeof(struct RICsubscriptionDeleteFailure), - offsetof(struct RICsubscriptionDeleteFailure, _asn_ctx), - asn_MAP_RICsubscriptionDeleteFailure_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteFailure = { - "RICsubscriptionDeleteFailure", - "RICsubscriptionDeleteFailure", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionDeleteFailure_tags_1, - sizeof(asn_DEF_RICsubscriptionDeleteFailure_tags_1) - /sizeof(asn_DEF_RICsubscriptionDeleteFailure_tags_1[0]), /* 1 */ - asn_DEF_RICsubscriptionDeleteFailure_tags_1, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionDeleteFailure_tags_1) - /sizeof(asn_DEF_RICsubscriptionDeleteFailure_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionDeleteFailure_1, - 1, /* Elements count */ - &asn_SPC_RICsubscriptionDeleteFailure_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICsubscriptionDeleteFailure.h b/asn1c_defs/RICsubscriptionDeleteFailure.h deleted file mode 100644 index 605fd0c..0000000 --- a/asn1c_defs/RICsubscriptionDeleteFailure.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICsubscriptionDeleteFailure_H_ -#define _RICsubscriptionDeleteFailure_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICsubscriptionDeleteFailure */ -typedef struct RICsubscriptionDeleteFailure { - ProtocolIE_Container_1412P5_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionDeleteFailure_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteFailure; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteFailure_specs_1; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteFailure_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICsubscriptionDeleteFailure_H_ */ -#include diff --git a/asn1c_defs/RICsubscriptionDeleteRequest.c b/asn1c_defs/RICsubscriptionDeleteRequest.c deleted file mode 100644 index 8370454..0000000 --- a/asn1c_defs/RICsubscriptionDeleteRequest.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICsubscriptionDeleteRequest.h" - -asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteRequest_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteRequest, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P3, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionDeleteRequest_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionDeleteRequest_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteRequest_specs_1 = { - sizeof(struct RICsubscriptionDeleteRequest), - offsetof(struct RICsubscriptionDeleteRequest, _asn_ctx), - asn_MAP_RICsubscriptionDeleteRequest_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteRequest = { - "RICsubscriptionDeleteRequest", - "RICsubscriptionDeleteRequest", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionDeleteRequest_tags_1, - sizeof(asn_DEF_RICsubscriptionDeleteRequest_tags_1) - /sizeof(asn_DEF_RICsubscriptionDeleteRequest_tags_1[0]), /* 1 */ - asn_DEF_RICsubscriptionDeleteRequest_tags_1, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionDeleteRequest_tags_1) - /sizeof(asn_DEF_RICsubscriptionDeleteRequest_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionDeleteRequest_1, - 1, /* Elements count */ - &asn_SPC_RICsubscriptionDeleteRequest_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICsubscriptionDeleteRequest.h b/asn1c_defs/RICsubscriptionDeleteRequest.h deleted file mode 100644 index 0b5abdb..0000000 --- a/asn1c_defs/RICsubscriptionDeleteRequest.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICsubscriptionDeleteRequest_H_ -#define _RICsubscriptionDeleteRequest_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICsubscriptionDeleteRequest */ -typedef struct RICsubscriptionDeleteRequest { - ProtocolIE_Container_1412P3_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionDeleteRequest_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteRequest; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteRequest_specs_1; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteRequest_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICsubscriptionDeleteRequest_H_ */ -#include diff --git a/asn1c_defs/RICsubscriptionDeleteResponse.c b/asn1c_defs/RICsubscriptionDeleteResponse.c deleted file mode 100644 index 3305596..0000000 --- a/asn1c_defs/RICsubscriptionDeleteResponse.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICsubscriptionDeleteResponse.h" - -asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteResponse_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDeleteResponse, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P4, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionDeleteResponse_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionDeleteResponse_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteResponse_specs_1 = { - sizeof(struct RICsubscriptionDeleteResponse), - offsetof(struct RICsubscriptionDeleteResponse, _asn_ctx), - asn_MAP_RICsubscriptionDeleteResponse_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteResponse = { - "RICsubscriptionDeleteResponse", - "RICsubscriptionDeleteResponse", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionDeleteResponse_tags_1, - sizeof(asn_DEF_RICsubscriptionDeleteResponse_tags_1) - /sizeof(asn_DEF_RICsubscriptionDeleteResponse_tags_1[0]), /* 1 */ - asn_DEF_RICsubscriptionDeleteResponse_tags_1, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionDeleteResponse_tags_1) - /sizeof(asn_DEF_RICsubscriptionDeleteResponse_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionDeleteResponse_1, - 1, /* Elements count */ - &asn_SPC_RICsubscriptionDeleteResponse_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICsubscriptionDeleteResponse.h b/asn1c_defs/RICsubscriptionDeleteResponse.h deleted file mode 100644 index 15300ec..0000000 --- a/asn1c_defs/RICsubscriptionDeleteResponse.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICsubscriptionDeleteResponse_H_ -#define _RICsubscriptionDeleteResponse_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICsubscriptionDeleteResponse */ -typedef struct RICsubscriptionDeleteResponse { - ProtocolIE_Container_1412P4_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionDeleteResponse_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDeleteResponse; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDeleteResponse_specs_1; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionDeleteResponse_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICsubscriptionDeleteResponse_H_ */ -#include diff --git a/asn1c_defs/RICsubscriptionDetails.c b/asn1c_defs/RICsubscriptionDetails.c deleted file mode 100644 index fa3fdc6..0000000 --- a/asn1c_defs/RICsubscriptionDetails.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICsubscriptionDetails.h" - -static asn_TYPE_member_t asn_MBR_RICsubscriptionDetails_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDetails, ricEventTriggerDefinition), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RICeventTriggerDefinition, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricEventTriggerDefinition" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionDetails, ricAction_ToBeSetup_List), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RICactions_ToBeSetup_List, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricAction-ToBeSetup-List" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionDetails_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionDetails_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ricEventTriggerDefinition */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ricAction-ToBeSetup-List */ -}; -static asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionDetails_specs_1 = { - sizeof(struct RICsubscriptionDetails), - offsetof(struct RICsubscriptionDetails, _asn_ctx), - asn_MAP_RICsubscriptionDetails_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDetails = { - "RICsubscriptionDetails", - "RICsubscriptionDetails", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionDetails_tags_1, - sizeof(asn_DEF_RICsubscriptionDetails_tags_1) - /sizeof(asn_DEF_RICsubscriptionDetails_tags_1[0]), /* 1 */ - asn_DEF_RICsubscriptionDetails_tags_1, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionDetails_tags_1) - /sizeof(asn_DEF_RICsubscriptionDetails_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionDetails_1, - 2, /* Elements count */ - &asn_SPC_RICsubscriptionDetails_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICsubscriptionDetails.h b/asn1c_defs/RICsubscriptionDetails.h deleted file mode 100644 index dbd9442..0000000 --- a/asn1c_defs/RICsubscriptionDetails.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICsubscriptionDetails_H_ -#define _RICsubscriptionDetails_H_ - - -#include - -/* Including external dependencies */ -#include "RICeventTriggerDefinition.h" -#include "RICactions-ToBeSetup-List.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICsubscriptionDetails */ -typedef struct RICsubscriptionDetails { - RICeventTriggerDefinition_t ricEventTriggerDefinition; - RICactions_ToBeSetup_List_t ricAction_ToBeSetup_List; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionDetails_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionDetails; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICsubscriptionDetails_H_ */ -#include diff --git a/asn1c_defs/RICsubscriptionFailure.c b/asn1c_defs/RICsubscriptionFailure.c deleted file mode 100644 index 8c94d07..0000000 --- a/asn1c_defs/RICsubscriptionFailure.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICsubscriptionFailure.h" - -asn_TYPE_member_t asn_MBR_RICsubscriptionFailure_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionFailure, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P2, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionFailure_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionFailure_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionFailure_specs_1 = { - sizeof(struct RICsubscriptionFailure), - offsetof(struct RICsubscriptionFailure, _asn_ctx), - asn_MAP_RICsubscriptionFailure_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionFailure = { - "RICsubscriptionFailure", - "RICsubscriptionFailure", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionFailure_tags_1, - sizeof(asn_DEF_RICsubscriptionFailure_tags_1) - /sizeof(asn_DEF_RICsubscriptionFailure_tags_1[0]), /* 1 */ - asn_DEF_RICsubscriptionFailure_tags_1, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionFailure_tags_1) - /sizeof(asn_DEF_RICsubscriptionFailure_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionFailure_1, - 1, /* Elements count */ - &asn_SPC_RICsubscriptionFailure_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICsubscriptionFailure.h b/asn1c_defs/RICsubscriptionFailure.h deleted file mode 100644 index 24f9758..0000000 --- a/asn1c_defs/RICsubscriptionFailure.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICsubscriptionFailure_H_ -#define _RICsubscriptionFailure_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICsubscriptionFailure */ -typedef struct RICsubscriptionFailure { - ProtocolIE_Container_1412P2_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionFailure_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionFailure; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionFailure_specs_1; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionFailure_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICsubscriptionFailure_H_ */ -#include diff --git a/asn1c_defs/RICsubscriptionRequest.c b/asn1c_defs/RICsubscriptionRequest.c deleted file mode 100644 index 3d64a72..0000000 --- a/asn1c_defs/RICsubscriptionRequest.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICsubscriptionRequest.h" - -asn_TYPE_member_t asn_MBR_RICsubscriptionRequest_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionRequest, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P0, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionRequest_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionRequest_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionRequest_specs_1 = { - sizeof(struct RICsubscriptionRequest), - offsetof(struct RICsubscriptionRequest, _asn_ctx), - asn_MAP_RICsubscriptionRequest_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionRequest = { - "RICsubscriptionRequest", - "RICsubscriptionRequest", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionRequest_tags_1, - sizeof(asn_DEF_RICsubscriptionRequest_tags_1) - /sizeof(asn_DEF_RICsubscriptionRequest_tags_1[0]), /* 1 */ - asn_DEF_RICsubscriptionRequest_tags_1, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionRequest_tags_1) - /sizeof(asn_DEF_RICsubscriptionRequest_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionRequest_1, - 1, /* Elements count */ - &asn_SPC_RICsubscriptionRequest_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICsubscriptionRequest.h b/asn1c_defs/RICsubscriptionRequest.h deleted file mode 100644 index 61128d7..0000000 --- a/asn1c_defs/RICsubscriptionRequest.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICsubscriptionRequest_H_ -#define _RICsubscriptionRequest_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICsubscriptionRequest */ -typedef struct RICsubscriptionRequest { - ProtocolIE_Container_1412P0_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionRequest_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionRequest; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionRequest_specs_1; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionRequest_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICsubscriptionRequest_H_ */ -#include diff --git a/asn1c_defs/RICsubscriptionResponse.c b/asn1c_defs/RICsubscriptionResponse.c deleted file mode 100644 index 8fe6994..0000000 --- a/asn1c_defs/RICsubscriptionResponse.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICsubscriptionResponse.h" - -asn_TYPE_member_t asn_MBR_RICsubscriptionResponse_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubscriptionResponse, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P1, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubscriptionResponse_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubscriptionResponse_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionResponse_specs_1 = { - sizeof(struct RICsubscriptionResponse), - offsetof(struct RICsubscriptionResponse, _asn_ctx), - asn_MAP_RICsubscriptionResponse_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubscriptionResponse = { - "RICsubscriptionResponse", - "RICsubscriptionResponse", - &asn_OP_SEQUENCE, - asn_DEF_RICsubscriptionResponse_tags_1, - sizeof(asn_DEF_RICsubscriptionResponse_tags_1) - /sizeof(asn_DEF_RICsubscriptionResponse_tags_1[0]), /* 1 */ - asn_DEF_RICsubscriptionResponse_tags_1, /* Same as above */ - sizeof(asn_DEF_RICsubscriptionResponse_tags_1) - /sizeof(asn_DEF_RICsubscriptionResponse_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubscriptionResponse_1, - 1, /* Elements count */ - &asn_SPC_RICsubscriptionResponse_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICsubscriptionResponse.h b/asn1c_defs/RICsubscriptionResponse.h deleted file mode 100644 index 3136496..0000000 --- a/asn1c_defs/RICsubscriptionResponse.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICsubscriptionResponse_H_ -#define _RICsubscriptionResponse_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICsubscriptionResponse */ -typedef struct RICsubscriptionResponse { - ProtocolIE_Container_1412P1_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubscriptionResponse_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICsubscriptionResponse; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubscriptionResponse_specs_1; -extern asn_TYPE_member_t asn_MBR_RICsubscriptionResponse_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICsubscriptionResponse_H_ */ -#include diff --git a/asn1c_defs/RICsubsequentAction.c b/asn1c_defs/RICsubsequentAction.c deleted file mode 100644 index 0a4f0ef..0000000 --- a/asn1c_defs/RICsubsequentAction.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICsubsequentAction.h" - -asn_TYPE_member_t asn_MBR_RICsubsequentAction_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct RICsubsequentAction, ricSubsequentActionType), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RICsubsequentActionType, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricSubsequentActionType" - }, - { ATF_NOFLAGS, 0, offsetof(struct RICsubsequentAction, ricTimeToWait), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_RICtimeToWait, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ricTimeToWait" - }, -}; -static const ber_tlv_tag_t asn_DEF_RICsubsequentAction_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_RICsubsequentAction_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ricSubsequentActionType */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ricTimeToWait */ -}; -asn_SEQUENCE_specifics_t asn_SPC_RICsubsequentAction_specs_1 = { - sizeof(struct RICsubsequentAction), - offsetof(struct RICsubsequentAction, _asn_ctx), - asn_MAP_RICsubsequentAction_tag2el_1, - 2, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 2, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_RICsubsequentAction = { - "RICsubsequentAction", - "RICsubsequentAction", - &asn_OP_SEQUENCE, - asn_DEF_RICsubsequentAction_tags_1, - sizeof(asn_DEF_RICsubsequentAction_tags_1) - /sizeof(asn_DEF_RICsubsequentAction_tags_1[0]), /* 1 */ - asn_DEF_RICsubsequentAction_tags_1, /* Same as above */ - sizeof(asn_DEF_RICsubsequentAction_tags_1) - /sizeof(asn_DEF_RICsubsequentAction_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_RICsubsequentAction_1, - 2, /* Elements count */ - &asn_SPC_RICsubsequentAction_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICsubsequentAction.h b/asn1c_defs/RICsubsequentAction.h deleted file mode 100644 index ee65289..0000000 --- a/asn1c_defs/RICsubsequentAction.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICsubsequentAction_H_ -#define _RICsubsequentAction_H_ - - -#include - -/* Including external dependencies */ -#include "RICsubsequentActionType.h" -#include "RICtimeToWait.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* RICsubsequentAction */ -typedef struct RICsubsequentAction { - RICsubsequentActionType_t ricSubsequentActionType; - RICtimeToWait_t ricTimeToWait; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RICsubsequentAction_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RICsubsequentAction; -extern asn_SEQUENCE_specifics_t asn_SPC_RICsubsequentAction_specs_1; -extern asn_TYPE_member_t asn_MBR_RICsubsequentAction_1[2]; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICsubsequentAction_H_ */ -#include diff --git a/asn1c_defs/RICsubsequentActionType.c b/asn1c_defs/RICsubsequentActionType.c deleted file mode 100644 index 14bfc99..0000000 --- a/asn1c_defs/RICsubsequentActionType.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICsubsequentActionType.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_RICsubsequentActionType_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_RICsubsequentActionType_value2enum_1[] = { - { 0, 8, "continue" }, - { 1, 4, "wait" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_RICsubsequentActionType_enum2value_1[] = { - 0, /* continue(0) */ - 1 /* wait(1) */ - /* This list is extensible */ -}; -const asn_INTEGER_specifics_t asn_SPC_RICsubsequentActionType_specs_1 = { - asn_MAP_RICsubsequentActionType_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_RICsubsequentActionType_enum2value_1, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 3, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_RICsubsequentActionType_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICsubsequentActionType = { - "RICsubsequentActionType", - "RICsubsequentActionType", - &asn_OP_NativeEnumerated, - asn_DEF_RICsubsequentActionType_tags_1, - sizeof(asn_DEF_RICsubsequentActionType_tags_1) - /sizeof(asn_DEF_RICsubsequentActionType_tags_1[0]), /* 1 */ - asn_DEF_RICsubsequentActionType_tags_1, /* Same as above */ - sizeof(asn_DEF_RICsubsequentActionType_tags_1) - /sizeof(asn_DEF_RICsubsequentActionType_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RICsubsequentActionType_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_RICsubsequentActionType_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICsubsequentActionType.h b/asn1c_defs/RICsubsequentActionType.h deleted file mode 100644 index a172bd9..0000000 --- a/asn1c_defs/RICsubsequentActionType.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICsubsequentActionType_H_ -#define _RICsubsequentActionType_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RICsubsequentActionType { - RICsubsequentActionType_continue = 0, - RICsubsequentActionType_wait = 1 - /* - * Enumeration is extensible - */ -} e_RICsubsequentActionType; - -/* RICsubsequentActionType */ -typedef long RICsubsequentActionType_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RICsubsequentActionType_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RICsubsequentActionType; -extern const asn_INTEGER_specifics_t asn_SPC_RICsubsequentActionType_specs_1; -asn_struct_free_f RICsubsequentActionType_free; -asn_struct_print_f RICsubsequentActionType_print; -asn_constr_check_f RICsubsequentActionType_constraint; -ber_type_decoder_f RICsubsequentActionType_decode_ber; -der_type_encoder_f RICsubsequentActionType_encode_der; -xer_type_decoder_f RICsubsequentActionType_decode_xer; -xer_type_encoder_f RICsubsequentActionType_encode_xer; -per_type_decoder_f RICsubsequentActionType_decode_uper; -per_type_encoder_f RICsubsequentActionType_encode_uper; -per_type_decoder_f RICsubsequentActionType_decode_aper; -per_type_encoder_f RICsubsequentActionType_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICsubsequentActionType_H_ */ -#include diff --git a/asn1c_defs/RICtimeToWait.c b/asn1c_defs/RICtimeToWait.c deleted file mode 100644 index be4d248..0000000 --- a/asn1c_defs/RICtimeToWait.c +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RICtimeToWait.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_RICtimeToWait_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 5, 5, 0, 17 } /* (0..17,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_RICtimeToWait_value2enum_1[] = { - { 0, 4, "zero" }, - { 1, 4, "w1ms" }, - { 2, 4, "w2ms" }, - { 3, 4, "w5ms" }, - { 4, 5, "w10ms" }, - { 5, 5, "w20ms" }, - { 6, 5, "w30ms" }, - { 7, 5, "w40ms" }, - { 8, 5, "w50ms" }, - { 9, 6, "w100ms" }, - { 10, 6, "w200ms" }, - { 11, 6, "w500ms" }, - { 12, 3, "w1s" }, - { 13, 3, "w2s" }, - { 14, 3, "w5s" }, - { 15, 4, "w10s" }, - { 16, 4, "w20s" }, - { 17, 4, "w60s" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_RICtimeToWait_enum2value_1[] = { - 9, /* w100ms(9) */ - 4, /* w10ms(4) */ - 15, /* w10s(15) */ - 1, /* w1ms(1) */ - 12, /* w1s(12) */ - 10, /* w200ms(10) */ - 5, /* w20ms(5) */ - 16, /* w20s(16) */ - 2, /* w2ms(2) */ - 13, /* w2s(13) */ - 6, /* w30ms(6) */ - 7, /* w40ms(7) */ - 11, /* w500ms(11) */ - 8, /* w50ms(8) */ - 3, /* w5ms(3) */ - 14, /* w5s(14) */ - 17, /* w60s(17) */ - 0 /* zero(0) */ - /* This list is extensible */ -}; -const asn_INTEGER_specifics_t asn_SPC_RICtimeToWait_specs_1 = { - asn_MAP_RICtimeToWait_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_RICtimeToWait_enum2value_1, /* N => "tag"; sorted by N */ - 18, /* Number of elements in the maps */ - 19, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_RICtimeToWait_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_RICtimeToWait = { - "RICtimeToWait", - "RICtimeToWait", - &asn_OP_NativeEnumerated, - asn_DEF_RICtimeToWait_tags_1, - sizeof(asn_DEF_RICtimeToWait_tags_1) - /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */ - asn_DEF_RICtimeToWait_tags_1, /* Same as above */ - sizeof(asn_DEF_RICtimeToWait_tags_1) - /sizeof(asn_DEF_RICtimeToWait_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RICtimeToWait_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_RICtimeToWait_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RICtimeToWait.h b/asn1c_defs/RICtimeToWait.h deleted file mode 100644 index 442daa9..0000000 --- a/asn1c_defs/RICtimeToWait.h +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RICtimeToWait_H_ -#define _RICtimeToWait_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum RICtimeToWait { - RICtimeToWait_zero = 0, - RICtimeToWait_w1ms = 1, - RICtimeToWait_w2ms = 2, - RICtimeToWait_w5ms = 3, - RICtimeToWait_w10ms = 4, - RICtimeToWait_w20ms = 5, - RICtimeToWait_w30ms = 6, - RICtimeToWait_w40ms = 7, - RICtimeToWait_w50ms = 8, - RICtimeToWait_w100ms = 9, - RICtimeToWait_w200ms = 10, - RICtimeToWait_w500ms = 11, - RICtimeToWait_w1s = 12, - RICtimeToWait_w2s = 13, - RICtimeToWait_w5s = 14, - RICtimeToWait_w10s = 15, - RICtimeToWait_w20s = 16, - RICtimeToWait_w60s = 17 - /* - * Enumeration is extensible - */ -} e_RICtimeToWait; - -/* RICtimeToWait */ -typedef long RICtimeToWait_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RICtimeToWait_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RICtimeToWait; -extern const asn_INTEGER_specifics_t asn_SPC_RICtimeToWait_specs_1; -asn_struct_free_f RICtimeToWait_free; -asn_struct_print_f RICtimeToWait_print; -asn_constr_check_f RICtimeToWait_constraint; -ber_type_decoder_f RICtimeToWait_decode_ber; -der_type_encoder_f RICtimeToWait_encode_der; -xer_type_decoder_f RICtimeToWait_decode_xer; -xer_type_encoder_f RICtimeToWait_encode_xer; -per_type_decoder_f RICtimeToWait_decode_uper; -per_type_encoder_f RICtimeToWait_encode_uper; -per_type_decoder_f RICtimeToWait_decode_aper; -per_type_encoder_f RICtimeToWait_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _RICtimeToWait_H_ */ -#include diff --git a/asn1c_defs/RanParameter-List.c b/asn1c_defs/RanParameter-List.c deleted file mode 100644 index 8d15c9a..0000000 --- a/asn1c_defs/RanParameter-List.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2SM-HelloWorld-IEs" - * found in "e2sm-HelloWorld-v001.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "RanParameter-List.h" - -#include "RANparameter-Item.h" -asn_per_constraints_t asn_PER_type_RanParameter_List_constr_1 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_CONSTRAINED, 8, 8, 1, 255 } /* (SIZE(1..255)) */, - 0, 0 /* No PER value map */ -}; -asn_TYPE_member_t asn_MBR_RanParameter_List_1[] = { - { ATF_POINTER, 0, 0, - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RANparameter_Item, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "" - }, -}; -static const ber_tlv_tag_t asn_DEF_RanParameter_List_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -asn_SET_OF_specifics_t asn_SPC_RanParameter_List_specs_1 = { - sizeof(struct RanParameter_List), - offsetof(struct RanParameter_List, _asn_ctx), - 0, /* XER encoding is XMLDelimitedItemList */ -}; -asn_TYPE_descriptor_t asn_DEF_RanParameter_List = { - "RanParameter-List", - "RanParameter-List", - &asn_OP_SEQUENCE_OF, - asn_DEF_RanParameter_List_tags_1, - sizeof(asn_DEF_RanParameter_List_tags_1) - /sizeof(asn_DEF_RanParameter_List_tags_1[0]), /* 1 */ - asn_DEF_RanParameter_List_tags_1, /* Same as above */ - sizeof(asn_DEF_RanParameter_List_tags_1) - /sizeof(asn_DEF_RanParameter_List_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_RanParameter_List_constr_1, SEQUENCE_OF_constraint }, - asn_MBR_RanParameter_List_1, - 1, /* Single element */ - &asn_SPC_RanParameter_List_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/RanParameter-List.h b/asn1c_defs/RanParameter-List.h deleted file mode 100644 index 7c0ccc9..0000000 --- a/asn1c_defs/RanParameter-List.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2SM-HelloWorld-IEs" - * found in "e2sm-HelloWorld-v001.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _RanParameter_List_H_ -#define _RanParameter_List_H_ - - -#include - -/* Including external dependencies */ -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Forward declarations */ -struct RANparameter_Item; - -/* RanParameter-List */ -typedef struct RanParameter_List { - A_SEQUENCE_OF(struct RANparameter_Item) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RanParameter_List_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RanParameter_List; -extern asn_SET_OF_specifics_t asn_SPC_RanParameter_List_specs_1; -extern asn_TYPE_member_t asn_MBR_RanParameter_List_1[1]; -extern asn_per_constraints_t asn_PER_type_RanParameter_List_constr_1; - -#ifdef __cplusplus -} -#endif - -#endif /* _RanParameter_List_H_ */ -#include diff --git a/asn1c_defs/ResetRequest.c b/asn1c_defs/ResetRequest.c deleted file mode 100644 index 824b194..0000000 --- a/asn1c_defs/ResetRequest.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ResetRequest.h" - -asn_TYPE_member_t asn_MBR_ResetRequest_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ResetRequest, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P14, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_ResetRequest_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_ResetRequest_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_ResetRequest_specs_1 = { - sizeof(struct ResetRequest), - offsetof(struct ResetRequest, _asn_ctx), - asn_MAP_ResetRequest_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_ResetRequest = { - "ResetRequest", - "ResetRequest", - &asn_OP_SEQUENCE, - asn_DEF_ResetRequest_tags_1, - sizeof(asn_DEF_ResetRequest_tags_1) - /sizeof(asn_DEF_ResetRequest_tags_1[0]), /* 1 */ - asn_DEF_ResetRequest_tags_1, /* Same as above */ - sizeof(asn_DEF_ResetRequest_tags_1) - /sizeof(asn_DEF_ResetRequest_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_ResetRequest_1, - 1, /* Elements count */ - &asn_SPC_ResetRequest_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/ResetRequest.h b/asn1c_defs/ResetRequest.h deleted file mode 100644 index 228ff0e..0000000 --- a/asn1c_defs/ResetRequest.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ResetRequest_H_ -#define _ResetRequest_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ResetRequest */ -typedef struct ResetRequest { - ProtocolIE_Container_1412P14_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ResetRequest_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ResetRequest; -extern asn_SEQUENCE_specifics_t asn_SPC_ResetRequest_specs_1; -extern asn_TYPE_member_t asn_MBR_ResetRequest_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _ResetRequest_H_ */ -#include diff --git a/asn1c_defs/ResetResponse.c b/asn1c_defs/ResetResponse.c deleted file mode 100644 index 029dee1..0000000 --- a/asn1c_defs/ResetResponse.c +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "ResetResponse.h" - -asn_TYPE_member_t asn_MBR_ResetResponse_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct ResetResponse, protocolIEs), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProtocolIE_Container_1412P15, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "protocolIEs" - }, -}; -static const ber_tlv_tag_t asn_DEF_ResetResponse_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_ResetResponse_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* protocolIEs */ -}; -asn_SEQUENCE_specifics_t asn_SPC_ResetResponse_specs_1 = { - sizeof(struct ResetResponse), - offsetof(struct ResetResponse, _asn_ctx), - asn_MAP_ResetResponse_tag2el_1, - 1, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - 1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_ResetResponse = { - "ResetResponse", - "ResetResponse", - &asn_OP_SEQUENCE, - asn_DEF_ResetResponse_tags_1, - sizeof(asn_DEF_ResetResponse_tags_1) - /sizeof(asn_DEF_ResetResponse_tags_1[0]), /* 1 */ - asn_DEF_ResetResponse_tags_1, /* Same as above */ - sizeof(asn_DEF_ResetResponse_tags_1) - /sizeof(asn_DEF_ResetResponse_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_ResetResponse_1, - 1, /* Elements count */ - &asn_SPC_ResetResponse_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/ResetResponse.h b/asn1c_defs/ResetResponse.h deleted file mode 100644 index 56a1007..0000000 --- a/asn1c_defs/ResetResponse.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Contents" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _ResetResponse_H_ -#define _ResetResponse_H_ - - -#include - -/* Including external dependencies */ -#include "ProtocolIE-Container.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* ResetResponse */ -typedef struct ResetResponse { - ProtocolIE_Container_1412P15_t protocolIEs; - /* - * This type is extensible, - * possible extensions are below. - */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ResetResponse_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ResetResponse; -extern asn_SEQUENCE_specifics_t asn_SPC_ResetResponse_specs_1; -extern asn_TYPE_member_t asn_MBR_ResetResponse_1[1]; - -#ifdef __cplusplus -} -#endif - -#endif /* _ResetResponse_H_ */ -#include diff --git a/asn1c_defs/SuccessfulOutcome.c b/asn1c_defs/SuccessfulOutcome.c deleted file mode 100644 index 47948cd..0000000 --- a/asn1c_defs/SuccessfulOutcome.c +++ /dev/null @@ -1,359 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Descriptions" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "SuccessfulOutcome.h" - -static const long asn_VAL_1_id_RICsubscription = 8; -static const long asn_VAL_1_reject = 0; -static const long asn_VAL_2_id_RICsubscriptionDelete = 9; -static const long asn_VAL_2_reject = 0; -static const long asn_VAL_3_id_RICserviceUpdate = 7; -static const long asn_VAL_3_reject = 0; -static const long asn_VAL_4_id_RICcontrol = 4; -static const long asn_VAL_4_reject = 0; -static const long asn_VAL_5_id_E2setup = 1; -static const long asn_VAL_5_reject = 0; -static const long asn_VAL_6_id_Reset = 3; -static const long asn_VAL_6_reject = 0; -static const long asn_VAL_7_id_RICindication = 5; -static const long asn_VAL_7_ignore = 1; -static const long asn_VAL_8_id_RICserviceQuery = 6; -static const long asn_VAL_8_ignore = 1; -static const long asn_VAL_9_id_ErrorIndication = 2; -static const long asn_VAL_9_ignore = 1; -static const asn_ioc_cell_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows[] = { - { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionResponse }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_1_id_RICsubscription }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_1_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteResponse }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_2_id_RICsubscriptionDelete }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_2_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceUpdate }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateAcknowledge }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_RICserviceUpdate }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICcontrolRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolAcknowledge }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_RICcontrol }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_E2setupRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2setupResponse }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2setupFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_E2setup }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_ResetRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResetResponse }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_6_id_Reset }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICindication }, - { "&SuccessfulOutcome", }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_RICindication }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_ignore }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceQuery }, - { "&SuccessfulOutcome", }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_RICserviceQuery }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_ignore }, - { "&InitiatingMessage", aioc__type, &asn_DEF_ErrorIndication }, - { "&SuccessfulOutcome", }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_ErrorIndication }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_ignore } -}; -static const asn_ioc_set_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1[] = { - { 9, 5, asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows } -}; -static int -memb_procedureCode_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 255)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_SuccessfulOutcome_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1; - size_t constraining_column = 3; /* &procedureCode */ - size_t for_column = 4; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct SuccessfulOutcome, procedureCode)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_SuccessfulOutcome_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1; - size_t constraining_column = 3; /* &procedureCode */ - size_t for_column = 1; /* &SuccessfulOutcome */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct SuccessfulOutcome, procedureCode)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = { - { APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_value_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.RICsubscriptionResponse), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionResponse, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICsubscriptionResponse" - }, - { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.RICsubscriptionDeleteResponse), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionDeleteResponse, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICsubscriptionDeleteResponse" - }, - { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.RICserviceUpdateAcknowledge), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICserviceUpdateAcknowledge, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICserviceUpdateAcknowledge" - }, - { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.RICcontrolAcknowledge), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICcontrolAcknowledge, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcontrolAcknowledge" - }, - { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.E2setupResponse), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_E2setupResponse, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "E2setupResponse" - }, - { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome__value, choice.ResetResponse), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_ResetResponse, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "ResetResponse" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 5 }, /* RICsubscriptionResponse */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 4 }, /* RICsubscriptionDeleteResponse */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 3 }, /* RICserviceUpdateAcknowledge */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 2 }, /* RICcontrolAcknowledge */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 1 }, /* E2setupResponse */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 5, -5, 0 } /* ResetResponse */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = { - sizeof(struct SuccessfulOutcome__value), - offsetof(struct SuccessfulOutcome__value, _asn_ctx), - offsetof(struct SuccessfulOutcome__value, present), - sizeof(((struct SuccessfulOutcome__value *)0)->present), - asn_MAP_value_tag2el_4, - 6, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_4 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_4, - 6, /* Elements count */ - &asn_SPC_value_specs_4 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_SuccessfulOutcome_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, procedureCode), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProcedureCode, - 0, - { 0, &asn_PER_memb_procedureCode_constr_2, memb_procedureCode_constraint_1 }, - 0, 0, /* No default value */ - "procedureCode" - }, - { ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_SuccessfulOutcome_criticality_type, - { 0, &asn_PER_memb_criticality_constr_3, memb_criticality_constraint_1 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct SuccessfulOutcome, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_4, - select_SuccessfulOutcome_value_type, - { 0, &asn_PER_memb_value_constr_4, memb_value_constraint_1 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_SuccessfulOutcome_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_SuccessfulOutcome_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_SuccessfulOutcome_specs_1 = { - sizeof(struct SuccessfulOutcome), - offsetof(struct SuccessfulOutcome, _asn_ctx), - asn_MAP_SuccessfulOutcome_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_SuccessfulOutcome = { - "SuccessfulOutcome", - "SuccessfulOutcome", - &asn_OP_SEQUENCE, - asn_DEF_SuccessfulOutcome_tags_1, - sizeof(asn_DEF_SuccessfulOutcome_tags_1) - /sizeof(asn_DEF_SuccessfulOutcome_tags_1[0]), /* 1 */ - asn_DEF_SuccessfulOutcome_tags_1, /* Same as above */ - sizeof(asn_DEF_SuccessfulOutcome_tags_1) - /sizeof(asn_DEF_SuccessfulOutcome_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_SuccessfulOutcome_1, - 3, /* Elements count */ - &asn_SPC_SuccessfulOutcome_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/SuccessfulOutcome.h b/asn1c_defs/SuccessfulOutcome.h deleted file mode 100644 index ccd18a3..0000000 --- a/asn1c_defs/SuccessfulOutcome.h +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Descriptions" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _SuccessfulOutcome_H_ -#define _SuccessfulOutcome_H_ - - -#include - -/* Including external dependencies */ -#include "ProcedureCode.h" -#include "Criticality.h" -#include -#include -#include "RICsubscriptionRequest.h" -#include "RICsubscriptionResponse.h" -#include "RICsubscriptionFailure.h" -#include "RICsubscriptionDeleteRequest.h" -#include "RICsubscriptionDeleteResponse.h" -#include "RICsubscriptionDeleteFailure.h" -#include "RICserviceUpdate.h" -#include "RICserviceUpdateAcknowledge.h" -#include "RICserviceUpdateFailure.h" -#include "RICcontrolRequest.h" -#include "RICcontrolAcknowledge.h" -#include "RICcontrolFailure.h" -#include "E2setupRequest.h" -#include "E2setupResponse.h" -#include "E2setupFailure.h" -#include "ResetRequest.h" -#include "ResetResponse.h" -#include "RICindication.h" -#include "RICserviceQuery.h" -#include "ErrorIndication.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum SuccessfulOutcome__value_PR { - SuccessfulOutcome__value_PR_NOTHING, /* No components present */ - SuccessfulOutcome__value_PR_RICsubscriptionResponse, - SuccessfulOutcome__value_PR_RICsubscriptionDeleteResponse, - SuccessfulOutcome__value_PR_RICserviceUpdateAcknowledge, - SuccessfulOutcome__value_PR_RICcontrolAcknowledge, - SuccessfulOutcome__value_PR_E2setupResponse, - SuccessfulOutcome__value_PR_ResetResponse -} SuccessfulOutcome__value_PR; - -/* SuccessfulOutcome */ -typedef struct SuccessfulOutcome { - ProcedureCode_t procedureCode; - Criticality_t criticality; - struct SuccessfulOutcome__value { - SuccessfulOutcome__value_PR present; - union SuccessfulOutcome__value_u { - RICsubscriptionResponse_t RICsubscriptionResponse; - RICsubscriptionDeleteResponse_t RICsubscriptionDeleteResponse; - RICserviceUpdateAcknowledge_t RICserviceUpdateAcknowledge; - RICcontrolAcknowledge_t RICcontrolAcknowledge; - E2setupResponse_t E2setupResponse; - ResetResponse_t ResetResponse; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SuccessfulOutcome_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SuccessfulOutcome; -extern asn_SEQUENCE_specifics_t asn_SPC_SuccessfulOutcome_specs_1; -extern asn_TYPE_member_t asn_MBR_SuccessfulOutcome_1[3]; - -#ifdef __cplusplus -} -#endif - -#endif /* _SuccessfulOutcome_H_ */ -#include diff --git a/asn1c_defs/TimeToWait.c b/asn1c_defs/TimeToWait.c deleted file mode 100644 index 806aeca..0000000 --- a/asn1c_defs/TimeToWait.c +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "TimeToWait.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -static asn_per_constraints_t asn_PER_type_TimeToWait_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 5 } /* (0..5,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_TimeToWait_value2enum_1[] = { - { 0, 3, "v1s" }, - { 1, 3, "v2s" }, - { 2, 3, "v5s" }, - { 3, 4, "v10s" }, - { 4, 4, "v20s" }, - { 5, 4, "v60s" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_TimeToWait_enum2value_1[] = { - 3, /* v10s(3) */ - 0, /* v1s(0) */ - 4, /* v20s(4) */ - 1, /* v2s(1) */ - 2, /* v5s(2) */ - 5 /* v60s(5) */ - /* This list is extensible */ -}; -static const asn_INTEGER_specifics_t asn_SPC_TimeToWait_specs_1 = { - asn_MAP_TimeToWait_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_TimeToWait_enum2value_1, /* N => "tag"; sorted by N */ - 6, /* Number of elements in the maps */ - 7, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_TimeToWait_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_TimeToWait = { - "TimeToWait", - "TimeToWait", - &asn_OP_NativeEnumerated, - asn_DEF_TimeToWait_tags_1, - sizeof(asn_DEF_TimeToWait_tags_1) - /sizeof(asn_DEF_TimeToWait_tags_1[0]), /* 1 */ - asn_DEF_TimeToWait_tags_1, /* Same as above */ - sizeof(asn_DEF_TimeToWait_tags_1) - /sizeof(asn_DEF_TimeToWait_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_TimeToWait_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_TimeToWait_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/TimeToWait.h b/asn1c_defs/TimeToWait.h deleted file mode 100644 index 1e6cf0c..0000000 --- a/asn1c_defs/TimeToWait.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _TimeToWait_H_ -#define _TimeToWait_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum TimeToWait { - TimeToWait_v1s = 0, - TimeToWait_v2s = 1, - TimeToWait_v5s = 2, - TimeToWait_v10s = 3, - TimeToWait_v20s = 4, - TimeToWait_v60s = 5 - /* - * Enumeration is extensible - */ -} e_TimeToWait; - -/* TimeToWait */ -typedef long TimeToWait_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TimeToWait; -asn_struct_free_f TimeToWait_free; -asn_struct_print_f TimeToWait_print; -asn_constr_check_f TimeToWait_constraint; -ber_type_decoder_f TimeToWait_decode_ber; -der_type_encoder_f TimeToWait_encode_der; -xer_type_decoder_f TimeToWait_decode_xer; -xer_type_encoder_f TimeToWait_encode_xer; -per_type_decoder_f TimeToWait_decode_uper; -per_type_encoder_f TimeToWait_encode_uper; -per_type_decoder_f TimeToWait_decode_aper; -per_type_encoder_f TimeToWait_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _TimeToWait_H_ */ -#include diff --git a/asn1c_defs/TriggeringMessage.c b/asn1c_defs/TriggeringMessage.c deleted file mode 100644 index 8ee80f8..0000000 --- a/asn1c_defs/TriggeringMessage.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-CommonDataTypes" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "TriggeringMessage.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_TriggeringMessage_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_TriggeringMessage_value2enum_1[] = { - { 0, 18, "initiating-message" }, - { 1, 18, "successful-outcome" }, - { 2, 21, "unsuccessfull-outcome" } -}; -static const unsigned int asn_MAP_TriggeringMessage_enum2value_1[] = { - 0, /* initiating-message(0) */ - 1, /* successful-outcome(1) */ - 2 /* unsuccessfull-outcome(2) */ -}; -const asn_INTEGER_specifics_t asn_SPC_TriggeringMessage_specs_1 = { - asn_MAP_TriggeringMessage_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_TriggeringMessage_enum2value_1, /* N => "tag"; sorted by N */ - 3, /* Number of elements in the maps */ - 0, /* Enumeration is not extensible */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_TriggeringMessage_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_TriggeringMessage = { - "TriggeringMessage", - "TriggeringMessage", - &asn_OP_NativeEnumerated, - asn_DEF_TriggeringMessage_tags_1, - sizeof(asn_DEF_TriggeringMessage_tags_1) - /sizeof(asn_DEF_TriggeringMessage_tags_1[0]), /* 1 */ - asn_DEF_TriggeringMessage_tags_1, /* Same as above */ - sizeof(asn_DEF_TriggeringMessage_tags_1) - /sizeof(asn_DEF_TriggeringMessage_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_TriggeringMessage_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_TriggeringMessage_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/TriggeringMessage.h b/asn1c_defs/TriggeringMessage.h deleted file mode 100644 index 0009bf5..0000000 --- a/asn1c_defs/TriggeringMessage.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-CommonDataTypes" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _TriggeringMessage_H_ -#define _TriggeringMessage_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum TriggeringMessage { - TriggeringMessage_initiating_message = 0, - TriggeringMessage_successful_outcome = 1, - TriggeringMessage_unsuccessfull_outcome = 2 -} e_TriggeringMessage; - -/* TriggeringMessage */ -typedef long TriggeringMessage_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TriggeringMessage_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TriggeringMessage; -extern const asn_INTEGER_specifics_t asn_SPC_TriggeringMessage_specs_1; -asn_struct_free_f TriggeringMessage_free; -asn_struct_print_f TriggeringMessage_print; -asn_constr_check_f TriggeringMessage_constraint; -ber_type_decoder_f TriggeringMessage_decode_ber; -der_type_encoder_f TriggeringMessage_encode_der; -xer_type_decoder_f TriggeringMessage_decode_xer; -xer_type_encoder_f TriggeringMessage_encode_xer; -per_type_decoder_f TriggeringMessage_decode_uper; -per_type_encoder_f TriggeringMessage_encode_uper; -per_type_decoder_f TriggeringMessage_decode_aper; -per_type_encoder_f TriggeringMessage_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _TriggeringMessage_H_ */ -#include diff --git a/asn1c_defs/TypeOfError.c b/asn1c_defs/TypeOfError.c deleted file mode 100644 index 6276bda..0000000 --- a/asn1c_defs/TypeOfError.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "TypeOfError.h" - -/* - * This type is implemented using NativeEnumerated, - * so here we adjust the DEF accordingly. - */ -asn_per_constraints_t asn_PER_type_TypeOfError_constr_1 CC_NOTUSED = { - { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static const asn_INTEGER_enum_map_t asn_MAP_TypeOfError_value2enum_1[] = { - { 0, 14, "not-understood" }, - { 1, 7, "missing" } - /* This list is extensible */ -}; -static const unsigned int asn_MAP_TypeOfError_enum2value_1[] = { - 1, /* missing(1) */ - 0 /* not-understood(0) */ - /* This list is extensible */ -}; -const asn_INTEGER_specifics_t asn_SPC_TypeOfError_specs_1 = { - asn_MAP_TypeOfError_value2enum_1, /* "tag" => N; sorted by tag */ - asn_MAP_TypeOfError_enum2value_1, /* N => "tag"; sorted by N */ - 2, /* Number of elements in the maps */ - 3, /* Extensions before this member */ - 1, /* Strict enumeration */ - 0, /* Native long size */ - 0 -}; -static const ber_tlv_tag_t asn_DEF_TypeOfError_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) -}; -asn_TYPE_descriptor_t asn_DEF_TypeOfError = { - "TypeOfError", - "TypeOfError", - &asn_OP_NativeEnumerated, - asn_DEF_TypeOfError_tags_1, - sizeof(asn_DEF_TypeOfError_tags_1) - /sizeof(asn_DEF_TypeOfError_tags_1[0]), /* 1 */ - asn_DEF_TypeOfError_tags_1, /* Same as above */ - sizeof(asn_DEF_TypeOfError_tags_1) - /sizeof(asn_DEF_TypeOfError_tags_1[0]), /* 1 */ - { 0, &asn_PER_type_TypeOfError_constr_1, NativeEnumerated_constraint }, - 0, 0, /* Defined elsewhere */ - &asn_SPC_TypeOfError_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/TypeOfError.h b/asn1c_defs/TypeOfError.h deleted file mode 100644 index 0600d8a..0000000 --- a/asn1c_defs/TypeOfError.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-IEs" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _TypeOfError_H_ -#define _TypeOfError_H_ - - -#include - -/* Including external dependencies */ -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum TypeOfError { - TypeOfError_not_understood = 0, - TypeOfError_missing = 1 - /* - * Enumeration is extensible - */ -} e_TypeOfError; - -/* TypeOfError */ -typedef long TypeOfError_t; - -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TypeOfError_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TypeOfError; -extern const asn_INTEGER_specifics_t asn_SPC_TypeOfError_specs_1; -asn_struct_free_f TypeOfError_free; -asn_struct_print_f TypeOfError_print; -asn_constr_check_f TypeOfError_constraint; -ber_type_decoder_f TypeOfError_decode_ber; -der_type_encoder_f TypeOfError_encode_der; -xer_type_decoder_f TypeOfError_decode_xer; -xer_type_encoder_f TypeOfError_encode_xer; -per_type_decoder_f TypeOfError_decode_uper; -per_type_encoder_f TypeOfError_encode_uper; -per_type_decoder_f TypeOfError_decode_aper; -per_type_encoder_f TypeOfError_encode_aper; - -#ifdef __cplusplus -} -#endif - -#endif /* _TypeOfError_H_ */ -#include diff --git a/asn1c_defs/UnsuccessfulOutcome.c b/asn1c_defs/UnsuccessfulOutcome.c deleted file mode 100644 index 993ef54..0000000 --- a/asn1c_defs/UnsuccessfulOutcome.c +++ /dev/null @@ -1,349 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Descriptions" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#include "UnsuccessfulOutcome.h" - -static const long asn_VAL_1_id_RICsubscription = 8; -static const long asn_VAL_1_reject = 0; -static const long asn_VAL_2_id_RICsubscriptionDelete = 9; -static const long asn_VAL_2_reject = 0; -static const long asn_VAL_3_id_RICserviceUpdate = 7; -static const long asn_VAL_3_reject = 0; -static const long asn_VAL_4_id_RICcontrol = 4; -static const long asn_VAL_4_reject = 0; -static const long asn_VAL_5_id_E2setup = 1; -static const long asn_VAL_5_reject = 0; -static const long asn_VAL_6_id_Reset = 3; -static const long asn_VAL_6_reject = 0; -static const long asn_VAL_7_id_RICindication = 5; -static const long asn_VAL_7_ignore = 1; -static const long asn_VAL_8_id_RICserviceQuery = 6; -static const long asn_VAL_8_ignore = 1; -static const long asn_VAL_9_id_ErrorIndication = 2; -static const long asn_VAL_9_ignore = 1; -static const asn_ioc_cell_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows[] = { - { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionResponse }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_1_id_RICsubscription }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_1_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICsubscriptionDeleteRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteResponse }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICsubscriptionDeleteFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_2_id_RICsubscriptionDelete }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_2_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceUpdate }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateAcknowledge }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICserviceUpdateFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_3_id_RICserviceUpdate }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_3_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICcontrolRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolAcknowledge }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_RICcontrolFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_4_id_RICcontrol }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_4_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_E2setupRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_E2setupResponse }, - { "&UnsuccessfulOutcome", aioc__type, &asn_DEF_E2setupFailure }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_5_id_E2setup }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_5_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_ResetRequest }, - { "&SuccessfulOutcome", aioc__type, &asn_DEF_ResetResponse }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_6_id_Reset }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_6_reject }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICindication }, - { "&SuccessfulOutcome", }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_7_id_RICindication }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_7_ignore }, - { "&InitiatingMessage", aioc__type, &asn_DEF_RICserviceQuery }, - { "&SuccessfulOutcome", }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_8_id_RICserviceQuery }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_8_ignore }, - { "&InitiatingMessage", aioc__type, &asn_DEF_ErrorIndication }, - { "&SuccessfulOutcome", }, - { "&UnsuccessfulOutcome", }, - { "&procedureCode", aioc__value, &asn_DEF_ProcedureCode, &asn_VAL_9_id_ErrorIndication }, - { "&criticality", aioc__value, &asn_DEF_Criticality, &asn_VAL_9_ignore } -}; -static const asn_ioc_set_t asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1[] = { - { 9, 5, asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1_rows } -}; -static int -memb_procedureCode_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - long value; - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - value = *(const long *)sptr; - - if((value >= 0 && value <= 255)) { - /* Constraint check succeeded */ - return 0; - } else { - ASN__CTFAIL(app_key, td, sptr, - "%s: constraint failed (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } -} - -static asn_type_selector_result_t -select_UnsuccessfulOutcome_criticality_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1; - size_t constraining_column = 3; /* &procedureCode */ - size_t for_column = 4; /* &criticality */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct UnsuccessfulOutcome, procedureCode)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_criticality_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_type_selector_result_t -select_UnsuccessfulOutcome_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) { - asn_type_selector_result_t result = {0, 0}; - const asn_ioc_set_t *itable = asn_IOS_E2AP_ELEMENTARY_PROCEDURES_1; - size_t constraining_column = 3; /* &procedureCode */ - size_t for_column = 2; /* &UnsuccessfulOutcome */ - size_t row, presence_index = 0; - const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct UnsuccessfulOutcome, procedureCode)); - - for(row=0; row < itable->rows_count; row++) { - const asn_ioc_cell_t *constraining_cell = &itable->rows[row * itable->columns_count + constraining_column]; - const asn_ioc_cell_t *type_cell = &itable->rows[row * itable->columns_count + for_column]; - - if(type_cell->cell_kind == aioc__undefined) - continue; - - presence_index++; - if(constraining_cell->type_descriptor->op->compare_struct(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) { - result.type_descriptor = type_cell->type_descriptor; - result.presence_index = presence_index; - break; - } - } - - return result; -} - -static int -memb_value_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_constraint_failed_f *ctfailcb, void *app_key) { - - if(!sptr) { - ASN__CTFAIL(app_key, td, sptr, - "%s: value not given (%s:%d)", - td->name, __FILE__, __LINE__); - return -1; - } - - - if(1 /* No applicable constraints whatsoever */) { - /* Nothing is here. See below */ - } - - return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); -} - -static asn_per_constraints_t asn_PER_memb_procedureCode_constr_2 CC_NOTUSED = { - { APC_CONSTRAINED, 8, 8, 0, 255 } /* (0..255) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_criticality_constr_3 CC_NOTUSED = { - { APC_CONSTRAINED, 2, 2, 0, 2 } /* (0..2) */, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_per_constraints_t asn_PER_memb_value_constr_4 CC_NOTUSED = { - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - { APC_UNCONSTRAINED, -1, -1, 0, 0 }, - 0, 0 /* No PER value map */ -}; -static asn_TYPE_member_t asn_MBR_value_4[] = { - { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICsubscriptionFailure), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionFailure, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICsubscriptionFailure" - }, - { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICsubscriptionDeleteFailure), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICsubscriptionDeleteFailure, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICsubscriptionDeleteFailure" - }, - { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICserviceUpdateFailure), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICserviceUpdateFailure, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICserviceUpdateFailure" - }, - { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.RICcontrolFailure), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_RICcontrolFailure, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "RICcontrolFailure" - }, - { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome__value, choice.E2setupFailure), - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), - 0, - &asn_DEF_E2setupFailure, - 0, - { 0, 0, 0 }, - 0, 0, /* No default value */ - "E2setupFailure" - }, -}; -static const asn_TYPE_tag2member_t asn_MAP_value_tag2el_4[] = { - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 4 }, /* RICsubscriptionFailure */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 3 }, /* RICsubscriptionDeleteFailure */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 2 }, /* RICserviceUpdateFailure */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, -3, 1 }, /* RICcontrolFailure */ - { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 4, -4, 0 } /* E2setupFailure */ -}; -static asn_CHOICE_specifics_t asn_SPC_value_specs_4 = { - sizeof(struct UnsuccessfulOutcome__value), - offsetof(struct UnsuccessfulOutcome__value, _asn_ctx), - offsetof(struct UnsuccessfulOutcome__value, present), - sizeof(((struct UnsuccessfulOutcome__value *)0)->present), - asn_MAP_value_tag2el_4, - 5, /* Count of tags in the map */ - 0, 0, - -1 /* Extensions start */ -}; -static /* Use -fall-defs-global to expose */ -asn_TYPE_descriptor_t asn_DEF_value_4 = { - "value", - "value", - &asn_OP_OPEN_TYPE, - 0, /* No effective tags (pointer) */ - 0, /* No effective tags (count) */ - 0, /* No tags (pointer) */ - 0, /* No tags (count) */ - { 0, 0, OPEN_TYPE_constraint }, - asn_MBR_value_4, - 5, /* Elements count */ - &asn_SPC_value_specs_4 /* Additional specs */ -}; - -asn_TYPE_member_t asn_MBR_UnsuccessfulOutcome_1[] = { - { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, procedureCode), - (ASN_TAG_CLASS_CONTEXT | (0 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_ProcedureCode, - 0, - { 0, &asn_PER_memb_procedureCode_constr_2, memb_procedureCode_constraint_1 }, - 0, 0, /* No default value */ - "procedureCode" - }, - { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, criticality), - (ASN_TAG_CLASS_CONTEXT | (1 << 2)), - -1, /* IMPLICIT tag at current level */ - &asn_DEF_Criticality, - select_UnsuccessfulOutcome_criticality_type, - { 0, &asn_PER_memb_criticality_constr_3, memb_criticality_constraint_1 }, - 0, 0, /* No default value */ - "criticality" - }, - { ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, value), - (ASN_TAG_CLASS_CONTEXT | (2 << 2)), - +1, /* EXPLICIT tag at current level */ - &asn_DEF_value_4, - select_UnsuccessfulOutcome_value_type, - { 0, &asn_PER_memb_value_constr_4, memb_value_constraint_1 }, - 0, 0, /* No default value */ - "value" - }, -}; -static const ber_tlv_tag_t asn_DEF_UnsuccessfulOutcome_tags_1[] = { - (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) -}; -static const asn_TYPE_tag2member_t asn_MAP_UnsuccessfulOutcome_tag2el_1[] = { - { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */ - { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ - { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ -}; -asn_SEQUENCE_specifics_t asn_SPC_UnsuccessfulOutcome_specs_1 = { - sizeof(struct UnsuccessfulOutcome), - offsetof(struct UnsuccessfulOutcome, _asn_ctx), - asn_MAP_UnsuccessfulOutcome_tag2el_1, - 3, /* Count of tags in the map */ - 0, 0, 0, /* Optional elements (not needed) */ - -1, /* First extension addition */ -}; -asn_TYPE_descriptor_t asn_DEF_UnsuccessfulOutcome = { - "UnsuccessfulOutcome", - "UnsuccessfulOutcome", - &asn_OP_SEQUENCE, - asn_DEF_UnsuccessfulOutcome_tags_1, - sizeof(asn_DEF_UnsuccessfulOutcome_tags_1) - /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */ - asn_DEF_UnsuccessfulOutcome_tags_1, /* Same as above */ - sizeof(asn_DEF_UnsuccessfulOutcome_tags_1) - /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */ - { 0, 0, SEQUENCE_constraint }, - asn_MBR_UnsuccessfulOutcome_1, - 3, /* Elements count */ - &asn_SPC_UnsuccessfulOutcome_specs_1 /* Additional specs */ -}; - diff --git a/asn1c_defs/UnsuccessfulOutcome.h b/asn1c_defs/UnsuccessfulOutcome.h deleted file mode 100644 index eb6830e..0000000 --- a/asn1c_defs/UnsuccessfulOutcome.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) - * From ASN.1 module "E2AP-PDU-Descriptions" - * found in "e2ap-oran-wg3-v01.00.asn" - * `asn1c -fno-include-deps -fcompound-names -findirect-choice -gen-PER -no-gen-OER` - */ - -#ifndef _UnsuccessfulOutcome_H_ -#define _UnsuccessfulOutcome_H_ - - -#include - -/* Including external dependencies */ -#include "ProcedureCode.h" -#include "Criticality.h" -#include -#include -#include "RICsubscriptionRequest.h" -#include "RICsubscriptionResponse.h" -#include "RICsubscriptionFailure.h" -#include "RICsubscriptionDeleteRequest.h" -#include "RICsubscriptionDeleteResponse.h" -#include "RICsubscriptionDeleteFailure.h" -#include "RICserviceUpdate.h" -#include "RICserviceUpdateAcknowledge.h" -#include "RICserviceUpdateFailure.h" -#include "RICcontrolRequest.h" -#include "RICcontrolAcknowledge.h" -#include "RICcontrolFailure.h" -#include "E2setupRequest.h" -#include "E2setupResponse.h" -#include "E2setupFailure.h" -#include "ResetRequest.h" -#include "ResetResponse.h" -#include "RICindication.h" -#include "RICserviceQuery.h" -#include "ErrorIndication.h" -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/* Dependencies */ -typedef enum UnsuccessfulOutcome__value_PR { - UnsuccessfulOutcome__value_PR_NOTHING, /* No components present */ - UnsuccessfulOutcome__value_PR_RICsubscriptionFailure, - UnsuccessfulOutcome__value_PR_RICsubscriptionDeleteFailure, - UnsuccessfulOutcome__value_PR_RICserviceUpdateFailure, - UnsuccessfulOutcome__value_PR_RICcontrolFailure, - UnsuccessfulOutcome__value_PR_E2setupFailure -} UnsuccessfulOutcome__value_PR; - -/* UnsuccessfulOutcome */ -typedef struct UnsuccessfulOutcome { - ProcedureCode_t procedureCode; - Criticality_t criticality; - struct UnsuccessfulOutcome__value { - UnsuccessfulOutcome__value_PR present; - union UnsuccessfulOutcome__value_u { - RICsubscriptionFailure_t RICsubscriptionFailure; - RICsubscriptionDeleteFailure_t RICsubscriptionDeleteFailure; - RICserviceUpdateFailure_t RICserviceUpdateFailure; - RICcontrolFailure_t RICcontrolFailure; - E2setupFailure_t E2setupFailure; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } value; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UnsuccessfulOutcome_t; - -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UnsuccessfulOutcome; -extern asn_SEQUENCE_specifics_t asn_SPC_UnsuccessfulOutcome_specs_1; -extern asn_TYPE_member_t asn_MBR_UnsuccessfulOutcome_1[3]; - -#ifdef __cplusplus -} -#endif - -#endif /* _UnsuccessfulOutcome_H_ */ -#include diff --git a/container-tag.yaml b/container-tag.yaml index 749a37a..2dc2721 100644 --- a/container-tag.yaml +++ b/container-tag.yaml @@ -1,4 +1,4 @@ # this is used by CI jobs to apply a tag when it builds the image --- -tag: '1.1.0' +tag: '1.1.1' diff --git a/asn1c_defs/BIT_STRING.c b/defs_hwe2sm/BIT_STRING.c similarity index 100% rename from asn1c_defs/BIT_STRING.c rename to defs_hwe2sm/BIT_STRING.c diff --git a/asn1c_defs/BIT_STRING.h b/defs_hwe2sm/BIT_STRING.h similarity index 100% rename from asn1c_defs/BIT_STRING.h rename to defs_hwe2sm/BIT_STRING.h diff --git a/asn1c_defs/E2SM-HelloWorld-ActionDefinition-Format1.c b/defs_hwe2sm/E2SM-HelloWorld-ActionDefinition-Format1.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ActionDefinition-Format1.c rename to defs_hwe2sm/E2SM-HelloWorld-ActionDefinition-Format1.c diff --git a/asn1c_defs/E2SM-HelloWorld-ActionDefinition-Format1.h b/defs_hwe2sm/E2SM-HelloWorld-ActionDefinition-Format1.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ActionDefinition-Format1.h rename to defs_hwe2sm/E2SM-HelloWorld-ActionDefinition-Format1.h diff --git a/asn1c_defs/E2SM-HelloWorld-ActionDefinition.c b/defs_hwe2sm/E2SM-HelloWorld-ActionDefinition.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ActionDefinition.c rename to defs_hwe2sm/E2SM-HelloWorld-ActionDefinition.c diff --git a/asn1c_defs/E2SM-HelloWorld-ActionDefinition.h b/defs_hwe2sm/E2SM-HelloWorld-ActionDefinition.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ActionDefinition.h rename to defs_hwe2sm/E2SM-HelloWorld-ActionDefinition.h diff --git a/asn1c_defs/E2SM-HelloWorld-ControlHeader-Format1.c b/defs_hwe2sm/E2SM-HelloWorld-ControlHeader-Format1.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ControlHeader-Format1.c rename to defs_hwe2sm/E2SM-HelloWorld-ControlHeader-Format1.c diff --git a/asn1c_defs/E2SM-HelloWorld-ControlHeader-Format1.h b/defs_hwe2sm/E2SM-HelloWorld-ControlHeader-Format1.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ControlHeader-Format1.h rename to defs_hwe2sm/E2SM-HelloWorld-ControlHeader-Format1.h diff --git a/asn1c_defs/E2SM-HelloWorld-ControlHeader.c b/defs_hwe2sm/E2SM-HelloWorld-ControlHeader.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ControlHeader.c rename to defs_hwe2sm/E2SM-HelloWorld-ControlHeader.c diff --git a/asn1c_defs/E2SM-HelloWorld-ControlHeader.h b/defs_hwe2sm/E2SM-HelloWorld-ControlHeader.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ControlHeader.h rename to defs_hwe2sm/E2SM-HelloWorld-ControlHeader.h diff --git a/asn1c_defs/E2SM-HelloWorld-ControlMessage-Format1.c b/defs_hwe2sm/E2SM-HelloWorld-ControlMessage-Format1.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ControlMessage-Format1.c rename to defs_hwe2sm/E2SM-HelloWorld-ControlMessage-Format1.c diff --git a/asn1c_defs/E2SM-HelloWorld-ControlMessage-Format1.h b/defs_hwe2sm/E2SM-HelloWorld-ControlMessage-Format1.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ControlMessage-Format1.h rename to defs_hwe2sm/E2SM-HelloWorld-ControlMessage-Format1.h diff --git a/asn1c_defs/E2SM-HelloWorld-ControlMessage.c b/defs_hwe2sm/E2SM-HelloWorld-ControlMessage.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ControlMessage.c rename to defs_hwe2sm/E2SM-HelloWorld-ControlMessage.c diff --git a/asn1c_defs/E2SM-HelloWorld-ControlMessage.h b/defs_hwe2sm/E2SM-HelloWorld-ControlMessage.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-ControlMessage.h rename to defs_hwe2sm/E2SM-HelloWorld-ControlMessage.h diff --git a/asn1c_defs/E2SM-HelloWorld-EventTriggerDefinition-Format1.c b/defs_hwe2sm/E2SM-HelloWorld-EventTriggerDefinition-Format1.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-EventTriggerDefinition-Format1.c rename to defs_hwe2sm/E2SM-HelloWorld-EventTriggerDefinition-Format1.c diff --git a/asn1c_defs/E2SM-HelloWorld-EventTriggerDefinition-Format1.h b/defs_hwe2sm/E2SM-HelloWorld-EventTriggerDefinition-Format1.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-EventTriggerDefinition-Format1.h rename to defs_hwe2sm/E2SM-HelloWorld-EventTriggerDefinition-Format1.h diff --git a/asn1c_defs/E2SM-HelloWorld-EventTriggerDefinition.c b/defs_hwe2sm/E2SM-HelloWorld-EventTriggerDefinition.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-EventTriggerDefinition.c rename to defs_hwe2sm/E2SM-HelloWorld-EventTriggerDefinition.c diff --git a/asn1c_defs/E2SM-HelloWorld-EventTriggerDefinition.h b/defs_hwe2sm/E2SM-HelloWorld-EventTriggerDefinition.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-EventTriggerDefinition.h rename to defs_hwe2sm/E2SM-HelloWorld-EventTriggerDefinition.h diff --git a/asn1c_defs/E2SM-HelloWorld-IndicationHeader-Format1.c b/defs_hwe2sm/E2SM-HelloWorld-IndicationHeader-Format1.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-IndicationHeader-Format1.c rename to defs_hwe2sm/E2SM-HelloWorld-IndicationHeader-Format1.c diff --git a/asn1c_defs/E2SM-HelloWorld-IndicationHeader-Format1.h b/defs_hwe2sm/E2SM-HelloWorld-IndicationHeader-Format1.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-IndicationHeader-Format1.h rename to defs_hwe2sm/E2SM-HelloWorld-IndicationHeader-Format1.h diff --git a/asn1c_defs/E2SM-HelloWorld-IndicationHeader.c b/defs_hwe2sm/E2SM-HelloWorld-IndicationHeader.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-IndicationHeader.c rename to defs_hwe2sm/E2SM-HelloWorld-IndicationHeader.c diff --git a/asn1c_defs/E2SM-HelloWorld-IndicationHeader.h b/defs_hwe2sm/E2SM-HelloWorld-IndicationHeader.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-IndicationHeader.h rename to defs_hwe2sm/E2SM-HelloWorld-IndicationHeader.h diff --git a/asn1c_defs/E2SM-HelloWorld-IndicationMessage-Format1.c b/defs_hwe2sm/E2SM-HelloWorld-IndicationMessage-Format1.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-IndicationMessage-Format1.c rename to defs_hwe2sm/E2SM-HelloWorld-IndicationMessage-Format1.c diff --git a/asn1c_defs/E2SM-HelloWorld-IndicationMessage-Format1.h b/defs_hwe2sm/E2SM-HelloWorld-IndicationMessage-Format1.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-IndicationMessage-Format1.h rename to defs_hwe2sm/E2SM-HelloWorld-IndicationMessage-Format1.h diff --git a/asn1c_defs/E2SM-HelloWorld-IndicationMessage.c b/defs_hwe2sm/E2SM-HelloWorld-IndicationMessage.c similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-IndicationMessage.c rename to defs_hwe2sm/E2SM-HelloWorld-IndicationMessage.c diff --git a/asn1c_defs/E2SM-HelloWorld-IndicationMessage.h b/defs_hwe2sm/E2SM-HelloWorld-IndicationMessage.h similarity index 100% rename from asn1c_defs/E2SM-HelloWorld-IndicationMessage.h rename to defs_hwe2sm/E2SM-HelloWorld-IndicationMessage.h diff --git a/asn1c_defs/HW-Header.c b/defs_hwe2sm/HW-Header.c similarity index 100% rename from asn1c_defs/HW-Header.c rename to defs_hwe2sm/HW-Header.c diff --git a/asn1c_defs/HW-Header.h b/defs_hwe2sm/HW-Header.h similarity index 100% rename from asn1c_defs/HW-Header.h rename to defs_hwe2sm/HW-Header.h diff --git a/asn1c_defs/HW-Message.c b/defs_hwe2sm/HW-Message.c similarity index 100% rename from asn1c_defs/HW-Message.c rename to defs_hwe2sm/HW-Message.c diff --git a/asn1c_defs/HW-Message.h b/defs_hwe2sm/HW-Message.h similarity index 100% rename from asn1c_defs/HW-Message.h rename to defs_hwe2sm/HW-Message.h diff --git a/asn1c_defs/HW-TriggerNature.c b/defs_hwe2sm/HW-TriggerNature.c similarity index 100% rename from asn1c_defs/HW-TriggerNature.c rename to defs_hwe2sm/HW-TriggerNature.c diff --git a/asn1c_defs/HW-TriggerNature.h b/defs_hwe2sm/HW-TriggerNature.h similarity index 100% rename from asn1c_defs/HW-TriggerNature.h rename to defs_hwe2sm/HW-TriggerNature.h diff --git a/asn1c_defs/INTEGER.c b/defs_hwe2sm/INTEGER.c similarity index 100% rename from asn1c_defs/INTEGER.c rename to defs_hwe2sm/INTEGER.c diff --git a/asn1c_defs/INTEGER.h b/defs_hwe2sm/INTEGER.h similarity index 100% rename from asn1c_defs/INTEGER.h rename to defs_hwe2sm/INTEGER.h diff --git a/asn1c_defs/NativeEnumerated.c b/defs_hwe2sm/NativeEnumerated.c similarity index 96% rename from asn1c_defs/NativeEnumerated.c rename to defs_hwe2sm/NativeEnumerated.c index 50ffb1d..800da97 100644 --- a/asn1c_defs/NativeEnumerated.c +++ b/defs_hwe2sm/NativeEnumerated.c @@ -97,7 +97,7 @@ NativeEnumerated_decode_uper(const asn_codec_ctx_t *opt_codec_ctx, const asn_INTEGER_specifics_t *specs = td->specifics; asn_dec_rval_t rval = { RC_OK, 0 }; long *native = (long *)*sptr; - const asn_per_constraint_t *ct = NULL; + const asn_per_constraint_t *ct; long value; (void)opt_codec_ctx; @@ -115,7 +115,7 @@ NativeEnumerated_decode_uper(const asn_codec_ctx_t *opt_codec_ctx, ASN_DEBUG("Decoding %s as NativeEnumerated", td->name); - if(ct && ct->flags & APC_EXTENSIBLE) { + if(ct->flags & APC_EXTENSIBLE) { int inext = per_get_few_bits(pd, 1); if(inext < 0) ASN__DECODE_STARVED; if(inext) ct = 0; @@ -165,7 +165,7 @@ NativeEnumerated_encode_uper(const asn_TYPE_descriptor_t *td, (const asn_INTEGER_specifics_t *)td->specifics; asn_enc_rval_t er = {0,0,0}; long native, value; - const asn_per_constraint_t *ct = NULL; + const asn_per_constraint_t *ct; int inext = 0; asn_INTEGER_enum_map_t key; const asn_INTEGER_enum_map_t *kf; @@ -193,13 +193,13 @@ NativeEnumerated_encode_uper(const asn_TYPE_descriptor_t *td, } value = kf - specs->value2enum; - if(ct && ct->range_bits >= 0) { + if(ct->range_bits >= 0) { int cmpWith = specs->extension ? specs->extension - 1 : specs->map_count; if(value >= cmpWith) inext = 1; } - if(ct && ct->flags & APC_EXTENSIBLE) { + if(ct->flags & APC_EXTENSIBLE) { if(per_put_few_bits(po, inext, 1)) ASN__ENCODE_FAILED; if(inext) ct = 0; @@ -236,7 +236,7 @@ NativeEnumerated_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, const asn_INTEGER_specifics_t *specs = (const asn_INTEGER_specifics_t *)td->specifics; asn_dec_rval_t rval = { RC_OK, 0 }; long *native = (long *)*sptr; - const asn_per_constraint_t *ct = NULL; + const asn_per_constraint_t *ct; long value; (void)opt_codec_ctx; @@ -254,7 +254,7 @@ NativeEnumerated_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, ASN_DEBUG("Decoding %s as NativeEnumerated", td->name); - if(ct && ct->flags & APC_EXTENSIBLE) { + if(ct->flags & APC_EXTENSIBLE) { int inext = per_get_few_bits(pd, 1); if(inext < 0) ASN__DECODE_STARVED; if(inext) ct = 0; @@ -302,7 +302,7 @@ NativeEnumerated_encode_aper(const asn_TYPE_descriptor_t *td, const asn_INTEGER_specifics_t *specs = (const asn_INTEGER_specifics_t *)td->specifics; asn_enc_rval_t er = {0,0,0}; long native, value; - const asn_per_constraint_t *ct = NULL; + const asn_per_constraint_t *ct; int inext = 0; asn_INTEGER_enum_map_t key; asn_INTEGER_enum_map_t *kf; @@ -331,13 +331,13 @@ NativeEnumerated_encode_aper(const asn_TYPE_descriptor_t *td, } value = kf - specs->value2enum; - if(ct && ct->range_bits >= 0) { + if(ct->range_bits >= 0) { int cmpWith = specs->extension ? specs->extension - 1 : specs->map_count; if(value >= cmpWith) inext = 1; } - if(ct && ct->flags & APC_EXTENSIBLE) { + if(ct->flags & APC_EXTENSIBLE) { if(per_put_few_bits(po, inext, 1)) ASN__ENCODE_FAILED; if(inext) ct = 0; diff --git a/asn1c_defs/NativeEnumerated.h b/defs_hwe2sm/NativeEnumerated.h similarity index 100% rename from asn1c_defs/NativeEnumerated.h rename to defs_hwe2sm/NativeEnumerated.h diff --git a/asn1c_defs/NativeInteger.c b/defs_hwe2sm/NativeInteger.c similarity index 100% rename from asn1c_defs/NativeInteger.c rename to defs_hwe2sm/NativeInteger.c diff --git a/asn1c_defs/NativeInteger.h b/defs_hwe2sm/NativeInteger.h similarity index 100% rename from asn1c_defs/NativeInteger.h rename to defs_hwe2sm/NativeInteger.h diff --git a/asn1c_defs/OCTET_STRING.c b/defs_hwe2sm/OCTET_STRING.c similarity index 99% rename from asn1c_defs/OCTET_STRING.c rename to defs_hwe2sm/OCTET_STRING.c index ae34c96..432ce5a 100644 --- a/asn1c_defs/OCTET_STRING.c +++ b/defs_hwe2sm/OCTET_STRING.c @@ -157,7 +157,7 @@ OS__add_stack_el(struct _stack *st) { nel = (struct _stack_el *)CALLOC(1, sizeof(struct _stack_el)); if(nel == NULL) return NULL; - + if(st->tail) { /* Increase a subcontainment depth */ nel->cont_level = st->tail->cont_level + 1; @@ -745,7 +745,7 @@ OCTET_STRING__handle_control_chars(void *struct_ptr, const void *chunk_buf, size return 0; } } - + return -1; /* No, it's not */ } @@ -1956,9 +1956,7 @@ OCTET_STRING_encode_aper(const asn_TYPE_descriptor_t *td, ret = aper_put_length(po, csiz->upper_bound - csiz->lower_bound + 1, sizeinunits - csiz->lower_bound); if(ret) ASN__ENCODE_FAILED; } - /* EB MOD - AFAIU if lb != ub it is aligned whatever the number of bits */ - if ((st->size > 2) || (csiz->lower_bound != csiz->upper_bound)) { /* X.691 #16.11 */ + if (st->size > 2) { /* X.691 #16 NOTE 1 */ if (aper_put_align(po) < 0) ASN__ENCODE_FAILED; } diff --git a/asn1c_defs/OCTET_STRING.h b/defs_hwe2sm/OCTET_STRING.h similarity index 100% rename from asn1c_defs/OCTET_STRING.h rename to defs_hwe2sm/OCTET_STRING.h diff --git a/asn1c_defs/OPEN_TYPE.c b/defs_hwe2sm/OPEN_TYPE.c similarity index 100% rename from asn1c_defs/OPEN_TYPE.c rename to defs_hwe2sm/OPEN_TYPE.c diff --git a/asn1c_defs/OPEN_TYPE.h b/defs_hwe2sm/OPEN_TYPE.h similarity index 100% rename from asn1c_defs/OPEN_TYPE.h rename to defs_hwe2sm/OPEN_TYPE.h diff --git a/asn1c_defs/RANparameter-ID.c b/defs_hwe2sm/RANparameter-ID.c similarity index 100% rename from asn1c_defs/RANparameter-ID.c rename to defs_hwe2sm/RANparameter-ID.c diff --git a/asn1c_defs/RANparameter-ID.h b/defs_hwe2sm/RANparameter-ID.h similarity index 100% rename from asn1c_defs/RANparameter-ID.h rename to defs_hwe2sm/RANparameter-ID.h diff --git a/asn1c_defs/RANparameter-Item.c b/defs_hwe2sm/RANparameter-Item.c similarity index 100% rename from asn1c_defs/RANparameter-Item.c rename to defs_hwe2sm/RANparameter-Item.c diff --git a/asn1c_defs/RANparameter-Item.h b/defs_hwe2sm/RANparameter-Item.h similarity index 100% rename from asn1c_defs/RANparameter-Item.h rename to defs_hwe2sm/RANparameter-Item.h diff --git a/asn1c_defs/RANparameter-List.c b/defs_hwe2sm/RANparameter-List.c similarity index 100% rename from asn1c_defs/RANparameter-List.c rename to defs_hwe2sm/RANparameter-List.c diff --git a/asn1c_defs/RANparameter-List.h b/defs_hwe2sm/RANparameter-List.h similarity index 100% rename from asn1c_defs/RANparameter-List.h rename to defs_hwe2sm/RANparameter-List.h diff --git a/asn1c_defs/RANparameter-Name.c b/defs_hwe2sm/RANparameter-Name.c similarity index 100% rename from asn1c_defs/RANparameter-Name.c rename to defs_hwe2sm/RANparameter-Name.c diff --git a/asn1c_defs/RANparameter-Name.h b/defs_hwe2sm/RANparameter-Name.h similarity index 100% rename from asn1c_defs/RANparameter-Name.h rename to defs_hwe2sm/RANparameter-Name.h diff --git a/asn1c_defs/RANparameter-Test.c b/defs_hwe2sm/RANparameter-Test.c similarity index 100% rename from asn1c_defs/RANparameter-Test.c rename to defs_hwe2sm/RANparameter-Test.c diff --git a/asn1c_defs/RANparameter-Test.h b/defs_hwe2sm/RANparameter-Test.h similarity index 100% rename from asn1c_defs/RANparameter-Test.h rename to defs_hwe2sm/RANparameter-Test.h diff --git a/asn1c_defs/RANparameter-Value.c b/defs_hwe2sm/RANparameter-Value.c similarity index 100% rename from asn1c_defs/RANparameter-Value.c rename to defs_hwe2sm/RANparameter-Value.c diff --git a/asn1c_defs/RANparameter-Value.h b/defs_hwe2sm/RANparameter-Value.h similarity index 100% rename from asn1c_defs/RANparameter-Value.h rename to defs_hwe2sm/RANparameter-Value.h diff --git a/asn1c_defs/asn_SEQUENCE_OF.c b/defs_hwe2sm/asn_SEQUENCE_OF.c similarity index 100% rename from asn1c_defs/asn_SEQUENCE_OF.c rename to defs_hwe2sm/asn_SEQUENCE_OF.c diff --git a/asn1c_defs/asn_SEQUENCE_OF.h b/defs_hwe2sm/asn_SEQUENCE_OF.h similarity index 100% rename from asn1c_defs/asn_SEQUENCE_OF.h rename to defs_hwe2sm/asn_SEQUENCE_OF.h diff --git a/asn1c_defs/asn_SET_OF.c b/defs_hwe2sm/asn_SET_OF.c similarity index 100% rename from asn1c_defs/asn_SET_OF.c rename to defs_hwe2sm/asn_SET_OF.c diff --git a/asn1c_defs/asn_SET_OF.h b/defs_hwe2sm/asn_SET_OF.h similarity index 100% rename from asn1c_defs/asn_SET_OF.h rename to defs_hwe2sm/asn_SET_OF.h diff --git a/asn1c_defs/asn_application.c b/defs_hwe2sm/asn_application.c similarity index 100% rename from asn1c_defs/asn_application.c rename to defs_hwe2sm/asn_application.c diff --git a/asn1c_defs/asn_application.h b/defs_hwe2sm/asn_application.h similarity index 100% rename from asn1c_defs/asn_application.h rename to defs_hwe2sm/asn_application.h diff --git a/asn1c_defs/asn_bit_data.c b/defs_hwe2sm/asn_bit_data.c similarity index 100% rename from asn1c_defs/asn_bit_data.c rename to defs_hwe2sm/asn_bit_data.c diff --git a/asn1c_defs/asn_bit_data.h b/defs_hwe2sm/asn_bit_data.h similarity index 100% rename from asn1c_defs/asn_bit_data.h rename to defs_hwe2sm/asn_bit_data.h diff --git a/asn1c_defs/asn_codecs.h b/defs_hwe2sm/asn_codecs.h similarity index 100% rename from asn1c_defs/asn_codecs.h rename to defs_hwe2sm/asn_codecs.h diff --git a/asn1c_defs/asn_codecs_prim.c b/defs_hwe2sm/asn_codecs_prim.c similarity index 100% rename from asn1c_defs/asn_codecs_prim.c rename to defs_hwe2sm/asn_codecs_prim.c diff --git a/asn1c_defs/asn_codecs_prim.h b/defs_hwe2sm/asn_codecs_prim.h similarity index 100% rename from asn1c_defs/asn_codecs_prim.h rename to defs_hwe2sm/asn_codecs_prim.h diff --git a/asn1c_defs/asn_constant.h b/defs_hwe2sm/asn_constant.h similarity index 66% rename from asn1c_defs/asn_constant.h rename to defs_hwe2sm/asn_constant.h index a8a43d6..6684b33 100644 --- a/asn1c_defs/asn_constant.h +++ b/defs_hwe2sm/asn_constant.h @@ -9,10 +9,6 @@ extern "C" { #endif -#define maxProtocolIEs (65535) -#define maxnoofErrors (256) -#define maxofRANfunctionID (256) -#define maxofRICactionID (16) #define maxofRANParameters (100) diff --git a/asn1c_defs/asn_internal.c b/defs_hwe2sm/asn_internal.c similarity index 100% rename from asn1c_defs/asn_internal.c rename to defs_hwe2sm/asn_internal.c diff --git a/asn1c_defs/asn_internal.h b/defs_hwe2sm/asn_internal.h similarity index 100% rename from asn1c_defs/asn_internal.h rename to defs_hwe2sm/asn_internal.h diff --git a/asn1c_defs/asn_ioc.h b/defs_hwe2sm/asn_ioc.h similarity index 100% rename from asn1c_defs/asn_ioc.h rename to defs_hwe2sm/asn_ioc.h diff --git a/asn1c_defs/asn_random_fill.c b/defs_hwe2sm/asn_random_fill.c similarity index 100% rename from asn1c_defs/asn_random_fill.c rename to defs_hwe2sm/asn_random_fill.c diff --git a/asn1c_defs/asn_random_fill.h b/defs_hwe2sm/asn_random_fill.h similarity index 100% rename from asn1c_defs/asn_random_fill.h rename to defs_hwe2sm/asn_random_fill.h diff --git a/asn1c_defs/asn_system.h b/defs_hwe2sm/asn_system.h similarity index 100% rename from asn1c_defs/asn_system.h rename to defs_hwe2sm/asn_system.h diff --git a/asn1c_defs/ber_decoder.c b/defs_hwe2sm/ber_decoder.c similarity index 100% rename from asn1c_defs/ber_decoder.c rename to defs_hwe2sm/ber_decoder.c diff --git a/asn1c_defs/ber_decoder.h b/defs_hwe2sm/ber_decoder.h similarity index 100% rename from asn1c_defs/ber_decoder.h rename to defs_hwe2sm/ber_decoder.h diff --git a/asn1c_defs/ber_tlv_length.c b/defs_hwe2sm/ber_tlv_length.c similarity index 100% rename from asn1c_defs/ber_tlv_length.c rename to defs_hwe2sm/ber_tlv_length.c diff --git a/asn1c_defs/ber_tlv_length.h b/defs_hwe2sm/ber_tlv_length.h similarity index 100% rename from asn1c_defs/ber_tlv_length.h rename to defs_hwe2sm/ber_tlv_length.h diff --git a/asn1c_defs/ber_tlv_tag.c b/defs_hwe2sm/ber_tlv_tag.c similarity index 100% rename from asn1c_defs/ber_tlv_tag.c rename to defs_hwe2sm/ber_tlv_tag.c diff --git a/asn1c_defs/ber_tlv_tag.h b/defs_hwe2sm/ber_tlv_tag.h similarity index 100% rename from asn1c_defs/ber_tlv_tag.h rename to defs_hwe2sm/ber_tlv_tag.h diff --git a/asn1c_defs/constr_CHOICE.c b/defs_hwe2sm/constr_CHOICE.c similarity index 95% rename from asn1c_defs/constr_CHOICE.c rename to defs_hwe2sm/constr_CHOICE.c index 86dcbb0..613e6ea 100644 --- a/asn1c_defs/constr_CHOICE.c +++ b/defs_hwe2sm/constr_CHOICE.c @@ -1017,7 +1017,6 @@ CHOICE_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, const asn_CHOICE_specifics_t *specs = (const asn_CHOICE_specifics_t *)td->specifics; asn_dec_rval_t rv; const asn_per_constraint_t *ct; - const asn_per_constraint_t *ext_ct = NULL; asn_TYPE_member_t *elm; /* CHOICE's element */ void *memb_ptr; void **memb_ptr2; @@ -1043,13 +1042,9 @@ CHOICE_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, if(ct && ct->flags & APC_EXTENSIBLE) { value = per_get_few_bits(pd, 1); if(value < 0) ASN__DECODE_STARVED; - if(value) { - ext_ct = ct; - ct = 0; /* Not restricted */ - } + if(value) ct = 0; /* Not restricted */ } - if(ct && ct->range_bits >= 0) { value = per_get_few_bits(pd, ct->range_bits); if(value < 0) ASN__DECODE_STARVED; @@ -1060,7 +1055,7 @@ CHOICE_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, } else { if(specs->ext_start == -1) ASN__DECODE_FAILED; - value = aper_get_nsnnwn(pd, ext_ct->range_bits); + value = uper_get_nsnnwn(pd); if(value < 0) ASN__DECODE_STARVED; value += specs->ext_start; if((unsigned)value >= td->elements_count) @@ -1088,7 +1083,7 @@ CHOICE_decode_aper(const asn_codec_ctx_t *opt_codec_ctx, rv = elm->type->op->aper_decoder(opt_codec_ctx, elm->type, elm->encoding_constraints.per_constraints, memb_ptr2, pd); } else { - rv = aper_open_type_get(opt_codec_ctx, elm->type, + rv = uper_open_type_get(opt_codec_ctx, elm->type, elm->encoding_constraints.per_constraints, memb_ptr2, pd); } @@ -1104,12 +1099,10 @@ CHOICE_encode_aper(const asn_TYPE_descriptor_t *td, const void *sptr, asn_per_outp_t *po) { const asn_CHOICE_specifics_t *specs = (const asn_CHOICE_specifics_t *)td->specifics; const asn_TYPE_member_t *elm; /* CHOICE's element */ - const asn_per_constraint_t *ct = NULL; - const asn_per_constraint_t *ext_ct = NULL; + const asn_per_constraint_t *ct; const void *memb_ptr; - unsigned present; - int present_enc; - + int present; + if(!sptr) ASN__ENCODE_FAILED; ASN_DEBUG("Encoding %s as CHOICE using ALIGNED PER", td->name); @@ -1117,7 +1110,7 @@ CHOICE_encode_aper(const asn_TYPE_descriptor_t *td, if(constraints) ct = &constraints->value; else if(td->encoding_constraints.per_constraints) ct = &td->encoding_constraints.per_constraints->value; - else ct = NULL; + else ct = 0; present = _fetch_present_idx(sptr, specs->pres_offset, specs->pres_size); @@ -1133,38 +1126,25 @@ CHOICE_encode_aper(const asn_TYPE_descriptor_t *td, /* Adjust if canonical order is different from natural order */ if(specs->to_canonical_order) - present_enc = specs->to_canonical_order[present]; - else - present_enc = present; - + present = specs->to_canonical_order[present]; + ASN_DEBUG("Encoding %s CHOICE element %d", td->name, present); - if(ct && (ct->range_bits >= 0)) { - // Value is not within the range of the primary values ? - if(present < ct->lower_bound || present > ct->upper_bound) { - if(ct->flags & APC_EXTENSIBLE) { - ASN_DEBUG("CHOICE member %d (enc %d) is an extension (%ld..%ld)", - present, present_enc, ct->lower_bound, ct->upper_bound); - // X691/23.5 Extension marker = 1 - if(per_put_few_bits(po, 1, 1)) { - ASN__ENCODE_FAILED; - } - } else { - ASN__ENCODE_FAILED; - } - // no more need of constraint. - ext_ct = ct; - ct = NULL; - } + if(ct && ct->range_bits >= 0) { + if(present < ct->lower_bound + || present > ct->upper_bound) { + if(ct->flags & APC_EXTENSIBLE) { + if(per_put_few_bits(po, 1, 1)) + ASN__ENCODE_FAILED; + } else { + ASN__ENCODE_FAILED; + } + ct = 0; + } } - - if(ct && (ct->flags & APC_EXTENSIBLE)) { - ASN_DEBUG("CHOICE member %d (enc %d) is not an extension (%ld..%ld)", - present, present, ct->lower_bound, ct->upper_bound); - // X691.23.5 Extension marker = 0 - if(per_put_few_bits(po, 0, 1)) { - ASN__ENCODE_FAILED; - } + if(ct && ct->flags & APC_EXTENSIBLE) { + if(per_put_few_bits(po, 0, 1)) + ASN__ENCODE_FAILED; } elm = &td->elements[present]; @@ -1176,10 +1156,8 @@ CHOICE_encode_aper(const asn_TYPE_descriptor_t *td, memb_ptr = (const char *)sptr + elm->memb_offset; } - if(ct && (ct->range_bits >= 0)) { - // By construction (ct != 0), the alternative value is a non extended one. - // X691/23.7 X691/23.6 alternative value encoded as a range_bits bits value. - if(per_put_few_bits(po, present_enc, ct->range_bits)) + if(ct && ct->range_bits >= 0) { + if(per_put_few_bits(po, present, ct->range_bits)) ASN__ENCODE_FAILED; return elm->type->op->aper_encoder(elm->type, elm->encoding_constraints.per_constraints, @@ -1188,10 +1166,10 @@ CHOICE_encode_aper(const asn_TYPE_descriptor_t *td, asn_enc_rval_t rval = {0,0,0}; if(specs->ext_start == -1) ASN__ENCODE_FAILED; - // X691/23.8 normally encoded as a small non negative whole number - - if(ext_ct && aper_put_nsnnwn(po, ext_ct->range_bits, present_enc - specs->ext_start)) + if (ct) { + if(aper_put_nsnnwn(po, ct->range_bits, present - specs->ext_start)) ASN__ENCODE_FAILED; + } if(aper_open_type_put(elm->type, elm->encoding_constraints.per_constraints, memb_ptr, po)) ASN__ENCODE_FAILED; diff --git a/asn1c_defs/constr_CHOICE.h b/defs_hwe2sm/constr_CHOICE.h similarity index 100% rename from asn1c_defs/constr_CHOICE.h rename to defs_hwe2sm/constr_CHOICE.h diff --git a/asn1c_defs/constr_SEQUENCE.c b/defs_hwe2sm/constr_SEQUENCE.c similarity index 100% rename from asn1c_defs/constr_SEQUENCE.c rename to defs_hwe2sm/constr_SEQUENCE.c diff --git a/asn1c_defs/constr_SEQUENCE.h b/defs_hwe2sm/constr_SEQUENCE.h similarity index 100% rename from asn1c_defs/constr_SEQUENCE.h rename to defs_hwe2sm/constr_SEQUENCE.h diff --git a/asn1c_defs/constr_SEQUENCE_OF.c b/defs_hwe2sm/constr_SEQUENCE_OF.c similarity index 100% rename from asn1c_defs/constr_SEQUENCE_OF.c rename to defs_hwe2sm/constr_SEQUENCE_OF.c diff --git a/asn1c_defs/constr_SEQUENCE_OF.h b/defs_hwe2sm/constr_SEQUENCE_OF.h similarity index 100% rename from asn1c_defs/constr_SEQUENCE_OF.h rename to defs_hwe2sm/constr_SEQUENCE_OF.h diff --git a/asn1c_defs/constr_SET_OF.c b/defs_hwe2sm/constr_SET_OF.c similarity index 100% rename from asn1c_defs/constr_SET_OF.c rename to defs_hwe2sm/constr_SET_OF.c diff --git a/asn1c_defs/constr_SET_OF.h b/defs_hwe2sm/constr_SET_OF.h similarity index 100% rename from asn1c_defs/constr_SET_OF.h rename to defs_hwe2sm/constr_SET_OF.h diff --git a/asn1c_defs/constr_TYPE.c b/defs_hwe2sm/constr_TYPE.c similarity index 100% rename from asn1c_defs/constr_TYPE.c rename to defs_hwe2sm/constr_TYPE.c diff --git a/asn1c_defs/constr_TYPE.h b/defs_hwe2sm/constr_TYPE.h similarity index 100% rename from asn1c_defs/constr_TYPE.h rename to defs_hwe2sm/constr_TYPE.h diff --git a/asn1c_defs/constraints.c b/defs_hwe2sm/constraints.c similarity index 100% rename from asn1c_defs/constraints.c rename to defs_hwe2sm/constraints.c diff --git a/asn1c_defs/constraints.h b/defs_hwe2sm/constraints.h similarity index 100% rename from asn1c_defs/constraints.h rename to defs_hwe2sm/constraints.h diff --git a/asn1c_defs/der_encoder.c b/defs_hwe2sm/der_encoder.c similarity index 100% rename from asn1c_defs/der_encoder.c rename to defs_hwe2sm/der_encoder.c diff --git a/asn1c_defs/der_encoder.h b/defs_hwe2sm/der_encoder.h similarity index 100% rename from asn1c_defs/der_encoder.h rename to defs_hwe2sm/der_encoder.h diff --git a/defs_hwe2sm/e2sm-HelloWorld-v001.asn b/defs_hwe2sm/e2sm-HelloWorld-v001.asn new file mode 100644 index 0000000..b43a210 --- /dev/null +++ b/defs_hwe2sm/e2sm-HelloWorld-v001.asn @@ -0,0 +1,200 @@ +-- ASN1START +-- ************************************************************** +-- E2SM-HelloWorld +-- Information Element Definitions +-- +-- ************************************************************** + +E2SM-HelloWorld-IEs { } + +DEFINITIONS AUTOMATIC TAGS ::= + +BEGIN + +-- ************************************************************** +-- +-- Lists +-- +-- ************************************************************** + +maxofRANParameters INTEGER ::= 100 + +-- E2 Service model IEs + +-- --------------------------------------------------- +-- Event Trigger Definition OCTET STRING contents +-- --------------------------------------------------- + +-- E2SM-HelloWorld-EventTriggerDefinition IE +E2SM-HelloWorld-EventTriggerDefinition ::= CHOICE{ + eventDefinition-Format1 E2SM-HelloWorld-EventTriggerDefinition-Format1, + ... +} + +-- E2SM-HelloWorld-eventTriggerDefinition IE Format 1 +E2SM-HelloWorld-EventTriggerDefinition-Format1 ::= SEQUENCE{ + triggerNature HW-TriggerNature, + ... +} + +-- --------------------------------------------------- +-- Action Definition OCTET STRING contents +-- --------------------------------------------------- +E2SM-HelloWorld-ActionDefinition ::= CHOICE{ + actionDefinition-Format1 E2SM-HelloWorld-ActionDefinition-Format1, + ... +} + +-- E2SM-HelloWorld-actionDefinition IE used for Action Format 1 +E2SM-HelloWorld-ActionDefinition-Format1 ::= SEQUENCE{ + ranParameter-List RANparameter-List, + ... +} + +RANparameter-List ::= SEQUENCE (SIZE(1..maxofRANParameters)) OF RANparameter-Item + +-- --------------------------------------------------- +-- Indication Header OCTET STRING contents +-- --------------------------------------------------- + +E2SM-HelloWorld-IndicationHeader ::= CHOICE{ + indicationHeader-Format1 E2SM-HelloWorld-IndicationHeader-Format1, + ... +} + +-- E2SM-HelloWorld-indicationHeader Format 1 +E2SM-HelloWorld-IndicationHeader-Format1 ::= SEQUENCE{ + indicationHeaderParam HW-Header, + ... +} + +-- --------------------------------------------------- +-- Indication Message OCTET STRING contents +-- --------------------------------------------------- + +-- E2SM-HelloWorld-indicationMessage IE +E2SM-HelloWorld-IndicationMessage ::= CHOICE{ + indicationMessage-Format1 E2SM-HelloWorld-IndicationMessage-Format1, + ... +} + +-- E2SM-HelloWorld-IndicationMessage Format 1 +E2SM-HelloWorld-IndicationMessage-Format1 ::= SEQUENCE{ + indicationMsgParam HW-Message, + ... +} + + +-- --------------------------------------------------- +-- Call Process ID +-- --------------------------------------------------- + +-- Not defined in this E2SM + +-- --------------------------------------------------- +-- Control Header OCTET STRING contents +-- --------------------------------------------------- + +-- E2SM-HelloWorld-ControlHeader +E2SM-HelloWorld-ControlHeader ::= CHOICE{ + controlHeader-Format1 E2SM-HelloWorld-ControlHeader-Format1, + ... +} + +-- E2SM-HelloWorld-ControlHeader Format 1 +E2SM-HelloWorld-ControlHeader-Format1 ::= SEQUENCE{ + controlHeaderParam HW-Header, + ... +} + + +-- --------------------------------------------------- +-- Control Message OCTET STRING contents +-- --------------------------------------------------- + +-- E2SM-HelloWorld-ControlMessage +E2SM-HelloWorld-ControlMessage ::= CHOICE{ + controlMessage-Format1 E2SM-HelloWorld-ControlMessage-Format1, + ... +} + +-- E2SM-HelloWorld-controlMessage Format 1 +E2SM-HelloWorld-ControlMessage-Format1 ::= SEQUENCE{ + controlMsgParam HW-Message, + ... +} + +-- --------------------------------------------------- +-- commmon IEs +-- --------------------------------------------------- + +-- A +-- B +-- C +-- D +-- E +-- F +-- G +-- H + +HW-Header ::= INTEGER + +HW-Message ::= OCTET STRING + +HW-TriggerNature ::= ENUMERATED{ + now, + onchange, + ... +} +-- I +-- J +-- K +-- L +-- M +-- N +-- O +-- P +-- Q +-- R + + +RANparameter-Item ::= SEQUENCE { + ranParameter-ID RANparameter-ID, + ranParameter-Name RANparameter-Name, + ranParameter-Test RANparameter-Test, + ranParameter-Value RANparameter-Value, + ... +} + + +RANparameter-ID ::= INTEGER (0..maxofRANParameters) + +RANparameter-Name ::= OCTET STRING + +RANparameter-Test ::= ENUMERATED{ + equal, + greaterthan, + lessthan, + contains, + present, + ... +} + +RANparameter-Value ::= OCTET STRING + +-- S +-- T +-- U +-- V +-- W +-- X +-- Y +-- Z + +END +-- ASN1STOP + + + + + diff --git a/asn1c_defs/pdu_collection.c b/defs_hwe2sm/pdu_collection.c similarity index 87% rename from asn1c_defs/pdu_collection.c rename to defs_hwe2sm/pdu_collection.c index 32bd103..7336fc8 100644 --- a/asn1c_defs/pdu_collection.c +++ b/defs_hwe2sm/pdu_collection.c @@ -4,7 +4,6 @@ struct asn_TYPE_descriptor_s; /* Forward declaration */ -extern struct asn_TYPE_descriptor_s asn_DEF_E2AP_PDU; extern struct asn_TYPE_descriptor_s asn_DEF_E2SM_HelloWorld_EventTriggerDefinition; extern struct asn_TYPE_descriptor_s asn_DEF_E2SM_HelloWorld_ActionDefinition; extern struct asn_TYPE_descriptor_s asn_DEF_E2SM_HelloWorld_IndicationHeader; @@ -14,8 +13,6 @@ extern struct asn_TYPE_descriptor_s asn_DEF_E2SM_HelloWorld_ControlMessage; struct asn_TYPE_descriptor_s *asn_pdu_collection[] = { - /* From module E2AP-PDU-Descriptions in e2ap-oran-wg3-v01.00.asn */ - &asn_DEF_E2AP_PDU, /* From module E2SM-HelloWorld-IEs in e2sm-HelloWorld-v001.asn */ &asn_DEF_E2SM_HelloWorld_EventTriggerDefinition, &asn_DEF_E2SM_HelloWorld_ActionDefinition, diff --git a/asn1c_defs/per_decoder.c b/defs_hwe2sm/per_decoder.c similarity index 100% rename from asn1c_defs/per_decoder.c rename to defs_hwe2sm/per_decoder.c diff --git a/asn1c_defs/per_decoder.h b/defs_hwe2sm/per_decoder.h similarity index 100% rename from asn1c_defs/per_decoder.h rename to defs_hwe2sm/per_decoder.h diff --git a/asn1c_defs/per_encoder.c b/defs_hwe2sm/per_encoder.c similarity index 100% rename from asn1c_defs/per_encoder.c rename to defs_hwe2sm/per_encoder.c diff --git a/asn1c_defs/per_encoder.h b/defs_hwe2sm/per_encoder.h similarity index 100% rename from asn1c_defs/per_encoder.h rename to defs_hwe2sm/per_encoder.h diff --git a/asn1c_defs/per_opentype.c b/defs_hwe2sm/per_opentype.c similarity index 100% rename from asn1c_defs/per_opentype.c rename to defs_hwe2sm/per_opentype.c diff --git a/asn1c_defs/per_opentype.h b/defs_hwe2sm/per_opentype.h similarity index 100% rename from asn1c_defs/per_opentype.h rename to defs_hwe2sm/per_opentype.h diff --git a/asn1c_defs/per_support.c b/defs_hwe2sm/per_support.c similarity index 100% rename from asn1c_defs/per_support.c rename to defs_hwe2sm/per_support.c diff --git a/asn1c_defs/per_support.h b/defs_hwe2sm/per_support.h similarity index 100% rename from asn1c_defs/per_support.h rename to defs_hwe2sm/per_support.h diff --git a/asn1c_defs/xer_decoder.c b/defs_hwe2sm/xer_decoder.c similarity index 100% rename from asn1c_defs/xer_decoder.c rename to defs_hwe2sm/xer_decoder.c diff --git a/asn1c_defs/xer_decoder.h b/defs_hwe2sm/xer_decoder.h similarity index 100% rename from asn1c_defs/xer_decoder.h rename to defs_hwe2sm/xer_decoder.h diff --git a/asn1c_defs/xer_encoder.c b/defs_hwe2sm/xer_encoder.c similarity index 100% rename from asn1c_defs/xer_encoder.c rename to defs_hwe2sm/xer_encoder.c diff --git a/asn1c_defs/xer_encoder.h b/defs_hwe2sm/xer_encoder.h similarity index 100% rename from asn1c_defs/xer_encoder.h rename to defs_hwe2sm/xer_encoder.h diff --git a/asn1c_defs/xer_support.c b/defs_hwe2sm/xer_support.c similarity index 100% rename from asn1c_defs/xer_support.c rename to defs_hwe2sm/xer_support.c diff --git a/asn1c_defs/xer_support.h b/defs_hwe2sm/xer_support.h similarity index 100% rename from asn1c_defs/xer_support.h rename to defs_hwe2sm/xer_support.h diff --git a/src/Makefile b/src/Makefile index c8a0b6d..18f05b6 100755 --- a/src/Makefile +++ b/src/Makefile @@ -6,7 +6,7 @@ HWSRC:=./ UTILSRC=./xapp-utils MSGSRC:=./xapp-mgmt -ASNSRC:=../asn1c_defs +ASNSRC:=../defs_hwe2sm E2APSRC:=./xapp-asn/e2ap E2SMSRC:=./xapp-asn/e2sm @@ -26,13 +26,13 @@ HWFLAGS= -I./ UTILFLAGS= -I$(UTILSRC) MSGFLAGS= -I$(MSGSRC) -ASNFLAGS=-I$(ASNSRC) -DASN_DISABLE_OER_SUPPORT +ASNFLAGS=-I$(ASNSRC) -I/usr/local/include/riclibe2ap -DASN_DISABLE_OER_SUPPORT E2APFLAGS = -I$(E2APSRC) E2SMFLAGS = -I$(E2SMSRC) ########libs -LIBS= -lsdl -lrmr_si -lpthread -lm $(LOG_LIBS) $(CURL_LIBS) $(RNIB_LIBS) +LIBS= -lsdl -lrmr_si -lriclibe2ap -lpthread -lm $(LOG_LIBS) $(CURL_LIBS) $(RNIB_LIBS) COV_FLAGS= -fprofile-arcs -ftest-coverage ####### @@ -70,7 +70,7 @@ OBJ= $(HWXAPP_OBJ) $(UTIL_OBJ) $(MSG_OBJ) $(ASN1C_MODULES) $(E2AP_OBJ) $(E2SM_O print-% : ; @echo $* = $($*) hw_xapp_main: $(OBJ) - $(CXX) -o $@ $(OBJ) $(LIBS) $(RNIBFLAGS) $(CPPFLAGS) $(CLOGFLAGS) + $(CXX) -o $@ $(OBJ) $(LIBS) $(RNIBFLAGS) $(CPPFLAGS) $(CLOGFLAGS) install: hw_xapp_main install -D hw_xapp_main /usr/local/bin/hw_xapp_main diff --git a/test/Makefile b/test/Makefile index ec89c05..3538d2d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -6,7 +6,7 @@ SRC:=../src UTILSRC=../src/xapp-utils MGMTSRC:=../src/xapp-mgmt -ASNSRC:=../asn1c_defs +ASNSRC:=../defs_hwe2sm E2APSRC:=../src/xapp-asn/e2ap E2SMSRC:=../src/xapp-asn/e2sm @@ -26,13 +26,13 @@ XAPPFLAGS= -I$(SRC) UTILFLAGS= -I$(UTILSRC) MGMTFLAGS= -I$(MGMTSRC) -ASNFLAGS=-I$(ASNSRC) -DASN_DISABLE_OER_SUPPORT +ASNFLAGS=-I$(ASNSRC) -I/usr/local/include/riclibe2ap -DASN_DISABLE_OER_SUPPORT E2APFLAGS = -I$(E2APSRC) E2SMFLAGS = -I$(E2SMSRC) ########libs -LIBS= -lsdl -lrmr_si -lpthread -lm $(LOG_LIBS) $(CURL_LIBS) $(RNIB_LIBS) $(GTEST_LIBS) +LIBS= -lsdl -lrmr_si -lriclibe2ap -lpthread -lm $(LOG_LIBS) $(CURL_LIBS) $(RNIB_LIBS) $(GTEST_LIBS) COV_FLAGS= -fprofile-arcs -ftest-coverage ####### -- 2.16.6