2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-PDU-Contents"
4 * found in "Spec/e2ap-v031ex.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
8 #include "E-RABs-ToBeAdded-SgNBModReq-Item.h"
10 #include "ProtocolExtensionContainer.h"
11 #include "E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPpresent.h"
12 #include "E-RABs-ToBeAdded-SgNBModReq-Item-SgNBPDCPnotpresent.h"
13 static asn_oer_constraints_t asn_OER_type_resource_configuration_constr_5 CC_NOTUSED = {
16 static asn_per_constraints_t asn_PER_type_resource_configuration_constr_5 CC_NOTUSED = {
17 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
18 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
19 0, 0 /* No PER value map */
21 static asn_TYPE_member_t asn_MBR_resource_configuration_5[] = {
22 { ATF_POINTER, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, choice.sgNBPDCPpresent),
23 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
24 -1, /* IMPLICIT tag at current level */
25 &asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPpresent,
28 0, 0, /* No default value */
31 { ATF_POINTER, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, choice.sgNBPDCPnotpresent),
32 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
33 -1, /* IMPLICIT tag at current level */
34 &asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_SgNBPDCPnotpresent,
37 0, 0, /* No default value */
41 static const asn_TYPE_tag2member_t asn_MAP_resource_configuration_tag2el_5[] = {
42 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sgNBPDCPpresent */
43 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sgNBPDCPnotpresent */
45 static asn_CHOICE_specifics_t asn_SPC_resource_configuration_specs_5 = {
46 sizeof(struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration),
47 offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, _asn_ctx),
48 offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration, present),
49 sizeof(((struct E_RABs_ToBeAdded_SgNBModReq_Item__resource_configuration *)0)->present),
50 asn_MAP_resource_configuration_tag2el_5,
51 2, /* Count of tags in the map */
53 2 /* Extensions start */
55 static /* Use -fall-defs-global to expose */
56 asn_TYPE_descriptor_t asn_DEF_resource_configuration_5 = {
57 "resource-configuration",
58 "resource-configuration",
60 0, /* No effective tags (pointer) */
61 0, /* No effective tags (count) */
62 0, /* No tags (pointer) */
63 0, /* No tags (count) */
64 { &asn_OER_type_resource_configuration_constr_5, &asn_PER_type_resource_configuration_constr_5, CHOICE_constraint },
65 asn_MBR_resource_configuration_5,
66 2, /* Elements count */
67 &asn_SPC_resource_configuration_specs_5 /* Additional specs */
70 static asn_TYPE_member_t asn_MBR_E_RABs_ToBeAdded_SgNBModReq_Item_1[] = {
71 { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, e_RAB_ID),
72 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
73 -1, /* IMPLICIT tag at current level */
77 0, 0, /* No default value */
80 { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, drb_ID),
81 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
82 -1, /* IMPLICIT tag at current level */
86 0, 0, /* No default value */
89 { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, en_DC_ResourceConfiguration),
90 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
91 -1, /* IMPLICIT tag at current level */
92 &asn_DEF_EN_DC_ResourceConfiguration,
95 0, 0, /* No default value */
96 "en-DC-ResourceConfiguration"
98 { ATF_NOFLAGS, 0, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, resource_configuration),
99 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
100 +1, /* EXPLICIT tag at current level */
101 &asn_DEF_resource_configuration_5,
104 0, 0, /* No default value */
105 "resource-configuration"
107 { ATF_POINTER, 1, offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, iE_Extensions),
108 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
109 -1, /* IMPLICIT tag at current level */
110 &asn_DEF_ProtocolExtensionContainer_9566P53,
113 0, 0, /* No default value */
117 static const int asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_oms_1[] = { 4 };
118 static const ber_tlv_tag_t asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1[] = {
119 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
121 static const asn_TYPE_tag2member_t asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_tag2el_1[] = {
122 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e-RAB-ID */
123 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* drb-ID */
124 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* en-DC-ResourceConfiguration */
125 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* resource-configuration */
126 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */
128 static asn_SEQUENCE_specifics_t asn_SPC_E_RABs_ToBeAdded_SgNBModReq_Item_specs_1 = {
129 sizeof(struct E_RABs_ToBeAdded_SgNBModReq_Item),
130 offsetof(struct E_RABs_ToBeAdded_SgNBModReq_Item, _asn_ctx),
131 asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_tag2el_1,
132 5, /* Count of tags in the map */
133 asn_MAP_E_RABs_ToBeAdded_SgNBModReq_Item_oms_1, /* Optional members */
134 1, 0, /* Root/Additions */
135 5, /* First extension addition */
137 asn_TYPE_descriptor_t asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item = {
138 "E-RABs-ToBeAdded-SgNBModReq-Item",
139 "E-RABs-ToBeAdded-SgNBModReq-Item",
141 asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1,
142 sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1)
143 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1[0]), /* 1 */
144 asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1, /* Same as above */
145 sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1)
146 /sizeof(asn_DEF_E_RABs_ToBeAdded_SgNBModReq_Item_tags_1[0]), /* 1 */
147 { 0, 0, SEQUENCE_constraint },
148 asn_MBR_E_RABs_ToBeAdded_SgNBModReq_Item_1,
149 5, /* Elements count */
150 &asn_SPC_E_RABs_ToBeAdded_SgNBModReq_Item_specs_1 /* Additional specs */