2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
\r
3 * From ASN.1 module "X2AP-IEs"
\r
4 * found in "../../asn_defs/asn1/x2ap-modified-15-05.asn"
\r
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
\r
8 #include "CauseProtocol.h"
\r
11 * This type is implemented using NativeEnumerated,
\r
12 * so here we adjust the DEF accordingly.
\r
14 asn_per_constraints_t asn_PER_type_CauseProtocol_constr_1 CC_NOTUSED = {
\r
15 { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 6 } /* (0..6,...) */,
\r
16 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
\r
17 0, 0 /* No PER value map */
\r
19 static const asn_INTEGER_enum_map_t asn_MAP_CauseProtocol_value2enum_1[] = {
\r
20 { 0, 21, "transfer-syntax-error" },
\r
21 { 1, 28, "abstract-syntax-error-reject" },
\r
22 { 2, 39, "abstract-syntax-error-ignore-and-notify" },
\r
23 { 3, 42, "message-not-compatible-with-receiver-state" },
\r
24 { 4, 14, "semantic-error" },
\r
25 { 5, 11, "unspecified" },
\r
26 { 6, 49, "abstract-syntax-error-falsely-constructed-message" }
\r
27 /* This list is extensible */
\r
29 static const unsigned int asn_MAP_CauseProtocol_enum2value_1[] = {
\r
30 6, /* abstract-syntax-error-falsely-constructed-message(6) */
\r
31 2, /* abstract-syntax-error-ignore-and-notify(2) */
\r
32 1, /* abstract-syntax-error-reject(1) */
\r
33 3, /* message-not-compatible-with-receiver-state(3) */
\r
34 4, /* semantic-error(4) */
\r
35 0, /* transfer-syntax-error(0) */
\r
36 5 /* unspecified(5) */
\r
37 /* This list is extensible */
\r
39 const asn_INTEGER_specifics_t asn_SPC_CauseProtocol_specs_1 = {
\r
40 asn_MAP_CauseProtocol_value2enum_1, /* "tag" => N; sorted by tag */
\r
41 asn_MAP_CauseProtocol_enum2value_1, /* N => "tag"; sorted by N */
\r
42 7, /* Number of elements in the maps */
\r
43 8, /* Extensions before this member */
\r
44 1, /* Strict enumeration */
\r
45 0, /* Native long size */
\r
48 static const ber_tlv_tag_t asn_DEF_CauseProtocol_tags_1[] = {
\r
49 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
\r
51 asn_TYPE_descriptor_t asn_DEF_CauseProtocol = {
\r
54 &asn_OP_NativeEnumerated,
\r
55 asn_DEF_CauseProtocol_tags_1,
\r
56 sizeof(asn_DEF_CauseProtocol_tags_1)
\r
57 /sizeof(asn_DEF_CauseProtocol_tags_1[0]), /* 1 */
\r
58 asn_DEF_CauseProtocol_tags_1, /* Same as above */
\r
59 sizeof(asn_DEF_CauseProtocol_tags_1)
\r
60 /sizeof(asn_DEF_CauseProtocol_tags_1[0]), /* 1 */
\r
61 { 0, &asn_PER_type_CauseProtocol_constr_1, NativeEnumerated_constraint },
\r
62 0, 0, /* Defined elsewhere */
\r
63 &asn_SPC_CauseProtocol_specs_1 /* Additional specs */
\r