2 * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
3 * From ASN.1 module "MAP-MS-DataTypes"
4 * found in "../asn1src/MAP-MS-DataTypes.asn"
5 * `asn1c -gen-PER -fskeletons-copy -fnative-types`
8 #include "PDP-ContextInfo.h"
10 static asn_TYPE_member_t asn_MBR_PDP_ContextInfo_1
[] = {
11 { ATF_NOFLAGS
, 0, offsetof(struct PDP_ContextInfo
, pdp_ContextIdentifier
),
12 (ASN_TAG_CLASS_CONTEXT
| (0 << 2)),
13 -1, /* IMPLICIT tag at current level */
15 0, /* Defer constraints checking to the member type */
16 0, /* No PER visible constraints */
18 "pdp-ContextIdentifier"
20 { ATF_POINTER
, 1, offsetof(struct PDP_ContextInfo
, pdp_ContextActive
),
21 (ASN_TAG_CLASS_CONTEXT
| (1 << 2)),
22 -1, /* IMPLICIT tag at current level */
24 0, /* Defer constraints checking to the member type */
25 0, /* No PER visible constraints */
29 { ATF_NOFLAGS
, 0, offsetof(struct PDP_ContextInfo
, pdp_Type
),
30 (ASN_TAG_CLASS_CONTEXT
| (2 << 2)),
31 -1, /* IMPLICIT tag at current level */
33 0, /* Defer constraints checking to the member type */
34 0, /* No PER visible constraints */
38 { ATF_POINTER
, 26, offsetof(struct PDP_ContextInfo
, pdp_Address
),
39 (ASN_TAG_CLASS_CONTEXT
| (3 << 2)),
40 -1, /* IMPLICIT tag at current level */
42 0, /* Defer constraints checking to the member type */
43 0, /* No PER visible constraints */
47 { ATF_POINTER
, 25, offsetof(struct PDP_ContextInfo
, apn_Subscribed
),
48 (ASN_TAG_CLASS_CONTEXT
| (4 << 2)),
49 -1, /* IMPLICIT tag at current level */
51 0, /* Defer constraints checking to the member type */
52 0, /* No PER visible constraints */
56 { ATF_POINTER
, 24, offsetof(struct PDP_ContextInfo
, apn_InUse
),
57 (ASN_TAG_CLASS_CONTEXT
| (5 << 2)),
58 -1, /* IMPLICIT tag at current level */
60 0, /* Defer constraints checking to the member type */
61 0, /* No PER visible constraints */
65 { ATF_POINTER
, 23, offsetof(struct PDP_ContextInfo
, nsapi
),
66 (ASN_TAG_CLASS_CONTEXT
| (6 << 2)),
67 -1, /* IMPLICIT tag at current level */
69 0, /* Defer constraints checking to the member type */
70 0, /* No PER visible constraints */
74 { ATF_POINTER
, 22, offsetof(struct PDP_ContextInfo
, transactionId
),
75 (ASN_TAG_CLASS_CONTEXT
| (7 << 2)),
76 -1, /* IMPLICIT tag at current level */
77 &asn_DEF_TransactionId
,
78 0, /* Defer constraints checking to the member type */
79 0, /* No PER visible constraints */
83 { ATF_POINTER
, 21, offsetof(struct PDP_ContextInfo
, teid_ForGnAndGp
),
84 (ASN_TAG_CLASS_CONTEXT
| (8 << 2)),
85 -1, /* IMPLICIT tag at current level */
87 0, /* Defer constraints checking to the member type */
88 0, /* No PER visible constraints */
92 { ATF_POINTER
, 20, offsetof(struct PDP_ContextInfo
, teid_ForIu
),
93 (ASN_TAG_CLASS_CONTEXT
| (9 << 2)),
94 -1, /* IMPLICIT tag at current level */
96 0, /* Defer constraints checking to the member type */
97 0, /* No PER visible constraints */
101 { ATF_POINTER
, 19, offsetof(struct PDP_ContextInfo
, ggsn_Address
),
102 (ASN_TAG_CLASS_CONTEXT
| (10 << 2)),
103 -1, /* IMPLICIT tag at current level */
104 &asn_DEF_GSN_Address
,
105 0, /* Defer constraints checking to the member type */
106 0, /* No PER visible constraints */
110 { ATF_POINTER
, 18, offsetof(struct PDP_ContextInfo
, qos_Subscribed
),
111 (ASN_TAG_CLASS_CONTEXT
| (11 << 2)),
112 -1, /* IMPLICIT tag at current level */
113 &asn_DEF_Ext_QoS_Subscribed
,
114 0, /* Defer constraints checking to the member type */
115 0, /* No PER visible constraints */
119 { ATF_POINTER
, 17, offsetof(struct PDP_ContextInfo
, qos_Requested
),
120 (ASN_TAG_CLASS_CONTEXT
| (12 << 2)),
121 -1, /* IMPLICIT tag at current level */
122 &asn_DEF_Ext_QoS_Subscribed
,
123 0, /* Defer constraints checking to the member type */
124 0, /* No PER visible constraints */
128 { ATF_POINTER
, 16, offsetof(struct PDP_ContextInfo
, qos_Negotiated
),
129 (ASN_TAG_CLASS_CONTEXT
| (13 << 2)),
130 -1, /* IMPLICIT tag at current level */
131 &asn_DEF_Ext_QoS_Subscribed
,
132 0, /* Defer constraints checking to the member type */
133 0, /* No PER visible constraints */
137 { ATF_POINTER
, 15, offsetof(struct PDP_ContextInfo
, chargingId
),
138 (ASN_TAG_CLASS_CONTEXT
| (14 << 2)),
139 -1, /* IMPLICIT tag at current level */
140 &asn_DEF_GPRSChargingID
,
141 0, /* Defer constraints checking to the member type */
142 0, /* No PER visible constraints */
146 { ATF_POINTER
, 14, offsetof(struct PDP_ContextInfo
, chargingCharacteristics
),
147 (ASN_TAG_CLASS_CONTEXT
| (15 << 2)),
148 -1, /* IMPLICIT tag at current level */
149 &asn_DEF_ChargingCharacteristics
,
150 0, /* Defer constraints checking to the member type */
151 0, /* No PER visible constraints */
153 "chargingCharacteristics"
155 { ATF_POINTER
, 13, offsetof(struct PDP_ContextInfo
, rnc_Address
),
156 (ASN_TAG_CLASS_CONTEXT
| (16 << 2)),
157 -1, /* IMPLICIT tag at current level */
158 &asn_DEF_GSN_Address
,
159 0, /* Defer constraints checking to the member type */
160 0, /* No PER visible constraints */
164 { ATF_POINTER
, 12, offsetof(struct PDP_ContextInfo
, extensionContainer
),
165 (ASN_TAG_CLASS_CONTEXT
| (17 << 2)),
166 -1, /* IMPLICIT tag at current level */
167 &asn_DEF_ExtensionContainer
,
168 0, /* Defer constraints checking to the member type */
169 0, /* No PER visible constraints */
173 { ATF_POINTER
, 11, offsetof(struct PDP_ContextInfo
, qos2_Subscribed
),
174 (ASN_TAG_CLASS_CONTEXT
| (18 << 2)),
175 -1, /* IMPLICIT tag at current level */
176 &asn_DEF_Ext2_QoS_Subscribed
,
177 0, /* Defer constraints checking to the member type */
178 0, /* No PER visible constraints */
182 { ATF_POINTER
, 10, offsetof(struct PDP_ContextInfo
, qos2_Requested
),
183 (ASN_TAG_CLASS_CONTEXT
| (19 << 2)),
184 -1, /* IMPLICIT tag at current level */
185 &asn_DEF_Ext2_QoS_Subscribed
,
186 0, /* Defer constraints checking to the member type */
187 0, /* No PER visible constraints */
191 { ATF_POINTER
, 9, offsetof(struct PDP_ContextInfo
, qos2_Negotiated
),
192 (ASN_TAG_CLASS_CONTEXT
| (20 << 2)),
193 -1, /* IMPLICIT tag at current level */
194 &asn_DEF_Ext2_QoS_Subscribed
,
195 0, /* Defer constraints checking to the member type */
196 0, /* No PER visible constraints */
200 { ATF_POINTER
, 8, offsetof(struct PDP_ContextInfo
, qos3_Subscribed
),
201 (ASN_TAG_CLASS_CONTEXT
| (21 << 2)),
202 -1, /* IMPLICIT tag at current level */
203 &asn_DEF_Ext3_QoS_Subscribed
,
204 0, /* Defer constraints checking to the member type */
205 0, /* No PER visible constraints */
209 { ATF_POINTER
, 7, offsetof(struct PDP_ContextInfo
, qos3_Requested
),
210 (ASN_TAG_CLASS_CONTEXT
| (22 << 2)),
211 -1, /* IMPLICIT tag at current level */
212 &asn_DEF_Ext3_QoS_Subscribed
,
213 0, /* Defer constraints checking to the member type */
214 0, /* No PER visible constraints */
218 { ATF_POINTER
, 6, offsetof(struct PDP_ContextInfo
, qos3_Negotiated
),
219 (ASN_TAG_CLASS_CONTEXT
| (23 << 2)),
220 -1, /* IMPLICIT tag at current level */
221 &asn_DEF_Ext3_QoS_Subscribed
,
222 0, /* Defer constraints checking to the member type */
223 0, /* No PER visible constraints */
227 { ATF_POINTER
, 5, offsetof(struct PDP_ContextInfo
, qos4_Subscribed
),
228 (ASN_TAG_CLASS_CONTEXT
| (25 << 2)),
229 -1, /* IMPLICIT tag at current level */
230 &asn_DEF_Ext4_QoS_Subscribed
,
231 0, /* Defer constraints checking to the member type */
232 0, /* No PER visible constraints */
236 { ATF_POINTER
, 4, offsetof(struct PDP_ContextInfo
, qos4_Requested
),
237 (ASN_TAG_CLASS_CONTEXT
| (26 << 2)),
238 -1, /* IMPLICIT tag at current level */
239 &asn_DEF_Ext4_QoS_Subscribed
,
240 0, /* Defer constraints checking to the member type */
241 0, /* No PER visible constraints */
245 { ATF_POINTER
, 3, offsetof(struct PDP_ContextInfo
, qos4_Negotiated
),
246 (ASN_TAG_CLASS_CONTEXT
| (27 << 2)),
247 -1, /* IMPLICIT tag at current level */
248 &asn_DEF_Ext4_QoS_Subscribed
,
249 0, /* Defer constraints checking to the member type */
250 0, /* No PER visible constraints */
254 { ATF_POINTER
, 2, offsetof(struct PDP_ContextInfo
, ext_pdp_Type
),
255 (ASN_TAG_CLASS_CONTEXT
| (28 << 2)),
256 -1, /* IMPLICIT tag at current level */
257 &asn_DEF_Ext_PDP_Type
,
258 0, /* Defer constraints checking to the member type */
259 0, /* No PER visible constraints */
263 { ATF_POINTER
, 1, offsetof(struct PDP_ContextInfo
, ext_pdp_Address
),
264 (ASN_TAG_CLASS_CONTEXT
| (29 << 2)),
265 -1, /* IMPLICIT tag at current level */
266 &asn_DEF_PDP_Address
,
267 0, /* Defer constraints checking to the member type */
268 0, /* No PER visible constraints */
273 static int asn_MAP_PDP_ContextInfo_oms_1
[] = { 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28 };
274 static ber_tlv_tag_t asn_DEF_PDP_ContextInfo_tags_1
[] = {
275 (ASN_TAG_CLASS_UNIVERSAL
| (16 << 2))
277 static asn_TYPE_tag2member_t asn_MAP_PDP_ContextInfo_tag2el_1
[] = {
278 { (ASN_TAG_CLASS_CONTEXT
| (0 << 2)), 0, 0, 0 }, /* pdp-ContextIdentifier at 2722 */
279 { (ASN_TAG_CLASS_CONTEXT
| (1 << 2)), 1, 0, 0 }, /* pdp-ContextActive at 2723 */
280 { (ASN_TAG_CLASS_CONTEXT
| (2 << 2)), 2, 0, 0 }, /* pdp-Type at 2724 */
281 { (ASN_TAG_CLASS_CONTEXT
| (3 << 2)), 3, 0, 0 }, /* pdp-Address at 2725 */
282 { (ASN_TAG_CLASS_CONTEXT
| (4 << 2)), 4, 0, 0 }, /* apn-Subscribed at 2726 */
283 { (ASN_TAG_CLASS_CONTEXT
| (5 << 2)), 5, 0, 0 }, /* apn-InUse at 2727 */
284 { (ASN_TAG_CLASS_CONTEXT
| (6 << 2)), 6, 0, 0 }, /* nsapi at 2728 */
285 { (ASN_TAG_CLASS_CONTEXT
| (7 << 2)), 7, 0, 0 }, /* transactionId at 2729 */
286 { (ASN_TAG_CLASS_CONTEXT
| (8 << 2)), 8, 0, 0 }, /* teid-ForGnAndGp at 2730 */
287 { (ASN_TAG_CLASS_CONTEXT
| (9 << 2)), 9, 0, 0 }, /* teid-ForIu at 2731 */
288 { (ASN_TAG_CLASS_CONTEXT
| (10 << 2)), 10, 0, 0 }, /* ggsn-Address at 2732 */
289 { (ASN_TAG_CLASS_CONTEXT
| (11 << 2)), 11, 0, 0 }, /* qos-Subscribed at 2733 */
290 { (ASN_TAG_CLASS_CONTEXT
| (12 << 2)), 12, 0, 0 }, /* qos-Requested at 2734 */
291 { (ASN_TAG_CLASS_CONTEXT
| (13 << 2)), 13, 0, 0 }, /* qos-Negotiated at 2735 */
292 { (ASN_TAG_CLASS_CONTEXT
| (14 << 2)), 14, 0, 0 }, /* chargingId at 2736 */
293 { (ASN_TAG_CLASS_CONTEXT
| (15 << 2)), 15, 0, 0 }, /* chargingCharacteristics at 2737 */
294 { (ASN_TAG_CLASS_CONTEXT
| (16 << 2)), 16, 0, 0 }, /* rnc-Address at 2738 */
295 { (ASN_TAG_CLASS_CONTEXT
| (17 << 2)), 17, 0, 0 }, /* extensionContainer at 2739 */
296 { (ASN_TAG_CLASS_CONTEXT
| (18 << 2)), 18, 0, 0 }, /* qos2-Subscribed at 2741 */
297 { (ASN_TAG_CLASS_CONTEXT
| (19 << 2)), 19, 0, 0 }, /* qos2-Requested at 2743 */
298 { (ASN_TAG_CLASS_CONTEXT
| (20 << 2)), 20, 0, 0 }, /* qos2-Negotiated at 2745 */
299 { (ASN_TAG_CLASS_CONTEXT
| (21 << 2)), 21, 0, 0 }, /* qos3-Subscribed at 2747 */
300 { (ASN_TAG_CLASS_CONTEXT
| (22 << 2)), 22, 0, 0 }, /* qos3-Requested at 2749 */
301 { (ASN_TAG_CLASS_CONTEXT
| (23 << 2)), 23, 0, 0 }, /* qos3-Negotiated at 2751 */
302 { (ASN_TAG_CLASS_CONTEXT
| (25 << 2)), 24, 0, 0 }, /* qos4-Subscribed at 2753 */
303 { (ASN_TAG_CLASS_CONTEXT
| (26 << 2)), 25, 0, 0 }, /* qos4-Requested at 2755 */
304 { (ASN_TAG_CLASS_CONTEXT
| (27 << 2)), 26, 0, 0 }, /* qos4-Negotiated at 2757 */
305 { (ASN_TAG_CLASS_CONTEXT
| (28 << 2)), 27, 0, 0 }, /* ext-pdp-Type at 2759 */
306 { (ASN_TAG_CLASS_CONTEXT
| (29 << 2)), 28, 0, 0 } /* ext-pdp-Address at 2762 */
308 static asn_SEQUENCE_specifics_t asn_SPC_PDP_ContextInfo_specs_1
= {
309 sizeof(struct PDP_ContextInfo
),
310 offsetof(struct PDP_ContextInfo
, _asn_ctx
),
311 asn_MAP_PDP_ContextInfo_tag2el_1
,
312 29, /* Count of tags in the map */
313 asn_MAP_PDP_ContextInfo_oms_1
, /* Optional members */
314 16, 11, /* Root/Additions */
315 17, /* Start extensions */
316 30 /* Stop extensions */
318 asn_TYPE_descriptor_t asn_DEF_PDP_ContextInfo
= {
328 SEQUENCE_decode_uper
,
329 SEQUENCE_encode_uper
,
330 0, /* Use generic outmost tag fetcher */
331 asn_DEF_PDP_ContextInfo_tags_1
,
332 sizeof(asn_DEF_PDP_ContextInfo_tags_1
)
333 /sizeof(asn_DEF_PDP_ContextInfo_tags_1
[0]), /* 1 */
334 asn_DEF_PDP_ContextInfo_tags_1
, /* Same as above */
335 sizeof(asn_DEF_PDP_ContextInfo_tags_1
)
336 /sizeof(asn_DEF_PDP_ContextInfo_tags_1
[0]), /* 1 */
337 0, /* No PER visible constraints */
338 asn_MBR_PDP_ContextInfo_1
,
339 29, /* Elements count */
340 &asn_SPC_PDP_ContextInfo_specs_1
/* Additional specs */