blob: abd2b40255117d1315ff799a0ad3c0cd16246fba [file] [log] [blame]
Harald Welte019830c2015-09-10 10:20:56 +02001/*
2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RUA-IEs"
4 * found in "../../asn1/rua/RUA-IEs.asn"
5 */
6
Neels Hofmeyrf1f2d7c2016-01-05 12:00:06 +01007#include <osmocom/rua/RUA_Cause.h>
Harald Welte019830c2015-09-10 10:20:56 +02008
9static asn_per_constraints_t asn_PER_type_RUA_Cause_constr_1 GCC_NOTUSED = {
10 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0l, 3l } /* (0..3,...) */,
11 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
12 0, 0 /* No PER value map */
13};
14static asn_TYPE_member_t asn_MBR_RUA_Cause_1[] = {
15 { ATF_NOFLAGS, 0, offsetof(struct RUA_Cause, choice.radioNetwork),
16 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
17 -1, /* IMPLICIT tag at current level */
18 &asn_DEF_RUA_CauseRadioNetwork,
19 0, /* Defer constraints checking to the member type */
20 0, /* No PER visible constraints */
21 0,
22 "radioNetwork"
23 },
24 { ATF_NOFLAGS, 0, offsetof(struct RUA_Cause, choice.transport),
25 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
26 -1, /* IMPLICIT tag at current level */
27 &asn_DEF_RUA_CauseTransport,
28 0, /* Defer constraints checking to the member type */
29 0, /* No PER visible constraints */
30 0,
31 "transport"
32 },
33 { ATF_NOFLAGS, 0, offsetof(struct RUA_Cause, choice.protocol),
34 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
35 -1, /* IMPLICIT tag at current level */
36 &asn_DEF_RUA_CauseProtocol,
37 0, /* Defer constraints checking to the member type */
38 0, /* No PER visible constraints */
39 0,
40 "protocol"
41 },
42 { ATF_NOFLAGS, 0, offsetof(struct RUA_Cause, choice.misc),
43 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
44 -1, /* IMPLICIT tag at current level */
45 &asn_DEF_RUA_CauseMisc,
46 0, /* Defer constraints checking to the member type */
47 0, /* No PER visible constraints */
48 0,
49 "misc"
50 },
51};
52static const asn_TYPE_tag2member_t asn_MAP_RUA_Cause_tag2el_1[] = {
53 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* radioNetwork */
54 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* transport */
55 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* protocol */
56 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* misc */
57};
58static asn_CHOICE_specifics_t asn_SPC_RUA_Cause_specs_1 = {
59 sizeof(struct RUA_Cause),
60 offsetof(struct RUA_Cause, _asn_ctx),
61 offsetof(struct RUA_Cause, present),
62 sizeof(((struct RUA_Cause *)0)->present),
63 asn_MAP_RUA_Cause_tag2el_1,
64 4, /* Count of tags in the map */
65 0,
66 4 /* Extensions start */
67};
68asn_TYPE_descriptor_t asn_DEF_RUA_Cause = {
69 "RUA_Cause",
70 "RUA_Cause",
71 CHOICE_free,
72 CHOICE_print,
73 CHOICE_constraint,
74 CHOICE_decode_ber,
75 CHOICE_encode_der,
76 CHOICE_decode_xer,
77 CHOICE_encode_xer,
78 CHOICE_decode_uper,
79 CHOICE_encode_uper,
80 CHOICE_decode_aper,
81 CHOICE_encode_aper,
82 CHOICE_outmost_tag,
83 0, /* No effective tags (pointer) */
84 0, /* No effective tags (count) */
85 0, /* No tags (pointer) */
86 0, /* No tags (count) */
87 &asn_PER_type_RUA_Cause_constr_1,
88 asn_MBR_RUA_Cause_1,
89 4, /* Elements count */
90 &asn_SPC_RUA_Cause_specs_1 /* Additional specs */
91};
92