succeed to compile ASN1C with EUROCOM
This commit is contained in:
parent
8f36c96f6a
commit
3379440df8
|
@ -25,7 +25,7 @@ AM_CPPFLAGS = \
|
|||
-I$(top_srcdir)/lib/asn/asn1c
|
||||
|
||||
AM_CFLAGS = \
|
||||
-Wall -Werror
|
||||
-Wall -Werror -Wno-incompatible-pointer-types
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
MOSTLYCLEANFILES = *.stackdump
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ASN_MODULE_NODIST_SOURCES= \
|
||||
ASN_MODULE_SOURCES= \
|
||||
S1AP-PDU.c \
|
||||
S1ap-InitiatingMessage.c \
|
||||
S1ap-SuccessfulOutcome.c \
|
||||
|
@ -370,7 +370,7 @@ ASN_MODULE_NODIST_SOURCES= \
|
|||
PrivateIE-Field.c \
|
||||
S1ap-IE.c
|
||||
|
||||
ASN_MODULE_SOURCES= \
|
||||
ASN_MODULE_INCLUDES= \
|
||||
S1AP-PDU.h \
|
||||
S1ap-InitiatingMessage.h \
|
||||
S1ap-SuccessfulOutcome.h \
|
||||
|
@ -742,74 +742,74 @@ ASN_MODULE_SOURCES= \
|
|||
PrivateIE-Field.h \
|
||||
S1ap-IE.h
|
||||
|
||||
ASN_MODULE_SOURCES+=ANY.h
|
||||
ASN_MODULE_NODIST_SOURCES+=ANY.c
|
||||
ASN_MODULE_SOURCES+=BOOLEAN.h
|
||||
ASN_MODULE_NODIST_SOURCES+=BOOLEAN.c
|
||||
ASN_MODULE_SOURCES+=INTEGER.h
|
||||
ASN_MODULE_SOURCES+=NativeEnumerated.h
|
||||
ASN_MODULE_NODIST_SOURCES+=INTEGER.c
|
||||
ASN_MODULE_SOURCES+=NULL.h
|
||||
ASN_MODULE_NODIST_SOURCES+=NULL.c
|
||||
ASN_MODULE_NODIST_SOURCES+=NativeEnumerated.c
|
||||
ASN_MODULE_SOURCES+=NativeInteger.h
|
||||
ASN_MODULE_NODIST_SOURCES+=NativeInteger.c
|
||||
ASN_MODULE_SOURCES+=OBJECT_IDENTIFIER.h
|
||||
ASN_MODULE_NODIST_SOURCES+=OBJECT_IDENTIFIER.c
|
||||
ASN_MODULE_SOURCES+=PrintableString.h
|
||||
ASN_MODULE_NODIST_SOURCES+=PrintableString.c
|
||||
ASN_MODULE_SOURCES+=asn_SEQUENCE_OF.h
|
||||
ASN_MODULE_NODIST_SOURCES+=asn_SEQUENCE_OF.c
|
||||
ASN_MODULE_SOURCES+=asn_SET_OF.h
|
||||
ASN_MODULE_NODIST_SOURCES+=asn_SET_OF.c
|
||||
ASN_MODULE_SOURCES+=constr_CHOICE.h
|
||||
ASN_MODULE_NODIST_SOURCES+=constr_CHOICE.c
|
||||
ASN_MODULE_SOURCES+=constr_SEQUENCE.h
|
||||
ASN_MODULE_NODIST_SOURCES+=constr_SEQUENCE.c
|
||||
ASN_MODULE_SOURCES+=constr_SEQUENCE_OF.h
|
||||
ASN_MODULE_NODIST_SOURCES+=constr_SEQUENCE_OF.c
|
||||
ASN_MODULE_SOURCES+=constr_SET_OF.h
|
||||
ASN_MODULE_NODIST_SOURCES+=constr_SET_OF.c
|
||||
ASN_MODULE_SOURCES+=asn_application.h
|
||||
ASN_MODULE_SOURCES+=asn_system.h
|
||||
ASN_MODULE_SOURCES+=asn_codecs.h
|
||||
ASN_MODULE_SOURCES+=asn_internal.h
|
||||
ASN_MODULE_SOURCES+=OCTET_STRING.h
|
||||
ASN_MODULE_NODIST_SOURCES+=OCTET_STRING.c
|
||||
ASN_MODULE_SOURCES+=BIT_STRING.h
|
||||
ASN_MODULE_NODIST_SOURCES+=BIT_STRING.c
|
||||
ASN_MODULE_NODIST_SOURCES+=asn_codecs_prim.c
|
||||
ASN_MODULE_SOURCES+=asn_codecs_prim.h
|
||||
ASN_MODULE_SOURCES+=ber_tlv_length.h
|
||||
ASN_MODULE_NODIST_SOURCES+=ber_tlv_length.c
|
||||
ASN_MODULE_SOURCES+=ber_tlv_tag.h
|
||||
ASN_MODULE_NODIST_SOURCES+=ber_tlv_tag.c
|
||||
ASN_MODULE_SOURCES+=ber_decoder.h
|
||||
ASN_MODULE_NODIST_SOURCES+=ber_decoder.c
|
||||
ASN_MODULE_SOURCES+=der_encoder.h
|
||||
ASN_MODULE_NODIST_SOURCES+=der_encoder.c
|
||||
ASN_MODULE_SOURCES+=constr_TYPE.h
|
||||
ASN_MODULE_NODIST_SOURCES+=constr_TYPE.c
|
||||
ASN_MODULE_SOURCES+=constraints.h
|
||||
ASN_MODULE_NODIST_SOURCES+=constraints.c
|
||||
ASN_MODULE_SOURCES+=xer_support.h
|
||||
ASN_MODULE_NODIST_SOURCES+=xer_support.c
|
||||
ASN_MODULE_SOURCES+=xer_decoder.h
|
||||
ASN_MODULE_NODIST_SOURCES+=xer_decoder.c
|
||||
ASN_MODULE_SOURCES+=xer_encoder.h
|
||||
ASN_MODULE_NODIST_SOURCES+=xer_encoder.c
|
||||
ASN_MODULE_SOURCES+=per_support.h
|
||||
ASN_MODULE_NODIST_SOURCES+=per_support.c
|
||||
ASN_MODULE_SOURCES+=per_decoder.h
|
||||
ASN_MODULE_NODIST_SOURCES+=per_decoder.c
|
||||
ASN_MODULE_SOURCES+=per_encoder.h
|
||||
ASN_MODULE_NODIST_SOURCES+=per_encoder.c
|
||||
ASN_MODULE_SOURCES+=per_opentype.h
|
||||
ASN_MODULE_NODIST_SOURCES+=per_opentype.c
|
||||
ASN_MODULE_INCLUDES+=ANY.h
|
||||
ASN_MODULE_SOURCES+=ANY.c
|
||||
ASN_MODULE_INCLUDES+=BOOLEAN.h
|
||||
ASN_MODULE_SOURCES+=BOOLEAN.c
|
||||
ASN_MODULE_INCLUDES+=INTEGER.h
|
||||
ASN_MODULE_INCLUDES+=NativeEnumerated.h
|
||||
ASN_MODULE_SOURCES+=INTEGER.c
|
||||
ASN_MODULE_INCLUDES+=NULL.h
|
||||
ASN_MODULE_SOURCES+=NULL.c
|
||||
ASN_MODULE_SOURCES+=NativeEnumerated.c
|
||||
ASN_MODULE_INCLUDES+=NativeInteger.h
|
||||
ASN_MODULE_SOURCES+=NativeInteger.c
|
||||
ASN_MODULE_INCLUDES+=OBJECT_IDENTIFIER.h
|
||||
ASN_MODULE_SOURCES+=OBJECT_IDENTIFIER.c
|
||||
ASN_MODULE_INCLUDES+=PrintableString.h
|
||||
ASN_MODULE_SOURCES+=PrintableString.c
|
||||
ASN_MODULE_INCLUDES+=asn_SEQUENCE_OF.h
|
||||
ASN_MODULE_SOURCES+=asn_SEQUENCE_OF.c
|
||||
ASN_MODULE_INCLUDES+=asn_SET_OF.h
|
||||
ASN_MODULE_SOURCES+=asn_SET_OF.c
|
||||
ASN_MODULE_INCLUDES+=constr_CHOICE.h
|
||||
ASN_MODULE_SOURCES+=constr_CHOICE.c
|
||||
ASN_MODULE_INCLUDES+=constr_SEQUENCE.h
|
||||
ASN_MODULE_SOURCES+=constr_SEQUENCE.c
|
||||
ASN_MODULE_INCLUDES+=constr_SEQUENCE_OF.h
|
||||
ASN_MODULE_SOURCES+=constr_SEQUENCE_OF.c
|
||||
ASN_MODULE_INCLUDES+=constr_SET_OF.h
|
||||
ASN_MODULE_SOURCES+=constr_SET_OF.c
|
||||
ASN_MODULE_INCLUDES+=asn_application.h
|
||||
ASN_MODULE_INCLUDES+=asn_system.h
|
||||
ASN_MODULE_INCLUDES+=asn_codecs.h
|
||||
ASN_MODULE_INCLUDES+=asn_internal.h
|
||||
ASN_MODULE_INCLUDES+=OCTET_STRING.h
|
||||
ASN_MODULE_SOURCES+=OCTET_STRING.c
|
||||
ASN_MODULE_INCLUDES+=BIT_STRING.h
|
||||
ASN_MODULE_SOURCES+=BIT_STRING.c
|
||||
ASN_MODULE_SOURCES+=asn_codecs_prim.c
|
||||
ASN_MODULE_INCLUDES+=asn_codecs_prim.h
|
||||
ASN_MODULE_INCLUDES+=ber_tlv_length.h
|
||||
ASN_MODULE_SOURCES+=ber_tlv_length.c
|
||||
ASN_MODULE_INCLUDES+=ber_tlv_tag.h
|
||||
ASN_MODULE_SOURCES+=ber_tlv_tag.c
|
||||
ASN_MODULE_INCLUDES+=ber_decoder.h
|
||||
ASN_MODULE_SOURCES+=ber_decoder.c
|
||||
ASN_MODULE_INCLUDES+=der_encoder.h
|
||||
ASN_MODULE_SOURCES+=der_encoder.c
|
||||
ASN_MODULE_INCLUDES+=constr_TYPE.h
|
||||
ASN_MODULE_SOURCES+=constr_TYPE.c
|
||||
ASN_MODULE_INCLUDES+=constraints.h
|
||||
ASN_MODULE_SOURCES+=constraints.c
|
||||
ASN_MODULE_INCLUDES+=xer_support.h
|
||||
ASN_MODULE_SOURCES+=xer_support.c
|
||||
ASN_MODULE_INCLUDES+=xer_decoder.h
|
||||
ASN_MODULE_SOURCES+=xer_decoder.c
|
||||
ASN_MODULE_INCLUDES+=xer_encoder.h
|
||||
ASN_MODULE_SOURCES+=xer_encoder.c
|
||||
ASN_MODULE_INCLUDES+=per_support.h
|
||||
ASN_MODULE_SOURCES+=per_support.c
|
||||
ASN_MODULE_INCLUDES+=per_decoder.h
|
||||
ASN_MODULE_SOURCES+=per_decoder.c
|
||||
ASN_MODULE_INCLUDES+=per_encoder.h
|
||||
ASN_MODULE_SOURCES+=per_encoder.c
|
||||
ASN_MODULE_INCLUDES+=per_opentype.h
|
||||
ASN_MODULE_SOURCES+=per_opentype.c
|
||||
|
||||
lib_LTLIBRARIES=libasn1c.la
|
||||
libasn1c_la_SOURCES=$(ASN_MODULE_SOURCES)
|
||||
nodist_libasn1c_la_SOURCES=$(ASN_MODULE_NODIST_SOURCES)
|
||||
libasn1c_la_SOURCES=$(ASN_MODULE_INCLUDES)
|
||||
nodist_libasn1c_la_SOURCES=$(ASN_MODULE_SOURCES)
|
||||
|
||||
AM_CFLAGS = \
|
||||
-Wall -Werror -Wno-parentheses-equality
|
||||
|
|
|
@ -87,8 +87,8 @@ static asn_per_constraints_t asn_PER_memb_value_constr_4 GCC_NOTUSED = {
|
|||
};
|
||||
static asn_TYPE_member_t asn_MBR_ProtocolIE_Field_5901P0_1[] = {
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct ProtocolIE_Field_5901P0, id),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
|
||||
0,
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_S1ap_ProtocolIE_ID,
|
||||
memb_id_constraint_1,
|
||||
&asn_PER_memb_id_constr_2,
|
||||
|
@ -96,17 +96,17 @@ static asn_TYPE_member_t asn_MBR_ProtocolIE_Field_5901P0_1[] = {
|
|||
"id"
|
||||
},
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct ProtocolIE_Field_5901P0, criticality),
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
|
||||
0,
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_S1ap_Criticality,
|
||||
memb_criticality_constraint_1,
|
||||
&asn_PER_memb_criticality_constr_3,
|
||||
0,
|
||||
"criticality"
|
||||
},
|
||||
{ ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct ProtocolIE_Field_5901P0, value),
|
||||
-1 /* Ambiguous tag (ANY?) */,
|
||||
0,
|
||||
{ ATF_NOFLAGS, 0, offsetof(struct ProtocolIE_Field_5901P0, value),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
|
||||
+1, /* EXPLICIT tag at current level */
|
||||
&asn_DEF_ANY,
|
||||
memb_value_constraint_1,
|
||||
&asn_PER_memb_value_constr_4,
|
||||
|
@ -118,14 +118,15 @@ static const ber_tlv_tag_t asn_DEF_ProtocolIE_Field_5901P0_tags_1[] = {
|
|||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
||||
};
|
||||
static const asn_TYPE_tag2member_t asn_MAP_ProtocolIE_Field_5901P0_tag2el_1[] = {
|
||||
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* id */
|
||||
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 1, 0, 0 } /* criticality */
|
||||
{ (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 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_ProtocolIE_Field_5901P0_specs_1 = {
|
||||
sizeof(struct ProtocolIE_Field_5901P0),
|
||||
offsetof(struct ProtocolIE_Field_5901P0, _asn_ctx),
|
||||
asn_MAP_ProtocolIE_Field_5901P0_tag2el_1,
|
||||
2, /* Count of tags in the map */
|
||||
3, /* Count of tags in the map */
|
||||
0, 0, 0, /* Optional elements (not needed) */
|
||||
-1, /* Start extensions */
|
||||
-1 /* Stop extensions */
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -20,6 +20,19 @@ extern "C" {
|
|||
|
||||
/* ProtocolIE-SingleContainer */
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P0_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P1_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P2_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P3_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P4_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P5_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P6_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P7_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P8_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P9_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P10_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P11_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P12_t;
|
||||
typedef ProtocolIE_Field_5901P0_t ProtocolIE_SingleContainer_5897P13_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P0;
|
||||
|
@ -34,6 +47,162 @@ per_type_decoder_f ProtocolIE_SingleContainer_5897P0_decode_uper;
|
|||
per_type_encoder_f ProtocolIE_SingleContainer_5897P0_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P0_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P0_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P1;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P1_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P1_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P1_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P1_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P1_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P1_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P1_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P1_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P1_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P1_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P1_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P2;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P2_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P2_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P2_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P2_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P2_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P2_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P2_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P2_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P2_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P2_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P2_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P3;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P3_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P3_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P3_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P3_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P3_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P3_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P3_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P3_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P3_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P3_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P3_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P4;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P4_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P4_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P4_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P4_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P4_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P4_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P4_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P4_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P4_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P4_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P4_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P5;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P5_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P5_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P5_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P5_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P5_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P5_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P5_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P5_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P5_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P5_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P5_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P6;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P6_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P6_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P6_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P6_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P6_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P6_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P6_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P6_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P6_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P6_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P6_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P7;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P7_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P7_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P7_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P7_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P7_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P7_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P7_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P7_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P7_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P7_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P7_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P8;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P8_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P8_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P8_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P8_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P8_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P8_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P8_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P8_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P8_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P8_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P8_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P9;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P9_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P9_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P9_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P9_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P9_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P9_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P9_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P9_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P9_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P9_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P9_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P10;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P10_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P10_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P10_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P10_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P10_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P10_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P10_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P10_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P10_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P10_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P10_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P11;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P11_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P11_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P11_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P11_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P11_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P11_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P11_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P11_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P11_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P11_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P11_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P12;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P12_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P12_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P12_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P12_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P12_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P12_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P12_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P12_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P12_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P12_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P12_encode_aper;
|
||||
extern asn_TYPE_descriptor_t asn_DEF_ProtocolIE_SingleContainer_5897P13;
|
||||
asn_struct_free_f ProtocolIE_SingleContainer_5897P13_free;
|
||||
asn_struct_print_f ProtocolIE_SingleContainer_5897P13_print;
|
||||
asn_constr_check_f ProtocolIE_SingleContainer_5897P13_constraint;
|
||||
ber_type_decoder_f ProtocolIE_SingleContainer_5897P13_decode_ber;
|
||||
der_type_encoder_f ProtocolIE_SingleContainer_5897P13_encode_der;
|
||||
xer_type_decoder_f ProtocolIE_SingleContainer_5897P13_decode_xer;
|
||||
xer_type_encoder_f ProtocolIE_SingleContainer_5897P13_encode_xer;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P13_decode_uper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P13_encode_uper;
|
||||
per_type_decoder_f ProtocolIE_SingleContainer_5897P13_decode_aper;
|
||||
per_type_encoder_f ProtocolIE_SingleContainer_5897P13_encode_aper;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_Bearers_SubjectToStatusTransfer_List_1[] =
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-Bearers-SubjectToStatusTransfer-List */
|
||||
typedef struct S1ap_Bearers_SubjectToStatusTransfer_List {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_Bearers_SubjectToStatusTransfer_List;
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_Bearers_SubjectToStatusTransfer_List_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_E_RABInformationList_1[] = {
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-E-RABInformationList */
|
||||
typedef struct S1ap_E_RABInformationList {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_E_RABInformationList;
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_E_RABInformationList_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_E_RABList_1[] = {
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-E-RABList */
|
||||
typedef struct S1ap_E_RABList {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_E_RABList;
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_E_RABList_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_E_RABModifyListBearerModRes_1[] = {
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-E-RABModifyListBearerModRes */
|
||||
typedef struct S1ap_E_RABModifyListBearerModRes {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_E_RABModifyListBearerModRes;
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_E_RABModifyListBearerModRes_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_E_RABReleaseListBearerRelComp_1[] = {
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-E-RABReleaseListBearerRelComp */
|
||||
typedef struct S1ap_E_RABReleaseListBearerRelComp {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_E_RABReleaseListBearerRelComp;
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_E_RABReleaseListBearerRelComp_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_E_RABSetupListBearerSURes_1[] = {
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-E-RABSetupListBearerSURes */
|
||||
typedef struct S1ap_E_RABSetupListBearerSURes {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_E_RABSetupListBearerSURes;
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_E_RABSetupListBearerSURes_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_E_RABSetupListCtxtSURes_1[] = {
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-E-RABSetupListCtxtSURes */
|
||||
typedef struct S1ap_E_RABSetupListCtxtSURes {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_E_RABSetupListCtxtSURes;
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_E_RABSetupListCtxtSURes_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_E_RABToBeModifiedListBearerModReq_1[] = {
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-E-RABToBeModifiedListBearerModReq */
|
||||
typedef struct S1ap_E_RABToBeModifiedListBearerModReq {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_E_RABToBeModifiedListBearerModReq;
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_E_RABToBeModifiedListBearerModReq_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_E_RABToBeSetupListBearerSUReq_1[] = {
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-E-RABToBeSetupListBearerSUReq */
|
||||
typedef struct S1ap_E_RABToBeSetupListBearerSUReq {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_E_RABToBeSetupListBearerSUReq;
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_E_RABToBeSetupListBearerSUReq_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_E_RABToBeSetupListCtxtSUReq_1[] = {
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-E-RABToBeSetupListCtxtSUReq */
|
||||
typedef struct S1ap_E_RABToBeSetupListCtxtSUReq {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_E_RABToBeSetupListCtxtSUReq;
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_E_RABToBeSetupListCtxtSUReq_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -158,9 +158,9 @@ typedef enum S1ap_ProtocolIE_ID {
|
|||
S1ap_ProtocolIE_ID_id_x2TNLConfigurationInfo = 152,
|
||||
S1ap_ProtocolIE_ID_id_eNBX2ExtendedTransportLayerAddresses = 153,
|
||||
S1ap_ProtocolIE_ID_id_GUMMEIList = 154,
|
||||
S1ap_ProtocolIE_ID_id_GW_S1ap_S1ap_TransportLayerAddress = 155,
|
||||
S1ap_ProtocolIE_ID_id_GW_TransportLayerAddress = 155,
|
||||
S1ap_ProtocolIE_ID_id_Correlation_ID = 156,
|
||||
S1ap_ProtocolIE_ID_id_SourceMME_S1ap_S1ap_GUMMEI = 157,
|
||||
S1ap_ProtocolIE_ID_id_SourceMME_GUMMEI = 157,
|
||||
S1ap_ProtocolIE_ID_id_MME_UE_S1AP_ID_2 = 158,
|
||||
S1ap_ProtocolIE_ID_id_RegisteredLAI = 159,
|
||||
S1ap_ProtocolIE_ID_id_RelayNode_Indicator = 160,
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_TAIList_1[] = {
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-TAIList */
|
||||
typedef struct S1ap_TAIList {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_TAIList;
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_TAIList_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_UE_associatedLogicalS1_ConnectionListRes_1
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-UE-associatedLogicalS1-ConnectionListRes */
|
||||
typedef struct S1ap_UE_associatedLogicalS1_ConnectionListRes {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_UE_associatedLogicalS1_ConnectionListR
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_UE_associatedLogicalS1_ConnectionListRes_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -16,7 +16,7 @@ static asn_TYPE_member_t asn_MBR_S1ap_UE_associatedLogicalS1_ConnectionListResAc
|
|||
{ ATF_POINTER, 0, 0,
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
||||
0,
|
||||
&asn_DEF_S1ap_IE,
|
||||
&asn_DEF_ProtocolIE_Field_5901P0,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
|
|
|
@ -20,11 +20,11 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
/* Forward declarations */
|
||||
struct S1ap_IE;
|
||||
struct ProtocolIE_Field;
|
||||
|
||||
/* S1ap-UE-associatedLogicalS1-ConnectionListResAck */
|
||||
typedef struct S1ap_UE_associatedLogicalS1_ConnectionListResAck {
|
||||
A_SEQUENCE_OF(struct S1ap_IE) list;
|
||||
A_SEQUENCE_OF(struct ProtocolIE_Field) list;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
|
@ -38,7 +38,7 @@ extern asn_TYPE_descriptor_t asn_DEF_S1ap_UE_associatedLogicalS1_ConnectionListR
|
|||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "S1ap-IE.h"
|
||||
#include "ProtocolIE-Field.h"
|
||||
|
||||
#endif /* _S1ap_UE_associatedLogicalS1_ConnectionListResAck_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
|
|
@ -0,0 +1,81 @@
|
|||
/*
|
||||
* Copyright (c) 2015, EURECOM (www.eurecom.fr)
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* The views and conclusions contained in the software and documentation are those
|
||||
* of the authors and should not be interpreted as representing official policies,
|
||||
* either expressed or implied, of the FreeBSD Project.
|
||||
*/
|
||||
|
||||
#ifndef FILE_MME_DEFAULT_VALUES_SEEN
|
||||
#define FILE_MME_DEFAULT_VALUES_SEEN
|
||||
|
||||
/*******************************************************************************
|
||||
* Timer Constants
|
||||
******************************************************************************/
|
||||
#define MME_STATISTIC_TIMER_S (60)
|
||||
|
||||
/*******************************************************************************
|
||||
* GTPV1 User Plane Constants
|
||||
******************************************************************************/
|
||||
#define GTPV1_U_PORT_NUMBER (2152)
|
||||
|
||||
/*******************************************************************************
|
||||
* S1AP Constants
|
||||
******************************************************************************/
|
||||
|
||||
#define S1AP_PORT_NUMBER (36412) ///< S1AP SCTP IANA ASSIGNED Port Number
|
||||
#define S1AP_SCTP_PPID (18) ///< S1AP SCTP Payload Protocol Identifier (PPID)
|
||||
|
||||
#define S1AP_OUTCOME_TIMER_DEFAULT (5) ///< S1AP Outcome drop timer (s)
|
||||
|
||||
/*******************************************************************************
|
||||
* S6A Constants
|
||||
******************************************************************************/
|
||||
|
||||
#define S6A_CONF_FILE "../S6A/freediameter/s6a.conf"
|
||||
|
||||
/*******************************************************************************
|
||||
* SCTP Constants
|
||||
******************************************************************************/
|
||||
|
||||
#define SCTP_RECV_BUFFER_SIZE (1 << 16)
|
||||
#define SCTP_OUT_STREAMS (32)
|
||||
#define SCTP_IN_STREAMS (32)
|
||||
#define SCTP_MAX_ATTEMPTS (5)
|
||||
|
||||
/*******************************************************************************
|
||||
* MME global definitions
|
||||
******************************************************************************/
|
||||
|
||||
#define MMEC (0)
|
||||
#define MMEGID (0)
|
||||
#define PLMN_MCC (208)
|
||||
#define PLMN_MNC (34)
|
||||
#define PLMN_MNC_LEN (2)
|
||||
#define PLMN_TAC (1)
|
||||
|
||||
#define RELATIVE_CAPACITY (15)
|
||||
|
||||
|
||||
#endif /* FILE_MME_DEFAULT_VALUES_SEEN */
|
|
@ -31,12 +31,21 @@
|
|||
|
||||
#include "s1ap_common.h"
|
||||
#include "S1AP-PDU.h"
|
||||
#if 0 /* modified by acetcom */
|
||||
#include "dynamic_memory_check.h"
|
||||
#include "log.h"
|
||||
#else
|
||||
#include "core_debug.h"
|
||||
#endif
|
||||
|
||||
int asn_debug = 0;
|
||||
int asn1_xer_print = 0;
|
||||
|
||||
void free_wrapper(void *ptr)
|
||||
{
|
||||
free(ptr);
|
||||
ptr = NULL;
|
||||
}
|
||||
|
||||
ssize_t
|
||||
s1ap_generate_initiating_message (
|
||||
|
@ -66,7 +75,7 @@ s1ap_generate_initiating_message (
|
|||
ASN_STRUCT_FREE_CONTENTS_ONLY (*td, sptr);
|
||||
|
||||
if ((encoded = aper_encode_to_new_buffer (&asn_DEF_S1AP_PDU, 0, &pdu, (void **)buffer)) < 0) {
|
||||
OAILOG_ERROR (LOG_S1AP, "Encoding of %s failed\n", td->name);
|
||||
d_error("Encoding of %s failed\n", td->name);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -102,7 +111,7 @@ s1ap_generate_successfull_outcome (
|
|||
ASN_STRUCT_FREE_CONTENTS_ONLY (*td, sptr);
|
||||
|
||||
if ((encoded = aper_encode_to_new_buffer (&asn_DEF_S1AP_PDU, 0, &pdu, (void **)buffer)) < 0) {
|
||||
OAILOG_ERROR (LOG_S1AP, "Encoding of %s failed\n", td->name);
|
||||
d_error("Encoding of %s failed\n", td->name);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -138,7 +147,7 @@ s1ap_generate_unsuccessfull_outcome (
|
|||
ASN_STRUCT_FREE_CONTENTS_ONLY (*td, sptr);
|
||||
|
||||
if ((encoded = aper_encode_to_new_buffer (&asn_DEF_S1AP_PDU, 0, &pdu, (void **)buffer)) < 0) {
|
||||
OAILOG_ERROR (LOG_S1AP, "Encoding of %s failed\n", td->name);
|
||||
d_error("Encoding of %s failed\n", td->name);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -165,7 +174,7 @@ s1ap_new_ie (
|
|||
buff->criticality = criticality;
|
||||
|
||||
if (ANY_fromType_aper (&buff->value, type, sptr) < 0) {
|
||||
OAILOG_ERROR (LOG_S1AP, "Encoding of %s failed\n", type->name);
|
||||
d_error("Encoding of %s failed\n", type->name);
|
||||
free_wrapper (buff);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
@ -386,7 +386,7 @@ extern int asn_debug;
|
|||
extern int asn1_xer_print;
|
||||
|
||||
# include "mme_default_values.h"
|
||||
#if 0
|
||||
#if 0 /* modified by acetcom */
|
||||
# include "common_types.h"
|
||||
#endif
|
||||
|
||||
|
@ -395,7 +395,7 @@ struct s1ap_message_s;
|
|||
|
||||
/** \brief Function callback prototype.
|
||||
**/
|
||||
#if 0
|
||||
#if 0 /* modified by acetcom */
|
||||
typedef int (*s1ap_message_decoded_callback)(
|
||||
const sctp_assoc_id_t assoc_id,
|
||||
const sctp_stream_id_t stream,
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -30,7 +30,7 @@
|
|||
/*******************************************************************************
|
||||
* This file had been created by asn1tostruct.py script v1.0.2
|
||||
* Please do not modify this file but regenerate it via script.
|
||||
* Created on: 2017-02-03 13:33:42.683855 by acetcom
|
||||
* Created on: 2017-02-03 16:04:58.994273 by acetcom
|
||||
* from ['S1AP-PDU.asn']
|
||||
******************************************************************************/
|
||||
#include "s1ap_common.h"
|
||||
|
@ -72,26 +72,6 @@ int s1ap_encode_s1ap_deactivatetraceies(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabreleaseitembearerrelcompies(
|
||||
S1ap_E_RABReleaseListBearerRelComp_t *s1ap_E_RABReleaseListBearerRelComp,
|
||||
S1ap_E_RABReleaseItemBearerRelCompIEs_t *s1ap_E_RABReleaseItemBearerRelCompIEs) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABReleaseListBearerRelComp != NULL);
|
||||
assert(s1ap_E_RABReleaseItemBearerRelCompIEs != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABReleaseItemBearerRelComp,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABReleaseItemBearerRelComp,
|
||||
&s1ap_E_RABReleaseItemBearerRelCompIEs->e_RABReleaseItemBearerRelComp)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABReleaseListBearerRelComp->s1ap_E_RABReleaseListBearerRelComp_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_enbdirectinformationtransferies(
|
||||
S1ap_ENBDirectInformationTransfer_t *s1ap_ENBDirectInformationTransfer,
|
||||
S1ap_ENBDirectInformationTransferIEs_t *s1ap_ENBDirectInformationTransferIEs) {
|
||||
|
@ -370,26 +350,6 @@ int s1ap_encode_s1ap_handoverpreparationfailureies(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabtobemodifieditembearermodreqies(
|
||||
S1ap_E_RABToBeModifiedListBearerModReq_t *s1ap_E_RABToBeModifiedListBearerModReq,
|
||||
S1ap_E_RABToBeModifiedItemBearerModReqIEs_t *s1ap_E_RABToBeModifiedItemBearerModReqIEs) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABToBeModifiedListBearerModReq != NULL);
|
||||
assert(s1ap_E_RABToBeModifiedItemBearerModReqIEs != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABToBeModifiedItemBearerModReq,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_E_RABToBeModifiedItemBearerModReq,
|
||||
&s1ap_E_RABToBeModifiedItemBearerModReqIEs->e_RABToBeModifiedItemBearerModReq)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABToBeModifiedListBearerModReq->s1ap_E_RABToBeModifiedListBearerModReq_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_uecontextreleaserequest_ies(
|
||||
S1ap_UEContextReleaseRequest_t *s1ap_UEContextReleaseRequest,
|
||||
S1ap_UEContextReleaseRequest_IEs_t *s1ap_UEContextReleaseRequest_IEs) {
|
||||
|
@ -531,11 +491,11 @@ int s1ap_encode_s1ap_initialuemessage_ies(
|
|||
}
|
||||
|
||||
/* Optional field */
|
||||
if (s1ap_InitialUEMessage_IEs->presenceMask & S1AP_INITIALUEMESSAGE_IES_GW_S1AP_TRANSPORTLAYERADDRESS_PRESENT) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_GW_S1ap_TransportLayerAddress,
|
||||
if (s1ap_InitialUEMessage_IEs->presenceMask & S1AP_INITIALUEMESSAGE_IES_GW_TRANSPORTLAYERADDRESS_PRESENT) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_GW_TransportLayerAddress,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_TransportLayerAddress,
|
||||
&s1ap_InitialUEMessage_IEs->gW_S1ap_TransportLayerAddress)) == NULL) {
|
||||
&s1ap_InitialUEMessage_IEs->gW_TransportLayerAddress)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_InitialUEMessage->s1ap_InitialUEMessage_ies.list, ie);
|
||||
|
@ -751,26 +711,6 @@ int s1ap_encode_s1ap_uecapabilityinfoindicationies(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabtobesetupitembearersureqies(
|
||||
S1ap_E_RABToBeSetupListBearerSUReq_t *s1ap_E_RABToBeSetupListBearerSUReq,
|
||||
S1ap_E_RABToBeSetupItemBearerSUReqIEs_t *s1ap_E_RABToBeSetupItemBearerSUReqIEs) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABToBeSetupListBearerSUReq != NULL);
|
||||
assert(s1ap_E_RABToBeSetupItemBearerSUReqIEs != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABToBeSetupItemBearerSUReq,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_E_RABToBeSetupItemBearerSUReq,
|
||||
&s1ap_E_RABToBeSetupItemBearerSUReqIEs->e_RABToBeSetupItemBearerSUReq)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABToBeSetupListBearerSUReq->s1ap_E_RABToBeSetupListBearerSUReq_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_locationreportingfailureindicationies(
|
||||
S1ap_LocationReportingFailureIndication_t *s1ap_LocationReportingFailureIndication,
|
||||
S1ap_LocationReportingFailureIndicationIEs_t *s1ap_LocationReportingFailureIndicationIEs) {
|
||||
|
@ -840,14 +780,22 @@ int s1ap_encode_s1ap_initialcontextsetuprequesties(
|
|||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_InitialContextSetupRequest->s1ap_InitialContextSetupRequest_ies.list, ie);
|
||||
|
||||
S1ap_E_RABToBeSetupListCtxtSUReq_t e_RABToBeSetupListCtxtSUReq;
|
||||
|
||||
memset(&e_RABToBeSetupListCtxtSUReq, 0, sizeof(S1ap_E_RABToBeSetupListCtxtSUReq_t));
|
||||
|
||||
if (s1ap_encode_s1ap_e_rabtobesetuplistctxtsureq(&e_RABToBeSetupListCtxtSUReq, &s1ap_InitialContextSetupRequestIEs->e_RABToBeSetupListCtxtSUReq) < 0) return -1;
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABToBeSetupListCtxtSUReq,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_E_RABToBeSetupListCtxtSUReq,
|
||||
&s1ap_InitialContextSetupRequestIEs->e_RABToBeSetupListCtxtSUReq)) == NULL) {
|
||||
&e_RABToBeSetupListCtxtSUReq)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_InitialContextSetupRequest->s1ap_InitialContextSetupRequest_ies.list, ie);
|
||||
|
||||
/* Free any dynamic allocation that is no more used */
|
||||
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_S1ap_E_RABToBeSetupListCtxtSUReq, &e_RABToBeSetupListCtxtSUReq);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_UESecurityCapabilities,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_UESecurityCapabilities,
|
||||
|
@ -1090,11 +1038,11 @@ int s1ap_encode_s1ap_uplinknastransport_ies(
|
|||
ASN_SEQUENCE_ADD(&s1ap_UplinkNASTransport->s1ap_UplinkNASTransport_ies.list, ie);
|
||||
|
||||
/* Optional field */
|
||||
if (s1ap_UplinkNASTransport_IEs->presenceMask & S1AP_UPLINKNASTRANSPORT_IES_GW_S1AP_TRANSPORTLAYERADDRESS_PRESENT) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_GW_S1ap_TransportLayerAddress,
|
||||
if (s1ap_UplinkNASTransport_IEs->presenceMask & S1AP_UPLINKNASTRANSPORT_IES_GW_TRANSPORTLAYERADDRESS_PRESENT) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_GW_TransportLayerAddress,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_TransportLayerAddress,
|
||||
&s1ap_UplinkNASTransport_IEs->gW_S1ap_TransportLayerAddress)) == NULL) {
|
||||
&s1ap_UplinkNASTransport_IEs->gW_TransportLayerAddress)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_UplinkNASTransport->s1ap_UplinkNASTransport_ies.list, ie);
|
||||
|
@ -1900,33 +1848,21 @@ int s1ap_encode_s1ap_e_rabmodifyrequesties(
|
|||
ASN_SEQUENCE_ADD(&s1ap_E_RABModifyRequest->s1ap_E_RABModifyRequest_ies.list, ie);
|
||||
}
|
||||
|
||||
S1ap_E_RABToBeModifiedListBearerModReq_t e_RABToBeModifiedListBearerModReq;
|
||||
|
||||
memset(&e_RABToBeModifiedListBearerModReq, 0, sizeof(S1ap_E_RABToBeModifiedListBearerModReq_t));
|
||||
|
||||
if (s1ap_encode_s1ap_e_rabtobemodifiedlistbearermodreq(&e_RABToBeModifiedListBearerModReq, &s1ap_E_RABModifyRequestIEs->e_RABToBeModifiedListBearerModReq) < 0) return -1;
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABToBeModifiedListBearerModReq,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_E_RABToBeModifiedListBearerModReq,
|
||||
&s1ap_E_RABModifyRequestIEs->e_RABToBeModifiedListBearerModReq)) == NULL) {
|
||||
&e_RABToBeModifiedListBearerModReq)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABModifyRequest->s1ap_E_RABModifyRequest_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabsetupitemctxtsuresies(
|
||||
S1ap_E_RABSetupListCtxtSURes_t *s1ap_E_RABSetupListCtxtSURes,
|
||||
S1ap_E_RABSetupItemCtxtSUResIEs_t *s1ap_E_RABSetupItemCtxtSUResIEs) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABSetupListCtxtSURes != NULL);
|
||||
assert(s1ap_E_RABSetupItemCtxtSUResIEs != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABSetupItemCtxtSURes,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABSetupItemCtxtSURes,
|
||||
&s1ap_E_RABSetupItemCtxtSUResIEs->e_RABSetupItemCtxtSURes)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABSetupListCtxtSURes->s1ap_E_RABSetupListCtxtSURes_ies.list, ie);
|
||||
/* Free any dynamic allocation that is no more used */
|
||||
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_S1ap_E_RABToBeModifiedListBearerModReq, &e_RABToBeModifiedListBearerModReq);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -2001,46 +1937,6 @@ int s1ap_encode_s1ap_reseties(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_bearers_subjecttostatustransfer_itemies(
|
||||
S1ap_Bearers_SubjectToStatusTransfer_List_t *s1ap_Bearers_SubjectToStatusTransfer_List,
|
||||
S1ap_Bearers_SubjectToStatusTransfer_ItemIEs_t *s1ap_Bearers_SubjectToStatusTransfer_ItemIEs) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_Bearers_SubjectToStatusTransfer_List != NULL);
|
||||
assert(s1ap_Bearers_SubjectToStatusTransfer_ItemIEs != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_Bearers_SubjectToStatusTransfer_Item,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_Bearers_SubjectToStatusTransfer_Item,
|
||||
&s1ap_Bearers_SubjectToStatusTransfer_ItemIEs->bearers_SubjectToStatusTransfer_Item)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_Bearers_SubjectToStatusTransfer_List->s1ap_Bearers_SubjectToStatusTransfer_List_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabitemies(
|
||||
S1ap_E_RABList_t *s1ap_E_RABList,
|
||||
S1ap_E_RABItemIEs_t *s1ap_E_RABItemIEs) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABList != NULL);
|
||||
assert(s1ap_E_RABItemIEs != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABItem,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABItem,
|
||||
&s1ap_E_RABItemIEs->e_RABItem)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABList->s1ap_E_RABList_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_s1setupresponseies(
|
||||
S1ap_S1SetupResponse_t *s1ap_S1SetupResponse,
|
||||
S1ap_S1SetupResponseIEs_t *s1ap_S1SetupResponseIEs) {
|
||||
|
@ -2146,14 +2042,22 @@ int s1ap_encode_s1ap_pagingies(
|
|||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_Paging->s1ap_Paging_ies.list, ie);
|
||||
|
||||
S1ap_TAIList_t taiList;
|
||||
|
||||
memset(&taiList, 0, sizeof(S1ap_TAIList_t));
|
||||
|
||||
if (s1ap_encode_s1ap_tailist(&taiList, &s1ap_PagingIEs->taiList) < 0) return -1;
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_TAIList,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_TAIList,
|
||||
&s1ap_PagingIEs->taiList)) == NULL) {
|
||||
&taiList)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_Paging->s1ap_Paging_ies.list, ie);
|
||||
|
||||
/* Free any dynamic allocation that is no more used */
|
||||
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_S1ap_TAIList, &taiList);
|
||||
|
||||
/* Optional field */
|
||||
if (s1ap_PagingIEs->presenceMask & S1AP_PAGINGIES_CSG_IDLIST_PRESENT) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_CSG_IdList,
|
||||
|
@ -2238,14 +2142,22 @@ int s1ap_encode_s1ap_e_rabreleasecommandies(
|
|||
ASN_SEQUENCE_ADD(&s1ap_E_RABReleaseCommand->s1ap_E_RABReleaseCommand_ies.list, ie);
|
||||
}
|
||||
|
||||
S1ap_E_RABList_t e_RABToBeReleasedList;
|
||||
|
||||
memset(&e_RABToBeReleasedList, 0, sizeof(S1ap_E_RABList_t));
|
||||
|
||||
if (s1ap_encode_s1ap_e_rablist(&e_RABToBeReleasedList, &s1ap_E_RABReleaseCommandIEs->e_RABToBeReleasedList) < 0) return -1;
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABToBeReleasedList,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABList,
|
||||
&s1ap_E_RABReleaseCommandIEs->e_RABToBeReleasedList)) == NULL) {
|
||||
&e_RABToBeReleasedList)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABReleaseCommand->s1ap_E_RABReleaseCommand_ies.list, ie);
|
||||
|
||||
/* Free any dynamic allocation that is no more used */
|
||||
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_S1ap_E_RABList, &e_RABToBeReleasedList);
|
||||
|
||||
/* Optional field */
|
||||
if (s1ap_E_RABReleaseCommandIEs->presenceMask & S1AP_E_RABRELEASECOMMANDIES_NAS_PDU_PRESENT) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_NAS_PDU,
|
||||
|
@ -2662,26 +2574,6 @@ int s1ap_encode_s1ap_errorindicationies(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_taiitemies(
|
||||
S1ap_TAIList_t *s1ap_TAIList,
|
||||
S1ap_TAIItemIEs_t *s1ap_TAIItemIEs) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_TAIList != NULL);
|
||||
assert(s1ap_TAIItemIEs != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_TAIItem,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_TAIItem,
|
||||
&s1ap_TAIItemIEs->taiItem)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_TAIList->s1ap_TAIList_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_overloadstarties(
|
||||
S1ap_OverloadStart_t *s1ap_OverloadStart,
|
||||
S1ap_OverloadStartIEs_t *s1ap_OverloadStartIEs) {
|
||||
|
@ -3042,26 +2934,6 @@ int s1ap_encode_s1ap_pathswitchrequestacknowledgeies(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_ue_associatedlogicals1_connectionitemres(
|
||||
S1ap_UE_associatedLogicalS1_ConnectionListRes_t *s1ap_UE_associatedLogicalS1_ConnectionListRes,
|
||||
S1ap_UE_associatedLogicalS1_ConnectionItemRes_t *s1ap_UE_associatedLogicalS1_ConnectionItemRes) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_UE_associatedLogicalS1_ConnectionListRes != NULL);
|
||||
assert(s1ap_UE_associatedLogicalS1_ConnectionItemRes != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_UE_associatedLogicalS1_ConnectionItem,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_UE_associatedLogicalS1_ConnectionItem,
|
||||
&s1ap_UE_associatedLogicalS1_ConnectionItemRes->uE_associatedLogicalS1_ConnectionItem)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_UE_associatedLogicalS1_ConnectionListRes->s1ap_UE_associatedLogicalS1_ConnectionListRes_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_s1setupfailureies(
|
||||
S1ap_S1SetupFailure_t *s1ap_S1SetupFailure,
|
||||
S1ap_S1SetupFailureIEs_t *s1ap_S1SetupFailureIEs) {
|
||||
|
@ -3171,14 +3043,22 @@ int s1ap_encode_s1ap_initialcontextsetupresponseies(
|
|||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_InitialContextSetupResponse->s1ap_InitialContextSetupResponse_ies.list, ie);
|
||||
|
||||
S1ap_E_RABSetupListCtxtSURes_t e_RABSetupListCtxtSURes;
|
||||
|
||||
memset(&e_RABSetupListCtxtSURes, 0, sizeof(S1ap_E_RABSetupListCtxtSURes_t));
|
||||
|
||||
if (s1ap_encode_s1ap_e_rabsetuplistctxtsures(&e_RABSetupListCtxtSURes, &s1ap_InitialContextSetupResponseIEs->e_RABSetupListCtxtSURes) < 0) return -1;
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABSetupListCtxtSURes,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABSetupListCtxtSURes,
|
||||
&s1ap_InitialContextSetupResponseIEs->e_RABSetupListCtxtSURes)) == NULL) {
|
||||
&e_RABSetupListCtxtSURes)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_InitialContextSetupResponse->s1ap_InitialContextSetupResponse_ies.list, ie);
|
||||
|
||||
/* Free any dynamic allocation that is no more used */
|
||||
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_S1ap_E_RABSetupListCtxtSURes, &e_RABSetupListCtxtSURes);
|
||||
|
||||
/* Optional field */
|
||||
if (s1ap_InitialContextSetupResponseIEs->presenceMask & S1AP_INITIALCONTEXTSETUPRESPONSEIES_E_RABFAILEDTOSETUPLISTCTXTSURES_PRESENT) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABFailedToSetupListCtxtSURes,
|
||||
|
@ -3293,66 +3173,6 @@ int s1ap_encode_s1ap_overloadstopies(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabsetupitembearersuresies(
|
||||
S1ap_E_RABSetupListBearerSURes_t *s1ap_E_RABSetupListBearerSURes,
|
||||
S1ap_E_RABSetupItemBearerSUResIEs_t *s1ap_E_RABSetupItemBearerSUResIEs) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABSetupListBearerSURes != NULL);
|
||||
assert(s1ap_E_RABSetupItemBearerSUResIEs != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABSetupItemBearerSURes,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABSetupItemBearerSURes,
|
||||
&s1ap_E_RABSetupItemBearerSUResIEs->e_RABSetupItemBearerSURes)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABSetupListBearerSURes->s1ap_E_RABSetupListBearerSURes_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabmodifyitembearermodresies(
|
||||
S1ap_E_RABModifyListBearerModRes_t *s1ap_E_RABModifyListBearerModRes,
|
||||
S1ap_E_RABModifyItemBearerModResIEs_t *s1ap_E_RABModifyItemBearerModResIEs) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABModifyListBearerModRes != NULL);
|
||||
assert(s1ap_E_RABModifyItemBearerModResIEs != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABModifyItemBearerModRes,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABModifyItemBearerModRes,
|
||||
&s1ap_E_RABModifyItemBearerModResIEs->e_RABModifyItemBearerModRes)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABModifyListBearerModRes->s1ap_E_RABModifyListBearerModRes_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabtobesetupitemctxtsureqies(
|
||||
S1ap_E_RABToBeSetupListCtxtSUReq_t *s1ap_E_RABToBeSetupListCtxtSUReq,
|
||||
S1ap_E_RABToBeSetupItemCtxtSUReqIEs_t *s1ap_E_RABToBeSetupItemCtxtSUReqIEs) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABToBeSetupListCtxtSUReq != NULL);
|
||||
assert(s1ap_E_RABToBeSetupItemCtxtSUReqIEs != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABToBeSetupItemCtxtSUReq,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_E_RABToBeSetupItemCtxtSUReq,
|
||||
&s1ap_E_RABToBeSetupItemCtxtSUReqIEs->e_RABToBeSetupItemCtxtSUReq)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABToBeSetupListCtxtSUReq->s1ap_E_RABToBeSetupListCtxtSUReq_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_enbconfigurationupdateies(
|
||||
S1ap_ENBConfigurationUpdate_t *s1ap_ENBConfigurationUpdate,
|
||||
S1ap_ENBConfigurationUpdateIEs_t *s1ap_ENBConfigurationUpdateIEs) {
|
||||
|
@ -3453,26 +3273,6 @@ int s1ap_encode_s1ap_tracefailureindicationies(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabinformationlisties(
|
||||
S1ap_E_RABInformationList_t *s1ap_E_RABInformationList,
|
||||
S1ap_E_RABInformationListIEs_t *s1ap_E_RABInformationListIEs) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABInformationList != NULL);
|
||||
assert(s1ap_E_RABInformationListIEs != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABInformationListItem,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABInformationListItem,
|
||||
&s1ap_E_RABInformationListIEs->e_RABInformationListItem)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABInformationList->s1ap_E_RABInformationList_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_enbconfigurationtransferies(
|
||||
S1ap_ENBConfigurationTransfer_t *s1ap_ENBConfigurationTransfer,
|
||||
S1ap_ENBConfigurationTransferIEs_t *s1ap_ENBConfigurationTransferIEs) {
|
||||
|
@ -3535,26 +3335,6 @@ int s1ap_encode_s1ap_handoverfailureies(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_ue_associatedlogicals1_connectionitemresack(
|
||||
S1ap_UE_associatedLogicalS1_ConnectionListResAck_t *s1ap_UE_associatedLogicalS1_ConnectionListResAck,
|
||||
S1ap_UE_associatedLogicalS1_ConnectionItemResAck_t *s1ap_UE_associatedLogicalS1_ConnectionItemResAck) {
|
||||
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_UE_associatedLogicalS1_ConnectionListResAck != NULL);
|
||||
assert(s1ap_UE_associatedLogicalS1_ConnectionItemResAck != NULL);
|
||||
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_UE_associatedLogicalS1_ConnectionItem,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_UE_associatedLogicalS1_ConnectionItem,
|
||||
&s1ap_UE_associatedLogicalS1_ConnectionItemResAck->uE_associatedLogicalS1_ConnectionItem)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_UE_associatedLogicalS1_ConnectionListResAck->s1ap_UE_associatedLogicalS1_ConnectionListResAck_ies.list, ie);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabsetupresponseies(
|
||||
S1ap_E_RABSetupResponse_t *s1ap_E_RABSetupResponse,
|
||||
S1ap_E_RABSetupResponseIEs_t *s1ap_E_RABSetupResponseIEs) {
|
||||
|
@ -3732,11 +3512,11 @@ int s1ap_encode_s1ap_pathswitchrequesties(
|
|||
}
|
||||
|
||||
/* Optional field */
|
||||
if (s1ap_PathSwitchRequestIEs->presenceMask & S1AP_PATHSWITCHREQUESTIES_SOURCEMME_S1AP_GUMMEI_PRESENT) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_SourceMME_S1ap_GUMMEI,
|
||||
if (s1ap_PathSwitchRequestIEs->presenceMask & S1AP_PATHSWITCHREQUESTIES_SOURCEMME_GUMMEI_PRESENT) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_SourceMME_GUMMEI,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_GUMMEI,
|
||||
&s1ap_PathSwitchRequestIEs->sourceMME_S1ap_GUMMEI)) == NULL) {
|
||||
&s1ap_PathSwitchRequestIEs->sourceMME_GUMMEI)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_PathSwitchRequest->s1ap_PathSwitchRequest_ies.list, ie);
|
||||
|
@ -3828,14 +3608,22 @@ int s1ap_encode_s1ap_e_rabreleaseindicationies(
|
|||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABReleaseIndication->s1ap_E_RABReleaseIndication_ies.list, ie);
|
||||
|
||||
S1ap_E_RABList_t e_RABReleasedList;
|
||||
|
||||
memset(&e_RABReleasedList, 0, sizeof(S1ap_E_RABList_t));
|
||||
|
||||
if (s1ap_encode_s1ap_e_rablist(&e_RABReleasedList, &s1ap_E_RABReleaseIndicationIEs->e_RABReleasedList) < 0) return -1;
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABReleasedList,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABList,
|
||||
&s1ap_E_RABReleaseIndicationIEs->e_RABReleasedList)) == NULL) {
|
||||
&e_RABReleasedList)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABReleaseIndication->s1ap_E_RABReleaseIndication_ies.list, ie);
|
||||
|
||||
/* Free any dynamic allocation that is no more used */
|
||||
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_S1ap_E_RABList, &e_RABReleasedList);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -4040,14 +3828,22 @@ int s1ap_encode_s1ap_e_rabsetuprequesties(
|
|||
ASN_SEQUENCE_ADD(&s1ap_E_RABSetupRequest->s1ap_E_RABSetupRequest_ies.list, ie);
|
||||
}
|
||||
|
||||
S1ap_E_RABToBeSetupListBearerSUReq_t e_RABToBeSetupListBearerSUReq;
|
||||
|
||||
memset(&e_RABToBeSetupListBearerSUReq, 0, sizeof(S1ap_E_RABToBeSetupListBearerSUReq_t));
|
||||
|
||||
if (s1ap_encode_s1ap_e_rabtobesetuplistbearersureq(&e_RABToBeSetupListBearerSUReq, &s1ap_E_RABSetupRequestIEs->e_RABToBeSetupListBearerSUReq) < 0) return -1;
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABToBeSetupListBearerSUReq,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_E_RABToBeSetupListBearerSUReq,
|
||||
&s1ap_E_RABSetupRequestIEs->e_RABToBeSetupListBearerSUReq)) == NULL) {
|
||||
&e_RABToBeSetupListBearerSUReq)) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABSetupRequest->s1ap_E_RABSetupRequest_ies.list, ie);
|
||||
|
||||
/* Free any dynamic allocation that is no more used */
|
||||
ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_S1ap_E_RABToBeSetupListBearerSUReq, &e_RABToBeSetupListBearerSUReq);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -4226,6 +4022,28 @@ int s1ap_encode_s1ap_e_rabfailedtosetuplisthoreqack(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabreleaselistbearerrelcomp(
|
||||
S1ap_E_RABReleaseListBearerRelComp_t *s1ap_E_RABReleaseListBearerRelComp,
|
||||
S1ap_E_RABReleaseListBearerRelCompIEs_t *s1ap_E_RABReleaseListBearerRelCompIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABReleaseListBearerRelComp != NULL);
|
||||
assert(s1ap_E_RABReleaseListBearerRelCompIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_E_RABReleaseListBearerRelCompIEs->s1ap_E_RABReleaseItemBearerRelComp.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABReleaseItemBearerRelComp,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABReleaseItemBearerRelComp,
|
||||
s1ap_E_RABReleaseListBearerRelCompIEs->s1ap_E_RABReleaseItemBearerRelComp.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABReleaseListBearerRelComp->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabtobesetuplisthoreq(
|
||||
S1ap_E_RABToBeSetupListHOReq_t *s1ap_E_RABToBeSetupListHOReq,
|
||||
S1ap_E_RABToBeSetupListHOReqIEs_t *s1ap_E_RABToBeSetupListHOReqIEs) {
|
||||
|
@ -4248,6 +4066,28 @@ int s1ap_encode_s1ap_e_rabtobesetuplisthoreq(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabtobemodifiedlistbearermodreq(
|
||||
S1ap_E_RABToBeModifiedListBearerModReq_t *s1ap_E_RABToBeModifiedListBearerModReq,
|
||||
S1ap_E_RABToBeModifiedListBearerModReqIEs_t *s1ap_E_RABToBeModifiedListBearerModReqIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABToBeModifiedListBearerModReq != NULL);
|
||||
assert(s1ap_E_RABToBeModifiedListBearerModReqIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_E_RABToBeModifiedListBearerModReqIEs->s1ap_E_RABToBeModifiedItemBearerModReq.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABToBeModifiedItemBearerModReq,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_E_RABToBeModifiedItemBearerModReq,
|
||||
s1ap_E_RABToBeModifiedListBearerModReqIEs->s1ap_E_RABToBeModifiedItemBearerModReq.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABToBeModifiedListBearerModReq->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabadmittedlist(
|
||||
S1ap_E_RABAdmittedList_t *s1ap_E_RABAdmittedList,
|
||||
S1ap_E_RABAdmittedListIEs_t *s1ap_E_RABAdmittedListIEs) {
|
||||
|
@ -4270,6 +4110,28 @@ int s1ap_encode_s1ap_e_rabadmittedlist(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabtobesetuplistbearersureq(
|
||||
S1ap_E_RABToBeSetupListBearerSUReq_t *s1ap_E_RABToBeSetupListBearerSUReq,
|
||||
S1ap_E_RABToBeSetupListBearerSUReqIEs_t *s1ap_E_RABToBeSetupListBearerSUReqIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABToBeSetupListBearerSUReq != NULL);
|
||||
assert(s1ap_E_RABToBeSetupListBearerSUReqIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_E_RABToBeSetupListBearerSUReqIEs->s1ap_E_RABToBeSetupItemBearerSUReq.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABToBeSetupItemBearerSUReq,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_E_RABToBeSetupItemBearerSUReq,
|
||||
s1ap_E_RABToBeSetupListBearerSUReqIEs->s1ap_E_RABToBeSetupItemBearerSUReq.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABToBeSetupListBearerSUReq->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabdataforwardinglist(
|
||||
S1ap_E_RABDataForwardingList_t *s1ap_E_RABDataForwardingList,
|
||||
S1ap_E_RABDataForwardingListIEs_t *s1ap_E_RABDataForwardingListIEs) {
|
||||
|
@ -4314,6 +4176,28 @@ int s1ap_encode_s1ap_e_rabtobeswitcheddllist(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabsetuplistctxtsures(
|
||||
S1ap_E_RABSetupListCtxtSURes_t *s1ap_E_RABSetupListCtxtSURes,
|
||||
S1ap_E_RABSetupListCtxtSUResIEs_t *s1ap_E_RABSetupListCtxtSUResIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABSetupListCtxtSURes != NULL);
|
||||
assert(s1ap_E_RABSetupListCtxtSUResIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_E_RABSetupListCtxtSUResIEs->s1ap_E_RABSetupItemCtxtSURes.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABSetupItemCtxtSURes,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABSetupItemCtxtSURes,
|
||||
s1ap_E_RABSetupListCtxtSUResIEs->s1ap_E_RABSetupItemCtxtSURes.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABSetupListCtxtSURes->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabtobeswitchedullist(
|
||||
S1ap_E_RABToBeSwitchedULList_t *s1ap_E_RABToBeSwitchedULList,
|
||||
S1ap_E_RABToBeSwitchedULListIEs_t *s1ap_E_RABToBeSwitchedULListIEs) {
|
||||
|
@ -4336,3 +4220,201 @@ int s1ap_encode_s1ap_e_rabtobeswitchedullist(
|
|||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_bearers_subjecttostatustransfer_list(
|
||||
S1ap_Bearers_SubjectToStatusTransfer_List_t *s1ap_Bearers_SubjectToStatusTransfer_List,
|
||||
S1ap_Bearers_SubjectToStatusTransfer_ListIEs_t *s1ap_Bearers_SubjectToStatusTransfer_ListIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_Bearers_SubjectToStatusTransfer_List != NULL);
|
||||
assert(s1ap_Bearers_SubjectToStatusTransfer_ListIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_Bearers_SubjectToStatusTransfer_ListIEs->s1ap_Bearers_SubjectToStatusTransfer_Item.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_Bearers_SubjectToStatusTransfer_Item,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_Bearers_SubjectToStatusTransfer_Item,
|
||||
s1ap_Bearers_SubjectToStatusTransfer_ListIEs->s1ap_Bearers_SubjectToStatusTransfer_Item.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_Bearers_SubjectToStatusTransfer_List->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rablist(
|
||||
S1ap_E_RABList_t *s1ap_E_RABList,
|
||||
S1ap_E_RABListIEs_t *s1ap_E_RABListIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABList != NULL);
|
||||
assert(s1ap_E_RABListIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_E_RABListIEs->s1ap_E_RABItem.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABItem,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABItem,
|
||||
s1ap_E_RABListIEs->s1ap_E_RABItem.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABList->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_tailist(
|
||||
S1ap_TAIList_t *s1ap_TAIList,
|
||||
S1ap_TAIListIEs_t *s1ap_TAIListIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_TAIList != NULL);
|
||||
assert(s1ap_TAIListIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_TAIListIEs->s1ap_TAIItem.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_TAIItem,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_TAIItem,
|
||||
s1ap_TAIListIEs->s1ap_TAIItem.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_TAIList->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_ue_associatedlogicals1_connectionlistres(
|
||||
S1ap_UE_associatedLogicalS1_ConnectionListRes_t *s1ap_UE_associatedLogicalS1_ConnectionListRes,
|
||||
S1ap_UE_associatedLogicalS1_ConnectionListResIEs_t *s1ap_UE_associatedLogicalS1_ConnectionListResIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_UE_associatedLogicalS1_ConnectionListRes != NULL);
|
||||
assert(s1ap_UE_associatedLogicalS1_ConnectionListResIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_UE_associatedLogicalS1_ConnectionListResIEs->s1ap_UE_associatedLogicalS1_ConnectionItemRes.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_UE_associatedLogicalS1_ConnectionItem,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_UE_associatedLogicalS1_ConnectionItem,
|
||||
s1ap_UE_associatedLogicalS1_ConnectionListResIEs->s1ap_UE_associatedLogicalS1_ConnectionItemRes.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_UE_associatedLogicalS1_ConnectionListRes->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabsetuplistbearersures(
|
||||
S1ap_E_RABSetupListBearerSURes_t *s1ap_E_RABSetupListBearerSURes,
|
||||
S1ap_E_RABSetupListBearerSUResIEs_t *s1ap_E_RABSetupListBearerSUResIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABSetupListBearerSURes != NULL);
|
||||
assert(s1ap_E_RABSetupListBearerSUResIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_E_RABSetupListBearerSUResIEs->s1ap_E_RABSetupItemBearerSURes.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABSetupItemBearerSURes,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABSetupItemBearerSURes,
|
||||
s1ap_E_RABSetupListBearerSUResIEs->s1ap_E_RABSetupItemBearerSURes.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABSetupListBearerSURes->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabmodifylistbearermodres(
|
||||
S1ap_E_RABModifyListBearerModRes_t *s1ap_E_RABModifyListBearerModRes,
|
||||
S1ap_E_RABModifyListBearerModResIEs_t *s1ap_E_RABModifyListBearerModResIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABModifyListBearerModRes != NULL);
|
||||
assert(s1ap_E_RABModifyListBearerModResIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_E_RABModifyListBearerModResIEs->s1ap_E_RABModifyItemBearerModRes.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABModifyItemBearerModRes,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABModifyItemBearerModRes,
|
||||
s1ap_E_RABModifyListBearerModResIEs->s1ap_E_RABModifyItemBearerModRes.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABModifyListBearerModRes->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabtobesetuplistctxtsureq(
|
||||
S1ap_E_RABToBeSetupListCtxtSUReq_t *s1ap_E_RABToBeSetupListCtxtSUReq,
|
||||
S1ap_E_RABToBeSetupListCtxtSUReqIEs_t *s1ap_E_RABToBeSetupListCtxtSUReqIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABToBeSetupListCtxtSUReq != NULL);
|
||||
assert(s1ap_E_RABToBeSetupListCtxtSUReqIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_E_RABToBeSetupListCtxtSUReqIEs->s1ap_E_RABToBeSetupItemCtxtSUReq.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABToBeSetupItemCtxtSUReq,
|
||||
S1ap_Criticality_reject,
|
||||
&asn_DEF_S1ap_E_RABToBeSetupItemCtxtSUReq,
|
||||
s1ap_E_RABToBeSetupListCtxtSUReqIEs->s1ap_E_RABToBeSetupItemCtxtSUReq.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABToBeSetupListCtxtSUReq->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_e_rabinformationlist(
|
||||
S1ap_E_RABInformationList_t *s1ap_E_RABInformationList,
|
||||
S1ap_E_RABInformationListIEs_t *s1ap_E_RABInformationListIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_E_RABInformationList != NULL);
|
||||
assert(s1ap_E_RABInformationListIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_E_RABInformationListIEs->s1ap_E_RABInformationList.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_E_RABInformationListItem,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_E_RABInformationListItem,
|
||||
s1ap_E_RABInformationListIEs->s1ap_E_RABInformationList.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_E_RABInformationList->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int s1ap_encode_s1ap_ue_associatedlogicals1_connectionlistresack(
|
||||
S1ap_UE_associatedLogicalS1_ConnectionListResAck_t *s1ap_UE_associatedLogicalS1_ConnectionListResAck,
|
||||
S1ap_UE_associatedLogicalS1_ConnectionListResAckIEs_t *s1ap_UE_associatedLogicalS1_ConnectionListResAckIEs) {
|
||||
|
||||
int i;
|
||||
S1ap_IE_t *ie;
|
||||
|
||||
assert(s1ap_UE_associatedLogicalS1_ConnectionListResAck != NULL);
|
||||
assert(s1ap_UE_associatedLogicalS1_ConnectionListResAckIEs != NULL);
|
||||
|
||||
for (i = 0; i < s1ap_UE_associatedLogicalS1_ConnectionListResAckIEs->s1ap_UE_associatedLogicalS1_ConnectionItemResAck.count; i++) {
|
||||
if ((ie = s1ap_new_ie(S1ap_ProtocolIE_ID_id_UE_associatedLogicalS1_ConnectionItem,
|
||||
S1ap_Criticality_ignore,
|
||||
&asn_DEF_S1ap_UE_associatedLogicalS1_ConnectionItem,
|
||||
s1ap_UE_associatedLogicalS1_ConnectionListResAckIEs->s1ap_UE_associatedLogicalS1_ConnectionItemResAck.array[i])) == NULL) {
|
||||
return -1;
|
||||
}
|
||||
ASN_SEQUENCE_ADD(&s1ap_UE_associatedLogicalS1_ConnectionListResAck->list, ie);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -965,9 +965,9 @@ FROM S1AP-Containers
|
|||
id-PS-ServiceNotAvailable,
|
||||
id-RegisteredLAI,
|
||||
id-GUMMEIList,
|
||||
id-SourceMME-S1ap-GUMMEI,
|
||||
id-SourceMME-GUMMEI,
|
||||
id-MME-UE-S1AP-ID-2,
|
||||
id-GW-S1ap-TransportLayerAddress,
|
||||
id-GW-TransportLayerAddress,
|
||||
id-RelayNode-Indicator,
|
||||
id-Correlation-ID,
|
||||
id-MMERelaySupportIndicator,
|
||||
|
@ -1338,7 +1338,7 @@ S1ap-PathSwitchRequestIEs S1AP-PROTOCOL-IES ::= {
|
|||
{ ID id-UESecurityCapabilities CRITICALITY ignore TYPE S1ap-UESecurityCapabilities PRESENCE mandatory}|
|
||||
{ ID id-CSG-Id CRITICALITY ignore TYPE S1ap-CSG-Id PRESENCE optional}|
|
||||
{ ID id-CellAccessMode CRITICALITY ignore TYPE S1ap-CellAccessMode PRESENCE optional}|
|
||||
{ ID id-SourceMME-S1ap-GUMMEI CRITICALITY ignore TYPE S1ap-GUMMEI PRESENCE optional},
|
||||
{ ID id-SourceMME-GUMMEI CRITICALITY ignore TYPE S1ap-GUMMEI PRESENCE optional},
|
||||
...
|
||||
}
|
||||
|
||||
|
@ -1517,7 +1517,7 @@ S1ap-E-RABSetupRequestIEs S1AP-PROTOCOL-IES ::= {
|
|||
}
|
||||
|
||||
|
||||
S1ap-E-RABToBeSetupListBearerSUReq ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF S1ap-IE
|
||||
S1ap-E-RABToBeSetupListBearerSUReq ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF ProtocolIE-SingleContainer { {S1ap-E-RABToBeSetupItemBearerSUReqIEs} }
|
||||
|
||||
|
||||
S1ap-E-RABToBeSetupItemBearerSUReqIEs S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -1572,7 +1572,7 @@ S1ap-E-RABSetupResponseIEs S1AP-PROTOCOL-IES ::= {
|
|||
|
||||
|
||||
|
||||
S1ap-E-RABSetupListBearerSURes ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF S1ap-IE
|
||||
S1ap-E-RABSetupListBearerSURes ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF ProtocolIE-SingleContainer { {S1ap-E-RABSetupItemBearerSUResIEs} }
|
||||
|
||||
|
||||
S1ap-E-RABSetupItemBearerSUResIEs S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -1630,7 +1630,7 @@ S1ap-E-RABModifyRequestIEs S1AP-PROTOCOL-IES ::= {
|
|||
}
|
||||
|
||||
|
||||
S1ap-E-RABToBeModifiedListBearerModReq ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF S1ap-IE
|
||||
S1ap-E-RABToBeModifiedListBearerModReq ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF ProtocolIE-SingleContainer { {S1ap-E-RABToBeModifiedItemBearerModReqIEs} }
|
||||
|
||||
|
||||
S1ap-E-RABToBeModifiedItemBearerModReqIEs S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -1684,7 +1684,7 @@ S1ap-E-RABModifyResponseIEs S1AP-PROTOCOL-IES ::= {
|
|||
|
||||
|
||||
|
||||
S1ap-E-RABModifyListBearerModRes ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF S1ap-IE
|
||||
S1ap-E-RABModifyListBearerModRes ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF ProtocolIE-SingleContainer { {S1ap-E-RABModifyItemBearerModResIEs} }
|
||||
|
||||
|
||||
S1ap-E-RABModifyItemBearerModResIEs S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -1770,7 +1770,7 @@ S1ap-E-RABReleaseResponseIEs S1AP-PROTOCOL-IES ::= {
|
|||
|
||||
|
||||
|
||||
S1ap-E-RABReleaseListBearerRelComp ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF S1ap-IE
|
||||
S1ap-E-RABReleaseListBearerRelComp ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF ProtocolIE-SingleContainer { {S1ap-E-RABReleaseItemBearerRelCompIEs} }
|
||||
|
||||
|
||||
S1ap-E-RABReleaseItemBearerRelCompIEs S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -1871,7 +1871,7 @@ S1ap-InitialContextSetupRequestIEs S1AP-PROTOCOL-IES ::= {
|
|||
|
||||
|
||||
|
||||
S1ap-E-RABToBeSetupListCtxtSUReq ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF S1ap-IE
|
||||
S1ap-E-RABToBeSetupListCtxtSUReq ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF ProtocolIE-SingleContainer { {S1ap-E-RABToBeSetupItemCtxtSUReqIEs} }
|
||||
|
||||
|
||||
S1ap-E-RABToBeSetupItemCtxtSUReqIEs S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -1926,7 +1926,7 @@ S1ap-InitialContextSetupResponseIEs S1AP-PROTOCOL-IES ::= {
|
|||
|
||||
|
||||
|
||||
S1ap-E-RABSetupListCtxtSURes ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF S1ap-IE
|
||||
S1ap-E-RABSetupListCtxtSURes ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF ProtocolIE-SingleContainer { {S1ap-E-RABSetupItemCtxtSUResIEs} }
|
||||
|
||||
|
||||
S1ap-E-RABSetupItemCtxtSUResIEs S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -2009,7 +2009,7 @@ S1ap-PagingIEs S1AP-PROTOCOL-IES ::= {
|
|||
}
|
||||
|
||||
|
||||
S1ap-TAIList::= SEQUENCE (SIZE(1.. s1ap-maxnoofTAIs)) OF S1ap-IE
|
||||
S1ap-TAIList::= SEQUENCE (SIZE(1.. s1ap-maxnoofTAIs)) OF ProtocolIE-SingleContainer {{S1ap-TAIItemIEs}}
|
||||
|
||||
|
||||
S1ap-TAIItemIEs S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -2232,7 +2232,7 @@ S1ap-InitialUEMessage-IEs S1AP-PROTOCOL-IES ::= {
|
|||
{ ID id-CSG-Id CRITICALITY reject TYPE S1ap-CSG-Id PRESENCE optional} |
|
||||
{ ID id-GUMMEI-ID CRITICALITY reject TYPE S1ap-GUMMEI PRESENCE optional} |
|
||||
{ ID id-CellAccessMode CRITICALITY reject TYPE S1ap-CellAccessMode PRESENCE optional} |
|
||||
{ ID id-GW-S1ap-TransportLayerAddress CRITICALITY ignore TYPE S1ap-TransportLayerAddress PRESENCE optional} |
|
||||
{ ID id-GW-TransportLayerAddress CRITICALITY ignore TYPE S1ap-TransportLayerAddress PRESENCE optional} |
|
||||
{ ID id-RelayNode-Indicator CRITICALITY reject TYPE S1ap-RelayNode-Indicator PRESENCE optional},
|
||||
...
|
||||
}
|
||||
|
@ -2259,7 +2259,7 @@ S1ap-UplinkNASTransport-IEs S1AP-PROTOCOL-IES ::= {
|
|||
{ ID id-NAS-PDU CRITICALITY reject TYPE S1ap-NAS-PDU PRESENCE mandatory} |
|
||||
{ ID id-EUTRAN-CGI CRITICALITY ignore TYPE S1ap-EUTRAN-CGI PRESENCE mandatory} |
|
||||
{ ID id-TAI CRITICALITY ignore TYPE S1ap-TAI PRESENCE mandatory} |
|
||||
{ ID id-GW-S1ap-TransportLayerAddress CRITICALITY ignore TYPE S1ap-TransportLayerAddress PRESENCE optional},
|
||||
{ ID id-GW-TransportLayerAddress CRITICALITY ignore TYPE S1ap-TransportLayerAddress PRESENCE optional},
|
||||
...
|
||||
}
|
||||
-- **************************************************************
|
||||
|
@ -2328,7 +2328,7 @@ S1ap-ResetAll ::= ENUMERATED {
|
|||
}
|
||||
|
||||
|
||||
S1ap-UE-associatedLogicalS1-ConnectionListRes ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfIndividualS1ConnectionsToReset)) OF S1ap-IE
|
||||
S1ap-UE-associatedLogicalS1-ConnectionListRes ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfIndividualS1ConnectionsToReset)) OF ProtocolIE-SingleContainer { { S1ap-UE-associatedLogicalS1-ConnectionItemRes } }
|
||||
|
||||
|
||||
S1ap-UE-associatedLogicalS1-ConnectionItemRes S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -2359,7 +2359,7 @@ S1ap-ResetAcknowledgeIEs S1AP-PROTOCOL-IES ::= {
|
|||
}
|
||||
|
||||
|
||||
S1ap-UE-associatedLogicalS1-ConnectionListResAck ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfIndividualS1ConnectionsToReset)) OF S1ap-IE
|
||||
S1ap-UE-associatedLogicalS1-ConnectionListResAck ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfIndividualS1ConnectionsToReset)) OF ProtocolIE-SingleContainer { { S1ap-UE-associatedLogicalS1-ConnectionItemResAck } }
|
||||
|
||||
|
||||
S1ap-UE-associatedLogicalS1-ConnectionItemResAck S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -3438,7 +3438,7 @@ S1ap-AllocationAndRetentionPriority-ExtIEs S1AP-PROTOCOL-EXTENSION ::= {
|
|||
-- B
|
||||
|
||||
|
||||
S1ap-Bearers-SubjectToStatusTransfer-List ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF S1ap-IE
|
||||
S1ap-Bearers-SubjectToStatusTransfer-List ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF ProtocolIE-SingleContainer { { S1ap-Bearers-SubjectToStatusTransfer-ItemIEs } }
|
||||
|
||||
|
||||
S1ap-Bearers-SubjectToStatusTransfer-ItemIEs S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -4009,7 +4009,7 @@ S1ap-EventType ::= ENUMERATED {
|
|||
S1ap-E-RAB-ID ::= INTEGER (0..15, ...)
|
||||
|
||||
|
||||
S1ap-E-RABInformationList ::= SEQUENCE (SIZE (1.. s1ap-maxNrOfE-RABs)) OF S1ap-IE
|
||||
S1ap-E-RABInformationList ::= SEQUENCE (SIZE (1.. s1ap-maxNrOfE-RABs)) OF ProtocolIE-SingleContainer { { S1ap-E-RABInformationListIEs } }
|
||||
|
||||
|
||||
S1ap-E-RABInformationListIEs S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -4031,7 +4031,7 @@ S1ap-E-RABInformationListItem-ExtIEs S1AP-PROTOCOL-EXTENSION ::= {
|
|||
}
|
||||
|
||||
|
||||
S1ap-E-RABList ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF S1ap-IE
|
||||
S1ap-E-RABList ::= SEQUENCE (SIZE(1.. s1ap-maxNrOfE-RABs)) OF ProtocolIE-SingleContainer { {S1ap-E-RABItemIEs} }
|
||||
|
||||
|
||||
S1ap-E-RABItemIEs S1AP-PROTOCOL-IES ::= {
|
||||
|
@ -5429,9 +5429,9 @@ S1ap-ProtocolIE-ID ::= INTEGER {
|
|||
id-x2TNLConfigurationInfo(152),
|
||||
id-eNBX2ExtendedTransportLayerAddresses(153),
|
||||
id-GUMMEIList(154),
|
||||
id-GW-S1ap-S1ap-TransportLayerAddress(155),
|
||||
id-GW-TransportLayerAddress(155),
|
||||
id-Correlation-ID(156),
|
||||
id-SourceMME-S1ap-S1ap-GUMMEI(157),
|
||||
id-SourceMME-GUMMEI(157),
|
||||
id-MME-UE-S1AP-ID-2(158),
|
||||
id-RegisteredLAI(159),
|
||||
id-RelayNode-Indicator(160),
|
||||
|
@ -5735,9 +5735,9 @@ id-PagingPriority
|
|||
id-x2TNLConfigurationInfo S1ap-ProtocolIE-ID ::= 152
|
||||
id-eNBX2ExtendedTransportLayerAddresses S1ap-ProtocolIE-ID ::= 153
|
||||
id-GUMMEIList S1ap-ProtocolIE-ID ::= 154
|
||||
id-GW-S1ap-TransportLayerAddress S1ap-ProtocolIE-ID ::= 155
|
||||
id-GW-TransportLayerAddress S1ap-ProtocolIE-ID ::= 155
|
||||
id-Correlation-ID S1ap-ProtocolIE-ID ::= 156
|
||||
id-SourceMME-S1ap-GUMMEI S1ap-ProtocolIE-ID ::= 157
|
||||
id-SourceMME-GUMMEI S1ap-ProtocolIE-ID ::= 157
|
||||
id-MME-UE-S1AP-ID-2 S1ap-ProtocolIE-ID ::= 158
|
||||
id-RegisteredLAI S1ap-ProtocolIE-ID ::= 159
|
||||
id-RelayNode-Indicator S1ap-ProtocolIE-ID ::= 160
|
||||
|
|
|
@ -123,7 +123,11 @@ for line in in_file:
|
|||
line = structPattern.sub(lambda x: structReplacements[x.group()], line)
|
||||
line = constantPattern.sub(lambda x: constantReplacements[x.group()], line)
|
||||
line = line.replace('id-S1ap', 'id')
|
||||
line = re.sub(r'OF\sProtocolIE-SingleContainer\s*{\s*{\s*[\w-]+\s*}\s*}', 'OF S1ap-IE', line)
|
||||
line = line.replace('GW-S1ap-S1ap-TransportLayerAddress', 'GW-TransportLayerAddress')
|
||||
line = line.replace('GW-S1ap-TransportLayerAddress', 'GW-TransportLayerAddress')
|
||||
line = line.replace('SourceMME-S1ap-S1ap-GUMMEI', 'SourceMME-GUMMEI')
|
||||
line = line.replace('SourceMME-S1ap-GUMMEI', 'SourceMME-GUMMEI')
|
||||
# line = re.sub(r'OF\sProtocolIE-SingleContainer\s*{\s*{\s*[\w-]+\s*}\s*}', 'OF S1ap-IE', line)
|
||||
out_file.write(line)
|
||||
|
||||
in_file.close()
|
||||
|
|
|
@ -352,7 +352,7 @@ f.write("#endif /* %s_IES_DEFS_H_ */\n\n" % (fileprefix.upper()))
|
|||
#Generate Decode functions
|
||||
f = open(outdir + fileprefix + '_decoder.c', 'w')
|
||||
outputHeaderToFile(f, filename)
|
||||
f.write("#include \"%s_common.h\"\n#include \"%s_ies_defs.h\"\n#include \"log.h\"\n\n" % (fileprefix, fileprefix))
|
||||
f.write("#define TRACE_MODULE s1ap_decoder\n#include \"%s_common.h\"\n#include \"%s_ies_defs.h\"\n#include \"core_debug.h\"\n\n" % (fileprefix, fileprefix))
|
||||
for key in iesDefs:
|
||||
if key in ieofielist.values():
|
||||
continue
|
||||
|
@ -386,7 +386,7 @@ for key in iesDefs:
|
|||
if len(iesDefs[key]["ies"]) != 0:
|
||||
f.write(" assert(%s != NULL);\n\n" % (lowerFirstCamelWord(re.sub('-', '_', key))))
|
||||
|
||||
f.write(" OAILOG_DEBUG (LOG_%s, \"Decoding message %s (%%s:%%d)\\n\", __FILE__, __LINE__);\n\n" % (fileprefix.upper(), re.sub('-', '_', keyName)))
|
||||
f.write(" d_trace(3, \"Decoding message %s (%%s:%%d)\\n\", __FILE__, __LINE__);\n\n" % re.sub('-', '_', keyName))
|
||||
f.write(" ANY_to_type_aper(any_p, &asn_DEF_%s, (void**)&%s_p);\n\n" % (asn1cStruct, asn1cStructfirstlower))
|
||||
f.write(" for (i = 0; i < %s_p->%slist.count; i++) {\n" % (asn1cStructfirstlower, iesaccess))
|
||||
f.write(" %s_IE_t *ie_p;\n" % (fileprefix[0].upper() + fileprefix[1:]))
|
||||
|
@ -411,7 +411,7 @@ for key in iesDefs:
|
|||
f.write(" %s->presenceMask |= %s_%s_PRESENT;\n" % (lowerFirstCamelWord(re.sub('-', '_', key)), keyupperunderscore, ieupperunderscore))
|
||||
f.write(" tempDecoded = ANY_to_type_aper(&ie_p->value, &asn_DEF_%s, (void**)&%s_p);\n" % (ietypeunderscore, lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" if (tempDecoded < 0 || %s_p == NULL) {\n" % (lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" OAILOG_ERROR (LOG_%s, \"Decoding of IE %s failed\\n\");\n" % (fileprefix.upper(), ienameunderscore))
|
||||
f.write(" d_error(\"Decoding of IE %s failed\\n\");\n" % (ienameunderscore))
|
||||
f.write(" if (%s_p)\n" % (lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" ASN_STRUCT_FREE(asn_DEF_%s, %s_p);\n" % (ietypeunderscore, lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" return -1;\n")
|
||||
|
@ -421,7 +421,7 @@ for key in iesDefs:
|
|||
f.write(" xer_fprint(stdout, &asn_DEF_%s, %s_p);\n" % (ietypeunderscore, lowerFirstCamelWord(ietypesubst)))
|
||||
if ie[2] in ieofielist.keys():
|
||||
f.write(" if (%s_decode_%s(&%s->%s, %s_p) < 0) {\n" % (fileprefix, ietypeunderscore.lower(), lowerFirstCamelWord(re.sub('-', '_', key)), ienameunderscore, lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" OAILOG_ERROR (LOG_%s, \"Decoding of encapsulated IE %s failed\\n\");\n" % (fileprefix.upper(), lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" d_error(\"Decoding of encapsulated IE %s failed\\n\");\n" % (lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" ASN_STRUCT_FREE(asn_DEF_%s, %s_p);\n" % (ietypeunderscore, lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" }\n")
|
||||
else:
|
||||
|
@ -429,7 +429,7 @@ for key in iesDefs:
|
|||
#f.write(" ASN_STRUCT_FREE(asn_DEF_%s, %s_p);\n" % (ietypeunderscore, lowerFirstCamelWord(ietypesubst)))
|
||||
f.write(" } break;\n")
|
||||
f.write(" default:\n")
|
||||
f.write(" OAILOG_ERROR (LOG_%s, \"Unknown protocol IE id (%%d) for message %s\\n\", (int)ie_p->id);\n" % (fileprefix.upper(), re.sub('-', '_', structName.lower())))
|
||||
f.write(" d_error(\"Unknown protocol IE id (%%d) for message %s\\n\", (int)ie_p->id);\n" % (re.sub('-', '_', structName.lower())))
|
||||
f.write(" return -1;\n")
|
||||
f.write(" }\n")
|
||||
f.write(" }\n")
|
||||
|
@ -462,7 +462,7 @@ for key in iesDefs:
|
|||
f.write(" %s_t *%s_p = NULL;\n" % (re.sub('-', '_', ie[2]), lowerFirstCamelWord(re.sub('-', '', ie[2]))))
|
||||
f.write(" tempDecoded = ANY_to_type_aper(&ie_p->value, &asn_DEF_%s, (void**)&%s_p);\n" % (re.sub('-', '_', ie[2]), lowerFirstCamelWord(re.sub('-', '', ie[2]))))
|
||||
f.write(" if (tempDecoded < 0 || %s_p == NULL) {\n" % (lowerFirstCamelWord(re.sub('-', '', ie[2]))))
|
||||
f.write(" OAILOG_ERROR (LOG_%s, \"Decoding of IE %s for message %s failed\\n\");\n" % (fileprefix.upper(), ienameunderscore, re.sub('-', '_', keyname)))
|
||||
f.write(" d_error(\"Decoding of IE %s for message %s failed\\n\");\n" % (ienameunderscore, re.sub('-', '_', keyname)))
|
||||
f.write(" if (%s_p)\n" % (lowerFirstCamelWord(re.sub('-', '', ie[2]))))
|
||||
#f.write(" free(%s_p);\n" % (lowerFirstCamelWord(re.sub('-', '', ie[2]))))
|
||||
f.write(" ASN_STRUCT_FREE(asn_DEF_%s, %s_p);\n" % (re.sub('-', '_', ie[2]), lowerFirstCamelWord(re.sub('-', '', ie[2]))))
|
||||
|
@ -475,7 +475,7 @@ for key in iesDefs:
|
|||
re.sub('IEs', '', lowerFirstCamelWord(re.sub('-', '_', key))), lowerFirstCamelWord(re.sub('-', '', ie[2]))))
|
||||
f.write(" } break;\n")
|
||||
f.write(" default:\n")
|
||||
f.write(" OAILOG_ERROR (LOG_%s, \"Unknown protocol IE id (%%d) for message %s\\n\", (int)ie_p->id);\n" % (fileprefix.upper(), re.sub('-', '_', structName.lower())))
|
||||
f.write(" d_error(\"Unknown protocol IE id (%%d) for message %s\\n\", (int)ie_p->id);\n" % (re.sub('-', '_', structName.lower())))
|
||||
f.write(" return -1;\n")
|
||||
f.write(" }\n")
|
||||
f.write(" }\n")
|
||||
|
@ -646,19 +646,19 @@ xer_encode_local(asn_TYPE_descriptor_t *td, void *sptr,
|
|||
mname = td->xml_tag;
|
||||
mlen = strlen(mname);
|
||||
|
||||
_i_ASN_TEXT_INDENT(0, indent);
|
||||
_ASN_CALLBACK3("<", 1, mname, mlen, ">", 1);
|
||||
ASN__TEXT_INDENT(0, indent);
|
||||
ASN__CALLBACK3("<", 1, mname, mlen, ">", 1);
|
||||
|
||||
tmper = td->xer_encoder(td, sptr, indent + 1, XER_F_BASIC, cb, app_key);
|
||||
if(tmper.encoded == -1) return tmper;
|
||||
|
||||
_ASN_CALLBACK3("</", 2, mname, mlen, ">\\n", xcan);
|
||||
ASN__CALLBACK3("</", 2, mname, mlen, ">\\n", xcan);
|
||||
|
||||
er.encoded = 4 + xcan + (2 * mlen) + tmper.encoded;
|
||||
|
||||
_ASN_ENCODED_OK(er);
|
||||
ASN__ENCODED_OK(er);
|
||||
cb_failed:
|
||||
_ASN_ENCODE_FAILED;
|
||||
ASN__ENCODE_FAILED;
|
||||
}
|
||||
""")
|
||||
|
||||
|
@ -726,7 +726,7 @@ for (key, value) in iesDefs.items():
|
|||
f.write(" cb(\" </%s>\\n\", %d, app_key);\n" % (key, len(" </%s>\n" % (key))))
|
||||
f.write(" cb(\"</%s-PDU>\\n\", %d, app_key);\n" % (key, len("</%s-PDU>\n" % (key))))
|
||||
|
||||
f.write(" _ASN_ENCODED_OK(er);\n")
|
||||
f.write(" ASN__ENCODED_OK(er);\n")
|
||||
#if key not in ieofielist.values():
|
||||
#f.write("cb_failed:\n")
|
||||
#f.write(" return er;\n")
|
||||
|
|
Loading…
Reference in New Issue