Updated documentation for mock a1 tool
[ric-app/admin.git] / asn1c_defs / X2N_E-RABs-ToBeAdded-SgNBModReq-Item.c
1 /*
2  * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-PDU-Contents"
4  *      found in "../../asn_defs/asn1/x2ap-15-04.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
6  */
7
8 #include "X2N_E-RABs-ToBeAdded-SgNBModReq-Item.h"
9
10 #include "X2N_ProtocolExtensionContainer.h"
11 #include "X2N_E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPpresent.h"
12 #include "X2N_E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPnotpresent.h"
13 static asn_per_constraints_t asn_PER_type_X2N_resource_configuration_constr_5 CC_NOTUSED = {
14         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 static asn_TYPE_member_t asn_MBR_X2N_resource_configuration_5[] = {
19         { ATF_POINTER, 0, offsetof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, choice.sgNBPDCPpresent),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "sgNBPDCPpresent"
27                 },
28         { ATF_POINTER, 0, offsetof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, choice.sgNBPDCPnotpresent),
29                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "sgNBPDCPnotpresent"
36                 },
37 };
38 static const asn_TYPE_tag2member_t asn_MAP_X2N_resource_configuration_tag2el_5[] = {
39     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sgNBPDCPpresent */
40     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sgNBPDCPnotpresent */
41 };
42 static asn_CHOICE_specifics_t asn_SPC_X2N_resource_configuration_specs_5 = {
43         sizeof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration),
44         offsetof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, _asn_ctx),
45         offsetof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, present),
46         sizeof(((struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration *)0)->present),
47         asn_MAP_X2N_resource_configuration_tag2el_5,
48         2,      /* Count of tags in the map */
49         0, 0,
50         2       /* Extensions start */
51 };
52 static /* Use -fall-defs-global to expose */
53 asn_TYPE_descriptor_t asn_DEF_X2N_resource_configuration_5 = {
54         "resource-configuration",
55         "resource-configuration",
56         &asn_OP_CHOICE,
57         0,      /* No effective tags (pointer) */
58         0,      /* No effective tags (count) */
59         0,      /* No tags (pointer) */
60         0,      /* No tags (count) */
61         { 0, &asn_PER_type_X2N_resource_configuration_constr_5, CHOICE_constraint },
62         asn_MBR_X2N_resource_configuration_5,
63         2,      /* Elements count */
64         &asn_SPC_X2N_resource_configuration_specs_5     /* Additional specs */
65 };
66
67 static asn_TYPE_member_t asn_MBR_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_1[] = {
68         { ATF_NOFLAGS, 0, offsetof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item, e_RAB_ID),
69                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
70                 -1,     /* IMPLICIT tag at current level */
71                 &asn_DEF_X2N_E_RAB_ID,
72                 0,
73                 { 0, 0, 0 },
74                 0, 0, /* No default value */
75                 "e-RAB-ID"
76                 },
77         { ATF_NOFLAGS, 0, offsetof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item, drb_ID),
78                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
79                 -1,     /* IMPLICIT tag at current level */
80                 &asn_DEF_X2N_DRB_ID,
81                 0,
82                 { 0, 0, 0 },
83                 0, 0, /* No default value */
84                 "drb-ID"
85                 },
86         { ATF_NOFLAGS, 0, offsetof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item, en_DC_ResourceConfiguration),
87                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
88                 -1,     /* IMPLICIT tag at current level */
89                 &asn_DEF_X2N_EN_DC_ResourceConfiguration,
90                 0,
91                 { 0, 0, 0 },
92                 0, 0, /* No default value */
93                 "en-DC-ResourceConfiguration"
94                 },
95         { ATF_NOFLAGS, 0, offsetof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item, resource_configuration),
96                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
97                 +1,     /* EXPLICIT tag at current level */
98                 &asn_DEF_X2N_resource_configuration_5,
99                 0,
100                 { 0, 0, 0 },
101                 0, 0, /* No default value */
102                 "resource-configuration"
103                 },
104         { ATF_POINTER, 1, offsetof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item, iE_Extensions),
105                 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
106                 -1,     /* IMPLICIT tag at current level */
107                 &asn_DEF_X2N_ProtocolExtensionContainer_8231P53,
108                 0,
109                 { 0, 0, 0 },
110                 0, 0, /* No default value */
111                 "iE-Extensions"
112                 },
113 };
114 static const int asn_MAP_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_oms_1[] = { 4 };
115 static const ber_tlv_tag_t asn_DEF_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1[] = {
116         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
117 };
118 static const asn_TYPE_tag2member_t asn_MAP_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_tag2el_1[] = {
119     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-RAB-ID */
120     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* drb-ID */
121     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* en-DC-ResourceConfiguration */
122     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* resource-configuration */
123     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
124 };
125 static asn_SEQUENCE_specifics_t asn_SPC_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_specs_1 = {
126         sizeof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item),
127         offsetof(struct X2N_E_RABs_ToBeAdded_SgNBModReq_Item, _asn_ctx),
128         asn_MAP_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_tag2el_1,
129         5,      /* Count of tags in the map */
130         asn_MAP_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_oms_1,     /* Optional members */
131         1, 0,   /* Root/Additions */
132         5,      /* First extension addition */
133 };
134 asn_TYPE_descriptor_t asn_DEF_X2N_E_RABs_ToBeAdded_SgNBModReq_Item = {
135         "E-RABs-ToBeAdded-SgNBModReq-Item",
136         "E-RABs-ToBeAdded-SgNBModReq-Item",
137         &asn_OP_SEQUENCE,
138         asn_DEF_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1,
139         sizeof(asn_DEF_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1)
140                 /sizeof(asn_DEF_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1[0]), /* 1 */
141         asn_DEF_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1,    /* Same as above */
142         sizeof(asn_DEF_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1)
143                 /sizeof(asn_DEF_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1[0]), /* 1 */
144         { 0, 0, SEQUENCE_constraint },
145         asn_MBR_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_1,
146         5,      /* Elements count */
147         &asn_SPC_X2N_E_RABs_ToBeAdded_SgNBModReq_Item_specs_1   /* Additional specs */
148 };
149