8f3f2e816068a50044ae5cd0e65dbb604fed0878
[sim/e2-interface.git] / e2sim / e2sm_examples / kpm_e2sm / src / ASN1c / Cause.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "e2ap-v2.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-example`
6  */
7
8 #include "Cause.h"
9
10 static asn_oer_constraints_t asn_OER_type_Cause_constr_1 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 asn_per_constraints_t asn_PER_type_Cause_constr_1 CC_NOTUSED = {
14         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  5 }    /* (0..5,...) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 asn_TYPE_member_t asn_MBR_Cause_1[] = {
19         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.ricRequest),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_CauseRICrequest,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "ricRequest"
27                 },
28         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.ricService),
29                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_CauseRICservice,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "ricService"
36                 },
37         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.e2Node),
38                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
39                 -1,     /* IMPLICIT tag at current level */
40                 &asn_DEF_CauseE2node,
41                 0,
42                 { 0, 0, 0 },
43                 0, 0, /* No default value */
44                 "e2Node"
45                 },
46         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.transport),
47                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
48                 -1,     /* IMPLICIT tag at current level */
49                 &asn_DEF_CauseTransport,
50                 0,
51                 { 0, 0, 0 },
52                 0, 0, /* No default value */
53                 "transport"
54                 },
55         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.protocol),
56                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
57                 -1,     /* IMPLICIT tag at current level */
58                 &asn_DEF_CauseProtocol,
59                 0,
60                 { 0, 0, 0 },
61                 0, 0, /* No default value */
62                 "protocol"
63                 },
64         { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.misc),
65                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
66                 -1,     /* IMPLICIT tag at current level */
67                 &asn_DEF_CauseMisc,
68                 0,
69                 { 0, 0, 0 },
70                 0, 0, /* No default value */
71                 "misc"
72                 },
73 };
74 static const asn_TYPE_tag2member_t asn_MAP_Cause_tag2el_1[] = {
75     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ricRequest */
76     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ricService */
77     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* e2Node */
78     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* transport */
79     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* protocol */
80     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* misc */
81 };
82 asn_CHOICE_specifics_t asn_SPC_Cause_specs_1 = {
83         sizeof(struct Cause),
84         offsetof(struct Cause, _asn_ctx),
85         offsetof(struct Cause, present),
86         sizeof(((struct Cause *)0)->present),
87         asn_MAP_Cause_tag2el_1,
88         6,      /* Count of tags in the map */
89         0, 0,
90         6       /* Extensions start */
91 };
92 asn_TYPE_descriptor_t asn_DEF_Cause = {
93         "Cause",
94         "Cause",
95         &asn_OP_CHOICE,
96         0,      /* No effective tags (pointer) */
97         0,      /* No effective tags (count) */
98         0,      /* No tags (pointer) */
99         0,      /* No tags (count) */
100         { &asn_OER_type_Cause_constr_1, &asn_PER_type_Cause_constr_1, CHOICE_constraint },
101         asn_MBR_Cause_1,
102         6,      /* Elements count */
103         &asn_SPC_Cause_specs_1  /* Additional specs */
104 };
105