blob: 330821f16bc63bd58bc06d3703170ded0058fee7 [file] [log] [blame]
Harald Welte3aa901d2018-08-13 18:32:36 +02001/*
2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RSPRO"
4 * found in "../../asn1/RSPRO.asn"
5 */
6
7#include <osmocom/rspro/RsproPDUchoice.h>
8
9static asn_TYPE_member_t asn_MBR_RsproPDUchoice_1[] = {
10 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.connectBankReq),
11 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
12 -1, /* IMPLICIT tag at current level */
13 &asn_DEF_ConnectBankReq,
14 0, /* Defer constraints checking to the member type */
15 0, /* PER is not compiled, use -gen-PER */
16 0,
17 "connectBankReq"
18 },
19 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.connectBankRes),
20 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
21 -1, /* IMPLICIT tag at current level */
22 &asn_DEF_ConnectBankRes,
23 0, /* Defer constraints checking to the member type */
24 0, /* PER is not compiled, use -gen-PER */
25 0,
26 "connectBankRes"
27 },
28 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.connectClientReq),
29 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
30 -1, /* IMPLICIT tag at current level */
31 &asn_DEF_ConnectClientReq,
32 0, /* Defer constraints checking to the member type */
33 0, /* PER is not compiled, use -gen-PER */
34 0,
35 "connectClientReq"
36 },
37 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.connectClientRes),
38 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
39 -1, /* IMPLICIT tag at current level */
40 &asn_DEF_ConnectClientRes,
41 0, /* Defer constraints checking to the member type */
42 0, /* PER is not compiled, use -gen-PER */
43 0,
44 "connectClientRes"
45 },
46 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.createMappingReq),
47 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
48 -1, /* IMPLICIT tag at current level */
49 &asn_DEF_CreateMappingReq,
50 0, /* Defer constraints checking to the member type */
51 0, /* PER is not compiled, use -gen-PER */
52 0,
53 "createMappingReq"
54 },
55 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.createMappingRes),
56 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
57 -1, /* IMPLICIT tag at current level */
58 &asn_DEF_CreateMappingRes,
59 0, /* Defer constraints checking to the member type */
60 0, /* PER is not compiled, use -gen-PER */
61 0,
62 "createMappingRes"
63 },
64 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.removeMappingReq),
65 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
66 -1, /* IMPLICIT tag at current level */
67 &asn_DEF_RemoveMappingReq,
68 0, /* Defer constraints checking to the member type */
69 0, /* PER is not compiled, use -gen-PER */
70 0,
71 "removeMappingReq"
72 },
73 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.removeMappingRes),
74 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
75 -1, /* IMPLICIT tag at current level */
76 &asn_DEF_RemoveMappingRes,
77 0, /* Defer constraints checking to the member type */
78 0, /* PER is not compiled, use -gen-PER */
79 0,
80 "removeMappingRes"
81 },
82 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.configClientReq),
83 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
84 -1, /* IMPLICIT tag at current level */
85 &asn_DEF_ConfigClientReq,
86 0, /* Defer constraints checking to the member type */
87 0, /* PER is not compiled, use -gen-PER */
88 0,
89 "configClientReq"
90 },
91 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.configClientRes),
92 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
93 -1, /* IMPLICIT tag at current level */
94 &asn_DEF_ConfigClientRes,
95 0, /* Defer constraints checking to the member type */
96 0, /* PER is not compiled, use -gen-PER */
97 0,
98 "configClientRes"
99 },
100 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.setAtrReq),
101 (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
102 -1, /* IMPLICIT tag at current level */
103 &asn_DEF_SetAtrReq,
104 0, /* Defer constraints checking to the member type */
105 0, /* PER is not compiled, use -gen-PER */
106 0,
107 "setAtrReq"
108 },
109 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.setAtrRes),
110 (ASN_TAG_CLASS_CONTEXT | (11 << 2)),
111 -1, /* IMPLICIT tag at current level */
112 &asn_DEF_SetAtrRes,
113 0, /* Defer constraints checking to the member type */
114 0, /* PER is not compiled, use -gen-PER */
115 0,
116 "setAtrRes"
117 },
118 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.tpduModemToCard),
119 (ASN_TAG_CLASS_CONTEXT | (12 << 2)),
120 -1, /* IMPLICIT tag at current level */
121 &asn_DEF_TpduModemToCard,
122 0, /* Defer constraints checking to the member type */
123 0, /* PER is not compiled, use -gen-PER */
124 0,
125 "tpduModemToCard"
126 },
127 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.tpduCardToModem),
128 (ASN_TAG_CLASS_CONTEXT | (13 << 2)),
129 -1, /* IMPLICIT tag at current level */
130 &asn_DEF_TpduCardToModem,
131 0, /* Defer constraints checking to the member type */
132 0, /* PER is not compiled, use -gen-PER */
133 0,
134 "tpduCardToModem"
135 },
136 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.clientSlotStatusInd),
137 (ASN_TAG_CLASS_CONTEXT | (14 << 2)),
138 -1, /* IMPLICIT tag at current level */
139 &asn_DEF_ClientSlotStatusInd,
140 0, /* Defer constraints checking to the member type */
141 0, /* PER is not compiled, use -gen-PER */
142 0,
143 "clientSlotStatusInd"
144 },
145 { ATF_NOFLAGS, 0, offsetof(struct RsproPDUchoice, choice.bankSlotStatusInd),
146 (ASN_TAG_CLASS_CONTEXT | (15 << 2)),
147 -1, /* IMPLICIT tag at current level */
148 &asn_DEF_BankSlotStatusInd,
149 0, /* Defer constraints checking to the member type */
150 0, /* PER is not compiled, use -gen-PER */
151 0,
152 "bankSlotStatusInd"
153 },
154};
155static const asn_TYPE_tag2member_t asn_MAP_RsproPDUchoice_tag2el_1[] = {
156 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* connectBankReq */
157 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* connectBankRes */
158 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* connectClientReq */
159 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* connectClientRes */
160 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* createMappingReq */
161 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* createMappingRes */
162 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* removeMappingReq */
163 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* removeMappingRes */
164 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* configClientReq */
165 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* configClientRes */
166 { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* setAtrReq */
167 { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* setAtrRes */
168 { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* tpduModemToCard */
169 { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* tpduCardToModem */
170 { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* clientSlotStatusInd */
171 { (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 } /* bankSlotStatusInd */
172};
173static asn_CHOICE_specifics_t asn_SPC_RsproPDUchoice_specs_1 = {
174 sizeof(struct RsproPDUchoice),
175 offsetof(struct RsproPDUchoice, _asn_ctx),
176 offsetof(struct RsproPDUchoice, present),
177 sizeof(((struct RsproPDUchoice *)0)->present),
178 asn_MAP_RsproPDUchoice_tag2el_1,
179 16, /* Count of tags in the map */
180 0,
181 16 /* Extensions start */
182};
183asn_TYPE_descriptor_t asn_DEF_RsproPDUchoice = {
184 "RsproPDUchoice",
185 "RsproPDUchoice",
186 CHOICE_free,
187 CHOICE_print,
188 CHOICE_constraint,
189 CHOICE_decode_ber,
190 CHOICE_encode_der,
191 CHOICE_decode_xer,
192 CHOICE_encode_xer,
193 0, 0, /* No UPER support, use "-gen-PER" to enable */
194 0, 0, /* No APER support, use "-gen-PER" to enable */
195 CHOICE_outmost_tag,
196 0, /* No effective tags (pointer) */
197 0, /* No effective tags (count) */
198 0, /* No tags (pointer) */
199 0, /* No tags (count) */
200 0, /* No PER visible constraints */
201 asn_MBR_RsproPDUchoice_1,
202 16, /* Elements count */
203 &asn_SPC_RsproPDUchoice_specs_1 /* Additional specs */
204};
205