2 * Copyright 2019 AT&T Intellectual Property
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19 * platform project (RICP).
25 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26 * From ASN.1 module "E2AP-PDU-Descriptions"
27 * found in "../../asnFiles/e2ap-v031.asn"
28 * `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
33 #include "InitiatingMessage.h"
34 #include "SuccessfulOutcome.h"
35 #include "UnsuccessfulOutcome.h"
36 static asn_per_constraints_t asn_PER_type_E2AP_PDU_constr_1 CC_NOTUSED = {
37 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 2 } /* (0..2,...) */,
38 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
39 0, 0 /* No PER value map */
41 static asn_TYPE_member_t asn_MBR_E2AP_PDU_1[] = {
42 { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.initiatingMessage),
43 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
44 -1, /* IMPLICIT tag at current level */
45 &asn_DEF_InitiatingMessage,
48 0, 0, /* No default value */
51 { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.successfulOutcome),
52 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
53 -1, /* IMPLICIT tag at current level */
54 &asn_DEF_SuccessfulOutcome,
57 0, 0, /* No default value */
60 { ATF_POINTER, 0, offsetof(struct E2AP_PDU, choice.unsuccessfulOutcome),
61 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
62 -1, /* IMPLICIT tag at current level */
63 &asn_DEF_UnsuccessfulOutcome,
66 0, 0, /* No default value */
70 static const asn_TYPE_tag2member_t asn_MAP_E2AP_PDU_tag2el_1[] = {
71 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* initiatingMessage */
72 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* successfulOutcome */
73 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* unsuccessfulOutcome */
75 static asn_CHOICE_specifics_t asn_SPC_E2AP_PDU_specs_1 = {
76 sizeof(struct E2AP_PDU),
77 offsetof(struct E2AP_PDU, _asn_ctx),
78 offsetof(struct E2AP_PDU, present),
79 sizeof(((struct E2AP_PDU *)0)->present),
80 asn_MAP_E2AP_PDU_tag2el_1,
81 3, /* Count of tags in the map */
83 3 /* Extensions start */
85 asn_TYPE_descriptor_t asn_DEF_E2AP_PDU = {
89 0, /* No effective tags (pointer) */
90 0, /* No effective tags (count) */
91 0, /* No tags (pointer) */
92 0, /* No tags (count) */
93 { 0, &asn_PER_type_E2AP_PDU_constr_1, CHOICE_constraint },
95 3, /* Elements count */
96 &asn_SPC_E2AP_PDU_specs_1 /* Additional specs */