2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2AP-IEs"
5 * `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "GlobalE2node-ID.h"
10 #include "GlobalE2node-gNB-ID.h"
11 #include "GlobalE2node-en-gNB-ID.h"
12 #include "GlobalE2node-ng-eNB-ID.h"
13 #include "GlobalE2node-eNB-ID.h"
14 static asn_oer_constraints_t asn_OER_type_GlobalE2node_ID_constr_1 CC_NOTUSED = {
17 static asn_per_constraints_t asn_PER_type_GlobalE2node_ID_constr_1 CC_NOTUSED = {
18 { APC_CONSTRAINED | APC_EXTENSIBLE, 2, 2, 0, 3 } /* (0..3,...) */,
19 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
20 0, 0 /* No PER value map */
22 static asn_TYPE_member_t asn_MBR_GlobalE2node_ID_1[] = {
23 { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.gNB),
24 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
25 -1, /* IMPLICIT tag at current level */
26 &asn_DEF_GlobalE2node_gNB_ID,
29 0, 0, /* No default value */
32 { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.en_gNB),
33 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
34 -1, /* IMPLICIT tag at current level */
35 &asn_DEF_GlobalE2node_en_gNB_ID,
38 0, 0, /* No default value */
41 { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.ng_eNB),
42 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
43 -1, /* IMPLICIT tag at current level */
44 &asn_DEF_GlobalE2node_ng_eNB_ID,
47 0, 0, /* No default value */
50 { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.eNB),
51 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
52 -1, /* IMPLICIT tag at current level */
53 &asn_DEF_GlobalE2node_eNB_ID,
56 0, 0, /* No default value */
60 static const asn_TYPE_tag2member_t asn_MAP_GlobalE2node_ID_tag2el_1[] = {
61 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gNB */
62 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* en-gNB */
63 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ng-eNB */
64 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* eNB */
66 static asn_CHOICE_specifics_t asn_SPC_GlobalE2node_ID_specs_1 = {
67 sizeof(struct GlobalE2node_ID),
68 offsetof(struct GlobalE2node_ID, _asn_ctx),
69 offsetof(struct GlobalE2node_ID, present),
70 sizeof(((struct GlobalE2node_ID *)0)->present),
71 asn_MAP_GlobalE2node_ID_tag2el_1,
72 4, /* Count of tags in the map */
74 4 /* Extensions start */
76 asn_TYPE_descriptor_t asn_DEF_GlobalE2node_ID = {
80 0, /* No effective tags (pointer) */
81 0, /* No effective tags (count) */
82 0, /* No tags (pointer) */
83 0, /* No tags (count) */
84 { &asn_OER_type_GlobalE2node_ID_constr_1, &asn_PER_type_GlobalE2node_ID_constr_1, CHOICE_constraint },
85 asn_MBR_GlobalE2node_ID_1,
86 4, /* Elements count */
87 &asn_SPC_GlobalE2node_ID_specs_1 /* Additional specs */