2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2AP-IEs"
4 * found in "spec/e2ap-v01.00.00.asn"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
8 #include "GlobalE2node-ID.h"
10 static asn_per_constraints_t asn_PER_type_GlobalE2node_ID_constr_1 CC_NOTUSED = {
11 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */,
12 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
13 0, 0 /* No PER value map */
15 static asn_TYPE_member_t asn_MBR_GlobalE2node_ID_1[] = {
16 { ATF_NOFLAGS, 0, offsetof(struct GlobalE2node_ID, choice.gNB),
17 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18 -1, /* IMPLICIT tag at current level */
19 &asn_DEF_GlobalE2node_gNB_ID,
22 0, 0, /* No default value */
25 { ATF_NOFLAGS, 0, offsetof(struct GlobalE2node_ID, choice.en_gNB),
26 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27 -1, /* IMPLICIT tag at current level */
28 &asn_DEF_GlobalE2node_en_gNB_ID,
31 0, 0, /* No default value */
34 { ATF_NOFLAGS, 0, offsetof(struct GlobalE2node_ID, choice.ng_eNB),
35 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
36 -1, /* IMPLICIT tag at current level */
37 &asn_DEF_GlobalE2node_ng_eNB_ID,
40 0, 0, /* No default value */
43 { ATF_NOFLAGS, 0, offsetof(struct GlobalE2node_ID, choice.eNB),
44 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
45 -1, /* IMPLICIT tag at current level */
46 &asn_DEF_GlobalE2node_eNB_ID,
49 0, 0, /* No default value */
53 static const asn_TYPE_tag2member_t asn_MAP_GlobalE2node_ID_tag2el_1[] = {
54 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gNB */
55 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* en-gNB */
56 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ng-eNB */
57 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* eNB */
59 static asn_CHOICE_specifics_t asn_SPC_GlobalE2node_ID_specs_1 = {
60 sizeof(struct GlobalE2node_ID),
61 offsetof(struct GlobalE2node_ID, _asn_ctx),
62 offsetof(struct GlobalE2node_ID, present),
63 sizeof(((struct GlobalE2node_ID *)0)->present),
64 asn_MAP_GlobalE2node_ID_tag2el_1,
65 4, /* Count of tags in the map */
67 4 /* Extensions start */
69 asn_TYPE_descriptor_t asn_DEF_GlobalE2node_ID = {
73 0, /* No effective tags (pointer) */
74 0, /* No effective tags (count) */
75 0, /* No tags (pointer) */
76 0, /* No tags (count) */
77 { 0, &asn_PER_type_GlobalE2node_ID_constr_1, CHOICE_constraint },
78 asn_MBR_GlobalE2node_ID_1,
79 4, /* Elements count */
80 &asn_SPC_GlobalE2node_ID_specs_1 /* Additional specs */