Moving in e2sim originally from it/test/simulators
[sim/e2-interface.git] / e2sim / ASN1c / E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPpresent.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-SgNBPDCPpresent.h"
27
28 #include "GBR-QosInformation.h"
29 #include "GTPtunnelEndpoint.h"
30 #include "ProtocolExtensionContainer.h"
31 asn_TYPE_member_t asn_MBR_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_1[] = {
32         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent, full_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                 "full-E-RAB-Level-QoS-Parameters"
40                 },
41         { ATF_POINTER, 3, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent, max_MN_admit_E_RAB_Level_QoS_Parameters),
42                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
43                 -1,     /* IMPLICIT tag at current level */
44                 &asn_DEF_GBR_QosInformation,
45                 0,
46                 { 0, 0, 0 },
47                 0, 0, /* No default value */
48                 "max-MN-admit-E-RAB-Level-QoS-Parameters"
49                 },
50         { ATF_POINTER, 2, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent, dL_Forwarding),
51                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
52                 -1,     /* IMPLICIT tag at current level */
53                 &asn_DEF_DL_Forwarding,
54                 0,
55                 { 0, 0, 0 },
56                 0, 0, /* No default value */
57                 "dL-Forwarding"
58                 },
59         { ATF_POINTER, 1, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent, meNB_DL_GTP_TEIDatMCG),
60                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
61                 -1,     /* IMPLICIT tag at current level */
62                 &asn_DEF_GTPtunnelEndpoint,
63                 0,
64                 { 0, 0, 0 },
65                 0, 0, /* No default value */
66                 "meNB-DL-GTP-TEIDatMCG"
67                 },
68         { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent, s1_UL_GTPtunnelEndpoint),
69                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
70                 -1,     /* IMPLICIT tag at current level */
71                 &asn_DEF_GTPtunnelEndpoint,
72                 0,
73                 { 0, 0, 0 },
74                 0, 0, /* No default value */
75                 "s1-UL-GTPtunnelEndpoint"
76                 },
77         { ATF_POINTER, 1, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent, iE_Extensions),
78                 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
79                 -1,     /* IMPLICIT tag at current level */
80                 &asn_DEF_ProtocolExtensionContainer_170P54,
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_SgNBPDCPpresent_oms_1[] = { 1, 2, 3, 5 };
88 static const ber_tlv_tag_t asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_tags_1[] = {
89         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
90 };
91 static const asn_TYPE_tag2member_t asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_tag2el_1[] = {
92     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* full-E-RAB-Level-QoS-Parameters */
93     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* max-MN-admit-E-RAB-Level-QoS-Parameters */
94     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* dL-Forwarding */
95     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* meNB-DL-GTP-TEIDatMCG */
96     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* s1-UL-GTPtunnelEndpoint */
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_SgNBPDCPpresent_specs_1 = {
100         sizeof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent),
101         offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent, _asn_ctx),
102         asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_tag2el_1,
103         6,      /* Count of tags in the map */
104         asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_oms_1, /* Optional members */
105         4, 0,   /* Root/Additions */
106         6,      /* First extension addition */
107 };
108 asn_TYPE_descriptor_t asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent = {
109         "E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPpresent",
110         "E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPpresent",
111         &asn_OP_SEQUENCE,
112         asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_tags_1,
113         sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_tags_1)
114                 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_tags_1[0]), /* 1 */
115         asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_tags_1,        /* Same as above */
116         sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_tags_1)
117                 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_tags_1[0]), /* 1 */
118         { 0, 0, SEQUENCE_constraint },
119         asn_MBR_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_1,
120         6,      /* Elements count */
121         &asn_SPC_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent_specs_1       /* Additional specs */
122 };
123