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`
8 #include "InterfaceProtocolIE-Value.h"
10 asn_per_constraints_t asn_PER_type_InterfaceProtocolIE_Value_constr_1 CC_NOTUSED = {
11 { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 4 } /* (0..4,...) */,
12 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
13 0, 0 /* No PER value map */
15 asn_TYPE_member_t asn_MBR_InterfaceProtocolIE_Value_1[] = {
16 { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Value, choice.valueInt),
17 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18 -1, /* IMPLICIT tag at current level */
19 &asn_DEF_NativeInteger,
22 0, 0, /* No default value */
25 { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Value, choice.valueEnum),
26 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27 -1, /* IMPLICIT tag at current level */
28 &asn_DEF_NativeInteger,
31 0, 0, /* No default value */
34 { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Value, choice.valueBool),
35 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
36 -1, /* IMPLICIT tag at current level */
40 0, 0, /* No default value */
43 { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Value, choice.valueBitS),
44 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
45 -1, /* IMPLICIT tag at current level */
49 0, 0, /* No default value */
52 { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Value, choice.valueOctS),
53 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
54 -1, /* IMPLICIT tag at current level */
55 &asn_DEF_OCTET_STRING,
58 0, 0, /* No default value */
62 static const asn_TYPE_tag2member_t asn_MAP_InterfaceProtocolIE_Value_tag2el_1[] = {
63 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* valueInt */
64 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* valueEnum */
65 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* valueBool */
66 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* valueBitS */
67 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* valueOctS */
69 asn_CHOICE_specifics_t asn_SPC_InterfaceProtocolIE_Value_specs_1 = {
70 sizeof(struct InterfaceProtocolIE_Value),
71 offsetof(struct InterfaceProtocolIE_Value, _asn_ctx),
72 offsetof(struct InterfaceProtocolIE_Value, present),
73 sizeof(((struct InterfaceProtocolIE_Value *)0)->present),
74 asn_MAP_InterfaceProtocolIE_Value_tag2el_1,
75 5, /* Count of tags in the map */
77 5 /* Extensions start */
79 asn_TYPE_descriptor_t asn_DEF_InterfaceProtocolIE_Value = {
80 "InterfaceProtocolIE-Value",
81 "InterfaceProtocolIE-Value",
83 0, /* No effective tags (pointer) */
84 0, /* No effective tags (count) */
85 0, /* No tags (pointer) */
86 0, /* No tags (count) */
87 { 0, &asn_PER_type_InterfaceProtocolIE_Value_constr_1, CHOICE_constraint },
88 asn_MBR_InterfaceProtocolIE_Value_1,
89 5, /* Elements count */
90 &asn_SPC_InterfaceProtocolIE_Value_specs_1 /* Additional specs */