blob: a11315c131720a5cb6bc9acfd91b398066ba9130 [file] [log] [blame]
Harald Weltee844bf72019-05-06 15:25:10 +02001/*
2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "SABP-PDU"
4 * found in "../../asn1/sabp/SABP-PDU.asn"
5 */
6
7#include <osmocom/sabp/SABP_SABP-PDU.h>
8
9static asn_per_constraints_t asn_PER_type_SABP_SABP_PDU_constr_1 GCC_NOTUSED = {
10 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0l, 2l } /* (0..2,...) */,
11 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
12 0, 0 /* No PER value map */
13};
14static asn_TYPE_member_t asn_MBR_SABP_SABP_PDU_1[] = {
15 { ATF_NOFLAGS, 0, offsetof(struct SABP_SABP_PDU, choice.initiatingMessage),
16 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
17 -1, /* IMPLICIT tag at current level */
18 &asn_DEF_SABP_InitiatingMessage,
19 0, /* Defer constraints checking to the member type */
20 0, /* No PER visible constraints */
21 0,
22 "initiatingMessage"
23 },
24 { ATF_NOFLAGS, 0, offsetof(struct SABP_SABP_PDU, choice.successfulOutcome),
25 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
26 -1, /* IMPLICIT tag at current level */
27 &asn_DEF_SABP_SuccessfulOutcome,
28 0, /* Defer constraints checking to the member type */
29 0, /* No PER visible constraints */
30 0,
31 "successfulOutcome"
32 },
33 { ATF_NOFLAGS, 0, offsetof(struct SABP_SABP_PDU, choice.unsuccessfulOutcome),
34 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
35 -1, /* IMPLICIT tag at current level */
36 &asn_DEF_SABP_UnsuccessfulOutcome,
37 0, /* Defer constraints checking to the member type */
38 0, /* No PER visible constraints */
39 0,
40 "unsuccessfulOutcome"
41 },
42};
43static const asn_TYPE_tag2member_t asn_MAP_SABP_SABP_PDU_tag2el_1[] = {
44 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* initiatingMessage */
45 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* successfulOutcome */
46 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* unsuccessfulOutcome */
47};
48static asn_CHOICE_specifics_t asn_SPC_SABP_SABP_PDU_specs_1 = {
49 sizeof(struct SABP_SABP_PDU),
50 offsetof(struct SABP_SABP_PDU, _asn_ctx),
51 offsetof(struct SABP_SABP_PDU, present),
52 sizeof(((struct SABP_SABP_PDU *)0)->present),
53 asn_MAP_SABP_SABP_PDU_tag2el_1,
54 3, /* Count of tags in the map */
55 0,
56 3 /* Extensions start */
57};
58asn_TYPE_descriptor_t asn_DEF_SABP_SABP_PDU = {
59 "SABP_SABP-PDU",
60 "SABP_SABP-PDU",
61 CHOICE_free,
62 CHOICE_print,
63 CHOICE_constraint,
64 CHOICE_decode_ber,
65 CHOICE_encode_der,
66 CHOICE_decode_xer,
67 CHOICE_encode_xer,
68 CHOICE_decode_uper,
69 CHOICE_encode_uper,
70 CHOICE_decode_aper,
71 CHOICE_encode_aper,
72 CHOICE_outmost_tag,
73 0, /* No effective tags (pointer) */
74 0, /* No effective tags (count) */
75 0, /* No tags (pointer) */
76 0, /* No tags (count) */
77 &asn_PER_type_SABP_SABP_PDU_constr_1,
78 asn_MBR_SABP_SABP_PDU_1,
79 3, /* Elements count */
80 &asn_SPC_SABP_SABP_PDU_specs_1 /* Additional specs */
81};
82