4e0819a0f437c9bda79ad4741fee3b4228c0c0bc
[ric-plt/resource-status-manager.git] / RSM / asn1codec / e2ap_engine / InterfaceProtocolIE-Value.c
1 /*
2  *
3  * Copyright 2019 AT&T Intellectual Property
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18
19
20 /*
21  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
22  * From ASN.1 module "E2SM-gNB-X2-IEs"
23  *      found in "../../asnFiles/e2sm-gNB-X2-release-1-v041.asn"
24  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
25  */
26
27 #include "InterfaceProtocolIE-Value.h"
28
29 asn_per_constraints_t asn_PER_type_InterfaceProtocolIE_Value_constr_1 CC_NOTUSED = {
30         { APC_CONSTRAINED | APC_EXTENSIBLE,  3,  3,  0,  4 }    /* (0..4,...) */,
31         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
32         0, 0    /* No PER value map */
33 };
34 asn_TYPE_member_t asn_MBR_InterfaceProtocolIE_Value_1[] = {
35         { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Value, choice.valueInt),
36                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
37                 -1,     /* IMPLICIT tag at current level */
38                 &asn_DEF_NativeInteger,
39                 0,
40                 { 0, 0, 0 },
41                 0, 0, /* No default value */
42                 "valueInt"
43                 },
44         { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Value, choice.valueEnum),
45                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
46                 -1,     /* IMPLICIT tag at current level */
47                 &asn_DEF_NativeInteger,
48                 0,
49                 { 0, 0, 0 },
50                 0, 0, /* No default value */
51                 "valueEnum"
52                 },
53         { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Value, choice.valueBool),
54                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
55                 -1,     /* IMPLICIT tag at current level */
56                 &asn_DEF_BOOLEAN,
57                 0,
58                 { 0, 0, 0 },
59                 0, 0, /* No default value */
60                 "valueBool"
61                 },
62         { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Value, choice.valueBitS),
63                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
64                 -1,     /* IMPLICIT tag at current level */
65                 &asn_DEF_BIT_STRING,
66                 0,
67                 { 0, 0, 0 },
68                 0, 0, /* No default value */
69                 "valueBitS"
70                 },
71         { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Value, choice.valueOctS),
72                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
73                 -1,     /* IMPLICIT tag at current level */
74                 &asn_DEF_OCTET_STRING,
75                 0,
76                 { 0, 0, 0 },
77                 0, 0, /* No default value */
78                 "valueOctS"
79                 },
80 };
81 static const asn_TYPE_tag2member_t asn_MAP_InterfaceProtocolIE_Value_tag2el_1[] = {
82     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* valueInt */
83     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* valueEnum */
84     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* valueBool */
85     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* valueBitS */
86     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* valueOctS */
87 };
88 asn_CHOICE_specifics_t asn_SPC_InterfaceProtocolIE_Value_specs_1 = {
89         sizeof(struct InterfaceProtocolIE_Value),
90         offsetof(struct InterfaceProtocolIE_Value, _asn_ctx),
91         offsetof(struct InterfaceProtocolIE_Value, present),
92         sizeof(((struct InterfaceProtocolIE_Value *)0)->present),
93         asn_MAP_InterfaceProtocolIE_Value_tag2el_1,
94         5,      /* Count of tags in the map */
95         0, 0,
96         5       /* Extensions start */
97 };
98 asn_TYPE_descriptor_t asn_DEF_InterfaceProtocolIE_Value = {
99         "InterfaceProtocolIE-Value",
100         "InterfaceProtocolIE-Value",
101         &asn_OP_CHOICE,
102         0,      /* No effective tags (pointer) */
103         0,      /* No effective tags (count) */
104         0,      /* No tags (pointer) */
105         0,      /* No tags (count) */
106         { 0, &asn_PER_type_InterfaceProtocolIE_Value_constr_1, CHOICE_constraint },
107         asn_MBR_InterfaceProtocolIE_Value_1,
108         5,      /* Elements count */
109         &asn_SPC_InterfaceProtocolIE_Value_specs_1      /* Additional specs */
110 };
111