blob: a43ec7accf37a1f1665c01ad104f69f82dceea27 [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/TpduFlags.h>
8
9static asn_TYPE_member_t asn_MBR_TpduFlags_1[] = {
10 { ATF_NOFLAGS, 0, offsetof(struct TpduFlags, tpduHeaderPresent),
11 (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
12 0,
13 &asn_DEF_BOOLEAN,
14 0, /* Defer constraints checking to the member type */
15 0, /* PER is not compiled, use -gen-PER */
16 0,
17 "tpduHeaderPresent"
18 },
19 { ATF_NOFLAGS, 0, offsetof(struct TpduFlags, finalPart),
20 (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
21 0,
22 &asn_DEF_BOOLEAN,
23 0, /* Defer constraints checking to the member type */
24 0, /* PER is not compiled, use -gen-PER */
25 0,
26 "finalPart"
27 },
28 { ATF_NOFLAGS, 0, offsetof(struct TpduFlags, procByteContinueTx),
29 (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
30 0,
31 &asn_DEF_BOOLEAN,
32 0, /* Defer constraints checking to the member type */
33 0, /* PER is not compiled, use -gen-PER */
34 0,
35 "procByteContinueTx"
36 },
37 { ATF_NOFLAGS, 0, offsetof(struct TpduFlags, procByteContinueRx),
38 (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
39 0,
40 &asn_DEF_BOOLEAN,
41 0, /* Defer constraints checking to the member type */
42 0, /* PER is not compiled, use -gen-PER */
43 0,
44 "procByteContinueRx"
45 },
46};
47static const ber_tlv_tag_t asn_DEF_TpduFlags_tags_1[] = {
48 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
49};
50static const asn_TYPE_tag2member_t asn_MAP_TpduFlags_tag2el_1[] = {
51 { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 3 }, /* tpduHeaderPresent */
52 { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 1, -1, 2 }, /* finalPart */
53 { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 2, -2, 1 }, /* procByteContinueTx */
54 { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 3, -3, 0 } /* procByteContinueRx */
55};
56static asn_SEQUENCE_specifics_t asn_SPC_TpduFlags_specs_1 = {
57 sizeof(struct TpduFlags),
58 offsetof(struct TpduFlags, _asn_ctx),
59 asn_MAP_TpduFlags_tag2el_1,
60 4, /* Count of tags in the map */
61 0, 0, 0, /* Optional elements (not needed) */
62 3, /* Start extensions */
63 5 /* Stop extensions */
64};
65asn_TYPE_descriptor_t asn_DEF_TpduFlags = {
66 "TpduFlags",
67 "TpduFlags",
68 SEQUENCE_free,
69 SEQUENCE_print,
70 SEQUENCE_constraint,
71 SEQUENCE_decode_ber,
72 SEQUENCE_encode_der,
73 SEQUENCE_decode_xer,
74 SEQUENCE_encode_xer,
75 0, 0, /* No UPER support, use "-gen-PER" to enable */
76 0, 0, /* No APER support, use "-gen-PER" to enable */
77 0, /* Use generic outmost tag fetcher */
78 asn_DEF_TpduFlags_tags_1,
79 sizeof(asn_DEF_TpduFlags_tags_1)
80 /sizeof(asn_DEF_TpduFlags_tags_1[0]), /* 1 */
81 asn_DEF_TpduFlags_tags_1, /* Same as above */
82 sizeof(asn_DEF_TpduFlags_tags_1)
83 /sizeof(asn_DEF_TpduFlags_tags_1[0]), /* 1 */
84 0, /* No PER visible constraints */
85 asn_MBR_TpduFlags_1,
86 4, /* Elements count */
87 &asn_SPC_TpduFlags_specs_1 /* Additional specs */
88};
89