2 * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3 * From ASN.1 module "X2AP-IEs"
4 * found in "../../asn_defs/asn1/x2ap-15-04.asn"
5 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
8 #include "X2N_SharedResourceType.h"
10 #include "X2N_ULOnlySharing.h"
11 #include "X2N_ULandDLSharing.h"
12 asn_per_constraints_t asn_PER_type_X2N_SharedResourceType_constr_1 CC_NOTUSED = {
13 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
14 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
15 0, 0 /* No PER value map */
17 asn_TYPE_member_t asn_MBR_X2N_SharedResourceType_1[] = {
18 { ATF_POINTER, 0, offsetof(struct X2N_SharedResourceType, choice.uLOnlySharing),
19 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
20 -1, /* IMPLICIT tag at current level */
21 &asn_DEF_X2N_ULOnlySharing,
24 0, 0, /* No default value */
27 { ATF_POINTER, 0, offsetof(struct X2N_SharedResourceType, choice.uLandDLSharing),
28 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
29 -1, /* IMPLICIT tag at current level */
30 &asn_DEF_X2N_ULandDLSharing,
33 0, 0, /* No default value */
37 static const asn_TYPE_tag2member_t asn_MAP_X2N_SharedResourceType_tag2el_1[] = {
38 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* uLOnlySharing */
39 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* uLandDLSharing */
41 asn_CHOICE_specifics_t asn_SPC_X2N_SharedResourceType_specs_1 = {
42 sizeof(struct X2N_SharedResourceType),
43 offsetof(struct X2N_SharedResourceType, _asn_ctx),
44 offsetof(struct X2N_SharedResourceType, present),
45 sizeof(((struct X2N_SharedResourceType *)0)->present),
46 asn_MAP_X2N_SharedResourceType_tag2el_1,
47 2, /* Count of tags in the map */
49 2 /* Extensions start */
51 asn_TYPE_descriptor_t asn_DEF_X2N_SharedResourceType = {
55 0, /* No effective tags (pointer) */
56 0, /* No effective tags (count) */
57 0, /* No tags (pointer) */
58 0, /* No tags (count) */
59 { 0, &asn_PER_type_X2N_SharedResourceType_constr_1, CHOICE_constraint },
60 asn_MBR_X2N_SharedResourceType_1,
61 2, /* Elements count */
62 &asn_SPC_X2N_SharedResourceType_specs_1 /* Additional specs */