sabp: Generate C/H files for SABP; create libosmo-sabp
This uses the (modified) Osmocom asn1c on the (modified) SABP ASN.1 syntax to generate C code + header files for SABP parsing/encoding. It also adds some helper code for message encoding and decoding as well as a new libosmo-sabp shared library which can be used by programs to implement SABP related functionality. Change-Id: Ib9580d1af96354398da4c9f97b28a0e23d56e275changes/94/15594/3
parent
7095c7ed0c
commit
e844bf7828
|
@ -34,6 +34,7 @@ src/tests/testsuite.log
|
|||
src/osmo-hnbgw
|
||||
tags
|
||||
libosmo-ranap.pc
|
||||
libosmo-sabp.pc
|
||||
m4
|
||||
gen_hnbap.stamp
|
||||
gen_rua.stamp
|
||||
|
@ -41,3 +42,4 @@ gen_ranap.stamp
|
|||
include/osmocom/hnbap/hnbap_ies_defs.h
|
||||
include/osmocom/rua/rua_ies_defs.h
|
||||
include/osmocom/ranap/ranap_ies_defs.h
|
||||
include/osmocom/sabp/sabp_ies_defs.h
|
||||
|
|
|
@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2
|
|||
SUBDIRS = src include doc contrib
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libosmo-ranap.pc
|
||||
pkgconfig_DATA = libosmo-ranap.pc libosmo-sabp.pc
|
||||
|
||||
EXTRA_DIST = asn1 .version README.md
|
||||
|
||||
|
|
|
@ -142,10 +142,12 @@ AC_MSG_RESULT([CPPFLAGS="$CPPFLAGS"])
|
|||
|
||||
AC_OUTPUT(
|
||||
libosmo-ranap.pc
|
||||
libosmo-sabp.pc
|
||||
src/Makefile
|
||||
src/hnbap/Makefile
|
||||
src/ranap/Makefile
|
||||
src/rua/Makefile
|
||||
src/sabp/Makefile
|
||||
src/tests/Makefile
|
||||
Makefile
|
||||
include/Makefile
|
||||
|
@ -153,6 +155,7 @@ AC_OUTPUT(
|
|||
include/osmocom/hnbap/Makefile
|
||||
include/osmocom/ranap/Makefile
|
||||
include/osmocom/rua/Makefile
|
||||
include/osmocom/sabp/Makefile
|
||||
include/osmocom/iuh/Makefile
|
||||
doc/Makefile
|
||||
doc/examples/Makefile
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SUBDIRS = hnbap ranap rua iuh
|
||||
SUBDIRS = hnbap ranap rua sabp iuh
|
||||
|
||||
|
|
|
@ -0,0 +1,78 @@
|
|||
# Ugly: sabp_ies_defs.h is generated from asn1tostruct.py at the same time as
|
||||
# the sabp_*.c files in src/, but the sabp_ies_defs.h should live here. If
|
||||
# the build process wants this header file, it should first build
|
||||
# src/sabp_encoder.c and src/sabp_decoder.c.
|
||||
# This rule sucks:
|
||||
sabp_ies_defs.h:
|
||||
$(MAKE) -C $(top_builddir)/src/ gen_sabp.stamp
|
||||
|
||||
sabp_HEADERS = \
|
||||
sabp_ies_defs.h \
|
||||
sabp_common.h \
|
||||
SABP_InitiatingMessage.h \
|
||||
SABP_SABP-PDU.h \
|
||||
SABP_SuccessfulOutcome.h \
|
||||
SABP_UnsuccessfulOutcome.h \
|
||||
SABP_Criticality.h \
|
||||
SABP_Presence.h \
|
||||
SABP_ProcedureCode.h \
|
||||
SABP_ProtocolExtensionID.h \
|
||||
SABP_ProtocolIE-ID.h \
|
||||
SABP_TriggeringMessage.h \
|
||||
SABP_IE-Extensions.h \
|
||||
SABP_Available-Bandwidth.h \
|
||||
SABP_Broadcast-Message-Content.h \
|
||||
SABP_Broadcast-Message-Content-Validity-Indicator.h \
|
||||
SABP_Category.h \
|
||||
SABP_Cause.h \
|
||||
SABP_Criticality-Diagnostics.h \
|
||||
SABP_CriticalityDiagnostics-IE-List.h \
|
||||
SABP_MessageStructure.h \
|
||||
SABP_Data-Coding-Scheme.h \
|
||||
SABP_Failure-List.h \
|
||||
SABP_Failure-List-Item.h \
|
||||
SABP_Message-Identifier.h \
|
||||
SABP_New-Serial-Number.h \
|
||||
SABP_Number-of-Broadcasts-Completed-List.h \
|
||||
SABP_Number-of-Broadcasts-Completed-List-Item.h \
|
||||
SABP_Number-Of-Broadcasts-Completed-Info.h \
|
||||
SABP_Number-of-Broadcasts-Requested.h \
|
||||
SABP_Old-Serial-Number.h \
|
||||
SABP_Paging-ETWS-Indicator.h \
|
||||
SABP_Radio-Resource-Loading-List.h \
|
||||
SABP_Radio-Resource-Loading-List-Item.h \
|
||||
SABP_Recovery-Indication.h \
|
||||
SABP_RepetitionNumber0.h \
|
||||
SABP_RepetitionNumber1.h \
|
||||
SABP_Repetition-Period.h \
|
||||
SABP_Serial-Number.h \
|
||||
SABP_Service-Area-Identifier.h \
|
||||
SABP_Service-Areas-List.h \
|
||||
SABP_TypeOfError.h \
|
||||
SABP_WarningSecurityInfo.h \
|
||||
SABP_Warning-Type.h \
|
||||
SABP_Write-Replace.h \
|
||||
SABP_Write-Replace-Complete.h \
|
||||
SABP_Write-Replace-Failure.h \
|
||||
SABP_Kill.h \
|
||||
SABP_Kill-Complete.h \
|
||||
SABP_Kill-Failure.h \
|
||||
SABP_Load-Query.h \
|
||||
SABP_Load-Query-Complete.h \
|
||||
SABP_Load-Query-Failure.h \
|
||||
SABP_Message-Status-Query.h \
|
||||
SABP_Message-Status-Query-Complete.h \
|
||||
SABP_Message-Status-Query-Failure.h \
|
||||
SABP_Reset.h \
|
||||
SABP_Reset-Complete.h \
|
||||
SABP_Reset-Failure.h \
|
||||
SABP_Restart.h \
|
||||
SABP_Failure.h \
|
||||
SABP_Error-Indication.h \
|
||||
SABP_IE.h \
|
||||
$(NULL)
|
||||
|
||||
sabpdir = $(includedir)/osmocom/sabp
|
||||
|
||||
DISTCLEANFILES = \
|
||||
sabp_ies_defs.h
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Available_Bandwidth_H_
|
||||
#define _SABP_Available_Bandwidth_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Available-Bandwidth */
|
||||
typedef long SABP_Available_Bandwidth_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Available_Bandwidth;
|
||||
asn_struct_free_f SABP_Available_Bandwidth_free;
|
||||
asn_struct_print_f SABP_Available_Bandwidth_print;
|
||||
asn_constr_check_f SABP_Available_Bandwidth_constraint;
|
||||
ber_type_decoder_f SABP_Available_Bandwidth_decode_ber;
|
||||
der_type_encoder_f SABP_Available_Bandwidth_encode_der;
|
||||
xer_type_decoder_f SABP_Available_Bandwidth_decode_xer;
|
||||
xer_type_encoder_f SABP_Available_Bandwidth_encode_xer;
|
||||
per_type_decoder_f SABP_Available_Bandwidth_decode_uper;
|
||||
per_type_encoder_f SABP_Available_Bandwidth_encode_uper;
|
||||
per_type_decoder_f SABP_Available_Bandwidth_decode_aper;
|
||||
per_type_encoder_f SABP_Available_Bandwidth_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Available_Bandwidth_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Broadcast_Message_Content_Validity_Indicator_H_
|
||||
#define _SABP_Broadcast_Message_Content_Validity_Indicator_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum SABP_Broadcast_Message_Content_Validity_Indicator {
|
||||
SABP_Broadcast_Message_Content_Validity_Indicator_broadcast_Message_Content_not_valid = 0
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_SABP_Broadcast_Message_Content_Validity_Indicator;
|
||||
|
||||
/* SABP_Broadcast-Message-Content-Validity-Indicator */
|
||||
typedef long SABP_Broadcast_Message_Content_Validity_Indicator_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Broadcast_Message_Content_Validity_Indicator;
|
||||
asn_struct_free_f SABP_Broadcast_Message_Content_Validity_Indicator_free;
|
||||
asn_struct_print_f SABP_Broadcast_Message_Content_Validity_Indicator_print;
|
||||
asn_constr_check_f SABP_Broadcast_Message_Content_Validity_Indicator_constraint;
|
||||
ber_type_decoder_f SABP_Broadcast_Message_Content_Validity_Indicator_decode_ber;
|
||||
der_type_encoder_f SABP_Broadcast_Message_Content_Validity_Indicator_encode_der;
|
||||
xer_type_decoder_f SABP_Broadcast_Message_Content_Validity_Indicator_decode_xer;
|
||||
xer_type_encoder_f SABP_Broadcast_Message_Content_Validity_Indicator_encode_xer;
|
||||
per_type_decoder_f SABP_Broadcast_Message_Content_Validity_Indicator_decode_uper;
|
||||
per_type_encoder_f SABP_Broadcast_Message_Content_Validity_Indicator_encode_uper;
|
||||
per_type_decoder_f SABP_Broadcast_Message_Content_Validity_Indicator_decode_aper;
|
||||
per_type_encoder_f SABP_Broadcast_Message_Content_Validity_Indicator_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Broadcast_Message_Content_Validity_Indicator_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Broadcast_Message_Content_H_
|
||||
#define _SABP_Broadcast_Message_Content_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <BIT_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Broadcast-Message-Content */
|
||||
typedef BIT_STRING_t SABP_Broadcast_Message_Content_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Broadcast_Message_Content;
|
||||
asn_struct_free_f SABP_Broadcast_Message_Content_free;
|
||||
asn_struct_print_f SABP_Broadcast_Message_Content_print;
|
||||
asn_constr_check_f SABP_Broadcast_Message_Content_constraint;
|
||||
ber_type_decoder_f SABP_Broadcast_Message_Content_decode_ber;
|
||||
der_type_encoder_f SABP_Broadcast_Message_Content_encode_der;
|
||||
xer_type_decoder_f SABP_Broadcast_Message_Content_decode_xer;
|
||||
xer_type_encoder_f SABP_Broadcast_Message_Content_encode_xer;
|
||||
per_type_decoder_f SABP_Broadcast_Message_Content_decode_uper;
|
||||
per_type_encoder_f SABP_Broadcast_Message_Content_encode_uper;
|
||||
per_type_decoder_f SABP_Broadcast_Message_Content_decode_aper;
|
||||
per_type_encoder_f SABP_Broadcast_Message_Content_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Broadcast_Message_Content_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,53 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Category_H_
|
||||
#define _SABP_Category_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum SABP_Category {
|
||||
SABP_Category_high_priority = 0,
|
||||
SABP_Category_background_priority = 1,
|
||||
SABP_Category_normal_priority = 2,
|
||||
SABP_Category_default_priority = 3
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_SABP_Category;
|
||||
|
||||
/* SABP_Category */
|
||||
typedef long SABP_Category_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Category;
|
||||
asn_struct_free_f SABP_Category_free;
|
||||
asn_struct_print_f SABP_Category_print;
|
||||
asn_constr_check_f SABP_Category_constraint;
|
||||
ber_type_decoder_f SABP_Category_decode_ber;
|
||||
der_type_encoder_f SABP_Category_encode_der;
|
||||
xer_type_decoder_f SABP_Category_decode_xer;
|
||||
xer_type_encoder_f SABP_Category_encode_xer;
|
||||
per_type_decoder_f SABP_Category_decode_uper;
|
||||
per_type_encoder_f SABP_Category_encode_uper;
|
||||
per_type_decoder_f SABP_Category_decode_aper;
|
||||
per_type_encoder_f SABP_Category_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Category_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,64 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Cause_H_
|
||||
#define _SABP_Cause_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum SABP_Cause {
|
||||
SABP_Cause_parameter_not_recognised = 0,
|
||||
SABP_Cause_parameter_value_invalid = 1,
|
||||
SABP_Cause_valid_CN_message_not_identified = 2,
|
||||
SABP_Cause_service_area_identity_not_valid = 3,
|
||||
SABP_Cause_unrecognised_message = 4,
|
||||
SABP_Cause_missing_mandatory_element = 5,
|
||||
SABP_Cause_rNC_capacity_exceeded = 6,
|
||||
SABP_Cause_rNC_memory_exceeded = 7,
|
||||
SABP_Cause_service_area_broadcast_not_supported = 8,
|
||||
SABP_Cause_service_area_broadcast_not_operational = 9,
|
||||
SABP_Cause_message_reference_already_used = 10,
|
||||
SABP_Cause_unspecifed_error = 11,
|
||||
SABP_Cause_transfer_syntax_error = 12,
|
||||
SABP_Cause_semantic_error = 13,
|
||||
SABP_Cause_message_not_compatible_with_receiver_state = 14,
|
||||
SABP_Cause_abstract_syntax_error_reject = 15,
|
||||
SABP_Cause_abstract_syntax_error_ignore_and_notify = 16,
|
||||
SABP_Cause_abstract_syntax_error_falsely_constructed_message = 17
|
||||
} e_SABP_Cause;
|
||||
|
||||
/* SABP_Cause */
|
||||
typedef long SABP_Cause_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Cause;
|
||||
asn_struct_free_f SABP_Cause_free;
|
||||
asn_struct_print_f SABP_Cause_print;
|
||||
asn_constr_check_f SABP_Cause_constraint;
|
||||
ber_type_decoder_f SABP_Cause_decode_ber;
|
||||
der_type_encoder_f SABP_Cause_encode_der;
|
||||
xer_type_decoder_f SABP_Cause_decode_xer;
|
||||
xer_type_encoder_f SABP_Cause_encode_xer;
|
||||
per_type_decoder_f SABP_Cause_decode_uper;
|
||||
per_type_encoder_f SABP_Cause_encode_uper;
|
||||
per_type_decoder_f SABP_Cause_decode_aper;
|
||||
per_type_encoder_f SABP_Cause_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Cause_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,49 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Criticality_Diagnostics_H_
|
||||
#define _SABP_Criticality_Diagnostics_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_ProcedureCode.h>
|
||||
#include <osmocom/sabp/SABP_TriggeringMessage.h>
|
||||
#include <osmocom/sabp/SABP_Criticality.h>
|
||||
#include <osmocom/sabp/SABP_CriticalityDiagnostics-IE-List.h>
|
||||
#include <osmocom/sabp/SABP_IE-Extensions.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Criticality-Diagnostics */
|
||||
typedef struct SABP_Criticality_Diagnostics {
|
||||
SABP_ProcedureCode_t *procedureCode /* OPTIONAL */;
|
||||
SABP_TriggeringMessage_t *triggeringMessage /* OPTIONAL */;
|
||||
SABP_Criticality_t *procedureCriticality /* OPTIONAL */;
|
||||
SABP_CriticalityDiagnostics_IE_List_t *iEsCriticalityDiagnostics /* OPTIONAL */;
|
||||
SABP_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;
|
||||
} SABP_Criticality_Diagnostics_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Criticality_Diagnostics;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Criticality_Diagnostics_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,49 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-CommonDataTypes"
|
||||
* found in "../../asn1/sabp/SABP-CommonDataTypes.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Criticality_H_
|
||||
#define _SABP_Criticality_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum SABP_Criticality {
|
||||
SABP_Criticality_reject = 0,
|
||||
SABP_Criticality_ignore = 1,
|
||||
SABP_Criticality_notify = 2
|
||||
} e_SABP_Criticality;
|
||||
|
||||
/* SABP_Criticality */
|
||||
typedef long SABP_Criticality_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Criticality;
|
||||
asn_struct_free_f SABP_Criticality_free;
|
||||
asn_struct_print_f SABP_Criticality_print;
|
||||
asn_constr_check_f SABP_Criticality_constraint;
|
||||
ber_type_decoder_f SABP_Criticality_decode_ber;
|
||||
der_type_encoder_f SABP_Criticality_encode_der;
|
||||
xer_type_decoder_f SABP_Criticality_decode_xer;
|
||||
xer_type_encoder_f SABP_Criticality_encode_xer;
|
||||
per_type_decoder_f SABP_Criticality_decode_uper;
|
||||
per_type_encoder_f SABP_Criticality_encode_uper;
|
||||
per_type_decoder_f SABP_Criticality_decode_aper;
|
||||
per_type_encoder_f SABP_Criticality_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Criticality_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,54 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_CriticalityDiagnostics_IE_List_H_
|
||||
#define _SABP_CriticalityDiagnostics_IE_List_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <osmocom/sabp/SABP_Criticality.h>
|
||||
#include <osmocom/sabp/SABP_ProtocolIE-ID.h>
|
||||
#include <osmocom/sabp/SABP_RepetitionNumber0.h>
|
||||
#include <osmocom/sabp/SABP_IE-Extensions.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_CriticalityDiagnostics-IE-List */
|
||||
typedef struct SABP_CriticalityDiagnostics_IE_List {
|
||||
A_SEQUENCE_OF(struct Member {
|
||||
SABP_Criticality_t iECriticality;
|
||||
SABP_ProtocolIE_ID_t iE_ID;
|
||||
SABP_RepetitionNumber0_t *repetitionNumber /* OPTIONAL */;
|
||||
SABP_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;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_CriticalityDiagnostics_IE_List_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_CriticalityDiagnostics_IE_List;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_CriticalityDiagnostics_IE_List_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Data_Coding_Scheme_H_
|
||||
#define _SABP_Data_Coding_Scheme_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <BIT_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Data-Coding-Scheme */
|
||||
typedef BIT_STRING_t SABP_Data_Coding_Scheme_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Data_Coding_Scheme;
|
||||
asn_struct_free_f SABP_Data_Coding_Scheme_free;
|
||||
asn_struct_print_f SABP_Data_Coding_Scheme_print;
|
||||
asn_constr_check_f SABP_Data_Coding_Scheme_constraint;
|
||||
ber_type_decoder_f SABP_Data_Coding_Scheme_decode_ber;
|
||||
der_type_encoder_f SABP_Data_Coding_Scheme_encode_der;
|
||||
xer_type_decoder_f SABP_Data_Coding_Scheme_decode_xer;
|
||||
xer_type_encoder_f SABP_Data_Coding_Scheme_encode_xer;
|
||||
per_type_decoder_f SABP_Data_Coding_Scheme_decode_uper;
|
||||
per_type_encoder_f SABP_Data_Coding_Scheme_encode_uper;
|
||||
per_type_decoder_f SABP_Data_Coding_Scheme_decode_aper;
|
||||
per_type_encoder_f SABP_Data_Coding_Scheme_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Data_Coding_Scheme_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Error_Indication_H_
|
||||
#define _SABP_Error_Indication_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Error-Indication */
|
||||
typedef struct SABP_Error_Indication {
|
||||
struct error_Indication_ies {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} error_Indication_ies;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Error_Indication_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Error_Indication;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Error_Indication_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Failure_List_Item_H_
|
||||
#define _SABP_Failure_List_Item_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_Service-Area-Identifier.h>
|
||||
#include <osmocom/sabp/SABP_Cause.h>
|
||||
#include <osmocom/sabp/SABP_IE-Extensions.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Failure-List-Item */
|
||||
typedef struct SABP_Failure_List_Item {
|
||||
SABP_Service_Area_Identifier_t service_area_identifier;
|
||||
SABP_Cause_t cause;
|
||||
SABP_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;
|
||||
} SABP_Failure_List_Item_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Failure_List_Item;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Failure_List_Item_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Failure_List_H_
|
||||
#define _SABP_Failure_List_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_Failure-List-Item.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Failure-List */
|
||||
typedef struct SABP_Failure_List {
|
||||
A_SEQUENCE_OF(SABP_Failure_List_Item_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Failure_List_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Failure_List;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Failure_List_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Failure_H_
|
||||
#define _SABP_Failure_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Failure */
|
||||
typedef struct SABP_Failure {
|
||||
struct failure_ies {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} failure_ies;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Failure_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Failure;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Failure_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_IE_Extensions_H_
|
||||
#define _SABP_IE_Extensions_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_IE-Extensions */
|
||||
typedef struct SABP_IE_Extensions {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_IE_Extensions_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_IE_Extensions;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_IE_Extensions_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_IE_H_
|
||||
#define _SABP_IE_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_ProtocolIE-ID.h>
|
||||
#include <osmocom/sabp/SABP_Criticality.h>
|
||||
#include <ANY.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_IE */
|
||||
typedef struct SABP_IE {
|
||||
SABP_ProtocolIE_ID_t id;
|
||||
SABP_Criticality_t criticality;
|
||||
ANY_t value;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_IE_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_IE;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_IE_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_InitiatingMessage_H_
|
||||
#define _SABP_InitiatingMessage_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_ProcedureCode.h>
|
||||
#include <osmocom/sabp/SABP_Criticality.h>
|
||||
#include <ANY.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_InitiatingMessage */
|
||||
typedef struct SABP_InitiatingMessage {
|
||||
SABP_ProcedureCode_t procedureCode;
|
||||
SABP_Criticality_t criticality;
|
||||
ANY_t value;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_InitiatingMessage_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_InitiatingMessage;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_InitiatingMessage_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Kill_Complete_H_
|
||||
#define _SABP_Kill_Complete_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Kill-Complete */
|
||||
typedef struct SABP_Kill_Complete {
|
||||
struct kill_Complete_ies {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} kill_Complete_ies;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Kill_Complete_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Kill_Complete;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Kill_Complete_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Kill_Failure_H_
|
||||
#define _SABP_Kill_Failure_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Kill-Failure */
|
||||
typedef struct SABP_Kill_Failure {
|
||||
struct kill_Failure_ies {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} kill_Failure_ies;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Kill_Failure_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Kill_Failure;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Kill_Failure_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Kill_H_
|
||||
#define _SABP_Kill_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Kill */
|
||||
typedef struct SABP_Kill {
|
||||
struct kill_ies {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} kill_ies;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Kill_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Kill;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Kill_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Load_Query_Complete_H_
|
||||
#define _SABP_Load_Query_Complete_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Load-Query-Complete */
|
||||
typedef struct SABP_Load_Query_Complete {
|
||||
struct load_Query_Complete_ies {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} load_Query_Complete_ies;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Load_Query_Complete_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Load_Query_Complete;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Load_Query_Complete_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Load_Query_Failure_H_
|
||||
#define _SABP_Load_Query_Failure_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Load-Query-Failure */
|
||||
typedef struct SABP_Load_Query_Failure {
|
||||
struct load_Query_Failure_ies {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} load_Query_Failure_ies;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Load_Query_Failure_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Load_Query_Failure;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Load_Query_Failure_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Load_Query_H_
|
||||
#define _SABP_Load_Query_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Load-Query */
|
||||
typedef struct SABP_Load_Query {
|
||||
struct load_Query_ies {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} load_Query_ies;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Load_Query_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Load_Query;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Load_Query_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Message_Identifier_H_
|
||||
#define _SABP_Message_Identifier_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <BIT_STRING.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Message-Identifier */
|
||||
typedef BIT_STRING_t SABP_Message_Identifier_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Message_Identifier;
|
||||
asn_struct_free_f SABP_Message_Identifier_free;
|
||||
asn_struct_print_f SABP_Message_Identifier_print;
|
||||
asn_constr_check_f SABP_Message_Identifier_constraint;
|
||||
ber_type_decoder_f SABP_Message_Identifier_decode_ber;
|
||||
der_type_encoder_f SABP_Message_Identifier_encode_der;
|
||||
xer_type_decoder_f SABP_Message_Identifier_decode_xer;
|
||||
xer_type_encoder_f SABP_Message_Identifier_encode_xer;
|
||||
per_type_decoder_f SABP_Message_Identifier_decode_uper;
|
||||
per_type_encoder_f SABP_Message_Identifier_encode_uper;
|
||||
per_type_decoder_f SABP_Message_Identifier_decode_aper;
|
||||
per_type_encoder_f SABP_Message_Identifier_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Message_Identifier_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Message_Status_Query_Complete_H_
|
||||
#define _SABP_Message_Status_Query_Complete_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Message-Status-Query-Complete */
|
||||
typedef struct SABP_Message_Status_Query_Complete {
|
||||
struct message_Status_Query_Complete_ies {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} message_Status_Query_Complete_ies;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Message_Status_Query_Complete_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Message_Status_Query_Complete;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Message_Status_Query_Complete_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Message_Status_Query_Failure_H_
|
||||
#define _SABP_Message_Status_Query_Failure_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Message-Status-Query-Failure */
|
||||
typedef struct SABP_Message_Status_Query_Failure {
|
||||
struct message_Status_Query_Failure_ies {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} message_Status_Query_Failure_ies;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Message_Status_Query_Failure_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Message_Status_Query_Failure;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Message_Status_Query_Failure_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-PDU"
|
||||
* found in "../../asn1/sabp/SABP-PDU.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Message_Status_Query_H_
|
||||
#define _SABP_Message_Status_Query_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_IE.h>
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_Message-Status-Query */
|
||||
typedef struct SABP_Message_Status_Query {
|
||||
struct message_Status_Query_ies {
|
||||
A_SEQUENCE_OF(SABP_IE_t) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} message_Status_Query_ies;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_Message_Status_Query_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Message_Status_Query;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Message_Status_Query_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_MessageStructure_H_
|
||||
#define _SABP_MessageStructure_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <asn_SEQUENCE_OF.h>
|
||||
#include <osmocom/sabp/SABP_ProtocolIE-ID.h>
|
||||
#include <osmocom/sabp/SABP_RepetitionNumber1.h>
|
||||
#include <osmocom/sabp/SABP_IE-Extensions.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
#include <constr_SEQUENCE_OF.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_MessageStructure */
|
||||
typedef struct SABP_MessageStructure {
|
||||
A_SEQUENCE_OF(struct MemberA {
|
||||
SABP_ProtocolIE_ID_t iE_ID;
|
||||
SABP_RepetitionNumber1_t *repetitionNumber /* OPTIONAL */;
|
||||
SABP_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;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} SABP_MessageStructure_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_MessageStructure;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_MessageStructure_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_New_Serial_Number_H_
|
||||
#define _SABP_New_Serial_Number_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <osmocom/sabp/SABP_Serial-Number.h>
|
||||
#include <constr_CHOICE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* SABP_New-Serial-Number */
|
||||
typedef SABP_Serial_Number_t SABP_New_Serial_Number_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_New_Serial_Number;
|
||||
asn_struct_free_f SABP_New_Serial_Number_free;
|
||||
asn_struct_print_f SABP_New_Serial_Number_print;
|
||||
asn_constr_check_f SABP_New_Serial_Number_constraint;
|
||||
ber_type_decoder_f SABP_New_Serial_Number_decode_ber;
|
||||
der_type_encoder_f SABP_New_Serial_Number_encode_der;
|
||||
xer_type_decoder_f SABP_New_Serial_Number_decode_xer;
|
||||
xer_type_encoder_f SABP_New_Serial_Number_encode_xer;
|
||||
per_type_decoder_f SABP_New_Serial_Number_decode_uper;
|
||||
per_type_encoder_f SABP_New_Serial_Number_encode_uper;
|
||||
per_type_decoder_f SABP_New_Serial_Number_decode_aper;
|
||||
per_type_encoder_f SABP_New_Serial_Number_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_New_Serial_Number_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,51 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Number_Of_Broadcasts_Completed_Info_H_
|
||||
#define _SABP_Number_Of_Broadcasts_Completed_Info_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeEnumerated.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum SABP_Number_Of_Broadcasts_Completed_Info {
|
||||
SABP_Number_Of_Broadcasts_Completed_Info_overflow = 0,
|
||||
SABP_Number_Of_Broadcasts_Completed_Info_unknown = 1
|
||||
/*
|
||||
* Enumeration is extensible
|
||||
*/
|
||||
} e_SABP_Number_Of_Broadcasts_Completed_Info;
|
||||
|
||||
/* SABP_Number-Of-Broadcasts-Completed-Info */
|
||||
typedef long SABP_Number_Of_Broadcasts_Completed_Info_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_SABP_Number_Of_Broadcasts_Completed_Info;
|
||||
asn_struct_free_f SABP_Number_Of_Broadcasts_Completed_Info_free;
|
||||
asn_struct_print_f SABP_Number_Of_Broadcasts_Completed_Info_print;
|
||||
asn_constr_check_f SABP_Number_Of_Broadcasts_Completed_Info_constraint;
|
||||
ber_type_decoder_f SABP_Number_Of_Broadcasts_Completed_Info_decode_ber;
|
||||
der_type_encoder_f SABP_Number_Of_Broadcasts_Completed_Info_encode_der;
|
||||
xer_type_decoder_f SABP_Number_Of_Broadcasts_Completed_Info_decode_xer;
|
||||
xer_type_encoder_f SABP_Number_Of_Broadcasts_Completed_Info_encode_xer;
|
||||
per_type_decoder_f SABP_Number_Of_Broadcasts_Completed_Info_decode_uper;
|
||||
per_type_encoder_f SABP_Number_Of_Broadcasts_Completed_Info_encode_uper;
|
||||
per_type_decoder_f SABP_Number_Of_Broadcasts_Completed_Info_decode_aper;
|
||||
per_type_encoder_f SABP_Number_Of_Broadcasts_Completed_Info_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SABP_Number_Of_Broadcasts_Completed_Info_H_ */
|
||||
#include <asn_internal.h>
|
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "SABP-IEs"
|
||||
* found in "../../asn1/sabp/SABP-IEs.asn"
|
||||
*/
|
||||
|
||||
#ifndef _SABP_Number_of_Broadcasts_Completed_List_Item_H_
|
||||
#define _SABP_Number_of_Broadcasts_Completed_List_Item_H_
|
||||
|
||||
|