2 * Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
3 * From ASN.1 module "SMUX"
5 * `asn1c -fskeletons-copy`
8 #include <asn_internal.h>
10 #include "SimpleOpen.h"
12 static asn_TYPE_member_t asn_MBR_SimpleOpen_1[] = {
13 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, version),
14 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
17 0, /* Defer constraints checking to the member type */
18 0, /* PER is not compiled, use -gen-PER */
22 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, identity),
23 (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
25 &asn_DEF_OBJECT_IDENTIFIER,
26 0, /* Defer constraints checking to the member type */
27 0, /* PER is not compiled, use -gen-PER */
31 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, description),
32 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
34 &asn_DEF_DisplayString,
35 0, /* Defer constraints checking to the member type */
36 0, /* PER is not compiled, use -gen-PER */
40 { ATF_NOFLAGS, 0, offsetof(struct SimpleOpen, password),
41 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
43 &asn_DEF_OCTET_STRING,
44 0, /* Defer constraints checking to the member type */
45 0, /* PER is not compiled, use -gen-PER */
50 static ber_tlv_tag_t asn_DEF_SimpleOpen_tags_1[] = {
51 (ASN_TAG_CLASS_APPLICATION | (0 << 2)),
52 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
54 static asn_TYPE_tag2member_t asn_MAP_SimpleOpen_tag2el_1[] = {
55 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* version at 59 */
56 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 2, 0, 1 }, /* description at 66 */
57 { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 3, -1, 0 }, /* password at 69 */
58 { (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 1, 0, 0 } /* identity at 63 */
60 static asn_SEQUENCE_specifics_t asn_SPC_SimpleOpen_specs_1 = {
61 sizeof(struct SimpleOpen),
62 offsetof(struct SimpleOpen, _asn_ctx),
63 asn_MAP_SimpleOpen_tag2el_1,
64 4, /* Count of tags in the map */
65 0, 0, 0, /* Optional elements (not needed) */
66 -1, /* Start extensions */
67 -1 /* Stop extensions */
69 asn_TYPE_descriptor_t asn_DEF_SimpleOpen = {
79 0, 0, /* No PER support, use "-gen-PER" to enable */
80 0, /* Use generic outmost tag fetcher */
81 asn_DEF_SimpleOpen_tags_1,
82 sizeof(asn_DEF_SimpleOpen_tags_1)
83 /sizeof(asn_DEF_SimpleOpen_tags_1[0]) - 1, /* 1 */
84 asn_DEF_SimpleOpen_tags_1, /* Same as above */
85 sizeof(asn_DEF_SimpleOpen_tags_1)
86 /sizeof(asn_DEF_SimpleOpen_tags_1[0]), /* 2 */
87 0, /* No PER visible constraints */
89 4, /* Elements count */
90 &asn_SPC_SimpleOpen_specs_1 /* Additional specs */