Sync from Azure to LF
[ric-plt/resource-status-manager.git] / RSM / asn1codec / e2ap_engine / E-RABs-ToBeAdded-SgNBModReq-Item.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 "X2AP-PDU-Contents"
23  *      found in "../../asnFiles/X2AP-PDU-Contents.asn"
24  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
25  */
26
27 #include "E-RABs-ToBeAdded-SgNBModReq-Item.h"
28
29 #include "ProtocolExtensionContainer.h"
30 #include "E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPpresent.h"
31 #include "E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPnotpresent.h"
32 static asn_per_constraints_t asn_PER_type_resource_configuration_constr_5 CC_NOTUSED = {
33         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
34         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
35         0, 0    /* No PER value map */
36 };
37 static asn_TYPE_member_t asn_MBR_resource_configuration_5[] = {
38         { ATF_POINTER, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, choice.sgNBPDCPpresent),
39                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
40                 -1,     /* IMPLICIT tag at current level */
41                 &asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent,
42                 0,
43                 { 0, 0, 0 },
44                 0, 0, /* No default value */
45                 "sgNBPDCPpresent"
46                 },
47         { ATF_POINTER, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, choice.sgNBPDCPnotpresent),
48                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
49                 -1,     /* IMPLICIT tag at current level */
50                 &asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent,
51                 0,
52                 { 0, 0, 0 },
53                 0, 0, /* No default value */
54                 "sgNBPDCPnotpresent"
55                 },
56 };
57 static const asn_TYPE_tag2member_t asn_MAP_resource_configuration_tag2el_5[] = {
58     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sgNBPDCPpresent */
59     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sgNBPDCPnotpresent */
60 };
61 static asn_CHOICE_specifics_t asn_SPC_resource_configuration_specs_5 = {
62         sizeof(struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration),
63         offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, _asn_ctx),
64         offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, present),
65         sizeof(((struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration *)0)->present),
66         asn_MAP_resource_configuration_tag2el_5,
67         2,      /* Count of tags in the map */
68         0, 0,
69         2       /* Extensions start */
70 };
71 static /* Use -fall-defs-global to expose */
72 asn_TYPE_descriptor_t asn_DEF_resource_configuration_5 = {
73         "resource-configuration",
74         "resource-configuration",
75         &asn_OP_CHOICE,
76         0,      /* No effective tags (pointer) */
77         0,      /* No effective tags (count) */
78         0,      /* No tags (pointer) */
79         0,      /* No tags (count) */
80         { 0, &asn_PER_type_resource_configuration_constr_5, CHOICE_constraint },
81         asn_MBR_resource_configuration_5,
82         2,      /* Elements count */
83         &asn_SPC_resource_configuration_specs_5 /* Additional specs */
84 };
85
86 static asn_TYPE_member_t asn_MBR_E_RABs_ToBeAdded_SgNBModReq_Item_1[] = {
87         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, e_RAB_ID),
88                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
89                 -1,     /* IMPLICIT tag at current level */
90                 &asn_DEF_E_RAB_ID,
91                 0,
92                 { 0, 0, 0 },
93                 0, 0, /* No default value */
94                 "e-RAB-ID"
95                 },
96         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, drb_ID),
97                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
98                 -1,     /* IMPLICIT tag at current level */
99                 &asn_DEF_DRB_ID,
100                 0,
101                 { 0, 0, 0 },
102                 0, 0, /* No default value */
103                 "drb-ID"
104                 },
105         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, en_DC_ResourceConfiguration),
106                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
107                 -1,     /* IMPLICIT tag at current level */
108                 &asn_DEF_EN_DC_ResourceConfiguration,
109                 0,
110                 { 0, 0, 0 },
111                 0, 0, /* No default value */
112                 "en-DC-ResourceConfiguration"
113                 },
114         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, resource_configuration),
115                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
116                 +1,     /* EXPLICIT tag at current level */
117                 &asn_DEF_resource_configuration_5,
118                 0,
119                 { 0, 0, 0 },
120                 0, 0, /* No default value */
121                 "resource-configuration"
122                 },
123         { ATF_POINTER, 1, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, iE_Extensions),
124                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
125                 -1,     /* IMPLICIT tag at current level */
126                 &asn_DEF_ProtocolExtensionContainer_170P53,
127                 0,
128                 { 0, 0, 0 },
129                 0, 0, /* No default value */
130                 "iE-Extensions"
131                 },
132 };
133 static const int asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_oms_1[] = { 4 };
134 static const ber_tlv_tag_t asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1[] = {
135         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
136 };
137 static const asn_TYPE_tag2member_t asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_tag2el_1[] = {
138     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-RAB-ID */
139     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* drb-ID */
140     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* en-DC-ResourceConfiguration */
141     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* resource-configuration */
142     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
143 };
144 static asn_SEQUENCE_specifics_t asn_SPC_E_RABs_ToBeAdded_SgNBModReq_Item_specs_1 = {
145         sizeof(struct E_RABs_ToBeAdded_SgNBModReq_Item),
146         offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, _asn_ctx),
147         asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_tag2el_1,
148         5,      /* Count of tags in the map */
149         asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_oms_1, /* Optional members */
150         1, 0,   /* Root/Additions */
151         5,      /* First extension addition */
152 };
153 asn_TYPE_descriptor_t asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item = {
154         "E-RABs-ToBeAdded-SgNBModReq-Item",
155         "E-RABs-ToBeAdded-SgNBModReq-Item",
156         &asn_OP_SEQUENCE,
157         asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1,
158         sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1)
159                 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1[0]), /* 1 */
160         asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1,        /* Same as above */
161         sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1)
162                 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1[0]), /* 1 */
163         { 0, 0, SEQUENCE_constraint },
164         asn_MBR_E_RABs_ToBeAdded_SgNBModReq_Item_1,
165         5,      /* Elements count */
166         &asn_SPC_E_RABs_ToBeAdded_SgNBModReq_Item_specs_1       /* Additional specs */
167 };
168