[Epic-ID: ODUHIGH-405][Task-ID: ODUHIGH-414] Support at CU and RIC stub for SCTP...
[o-du/l2.git] / src / codec_utils / E2AP / CriticalityDiagnosticsE2.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "E2AP.asn1"
5  *      `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
6  */
7
8 #include "CriticalityDiagnosticsE2.h"
9
10 #include "RICrequestID.h"
11 #include "CriticalityDiagnostics-IE-ListE2.h"
12 static asn_TYPE_member_t asn_MBR_CriticalityDiagnosticsE2_1[] = {
13         { ATF_POINTER, 5, offsetof(struct CriticalityDiagnosticsE2, procedureCode),
14                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
15                 -1,     /* IMPLICIT tag at current level */
16                 &asn_DEF_ProcedureCodeE2,
17                 0,
18                 { 0, 0, 0 },
19                 0, 0, /* No default value */
20                 "procedureCode"
21                 },
22         { ATF_POINTER, 4, offsetof(struct CriticalityDiagnosticsE2, triggeringMessage),
23                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
24                 -1,     /* IMPLICIT tag at current level */
25                 &asn_DEF_TriggeringMessageE2,
26                 0,
27                 { 0, 0, 0 },
28                 0, 0, /* No default value */
29                 "triggeringMessage"
30                 },
31         { ATF_POINTER, 3, offsetof(struct CriticalityDiagnosticsE2, procedureCriticality),
32                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
33                 -1,     /* IMPLICIT tag at current level */
34                 &asn_DEF_CriticalityE2,
35                 0,
36                 { 0, 0, 0 },
37                 0, 0, /* No default value */
38                 "procedureCriticality"
39                 },
40         { ATF_POINTER, 2, offsetof(struct CriticalityDiagnosticsE2, ricRequestorID),
41                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
42                 -1,     /* IMPLICIT tag at current level */
43                 &asn_DEF_RICrequestID,
44                 0,
45                 { 0, 0, 0 },
46                 0, 0, /* No default value */
47                 "ricRequestorID"
48                 },
49         { ATF_POINTER, 1, offsetof(struct CriticalityDiagnosticsE2, iEsCriticalityDiagnosticsE2),
50                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
51                 -1,     /* IMPLICIT tag at current level */
52                 &asn_DEF_CriticalityDiagnostics_IE_ListE2,
53                 0,
54                 { 0, 0, 0 },
55                 0, 0, /* No default value */
56                 "iEsCriticalityDiagnosticsE2"
57                 },
58 };
59 static const int asn_MAP_CriticalityDiagnosticsE2_oms_1[] = { 0, 1, 2, 3, 4 };
60 static const ber_tlv_tag_t asn_DEF_CriticalityDiagnosticsE2_tags_1[] = {
61         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
62 };
63 static const asn_TYPE_tag2member_t asn_MAP_CriticalityDiagnosticsE2_tag2el_1[] = {
64     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */
65     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* triggeringMessage */
66     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* procedureCriticality */
67     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* ricRequestorID */
68     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iEsCriticalityDiagnosticsE2 */
69 };
70 static asn_SEQUENCE_specifics_t asn_SPC_CriticalityDiagnosticsE2_specs_1 = {
71         sizeof(struct CriticalityDiagnosticsE2),
72         offsetof(struct CriticalityDiagnosticsE2, _asn_ctx),
73         asn_MAP_CriticalityDiagnosticsE2_tag2el_1,
74         5,      /* Count of tags in the map */
75         asn_MAP_CriticalityDiagnosticsE2_oms_1, /* Optional members */
76         5, 0,   /* Root/Additions */
77         5,      /* First extension addition */
78 };
79 asn_TYPE_descriptor_t asn_DEF_CriticalityDiagnosticsE2 = {
80         "CriticalityDiagnosticsE2",
81         "CriticalityDiagnosticsE2",
82         &asn_OP_SEQUENCE,
83         asn_DEF_CriticalityDiagnosticsE2_tags_1,
84         sizeof(asn_DEF_CriticalityDiagnosticsE2_tags_1)
85                 /sizeof(asn_DEF_CriticalityDiagnosticsE2_tags_1[0]), /* 1 */
86         asn_DEF_CriticalityDiagnosticsE2_tags_1,        /* Same as above */
87         sizeof(asn_DEF_CriticalityDiagnosticsE2_tags_1)
88                 /sizeof(asn_DEF_CriticalityDiagnosticsE2_tags_1[0]), /* 1 */
89         { 0, 0, SEQUENCE_constraint },
90         asn_MBR_CriticalityDiagnosticsE2_1,
91         5,      /* Elements count */
92         &asn_SPC_CriticalityDiagnosticsE2_specs_1       /* Additional specs */
93 };
94