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