2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "E2SM-COMMON-IEs"
4 * found in "e2sm-v03.01.asn"
5 * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -no-gen-example -no-gen-OER -D /tmp/workspace/oransim-gerrit/e2sim/asn1c/`
8 #include "InterfaceID-X2.h"
10 #include "E2SM-COMMON-IEs_GlobalENB-ID.h"
11 #include "E2SM-COMMON-IEs_GlobalenGNB-ID.h"
12 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
13 static asn_per_constraints_t asn_PER_type_nodeType_constr_2 CC_NOTUSED = {
14 { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */,
15 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
16 0, 0 /* No PER value map */
18 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
19 static asn_TYPE_member_t asn_MBR_nodeType_2[] = {
20 { ATF_POINTER, 0, offsetof(struct InterfaceID_X2__nodeType, choice.global_eNB_ID),
21 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
22 -1, /* IMPLICIT tag at current level */
23 &asn_DEF_E2SM_COMMON_IEs_GlobalENB_ID,
26 #if !defined(ASN_DISABLE_OER_SUPPORT)
28 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
29 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
31 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
34 0, 0, /* No default value */
37 { ATF_POINTER, 0, offsetof(struct InterfaceID_X2__nodeType, choice.global_en_gNB_ID),
38 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
39 -1, /* IMPLICIT tag at current level */
40 &asn_DEF_E2SM_COMMON_IEs_GlobalenGNB_ID,
43 #if !defined(ASN_DISABLE_OER_SUPPORT)
45 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
46 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
48 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
51 0, 0, /* No default value */
55 static const asn_TYPE_tag2member_t asn_MAP_nodeType_tag2el_2[] = {
56 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* global-eNB-ID */
57 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* global-en-gNB-ID */
59 static asn_CHOICE_specifics_t asn_SPC_nodeType_specs_2 = {
60 sizeof(struct InterfaceID_X2__nodeType),
61 offsetof(struct InterfaceID_X2__nodeType, _asn_ctx),
62 offsetof(struct InterfaceID_X2__nodeType, present),
63 sizeof(((struct InterfaceID_X2__nodeType *)0)->present),
64 asn_MAP_nodeType_tag2el_2,
65 2, /* Count of tags in the map */
67 2 /* Extensions start */
69 static /* Use -fall-defs-global to expose */
70 asn_TYPE_descriptor_t asn_DEF_nodeType_2 = {
74 0, /* No effective tags (pointer) */
75 0, /* No effective tags (count) */
76 0, /* No tags (pointer) */
77 0, /* No tags (count) */
79 #if !defined(ASN_DISABLE_OER_SUPPORT)
81 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
82 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
83 &asn_PER_type_nodeType_constr_2,
84 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
88 2, /* Elements count */
89 &asn_SPC_nodeType_specs_2 /* Additional specs */
92 asn_TYPE_member_t asn_MBR_InterfaceID_X2_1[] = {
93 { ATF_NOFLAGS, 0, offsetof(struct InterfaceID_X2, nodeType),
94 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
95 +1, /* EXPLICIT tag at current level */
99 #if !defined(ASN_DISABLE_OER_SUPPORT)
101 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
102 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
104 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
107 0, 0, /* No default value */
111 static const ber_tlv_tag_t asn_DEF_InterfaceID_X2_tags_1[] = {
112 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
114 static const asn_TYPE_tag2member_t asn_MAP_InterfaceID_X2_tag2el_1[] = {
115 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* nodeType */
117 asn_SEQUENCE_specifics_t asn_SPC_InterfaceID_X2_specs_1 = {
118 sizeof(struct InterfaceID_X2),
119 offsetof(struct InterfaceID_X2, _asn_ctx),
120 asn_MAP_InterfaceID_X2_tag2el_1,
121 1, /* Count of tags in the map */
122 0, 0, 0, /* Optional elements (not needed) */
123 1, /* First extension addition */
125 asn_TYPE_descriptor_t asn_DEF_InterfaceID_X2 = {
129 asn_DEF_InterfaceID_X2_tags_1,
130 sizeof(asn_DEF_InterfaceID_X2_tags_1)
131 /sizeof(asn_DEF_InterfaceID_X2_tags_1[0]), /* 1 */
132 asn_DEF_InterfaceID_X2_tags_1, /* Same as above */
133 sizeof(asn_DEF_InterfaceID_X2_tags_1)
134 /sizeof(asn_DEF_InterfaceID_X2_tags_1[0]), /* 1 */
136 #if !defined(ASN_DISABLE_OER_SUPPORT)
138 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
139 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
141 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
144 asn_MBR_InterfaceID_X2_1,
145 1, /* Elements count */
146 &asn_SPC_InterfaceID_X2_specs_1 /* Additional specs */