asn1: fix visibility warnings from generated code

Fix warnings from generated asn1 code in order to build osmo-iuh with
werror in a future patch:

../../include/osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h:29:23: error: ‘struct HNBAP_CriticalityDiagnostics_IE_List__Member’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]

These visibility warnings come from "SEQUENCE … OF SEQUENCE" definitions
in the asn1 source files, as described in detail here:
https://github.com/vlm/asn1c/issues/430

It is not possible to tell gcc to just ignore these warnings since they
don't have their own type (unlike e.g. -Wuninitialized). Also it seems
like a huge effort to patch this in asn1c.

So work around the problem the same way the author of the issue worked
around it by rewriting the lines to "SEQUENCE … OF …-Value" and adding
a "…-Value ::= SEQUENCE" line below. Add a script in
asn1/utils/asn1_restructure_sequence_of_sequence.py for the
transformation and apply it.

Related: OS#4462
Change-Id: If84445ed2e0df604b581684dcf83f8520b7da84c
changes/81/30081/3
Oliver Smith 7 months ago
parent 0c04a7e03f
commit 48c038d399

@ -127,7 +127,8 @@ CriticalityDiagnostics ::= SEQUENCE {
...
}
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF CriticalityDiagnostics-IE-List-Value
CriticalityDiagnostics-IE-List-Value ::=
SEQUENCE {
iECriticality Criticality,
iE-ID ProtocolIE-ID,

@ -265,7 +265,8 @@ Ass-RAB-Parameter-GuaranteedBitrateList ::= SEQUENCE (SIZE (1..maxNrOfSeparateTr
Ass-RAB-Parameter-MaxBitrateList ::= SEQUENCE (SIZE (1..maxNrOfSeparateTrafficDirections)) OF MaxBitrate
AuthorisedPLMNs ::= SEQUENCE (SIZE (1..maxNrOfPLMNsSN)) OF
AuthorisedPLMNs ::= SEQUENCE (SIZE (1..maxNrOfPLMNsSN)) OF AuthorisedPLMNs-Value
AuthorisedPLMNs-Value ::=
SEQUENCE {
pLMNidentity PLMNidentity,
authorisedSNAsList AuthorisedSNAs OPTIONAL,
@ -479,7 +480,8 @@ CriticalityDiagnostics ::= SEQUENCE {
...
}
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF CriticalityDiagnostics-IE-List-Value
CriticalityDiagnostics-IE-List-Value ::=
SEQUENCE {
iECriticality Criticality,
iE-ID ProtocolIE-ID,
@ -488,7 +490,8 @@ CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
...
}
MessageStructure ::= SEQUENCE (SIZE (1..maxNrOfLevels)) OF
MessageStructure ::= SEQUENCE (SIZE (1..maxNrOfLevels)) OF MessageStructure-Value
MessageStructure-Value ::=
SEQUENCE {
iE-ID ProtocolIE-ID,
repetitionNumber RepetitionNumber1 OPTIONAL,
@ -753,7 +756,8 @@ GA-PointWithUnCertaintyEllipse ::= SEQUENCE {
...
}
GA-Polygon ::= SEQUENCE (SIZE (1..maxNrOfPoints)) OF
GA-Polygon ::= SEQUENCE (SIZE (1..maxNrOfPoints)) OF GA-Polygon-Value
GA-Polygon-Value ::=
SEQUENCE {
geographicalCoordinates GeographicalCoordinates,
iE-Extensions IE-Extensions OPTIONAL,
@ -923,7 +927,8 @@ KeyStatus ::= ENUMERATED {
}
-- L
LA-LIST ::= SEQUENCE (SIZE (1..maxNrOfLAs)) OF
LA-LIST ::= SEQUENCE (SIZE (1..maxNrOfLAs)) OF LA-LIST-Value
LA-LIST-Value ::=
SEQUENCE {
lAC LAC,
listOF-SNAs ListOF-SNAs,
@ -1336,7 +1341,8 @@ LoggingDuration ::= ENUMERATED {
PLMNidentity ::= OCTET STRING (SIZE (3))
PLMNs-in-shared-network ::= SEQUENCE (SIZE (1..maxNrOfPLMNsSN)) OF
PLMNs-in-shared-network ::= SEQUENCE (SIZE (1..maxNrOfPLMNsSN)) OF PLMNs-in-shared-network-Value
PLMNs-in-shared-network-Value ::=
SEQUENCE {
pLMNidentity PLMNidentity,
lA-LIST LA-LIST,
@ -1414,7 +1420,8 @@ RABased ::= SEQUENCE {
RAI-List ::= SEQUENCE (SIZE (1..maxNrOfRAIs)) OF
RAI
RABDataVolumeReport ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF
RABDataVolumeReport ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF RABDataVolumeReport-Value
RABDataVolumeReport-Value ::=
SEQUENCE {
dl-UnsuccessfullyTransmittedDataVolume UnsuccessfullyTransmittedDataVolume,
dataVolumeReference DataVolumeReference OPTIONAL,
@ -1456,7 +1463,8 @@ RAB-Parameters ::= SEQUENCE {
...
}
RABParametersList ::= SEQUENCE (SIZE (1.. maxNrOfRABs)) OF SEQUENCE {
RABParametersList ::= SEQUENCE (SIZE (1.. maxNrOfRABs)) OF RABParametersList-Value
RABParametersList-Value ::= SEQUENCE {
rab-Id RAB-ID,
cn-domain CN-DomainIndicator,
rabDataVolumeReport RABDataVolumeReport OPTIONAL,
@ -1848,7 +1856,8 @@ RSRQ-Type ::= SEQUENCE {
RSRQ-Extension ::= INTEGER (-30..46, ...)
EUTRANFrequencies ::= SEQUENCE (SIZE (1..maxNrOfEUTRAFreqs)) OF SEQUENCE {
EUTRANFrequencies ::= SEQUENCE (SIZE (1..maxNrOfEUTRAFreqs)) OF EUTRANFrequencies-Value
EUTRANFrequencies-Value ::= SEQUENCE {
earfcn INTEGER (0..65535),
measBand MeasBand OPTIONAL,
iE-Extensions IE-Extensions OPTIONAL}

@ -780,7 +780,8 @@ CNMBMSLinkingInformation-ExtIEs RANAP-PROTOCOL-EXTENSION ::= {
...
}
JoinedMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
JoinedMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF JoinedMBMSBearerService-IEs-Value
JoinedMBMSBearerService-IEs-Value ::=
SEQUENCE {
tMGI TMGI,
mBMS-PTP-RAB-ID MBMS-PTP-RAB-ID,
@ -2301,7 +2302,8 @@ RAB-ReleasedItem-ExtIEs RANAP-PROTOCOL-EXTENSION ::= {
...
}
DataVolumeList ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF
DataVolumeList ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF DataVolumeList-Value
DataVolumeList-Value ::=
SEQUENCE {
dl-UnsuccessfullyTransmittedDataVolume UnsuccessfullyTransmittedDataVolume,
dataVolumeReference DataVolumeReference OPTIONAL,
@ -3210,7 +3212,8 @@ MBMSUELinkingRequestIEs RANAP-PROTOCOL-IES ::= {
...
}
LeftMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
LeftMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF LeftMBMSBearerService-IEs-Value
LeftMBMSBearerService-IEs-Value ::=
SEQUENCE {
tMGI TMGI,
iE-Extensions ProtocolExtensionContainer { {LeftMBMSBearerService-ExtIEs} } OPTIONAL,
@ -3243,7 +3246,8 @@ MBMSUELinkingResponseIEs RANAP-PROTOCOL-IES ::= {
...
}
UnsuccessfulLinking-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
UnsuccessfulLinking-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF UnsuccessfulLinking-IEs-Value
UnsuccessfulLinking-IEs-Value ::=
SEQUENCE {
tMGI TMGI,
cause Cause,

@ -735,7 +735,8 @@ CNMBMSLinkingInformation ::= SEQUENCE {
...
}
JoinedMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
JoinedMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF JoinedMBMSBearerService-IEs-Value
JoinedMBMSBearerService-IEs-Value ::=
SEQUENCE {
tMGI TMGI,
mBMS-PTP-RAB-ID MBMS-PTP-RAB-ID,
@ -885,7 +886,8 @@ RAB-ReleasedItem ::= SEQUENCE {
...
}
DataVolumeList ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF
DataVolumeList ::= SEQUENCE (SIZE (1..maxNrOfVol)) OF DataVolumeList-Value
DataVolumeList-Value ::=
SEQUENCE {
dl-UnsuccessfullyTransmittedDataVolume UnsuccessfullyTransmittedDataVolume,
dataVolumeReference DataVolumeReference OPTIONAL,
@ -1004,14 +1006,16 @@ MBMSSynchronisationInformation ::= SEQUENCE {
...
}
LeftMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
LeftMBMSBearerService-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF LeftMBMSBearerService-IEs-Value
LeftMBMSBearerService-IEs-Value ::=
SEQUENCE {
tMGI TMGI,
iE-Extensions ProtocolExtensionContainer OPTIONAL,
...
}
UnsuccessfulLinking-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF
UnsuccessfulLinking-IEs ::= SEQUENCE (SIZE (1.. maxnoofMulticastServicesPerUE)) OF UnsuccessfulLinking-IEs-Value
UnsuccessfulLinking-IEs-Value ::=
SEQUENCE {
tMGI TMGI,
cause Cause,

@ -165,7 +165,8 @@ CriticalityDiagnostics ::= SEQUENCE {
...
}
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF CriticalityDiagnostics-IE-List-Value
CriticalityDiagnostics-IE-List-Value ::=
SEQUENCE {
iECriticality Criticality,
iE-ID ProtocolIE-ID,

@ -75,7 +75,8 @@ Criticality-Diagnostics ::= SEQUENCE {
CriticalityDiagnostics-ExtIEs SABP-PROTOCOL-EXTENSION ::= {
...
}
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF CriticalityDiagnostics-IE-List-Value
CriticalityDiagnostics-IE-List-Value ::=
SEQUENCE {
iECriticality Criticality,
iE-ID ProtocolIE-ID,
@ -88,7 +89,8 @@ CriticalityDiagnostics-IE-List-ExtIEs SABP-PROTOCOL-EXTENSION ::= {
-- { ID id-TypeOfError CRITICALITY ignore EXTENSION TypeOfError PRESENCE mandatory },
...
}
MessageStructure ::= SEQUENCE (SIZE (1..maxNrOfLevels)) OF
MessageStructure ::= SEQUENCE (SIZE (1..maxNrOfLevels)) OF MessageStructure-Value
MessageStructure-Value ::=
SEQUENCE {
iE-ID ProtocolIE-ID,
repetitionNumber RepetitionNumber1 OPTIONAL,

@ -0,0 +1,57 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: AGPL-3.0-or-later
# Copyright 2022 sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
"""
Avoid compiler warnings like "struct HNBAP_CriticalityDiagnostics_IE_List__Member
declared inside parameter list will not be visible outside of this definition
or declaration", which break compiling the sources with -Werror and can't be
ignored with diagnostics as they don't have their own type (unlike e.g.
-Wuninitialized).
This problem is explained further in:
https://github.com/vlm/asn1c/issues/430
To avoid this, convert "SQUENCE … OF SEQUENCE" like here:
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF
SEQUENCE {
to "SEQUENCE … OF …-Value" and below that "…-Value ::= SEQUENCE":
CriticalityDiagnostics-IE-List ::= SEQUENCE (SIZE (1..maxNrOfErrors)) OF CriticalityDiagnostics-IE-List-Value
CriticalityDiagnostics-IE-List-Value ::=
SEQUENCE {
"""
import glob
import re
re_seq_of = re.compile("([A-Za-z0-0-]*)\s*::=\s*SEQUENCE .* OF$")
re_seq_of2 = re.compile("([A-Za-z0-0-]*)\s*::=\s*SEQUENCE .* OF SEQUENCE\s*{$")
for file in glob.glob("asn1/*/*.asn"):
print(f"{file}:")
with open(file) as handle:
lines = handle.readlines()
for i, line in enumerate(lines):
match = re_seq_of.search(line)
if match and "SEQUENCE" in lines[i + 1]:
name_value = f"{match.group(1)}-Value"
print(f" {name_value}")
lines[i] = f"{line.rstrip()} {name_value}\n{name_value} ::=\n"
continue
match = re_seq_of2.search(line)
if match:
name_value = f"{match.group(1)}-Value"
print(f" {name_value}")
line = line.split(" OF SEQUENCE")[0]
lines[i] = f"{line} OF {name_value}\n{name_value} ::= SEQUENCE {{\n"
continue
with open(file, "w") as handle:
handle.writelines(lines)
print("Done")

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "HNBAP-IEs"
* found in "../../asn1/hnbap/HNBAP-IEs.asn"
* `asn1c -R -fcompound-names`
*/
#ifndef _HNBAP_CriticalityDiagnostics_IE_List_Value_H_
#define _HNBAP_CriticalityDiagnostics_IE_List_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/hnbap/HNBAP_Criticality.h>
#include <osmocom/hnbap/HNBAP_ProtocolIE-ID.h>
#include <osmocom/hnbap/HNBAP_TypeOfError.h>
#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* HNBAP_CriticalityDiagnostics-IE-List-Value */
typedef struct HNBAP_CriticalityDiagnostics_IE_List_Value {
HNBAP_Criticality_t iECriticality;
HNBAP_ProtocolIE_ID_t iE_ID;
HNBAP_TypeOfError_t typeOfError;
HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} HNBAP_CriticalityDiagnostics_IE_List_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_HNBAP_CriticalityDiagnostics_IE_List_Value;
#ifdef __cplusplus
}
#endif
#endif /* _HNBAP_CriticalityDiagnostics_IE_List_Value_H_ */
#include <asn_internal.h>

@ -12,12 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <osmocom/hnbap/HNBAP_Criticality.h>
#include <osmocom/hnbap/HNBAP_ProtocolIE-ID.h>
#include <osmocom/hnbap/HNBAP_TypeOfError.h>
#include <osmocom/hnbap/HNBAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -26,19 +22,7 @@ extern "C" {
/* HNBAP_CriticalityDiagnostics-IE-List */
typedef struct HNBAP_CriticalityDiagnostics_IE_List {
A_SEQUENCE_OF(struct HNBAP_CriticalityDiagnostics_IE_List__Member {
HNBAP_Criticality_t iECriticality;
HNBAP_ProtocolIE_ID_t iE_ID;
HNBAP_TypeOfError_t typeOfError;
HNBAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(HNBAP_CriticalityDiagnostics_IE_List_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -20,6 +20,7 @@ hnbap_HEADERS = \
HNBAP_Context-ID.h \
HNBAP_CriticalityDiagnostics.h \
HNBAP_CriticalityDiagnostics-IE-List.h \
HNBAP_CriticalityDiagnostics-IE-List-Value.h \
HNBAP_Criticality.h \
HNBAP_CSG-Capability.h \
HNBAP_CSG-ID.h \

@ -44,6 +44,7 @@ ranap_HEADERS = \
RANAP_Ass-RAB-Parameter-MaxBitrateList.h \
RANAP_Ass-RAB-Parameters.h \
RANAP_AuthorisedPLMNs.h \
RANAP_AuthorisedPLMNs-Value.h \
RANAP_AuthorisedSNAs.h \
RANAP_BindingID.h \
RANAP_BroadcastAssistanceDataDecipheringKeys.h \
@ -79,6 +80,7 @@ ranap_HEADERS = \
RANAP_Correlation-ID.h \
RANAP_CriticalityDiagnostics.h \
RANAP_CriticalityDiagnostics-IE-List.h \
RANAP_CriticalityDiagnostics-IE-List-Value.h \
RANAP_Criticality.h \
RANAP_CSFB-Information.h \
RANAP_CSG-Id.h \
@ -86,6 +88,7 @@ ranap_HEADERS = \
RANAP_CSG-Membership-Status.h \
RANAP_DataPDUType.h \
RANAP_DataVolumeList.h \
RANAP_DataVolumeList-Value.h \
RANAP_DataVolumeReference.h \
RANAP_DataVolumeReport.h \
RANAP_DataVolumeReportingIndication.h \
@ -119,6 +122,7 @@ ranap_HEADERS = \
RANAP_EquipmentsToBeTraced.h \
RANAP_ErrorIndication.h \
RANAP_EUTRANFrequencies.h \
RANAP_EUTRANFrequencies-Value.h \
RANAP_E-UTRAN-Service-Handover.h \
RANAP_Event1F-Parameters.h \
RANAP_Event1I-Parameters.h \
@ -140,6 +144,7 @@ ranap_HEADERS = \
RANAP_GA-PointWithUnCertaintyEllipse.h \
RANAP_GA-PointWithUnCertainty.h \
RANAP_GA-Polygon.h \
RANAP_GA-Polygon-Value.h \
RANAP_GA-UncertaintyEllipse.h \
RANAP_GeographicalArea.h \
RANAP_GeographicalCoordinates.h \
@ -197,6 +202,7 @@ ranap_HEADERS = \
RANAP_IuSignallingConnectionIdentifier.h \
RANAP_IuTransportAssociation.h \
RANAP_JoinedMBMSBearerService-IEs.h \
RANAP_JoinedMBMSBearerService-IEs-Value.h \
RANAP_KeyStatus.h \
RANAP_L3-Information.h \
RANAP_LABased.h \
@ -204,10 +210,12 @@ ranap_HEADERS = \
RANAP_LAI.h \
RANAP_LAI-List.h \
RANAP_LA-LIST.h \
RANAP_LA-LIST-Value.h \
RANAP_LAListofIdleModeUEs.h \
RANAP_LastKnownServiceArea.h \
RANAP_LastVisitedUTRANCell-Item.h \
RANAP_LeftMBMSBearerService-IEs.h \
RANAP_LeftMBMSBearerService-IEs-Value.h \
RANAP_LHN-ID.h \
RANAP_Links-to-log.h \
RANAP_ListOfInterfacesToTrace.h \
@ -282,6 +290,7 @@ ranap_HEADERS = \
RANAP_MeasurementQuantity.h \
RANAP_MeasurementsToActivate.h \
RANAP_MessageStructure.h \
RANAP_MessageStructure-Value.h \
RANAP_MSISDN.h \
RANAP_NAS-PDU.h \
RANAP_NAS-SequenceNumber.h \
@ -316,6 +325,7 @@ ranap_HEADERS = \
RANAP_PermittedIntegrityProtectionAlgorithms.h \
RANAP_PLMNidentity.h \
RANAP_PLMNs-in-shared-network.h \
RANAP_PLMNs-in-shared-network-Value.h \
RANAP_Port-Number.h \
RANAP_PositionData.h \
RANAP_PositionDataSpecificToGERANIuMode.h \
@ -355,6 +365,7 @@ ranap_HEADERS = \
RANAP_RAB-DataForwardingList.h \
RANAP_RAB-DataForwardingList-SRNS-CtxReq.h \
RANAP_RABDataVolumeReport.h \
RANAP_RABDataVolumeReport-Value.h \
RANAP_RAB-DataVolumeReportItem.h \
RANAP_RAB-DataVolumeReportList.h \
RANAP_RAB-DataVolumeReportRequestItem.h \
@ -375,6 +386,7 @@ ranap_HEADERS = \
RANAP_RAB-Parameter-MaxBitrateList.h \
RANAP_RAB-Parameters.h \
RANAP_RABParametersList.h \
RANAP_RABParametersList-Value.h \
RANAP_RAB-QueuedItem.h \
RANAP_RAB-QueuedList.h \
RANAP_RAB-ReleasedItem.h \
@ -576,6 +588,7 @@ ranap_HEADERS = \
RANAP_UL-GTP-PDU-SequenceNumber.h \
RANAP_UL-N-PDU-SequenceNumber.h \
RANAP_UnsuccessfulLinking-IEs.h \
RANAP_UnsuccessfulLinking-IEs-Value.h \
RANAP_UnsuccessfullyTransmittedDataVolume.h \
RANAP_UnsuccessfulOutcome.h \
RANAP_UPInformation.h \

@ -0,0 +1,46 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-IEs"
* found in "../../asn1/ranap/RANAP-IEs.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_AuthorisedPLMNs_Value_H_
#define _RANAP_AuthorisedPLMNs_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_PLMNidentity.h>
#include <osmocom/ranap/RANAP_AuthorisedSNAs.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_AuthorisedPLMNs-Value */
typedef struct RANAP_AuthorisedPLMNs_Value {
RANAP_PLMNidentity_t pLMNidentity;
RANAP_AuthorisedSNAs_t *authorisedSNAsList /* OPTIONAL */;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RANAP_AuthorisedPLMNs_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RANAP_AuthorisedPLMNs_Value;
#ifdef __cplusplus
}
#endif
#endif /* _RANAP_AuthorisedPLMNs_Value_H_ */
#include <asn_internal.h>

@ -12,11 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_AuthorisedPLMNs-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <osmocom/ranap/RANAP_PLMNidentity.h>
#include <osmocom/ranap/RANAP_AuthorisedSNAs.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -25,18 +22,7 @@ extern "C" {
/* RANAP_AuthorisedPLMNs */
typedef struct RANAP_AuthorisedPLMNs {
A_SEQUENCE_OF(struct RANAP_AuthorisedPLMNs__Member {
RANAP_PLMNidentity_t pLMNidentity;
RANAP_AuthorisedSNAs_t *authorisedSNAsList /* OPTIONAL */;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(RANAP_AuthorisedPLMNs_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -0,0 +1,48 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-IEs"
* found in "../../asn1/ranap/RANAP-IEs.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_CriticalityDiagnostics_IE_List_Value_H_
#define _RANAP_CriticalityDiagnostics_IE_List_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_Criticality.h>
#include <osmocom/ranap/RANAP_ProtocolIE-ID.h>
#include <osmocom/ranap/RANAP_RepetitionNumber0.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_CriticalityDiagnostics-IE-List-Value */
typedef struct RANAP_CriticalityDiagnostics_IE_List_Value {
RANAP_Criticality_t iECriticality;
RANAP_ProtocolIE_ID_t iE_ID;
RANAP_RepetitionNumber0_t *repetitionNumber /* OPTIONAL */;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RANAP_CriticalityDiagnostics_IE_List_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RANAP_CriticalityDiagnostics_IE_List_Value;
#ifdef __cplusplus
}
#endif
#endif /* _RANAP_CriticalityDiagnostics_IE_List_Value_H_ */
#include <asn_internal.h>

@ -12,12 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_CriticalityDiagnostics-IE-List-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <osmocom/ranap/RANAP_Criticality.h>
#include <osmocom/ranap/RANAP_ProtocolIE-ID.h>
#include <osmocom/ranap/RANAP_RepetitionNumber0.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -26,19 +22,7 @@ extern "C" {
/* RANAP_CriticalityDiagnostics-IE-List */
typedef struct RANAP_CriticalityDiagnostics_IE_List {
A_SEQUENCE_OF(struct RANAP_CriticalityDiagnostics_IE_List__Member {
RANAP_Criticality_t iECriticality;
RANAP_ProtocolIE_ID_t iE_ID;
RANAP_RepetitionNumber0_t *repetitionNumber /* OPTIONAL */;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(RANAP_CriticalityDiagnostics_IE_List_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -0,0 +1,46 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-PDU"
* found in "../../asn1/ranap/RANAP-PDU.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_DataVolumeList_Value_H_
#define _RANAP_DataVolumeList_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_UnsuccessfullyTransmittedDataVolume.h>
#include <osmocom/ranap/RANAP_DataVolumeReference.h>
#include <osmocom/ranap/RANAP_ProtocolExtensionContainer.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_DataVolumeList-Value */
typedef struct RANAP_DataVolumeList_Value {
RANAP_UnsuccessfullyTransmittedDataVolume_t dl_UnsuccessfullyTransmittedDataVolume;
RANAP_DataVolumeReference_t *dataVolumeReference /* OPTIONAL */;
RANAP_ProtocolExtensionContainer_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RANAP_DataVolumeList_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RANAP_DataVolumeList_Value;
#ifdef __cplusplus
}
#endif
#endif /* _RANAP_DataVolumeList_Value_H_ */
#include <asn_internal.h>

@ -12,11 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_DataVolumeList-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <osmocom/ranap/RANAP_UnsuccessfullyTransmittedDataVolume.h>
#include <osmocom/ranap/RANAP_DataVolumeReference.h>
#include <osmocom/ranap/RANAP_ProtocolExtensionContainer.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -25,18 +22,7 @@ extern "C" {
/* RANAP_DataVolumeList */
typedef struct RANAP_DataVolumeList {
A_SEQUENCE_OF(struct RANAP_DataVolumeList__Member {
RANAP_UnsuccessfullyTransmittedDataVolume_t dl_UnsuccessfullyTransmittedDataVolume;
RANAP_DataVolumeReference_t *dataVolumeReference /* OPTIONAL */;
RANAP_ProtocolExtensionContainer_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(RANAP_DataVolumeList_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -0,0 +1,42 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-IEs"
* found in "../../asn1/ranap/RANAP-IEs.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_EUTRANFrequencies_Value_H_
#define _RANAP_EUTRANFrequencies_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <NativeInteger.h>
#include <osmocom/ranap/RANAP_MeasBand.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_EUTRANFrequencies-Value */
typedef struct RANAP_EUTRANFrequencies_Value {
long earfcn;
RANAP_MeasBand_t *measBand /* OPTIONAL */;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RANAP_EUTRANFrequencies_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RANAP_EUTRANFrequencies_Value;
#ifdef __cplusplus
}
#endif
#endif /* _RANAP_EUTRANFrequencies_Value_H_ */
#include <asn_internal.h>

@ -12,11 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_EUTRANFrequencies-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <NativeInteger.h>
#include <osmocom/ranap/RANAP_MeasBand.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -25,14 +22,7 @@ extern "C" {
/* RANAP_EUTRANFrequencies */
typedef struct RANAP_EUTRANFrequencies {
A_SEQUENCE_OF(struct RANAP_EUTRANFrequencies__Member {
long earfcn;
RANAP_MeasBand_t *measBand /* OPTIONAL */;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(RANAP_EUTRANFrequencies_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -0,0 +1,44 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-IEs"
* found in "../../asn1/ranap/RANAP-IEs.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_GA_Polygon_Value_H_
#define _RANAP_GA_Polygon_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_GeographicalCoordinates.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_GA-Polygon-Value */
typedef struct RANAP_GA_Polygon_Value {
RANAP_GeographicalCoordinates_t geographicalCoordinates;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RANAP_GA_Polygon_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RANAP_GA_Polygon_Value;
#ifdef __cplusplus
}
#endif
#endif /* _RANAP_GA_Polygon_Value_H_ */
#include <asn_internal.h>

@ -12,10 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_GA-Polygon-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <osmocom/ranap/RANAP_GeographicalCoordinates.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -24,17 +22,7 @@ extern "C" {
/* RANAP_GA-Polygon */
typedef struct RANAP_GA_Polygon {
A_SEQUENCE_OF(struct RANAP_GA_Polygon__Member {
RANAP_GeographicalCoordinates_t geographicalCoordinates;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(RANAP_GA_Polygon_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -0,0 +1,46 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-PDU"
* found in "../../asn1/ranap/RANAP-PDU.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_JoinedMBMSBearerService_IEs_Value_H_
#define _RANAP_JoinedMBMSBearerService_IEs_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_TMGI.h>
#include <osmocom/ranap/RANAP_MBMS-PTP-RAB-ID.h>
#include <osmocom/ranap/RANAP_ProtocolExtensionContainer.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_JoinedMBMSBearerService-IEs-Value */
typedef struct RANAP_JoinedMBMSBearerService_IEs_Value {
RANAP_TMGI_t tMGI;
RANAP_MBMS_PTP_RAB_ID_t mBMS_PTP_RAB_ID;
RANAP_ProtocolExtensionContainer_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RANAP_JoinedMBMSBearerService_IEs_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RANAP_JoinedMBMSBearerService_IEs_Value;
#ifdef __cplusplus
}
#endif
#endif /* _RANAP_JoinedMBMSBearerService_IEs_Value_H_ */
#include <asn_internal.h>

@ -12,11 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_JoinedMBMSBearerService-IEs-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <osmocom/ranap/RANAP_TMGI.h>
#include <osmocom/ranap/RANAP_MBMS-PTP-RAB-ID.h>
#include <osmocom/ranap/RANAP_ProtocolExtensionContainer.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -25,18 +22,7 @@ extern "C" {
/* RANAP_JoinedMBMSBearerService-IEs */
typedef struct RANAP_JoinedMBMSBearerService_IEs {
A_SEQUENCE_OF(struct RANAP_JoinedMBMSBearerService_IEs__Member {
RANAP_TMGI_t tMGI;
RANAP_MBMS_PTP_RAB_ID_t mBMS_PTP_RAB_ID;
RANAP_ProtocolExtensionContainer_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(RANAP_JoinedMBMSBearerService_IEs_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -0,0 +1,46 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-IEs"
* found in "../../asn1/ranap/RANAP-IEs.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_LA_LIST_Value_H_
#define _RANAP_LA_LIST_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_LAC.h>
#include <osmocom/ranap/RANAP_ListOF-SNAs.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_LA-LIST-Value */
typedef struct RANAP_LA_LIST_Value {
RANAP_LAC_t lAC;
RANAP_ListOF_SNAs_t listOF_SNAs;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RANAP_LA_LIST_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RANAP_LA_LIST_Value;
#ifdef __cplusplus
}
#endif
#endif /* _RANAP_LA_LIST_Value_H_ */
#include <asn_internal.h>

@ -12,11 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_LA-LIST-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <osmocom/ranap/RANAP_LAC.h>
#include <osmocom/ranap/RANAP_ListOF-SNAs.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -25,18 +22,7 @@ extern "C" {
/* RANAP_LA-LIST */
typedef struct RANAP_LA_LIST {
A_SEQUENCE_OF(struct RANAP_LA_LIST__Member {
RANAP_LAC_t lAC;
RANAP_ListOF_SNAs_t listOF_SNAs;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(RANAP_LA_LIST_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -0,0 +1,44 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-PDU"
* found in "../../asn1/ranap/RANAP-PDU.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_LeftMBMSBearerService_IEs_Value_H_
#define _RANAP_LeftMBMSBearerService_IEs_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_TMGI.h>
#include <osmocom/ranap/RANAP_ProtocolExtensionContainer.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_LeftMBMSBearerService-IEs-Value */
typedef struct RANAP_LeftMBMSBearerService_IEs_Value {
RANAP_TMGI_t tMGI;
RANAP_ProtocolExtensionContainer_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RANAP_LeftMBMSBearerService_IEs_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RANAP_LeftMBMSBearerService_IEs_Value;
#ifdef __cplusplus
}
#endif
#endif /* _RANAP_LeftMBMSBearerService_IEs_Value_H_ */
#include <asn_internal.h>

@ -12,10 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_LeftMBMSBearerService-IEs-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <osmocom/ranap/RANAP_TMGI.h>
#include <osmocom/ranap/RANAP_ProtocolExtensionContainer.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -24,17 +22,7 @@ extern "C" {
/* RANAP_LeftMBMSBearerService-IEs */
typedef struct RANAP_LeftMBMSBearerService_IEs {
A_SEQUENCE_OF(struct RANAP_LeftMBMSBearerService_IEs__Member {
RANAP_TMGI_t tMGI;
RANAP_ProtocolExtensionContainer_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(RANAP_LeftMBMSBearerService_IEs_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -0,0 +1,46 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-IEs"
* found in "../../asn1/ranap/RANAP-IEs.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_MessageStructure_Value_H_
#define _RANAP_MessageStructure_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_ProtocolIE-ID.h>
#include <osmocom/ranap/RANAP_RepetitionNumber1.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_MessageStructure-Value */
typedef struct RANAP_MessageStructure_Value {
RANAP_ProtocolIE_ID_t iE_ID;
RANAP_RepetitionNumber1_t *repetitionNumber /* OPTIONAL */;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RANAP_MessageStructure_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RANAP_MessageStructure_Value;
#ifdef __cplusplus
}
#endif
#endif /* _RANAP_MessageStructure_Value_H_ */
#include <asn_internal.h>

@ -12,11 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_MessageStructure-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <osmocom/ranap/RANAP_ProtocolIE-ID.h>
#include <osmocom/ranap/RANAP_RepetitionNumber1.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -25,18 +22,7 @@ extern "C" {
/* RANAP_MessageStructure */
typedef struct RANAP_MessageStructure {
A_SEQUENCE_OF(struct RANAP_MessageStructure__Member {
RANAP_ProtocolIE_ID_t iE_ID;
RANAP_RepetitionNumber1_t *repetitionNumber /* OPTIONAL */;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(RANAP_MessageStructure_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -0,0 +1,46 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-IEs"
* found in "../../asn1/ranap/RANAP-IEs.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_PLMNs_in_shared_network_Value_H_
#define _RANAP_PLMNs_in_shared_network_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_PLMNidentity.h>
#include <osmocom/ranap/RANAP_LA-LIST.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_PLMNs-in-shared-network-Value */
typedef struct RANAP_PLMNs_in_shared_network_Value {
RANAP_PLMNidentity_t pLMNidentity;
RANAP_LA_LIST_t lA_LIST;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RANAP_PLMNs_in_shared_network_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RANAP_PLMNs_in_shared_network_Value;
#ifdef __cplusplus
}
#endif
#endif /* _RANAP_PLMNs_in_shared_network_Value_H_ */
#include <asn_internal.h>

@ -12,11 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_PLMNs-in-shared-network-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <osmocom/ranap/RANAP_PLMNidentity.h>
#include <osmocom/ranap/RANAP_LA-LIST.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -25,18 +22,7 @@ extern "C" {
/* RANAP_PLMNs-in-shared-network */
typedef struct RANAP_PLMNs_in_shared_network {
A_SEQUENCE_OF(struct RANAP_PLMNs_in_shared_network__Member {
RANAP_PLMNidentity_t pLMNidentity;
RANAP_LA_LIST_t lA_LIST;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(RANAP_PLMNs_in_shared_network_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -0,0 +1,46 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-IEs"
* found in "../../asn1/ranap/RANAP-IEs.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_RABDataVolumeReport_Value_H_
#define _RANAP_RABDataVolumeReport_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_UnsuccessfullyTransmittedDataVolume.h>
#include <osmocom/ranap/RANAP_DataVolumeReference.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_RABDataVolumeReport-Value */
typedef struct RANAP_RABDataVolumeReport_Value {
RANAP_UnsuccessfullyTransmittedDataVolume_t dl_UnsuccessfullyTransmittedDataVolume;
RANAP_DataVolumeReference_t *dataVolumeReference /* OPTIONAL */;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} RANAP_RABDataVolumeReport_Value_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_RANAP_RABDataVolumeReport_Value;
#ifdef __cplusplus
}
#endif
#endif /* _RANAP_RABDataVolumeReport_Value_H_ */
#include <asn_internal.h>

@ -12,11 +12,8 @@
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_RABDataVolumeReport-Value.h>
#include <asn_SEQUENCE_OF.h>
#include <osmocom/ranap/RANAP_UnsuccessfullyTransmittedDataVolume.h>
#include <osmocom/ranap/RANAP_DataVolumeReference.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#include <constr_SEQUENCE_OF.h>
#ifdef __cplusplus
@ -25,18 +22,7 @@ extern "C" {
/* RANAP_RABDataVolumeReport */
typedef struct RANAP_RABDataVolumeReport {
A_SEQUENCE_OF(struct RANAP_RABDataVolumeReport__Member {
RANAP_UnsuccessfullyTransmittedDataVolume_t dl_UnsuccessfullyTransmittedDataVolume;
RANAP_DataVolumeReference_t *dataVolumeReference /* OPTIONAL */;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ) list;
A_SEQUENCE_OF(RANAP_RABDataVolumeReport_Value_t) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;

@ -0,0 +1,50 @@
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "RANAP-IEs"
* found in "../../asn1/ranap/RANAP-IEs.asn"
* `asn1c -fcompound-names -R`
*/
#ifndef _RANAP_RABParametersList_Value_H_
#define _RANAP_RABParametersList_Value_H_
#include <asn_application.h>
/* Including external dependencies */
#include <osmocom/ranap/RANAP_RAB-ID.h>
#include <osmocom/ranap/RANAP_CN-DomainIndicator.h>
#include <osmocom/ranap/RANAP_RABDataVolumeReport.h>
#include <osmocom/ranap/RANAP_UPInformation.h>
#include <osmocom/ranap/RANAP_IE-Extensions.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* RANAP_RABParametersList-Value */
typedef struct RANAP_RABParametersList_Value {
RANAP_RAB_ID_t rab_Id;
RANAP_CN_DomainIndicator_t cn_domain;
RANAP_RABDataVolumeReport_t *rabDataVolumeReport /* OPTIONAL */;
RANAP_UPInformation_t *upInformation /* OPTIONAL */;
RANAP_IE_Extensions_t *iE_Extensions /* OPTIONAL */;
/*
* This type is extensible,