blob: 883d937dd36992324c786b2cadc3e6bad6544286 [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/TpduCardToModem.h>
8
9static asn_TYPE_member_t asn_MBR_TpduCardToModem_1[] = {
10 { ATF_NOFLAGS, 0, offsetof(struct TpduCardToModem, fromBankSlot),
11 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
12 0,
13 &asn_DEF_BankSlot,
14 0, /* Defer constraints checking to the member type */
15 0, /* PER is not compiled, use -gen-PER */
16 0,
17 "fromBankSlot"
18 },
19 { ATF_NOFLAGS, 0, offsetof(struct TpduCardToModem, toClientSlot),
20 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
21 0,
22 &asn_DEF_ClientSlot,
23 0, /* Defer constraints checking to the member type */
24 0, /* PER is not compiled, use -gen-PER */
25 0,
26 "toClientSlot"
27 },
28 { ATF_NOFLAGS, 0, offsetof(struct TpduCardToModem, flags),
29 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
30 0,
31 &asn_DEF_TpduFlags,
32 0, /* Defer constraints checking to the member type */
33 0, /* PER is not compiled, use -gen-PER */
34 0,
35 "flags"
36 },
37 { ATF_NOFLAGS, 0, offsetof(struct TpduCardToModem, data),
38 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
39 0,
40 &asn_DEF_OCTET_STRING,
41 0, /* Defer constraints checking to the member type */
42 0, /* PER is not compiled, use -gen-PER */
43 0,
44 "data"
45 },
46};
47static const ber_tlv_tag_t asn_DEF_TpduCardToModem_tags_1[] = {
48 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
49};
50static const asn_TYPE_tag2member_t asn_MAP_TpduCardToModem_tag2el_1[] = {
51 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 3, 0, 0 }, /* data */
52 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 2 }, /* fromBankSlot */
53 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 1 }, /* toClientSlot */
54 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -2, 0 } /* flags */
55};
56static asn_SEQUENCE_specifics_t asn_SPC_TpduCardToModem_specs_1 = {
57 sizeof(struct TpduCardToModem),
58 offsetof(struct TpduCardToModem, _asn_ctx),
59 asn_MAP_TpduCardToModem_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_TpduCardToModem = {
66 "TpduCardToModem",
67 "TpduCardToModem",
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_TpduCardToModem_tags_1,
79 sizeof(asn_DEF_TpduCardToModem_tags_1)
80 /sizeof(asn_DEF_TpduCardToModem_tags_1[0]), /* 1 */
81 asn_DEF_TpduCardToModem_tags_1, /* Same as above */
82 sizeof(asn_DEF_TpduCardToModem_tags_1)
83 /sizeof(asn_DEF_TpduCardToModem_tags_1[0]), /* 1 */
84 0, /* No PER visible constraints */
85 asn_MBR_TpduCardToModem_1,
86 4, /* Elements count */
87 &asn_SPC_TpduCardToModem_specs_1 /* Additional specs */
88};
89