2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-KPM-IEs"
4 * found in "E2SM-KPM-Prespec.asn"
5 * `asn1c -D ./e2sm-kpm -gen-PER`
8 #include "GlobalKPMnode-ID.h"
10 static asn_oer_constraints_t asn_OER_type_GlobalKPMnode_ID_constr_1 CC_NOTUSED = {
13 asn_per_constraints_t asn_PER_type_GlobalKPMnode_ID_constr_1 CC_NOTUSED = {
14 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */,
15 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
16 0, 0 /* No PER value map */
18 asn_TYPE_member_t asn_MBR_GlobalKPMnode_ID_1[] = {
19 { ATF_NOFLAGS, 0, offsetof(struct GlobalKPMnode_ID, choice.gNB),
20 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21 -1, /* IMPLICIT tag at current level */
22 &asn_DEF_GlobalKPMnode_gNB_ID,
25 0, 0, /* No default value */
28 { ATF_NOFLAGS, 0, offsetof(struct GlobalKPMnode_ID, choice.en_gNB),
29 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30 -1, /* IMPLICIT tag at current level */
31 &asn_DEF_GlobalKPMnode_en_gNB_ID,
34 0, 0, /* No default value */
38 { ATF_NOFLAGS, 0, offsetof(struct GlobalKPMnode_ID, choice.ng_eNB),
39 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
40 -1, /* IMPLICIT tag at current level */
41 &asn_DEF_GlobalKPMnode_ng_eNB_ID,
44 0, 0, /* No default value */
48 { ATF_NOFLAGS, 0, offsetof(struct GlobalKPMnode_ID, choice.eNB),
49 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
50 -1, /* IMPLICIT tag at current level */
51 &asn_DEF_GlobalKPMnode_eNB_ID,
54 0, 0, /* No default value */
58 static const asn_TYPE_tag2member_t asn_MAP_GlobalKPMnode_ID_tag2el_1[] = {
59 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gNB */
60 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* en-gNB */
61 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ng-eNB */
62 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* eNB */
64 asn_CHOICE_specifics_t asn_SPC_GlobalKPMnode_ID_specs_1 = {
65 sizeof(struct GlobalKPMnode_ID),
66 offsetof(struct GlobalKPMnode_ID, _asn_ctx),
67 offsetof(struct GlobalKPMnode_ID, present),
68 sizeof(((struct GlobalKPMnode_ID *)0)->present),
69 asn_MAP_GlobalKPMnode_ID_tag2el_1,
70 4, /* Count of tags in the map */
72 4 /* Extensions start */
74 asn_TYPE_descriptor_t asn_DEF_GlobalKPMnode_ID = {
78 0, /* No effective tags (pointer) */
79 0, /* No effective tags (count) */
80 0, /* No tags (pointer) */
81 0, /* No tags (count) */
82 { &asn_OER_type_GlobalKPMnode_ID_constr_1, &asn_PER_type_GlobalKPMnode_ID_constr_1, CHOICE_constraint },
83 asn_MBR_GlobalKPMnode_ID_1,
84 4, /* Elements count */
85 &asn_SPC_GlobalKPMnode_ID_specs_1 /* Additional specs */