Adding new comments for Oran in all files with licenses
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPpresent.c
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 /*
18  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19  * platform project (RICP).
20  */
21
22
23
24 /*
25  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26  * From ASN.1 module "X2AP-PDU-Contents"
27  *      found in "../../asnFiles/X2AP-PDU-Contents.asn"
28  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
29  */
30
31 #include "E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPpresent.h"
32
33 #include "GBR-QosInformation.h"
34 #include "GTPtunnelEndpoint.h"
35 #include "ProtocolExtensionContainer.h"
36 asn_TYPE_member_t asn_MBR_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_1[] = {
37         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent, full_E_RAB_Level_QoS_Parameters),
38                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
39                 -1,     /* IMPLICIT tag at current level */
40                 &asn_DEF_E_RAB_Level_QoS_Parameters,
41                 0,
42                 { 0, 0, 0 },
43                 0, 0, /* No default value */
44                 "full-E-RAB-Level-QoS-Parameters"
45                 },
46         { ATF_POINTER, 3, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent, max_MCG_admit_E_RAB_Level_QoS_Parameters),
47                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
48                 -1,     /* IMPLICIT tag at current level */
49                 &asn_DEF_GBR_QosInformation,
50                 0,
51                 { 0, 0, 0 },
52                 0, 0, /* No default value */
53                 "max-MCG-admit-E-RAB-Level-QoS-Parameters"
54                 },
55         { ATF_POINTER, 2, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent, dL_Forwarding),
56                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
57                 -1,     /* IMPLICIT tag at current level */
58                 &asn_DEF_DL_Forwarding,
59                 0,
60                 { 0, 0, 0 },
61                 0, 0, /* No default value */
62                 "dL-Forwarding"
63                 },
64         { ATF_POINTER, 1, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent, meNB_DL_GTP_TEIDatMCG),
65                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
66                 -1,     /* IMPLICIT tag at current level */
67                 &asn_DEF_GTPtunnelEndpoint,
68                 0,
69                 { 0, 0, 0 },
70                 0, 0, /* No default value */
71                 "meNB-DL-GTP-TEIDatMCG"
72                 },
73         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent, s1_UL_GTPtunnelEndpoint),
74                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
75                 -1,     /* IMPLICIT tag at current level */
76                 &asn_DEF_GTPtunnelEndpoint,
77                 0,
78                 { 0, 0, 0 },
79                 0, 0, /* No default value */
80                 "s1-UL-GTPtunnelEndpoint"
81                 },
82         { ATF_POINTER, 1, offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent, iE_Extensions),
83                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
84                 -1,     /* IMPLICIT tag at current level */
85                 &asn_DEF_ProtocolExtensionContainer_170P45,
86                 0,
87                 { 0, 0, 0 },
88                 0, 0, /* No default value */
89                 "iE-Extensions"
90                 },
91 };
92 static const int asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_oms_1[] = { 1, 2, 3, 5 };
93 static const ber_tlv_tag_t asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_tags_1[] = {
94         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
95 };
96 static const asn_TYPE_tag2member_t asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_tag2el_1[] = {
97     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* full-E-RAB-Level-QoS-Parameters */
98     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* max-MCG-admit-E-RAB-Level-QoS-Parameters */
99     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* dL-Forwarding */
100     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* meNB-DL-GTP-TEIDatMCG */
101     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* s1-UL-GTPtunnelEndpoint */
102     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* iE-Extensions */
103 };
104 asn_SEQUENCE_specifics_t asn_SPC_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_specs_1 = {
105         sizeof(struct E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent),
106         offsetof(struct E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent, _asn_ctx),
107         asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_tag2el_1,
108         6,      /* Count of tags in the map */
109         asn_MAP_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_oms_1, /* Optional members */
110         4, 0,   /* Root/Additions */
111         6,      /* First extension addition */
112 };
113 asn_TYPE_descriptor_t asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent = {
114         "E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPpresent",
115         "E-RABs-ToBeAdded-SgNBAddReq-Item-SgNBPDCPpresent",
116         &asn_OP_SEQUENCE,
117         asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_tags_1,
118         sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_tags_1)
119                 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_tags_1[0]), /* 1 */
120         asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_tags_1,        /* Same as above */
121         sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_tags_1)
122                 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_tags_1[0]), /* 1 */
123         { 0, 0, SEQUENCE_constraint },
124         asn_MBR_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_1,
125         6,      /* Elements count */
126         &asn_SPC_E_RABs_ToBeAdded_SgNBAddReq_Item_SgNBPDCPpresent_specs_1       /* Additional specs */
127 };
128