Moving in e2sim originally from it/test/simulators
[sim/e2-interface.git] / e2sim / ASN1c / E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPnotpresent.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  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
21  * From ASN.1 module "X2AP-PDU-Contents"
22  *      found in "../../asnFiles/X2AP-PDU-Contents.asn"
23  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
24  */
25
26 #include "E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPnotpresent.h"
27
28 #include "GTPtunnelEndpoint.h"
29 #include "ULConfiguration.h"
30 #include "ProtocolExtensionContainer.h"
31 asn_TYPE_member_t asn_MBR_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_1[] = {
32         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent, requested_SCG_E_RAB_Level_QoS_Parameters),
33                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
34                 -1,     /* IMPLICIT tag at current level */
35                 &asn_DEF_E_RAB_Level_QoS_Parameters,
36                 0,
37                 { 0, 0, 0 },
38                 0, 0, /* No default value */
39                 "requested-SCG-E-RAB-Level-QoS-Parameters"
40                 },
41         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent, meNB_UL_GTP_TEIDatPDCP),
42                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
43                 -1,     /* IMPLICIT tag at current level */
44                 &asn_DEF_GTPtunnelEndpoint,
45                 0,
46                 { 0, 0, 0 },
47                 0, 0, /* No default value */
48                 "meNB-UL-GTP-TEIDatPDCP"
49                 },
50         { ATF_POINTER, 1, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent, secondary_meNB_UL_GTP_TEIDatPDCP),
51                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
52                 -1,     /* IMPLICIT tag at current level */
53                 &asn_DEF_GTPtunnelEndpoint,
54                 0,
55                 { 0, 0, 0 },
56                 0, 0, /* No default value */
57                 "secondary-meNB-UL-GTP-TEIDatPDCP"
58                 },
59         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent, rlc_Mode),
60                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
61                 -1,     /* IMPLICIT tag at current level */
62                 &asn_DEF_RLCMode,
63                 0,
64                 { 0, 0, 0 },
65                 0, 0, /* No default value */
66                 "rlc-Mode"
67                 },
68         { ATF_POINTER, 2, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent, uL_Configuration),
69                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
70                 -1,     /* IMPLICIT tag at current level */
71                 &asn_DEF_ULConfiguration,
72                 0,
73                 { 0, 0, 0 },
74                 0, 0, /* No default value */
75                 "uL-Configuration"
76                 },
77         { ATF_POINTER, 1, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent, iE_Extensions),
78                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
79                 -1,     /* IMPLICIT tag at current level */
80                 &asn_DEF_ProtocolExtensionContainer_170P55,
81                 0,
82                 { 0, 0, 0 },
83                 0, 0, /* No default value */
84                 "iE-Extensions"
85                 },
86 };
87 static const int asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_oms_1[] = { 2, 4, 5 };
88 static const ber_tlv_tag_t asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_tags_1[] = {
89         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
90 };
91 static const asn_TYPE_tag2member_t asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_tag2el_1[] = {
92     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* requested-SCG-E-RAB-Level-QoS-Parameters */
93     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* meNB-UL-GTP-TEIDatPDCP */
94     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* secondary-meNB-UL-GTP-TEIDatPDCP */
95     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* rlc-Mode */
96     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* uL-Configuration */
97     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* iE-Extensions */
98 };
99 asn_SEQUENCE_specifics_t asn_SPC_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_specs_1 = {
100         sizeof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent),
101         offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent, _asn_ctx),
102         asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_tag2el_1,
103         6,      /* Count of tags in the map */
104         asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_oms_1,      /* Optional members */
105         3, 0,   /* Root/Additions */
106         6,      /* First extension addition */
107 };
108 asn_TYPE_descriptor_t asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent = {
109         "E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPnotpresent",
110         "E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPnotpresent",
111         &asn_OP_SEQUENCE,
112         asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_tags_1,
113         sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_tags_1)
114                 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_tags_1[0]), /* 1 */
115         asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_tags_1,     /* Same as above */
116         sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_tags_1)
117                 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_tags_1[0]), /* 1 */
118         { 0, 0, SEQUENCE_constraint },
119         asn_MBR_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_1,
120         6,      /* Elements count */
121         &asn_SPC_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent_specs_1    /* Additional specs */
122 };
123