Juha Hyttinen | ff8dccd | 2019-12-10 14:34:07 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "X2AP-IEs" |
| 4 | * found in "Spec/e2_and_x2-combined-and-minimized.asn1" |
| 5 | * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example` |
| 6 | */ |
| 7 | |
| 8 | #include "CriticalityDiagnostics-IE-List.h" |
| 9 | |
| 10 | #include "ProtocolExtensionContainer.h" |
| 11 | asn_per_constraints_t asn_PER_type_CriticalityDiagnostics_IE_List_constr_1 CC_NOTUSED = { |
| 12 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 13 | { APC_CONSTRAINED, 8, 8, 1, 256 } /* (SIZE(1..256)) */, |
| 14 | 0, 0 /* No PER value map */ |
| 15 | }; |
| 16 | static asn_TYPE_member_t asn_MBR_Member_2[] = { |
| 17 | { ATF_NOFLAGS, 0, offsetof(struct CriticalityDiagnostics_IE_List__Member, iECriticality), |
| 18 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 19 | -1, /* IMPLICIT tag at current level */ |
| 20 | &asn_DEF_Criticality, |
| 21 | 0, |
| 22 | { 0, 0, 0 }, |
| 23 | 0, 0, /* No default value */ |
| 24 | "iECriticality" |
| 25 | }, |
| 26 | { ATF_NOFLAGS, 0, offsetof(struct CriticalityDiagnostics_IE_List__Member, iE_ID), |
| 27 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 28 | -1, /* IMPLICIT tag at current level */ |
| 29 | &asn_DEF_ProtocolIE_ID, |
| 30 | 0, |
| 31 | { 0, 0, 0 }, |
| 32 | 0, 0, /* No default value */ |
| 33 | "iE-ID" |
| 34 | }, |
| 35 | { ATF_NOFLAGS, 0, offsetof(struct CriticalityDiagnostics_IE_List__Member, typeOfError), |
| 36 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 37 | -1, /* IMPLICIT tag at current level */ |
| 38 | &asn_DEF_TypeOfError, |
| 39 | 0, |
| 40 | { 0, 0, 0 }, |
| 41 | 0, 0, /* No default value */ |
| 42 | "typeOfError" |
| 43 | }, |
| 44 | { ATF_POINTER, 1, offsetof(struct CriticalityDiagnostics_IE_List__Member, iE_Extensions), |
| 45 | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
| 46 | -1, /* IMPLICIT tag at current level */ |
| 47 | &asn_DEF_ProtocolExtensionContainer_8858P34, |
| 48 | 0, |
| 49 | { 0, 0, 0 }, |
| 50 | 0, 0, /* No default value */ |
| 51 | "iE-Extensions" |
| 52 | }, |
| 53 | }; |
| 54 | static const int asn_MAP_Member_oms_2[] = { 3 }; |
| 55 | static const ber_tlv_tag_t asn_DEF_Member_tags_2[] = { |
| 56 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 57 | }; |
| 58 | static const asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = { |
| 59 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* iECriticality */ |
| 60 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* iE-ID */ |
| 61 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* typeOfError */ |
| 62 | { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */ |
| 63 | }; |
| 64 | static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_2 = { |
| 65 | sizeof(struct CriticalityDiagnostics_IE_List__Member), |
| 66 | offsetof(struct CriticalityDiagnostics_IE_List__Member, _asn_ctx), |
| 67 | asn_MAP_Member_tag2el_2, |
| 68 | 4, /* Count of tags in the map */ |
| 69 | asn_MAP_Member_oms_2, /* Optional members */ |
| 70 | 1, 0, /* Root/Additions */ |
| 71 | 4, /* First extension addition */ |
| 72 | }; |
| 73 | static /* Use -fall-defs-global to expose */ |
| 74 | asn_TYPE_descriptor_t asn_DEF_Member_2 = { |
| 75 | "SEQUENCE", |
| 76 | "SEQUENCE", |
| 77 | &asn_OP_SEQUENCE, |
| 78 | asn_DEF_Member_tags_2, |
| 79 | sizeof(asn_DEF_Member_tags_2) |
| 80 | /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */ |
| 81 | asn_DEF_Member_tags_2, /* Same as above */ |
| 82 | sizeof(asn_DEF_Member_tags_2) |
| 83 | /sizeof(asn_DEF_Member_tags_2[0]), /* 1 */ |
| 84 | { 0, 0, SEQUENCE_constraint }, |
| 85 | asn_MBR_Member_2, |
| 86 | 4, /* Elements count */ |
| 87 | &asn_SPC_Member_specs_2 /* Additional specs */ |
| 88 | }; |
| 89 | |
| 90 | asn_TYPE_member_t asn_MBR_CriticalityDiagnostics_IE_List_1[] = { |
| 91 | { ATF_POINTER, 0, 0, |
| 92 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), |
| 93 | 0, |
| 94 | &asn_DEF_Member_2, |
| 95 | 0, |
| 96 | { 0, 0, 0 }, |
| 97 | 0, 0, /* No default value */ |
| 98 | "" |
| 99 | }, |
| 100 | }; |
| 101 | static const ber_tlv_tag_t asn_DEF_CriticalityDiagnostics_IE_List_tags_1[] = { |
| 102 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 103 | }; |
| 104 | asn_SET_OF_specifics_t asn_SPC_CriticalityDiagnostics_IE_List_specs_1 = { |
| 105 | sizeof(struct CriticalityDiagnostics_IE_List), |
| 106 | offsetof(struct CriticalityDiagnostics_IE_List, _asn_ctx), |
| 107 | 0, /* XER encoding is XMLDelimitedItemList */ |
| 108 | }; |
| 109 | asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnostics_IE_List = { |
| 110 | "CriticalityDiagnostics-IE-List", |
| 111 | "CriticalityDiagnostics-IE-List", |
| 112 | &asn_OP_SEQUENCE_OF, |
| 113 | asn_DEF_CriticalityDiagnostics_IE_List_tags_1, |
| 114 | sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1) |
| 115 | /sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1[0]), /* 1 */ |
| 116 | asn_DEF_CriticalityDiagnostics_IE_List_tags_1, /* Same as above */ |
| 117 | sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1) |
| 118 | /sizeof(asn_DEF_CriticalityDiagnostics_IE_List_tags_1[0]), /* 1 */ |
| 119 | { 0, &asn_PER_type_CriticalityDiagnostics_IE_List_constr_1, SEQUENCE_OF_constraint }, |
| 120 | asn_MBR_CriticalityDiagnostics_IE_List_1, |
| 121 | 1, /* Single element */ |
| 122 | &asn_SPC_CriticalityDiagnostics_IE_List_specs_1 /* Additional specs */ |
| 123 | }; |
| 124 | |