blob: 07f724e17244cdada8f294eb76c65bc8669a3cd3 [file] [log] [blame]
Juha Hyttinenff8dccd2019-12-10 14:34:07 +02001/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-gNB-X2-IEs"
4 * found in "Spec/e2_and_x2-combined-and-minimized.asn1"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
6 */
7
8#include "ActionParameter-Value.h"
9
10asn_per_constraints_t asn_PER_type_ActionParameter_Value_constr_1 CC_NOTUSED = {
11 { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 5 } /* (0..5,...) */,
12 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
13 0, 0 /* No PER value map */
14};
15asn_TYPE_member_t asn_MBR_ActionParameter_Value_1[] = {
16 { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valueInt),
17 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18 -1, /* IMPLICIT tag at current level */
19 &asn_DEF_NativeInteger,
20 0,
21 { 0, 0, 0 },
22 0, 0, /* No default value */
23 "valueInt"
24 },
25 { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valueEnum),
26 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27 -1, /* IMPLICIT tag at current level */
28 &asn_DEF_NativeInteger,
29 0,
30 { 0, 0, 0 },
31 0, 0, /* No default value */
32 "valueEnum"
33 },
34 { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valueBool),
35 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
36 -1, /* IMPLICIT tag at current level */
37 &asn_DEF_BOOLEAN,
38 0,
39 { 0, 0, 0 },
40 0, 0, /* No default value */
41 "valueBool"
42 },
43 { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valueBitS),
44 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
45 -1, /* IMPLICIT tag at current level */
46 &asn_DEF_BIT_STRING,
47 0,
48 { 0, 0, 0 },
49 0, 0, /* No default value */
50 "valueBitS"
51 },
52 { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valueOctS),
53 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
54 -1, /* IMPLICIT tag at current level */
55 &asn_DEF_OCTET_STRING,
56 0,
57 { 0, 0, 0 },
58 0, 0, /* No default value */
59 "valueOctS"
60 },
61 { ATF_NOFLAGS, 0, offsetof(struct ActionParameter_Value, choice.valuePrtS),
62 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
63 -1, /* IMPLICIT tag at current level */
64 &asn_DEF_PrintableString,
65 0,
66 { 0, 0, 0 },
67 0, 0, /* No default value */
68 "valuePrtS"
69 },
70};
71static const asn_TYPE_tag2member_t asn_MAP_ActionParameter_Value_tag2el_1[] = {
72 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* valueInt */
73 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* valueEnum */
74 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* valueBool */
75 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* valueBitS */
76 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* valueOctS */
77 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* valuePrtS */
78};
79asn_CHOICE_specifics_t asn_SPC_ActionParameter_Value_specs_1 = {
80 sizeof(struct ActionParameter_Value),
81 offsetof(struct ActionParameter_Value, _asn_ctx),
82 offsetof(struct ActionParameter_Value, present),
83 sizeof(((struct ActionParameter_Value *)0)->present),
84 asn_MAP_ActionParameter_Value_tag2el_1,
85 6, /* Count of tags in the map */
86 0, 0,
87 6 /* Extensions start */
88};
89asn_TYPE_descriptor_t asn_DEF_ActionParameter_Value = {
90 "ActionParameter-Value",
91 "ActionParameter-Value",
92 &asn_OP_CHOICE,
93 0, /* No effective tags (pointer) */
94 0, /* No effective tags (count) */
95 0, /* No tags (pointer) */
96 0, /* No tags (count) */
97 { 0, &asn_PER_type_ActionParameter_Value_constr_1, CHOICE_constraint },
98 asn_MBR_ActionParameter_Value_1,
99 6, /* Elements count */
100 &asn_SPC_ActionParameter_Value_specs_1 /* Additional specs */
101};
102