d5cb378eaee9ddd5aec1d3d3a664e889fe7d5139
[o-du/l2.git] / src / codec_utils / F1AP / F1AP-PDU.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "F1AP-PDU-Descriptions"
4  *      found in "F1.asn1"
5  *      `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "F1AP-PDU.h"
9
10 #include "InitiatingMessage.h"
11 #include "SuccessfulOutcome.h"
12 #include "UnsuccessfulOutcome.h"
13 #include "ProtocolIE-SingleContainer.h"
14 static asn_oer_constraints_t asn_OER_type_F1AP_PDU_constr_1 CC_NOTUSED = {
15         { 0, 0 },
16         -1};
17 static asn_per_constraints_t asn_PER_type_F1AP_PDU_constr_1 CC_NOTUSED = {
18         { APC_CONSTRAINED,       2,  2,  0,  3 }        /* (0..3) */,
19         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
20         0, 0    /* No PER value map */
21 };
22 static asn_TYPE_member_t asn_MBR_F1AP_PDU_1[] = {
23         { ATF_POINTER, 0, offsetof(struct F1AP_PDU, choice.initiatingMessage),
24                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25                 -1,     /* IMPLICIT tag at current level */
26                 &asn_DEF_InitiatingMessage,
27                 0,
28                 { 0, 0, 0 },
29                 0, 0, /* No default value */
30                 "initiatingMessage"
31                 },
32         { ATF_POINTER, 0, offsetof(struct F1AP_PDU, choice.successfulOutcome),
33                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
34                 -1,     /* IMPLICIT tag at current level */
35                 &asn_DEF_SuccessfulOutcome,
36                 0,
37                 { 0, 0, 0 },
38                 0, 0, /* No default value */
39                 "successfulOutcome"
40                 },
41         { ATF_POINTER, 0, offsetof(struct F1AP_PDU, choice.unsuccessfulOutcome),
42                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
43                 -1,     /* IMPLICIT tag at current level */
44                 &asn_DEF_UnsuccessfulOutcome,
45                 0,
46                 { 0, 0, 0 },
47                 0, 0, /* No default value */
48                 "unsuccessfulOutcome"
49                 },
50         { ATF_POINTER, 0, offsetof(struct F1AP_PDU, choice.choice_extension),
51                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
52                 -1,     /* IMPLICIT tag at current level */
53                 &asn_DEF_ProtocolIE_SingleContainer_4590P0,
54                 0,
55                 { 0, 0, 0 },
56                 0, 0, /* No default value */
57                 "choice-extension"
58                 },
59 };
60 static const asn_TYPE_tag2member_t asn_MAP_F1AP_PDU_tag2el_1[] = {
61     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* initiatingMessage */
62     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* successfulOutcome */
63     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* unsuccessfulOutcome */
64     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* choice-extension */
65 };
66 static asn_CHOICE_specifics_t asn_SPC_F1AP_PDU_specs_1 = {
67         sizeof(struct F1AP_PDU),
68         offsetof(struct F1AP_PDU, _asn_ctx),
69         offsetof(struct F1AP_PDU, present),
70         sizeof(((struct F1AP_PDU *)0)->present),
71         asn_MAP_F1AP_PDU_tag2el_1,
72         4,      /* Count of tags in the map */
73         0, 0,
74         -1      /* Extensions start */
75 };
76 asn_TYPE_descriptor_t asn_DEF_F1AP_PDU = {
77         "F1AP-PDU",
78         "F1AP-PDU",
79         &asn_OP_CHOICE,
80         0,      /* No effective tags (pointer) */
81         0,      /* No effective tags (count) */
82         0,      /* No tags (pointer) */
83         0,      /* No tags (count) */
84         { &asn_OER_type_F1AP_PDU_constr_1, &asn_PER_type_F1AP_PDU_constr_1, CHOICE_constraint },
85         asn_MBR_F1AP_PDU_1,
86         4,      /* Elements count */
87         &asn_SPC_F1AP_PDU_specs_1       /* Additional specs */
88 };
89