blob: cd29f932de4fa61300e4f0724da490c5199ad1b5 [file] [log] [blame]
Peter Szilagyifbc56f92019-07-23 19:29:46 +00001/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-IEs"
4 * found in "Spec/e2ap-v031ex.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6 */
7
8#include "Cause.h"
9
10static asn_oer_constraints_t asn_OER_type_Cause_constr_1 CC_NOTUSED = {
11 { 0, 0 },
12 -1};
13asn_per_constraints_t asn_PER_type_Cause_constr_1 CC_NOTUSED = {
14 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */,
15 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
16 0, 0 /* No PER value map */
17};
18asn_TYPE_member_t asn_MBR_Cause_1[] = {
19 { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.radioNetwork),
20 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21 -1, /* IMPLICIT tag at current level */
22 &asn_DEF_CauseRadioNetwork,
23 0,
24 { 0, 0, 0 },
25 0, 0, /* No default value */
26 "radioNetwork"
27 },
28 { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.transport),
29 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30 -1, /* IMPLICIT tag at current level */
31 &asn_DEF_CauseTransport,
32 0,
33 { 0, 0, 0 },
34 0, 0, /* No default value */
35 "transport"
36 },
37 { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.protocol),
38 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
39 -1, /* IMPLICIT tag at current level */
40 &asn_DEF_CauseProtocol,
41 0,
42 { 0, 0, 0 },
43 0, 0, /* No default value */
44 "protocol"
45 },
46 { ATF_NOFLAGS, 0, offsetof(struct Cause, choice.misc),
47 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
48 -1, /* IMPLICIT tag at current level */
49 &asn_DEF_CauseMisc,
50 0,
51 { 0, 0, 0 },
52 0, 0, /* No default value */
53 "misc"
54 },
55};
56static const asn_TYPE_tag2member_t asn_MAP_Cause_tag2el_1[] = {
57 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* radioNetwork */
58 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* transport */
59 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* protocol */
60 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* misc */
61};
62asn_CHOICE_specifics_t asn_SPC_Cause_specs_1 = {
63 sizeof(struct Cause),
64 offsetof(struct Cause, _asn_ctx),
65 offsetof(struct Cause, present),
66 sizeof(((struct Cause *)0)->present),
67 asn_MAP_Cause_tag2el_1,
68 4, /* Count of tags in the map */
69 0, 0,
70 4 /* Extensions start */
71};
72asn_TYPE_descriptor_t asn_DEF_Cause = {
73 "Cause",
74 "Cause",
75 &asn_OP_CHOICE,
76 0, /* No effective tags (pointer) */
77 0, /* No effective tags (count) */
78 0, /* No tags (pointer) */
79 0, /* No tags (count) */
80 { &asn_OER_type_Cause_constr_1, &asn_PER_type_Cause_constr_1, CHOICE_constraint },
81 asn_MBR_Cause_1,
82 4, /* Elements count */
83 &asn_SPC_Cause_specs_1 /* Additional specs */
84};
85