2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "SMUX"
5 * `asn1c -S/mnt/data/software/asn1c/skeletons -fcompound-names -fwide-types`
8 #include "SimpleOpen.h"
10 static asn_TYPE_member_t asn_MBR_SimpleOpen_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, version),
12 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
15 0, /* Defer constraints checking to the member type */
16 0, /* PER is not compiled, use -gen-PER */
20 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, identity),
21 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
23 &asn_DEF_OBJECT_IDENTIFIER,
24 0, /* Defer constraints checking to the member type */
25 0, /* PER is not compiled, use -gen-PER */
29 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, description),
30 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
32 &asn_DEF_DisplayString,
33 0, /* Defer constraints checking to the member type */
34 0, /* PER is not compiled, use -gen-PER */
38 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, password),
39 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
41 &asn_DEF_OCTET_STRING,
42 0, /* Defer constraints checking to the member type */
43 0, /* PER is not compiled, use -gen-PER */
48 static const ber_tlv_tag_t asn_DEF_SimpleOpen_tags_1[] = {
49 (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
50 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
52 static const asn_TYPE_tag2member_t asn_MAP_SimpleOpen_tag2el_1[] = {
53 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* version */
54 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 2, 0, 1 }, /* description */
55 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 3, -1, 0 }, /* password */
56 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 1, 0, 0 } /* identity */
58 static asn_SEQUENCE_specifics_t asn_SPC_SimpleOpen_specs_1 = {
59 sizeof(struct SimpleOpen),
60 offsetof(struct SimpleOpen, _asn_ctx),
61 asn_MAP_SimpleOpen_tag2el_1,
62 4, /* Count of tags in the map */
63 0, 0, 0, /* Optional elements (not needed) */
64 -1, /* Start extensions */
65 -1 /* Stop extensions */
67 asn_TYPE_descriptor_t asn_DEF_SimpleOpen = {
77 0, 0, /* No PER support, use "-gen-PER" to enable */
78 0, /* Use generic outmost tag fetcher */
79 asn_DEF_SimpleOpen_tags_1,
80 sizeof(asn_DEF_SimpleOpen_tags_1)
81 /sizeof(asn_DEF_SimpleOpen_tags_1[0]) - 1, /* 1 */
82 asn_DEF_SimpleOpen_tags_1, /* Same as above */
83 sizeof(asn_DEF_SimpleOpen_tags_1)
84 /sizeof(asn_DEF_SimpleOpen_tags_1[0]), /* 2 */
85 0, /* No PER visible constraints */
87 4, /* Elements count */
88 &asn_SPC_SimpleOpen_specs_1 /* Additional specs */