SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / InterfaceID-X2.c
1 /*
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/`
6  */
7
8 #include "InterfaceID-X2.h"
9
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 */
17 };
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,
24                 0,
25                 {
26 #if !defined(ASN_DISABLE_OER_SUPPORT)
27                         0,
28 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
29 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
30                         0,
31 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
32                         0
33                 },
34                 0, 0, /* No default value */
35                 "global-eNB-ID"
36                 },
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,
41                 0,
42                 {
43 #if !defined(ASN_DISABLE_OER_SUPPORT)
44                         0,
45 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
46 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
47                         0,
48 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
49                         0
50                 },
51                 0, 0, /* No default value */
52                 "global-en-gNB-ID"
53                 },
54 };
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 */
58 };
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 */
66         0, 0,
67         2       /* Extensions start */
68 };
69 static /* Use -fall-defs-global to expose */
70 asn_TYPE_descriptor_t asn_DEF_nodeType_2 = {
71         "nodeType",
72         "nodeType",
73         &asn_OP_CHOICE,
74         0,      /* No effective tags (pointer) */
75         0,      /* No effective tags (count) */
76         0,      /* No tags (pointer) */
77         0,      /* No tags (count) */
78         {
79 #if !defined(ASN_DISABLE_OER_SUPPORT)
80                 0,
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) */
85                 CHOICE_constraint
86         },
87         asn_MBR_nodeType_2,
88         2,      /* Elements count */
89         &asn_SPC_nodeType_specs_2       /* Additional specs */
90 };
91
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 */
96                 &asn_DEF_nodeType_2,
97                 0,
98                 {
99 #if !defined(ASN_DISABLE_OER_SUPPORT)
100                         0,
101 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
102 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
103                         0,
104 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
105                         0
106                 },
107                 0, 0, /* No default value */
108                 "nodeType"
109                 },
110 };
111 static const ber_tlv_tag_t asn_DEF_InterfaceID_X2_tags_1[] = {
112         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
113 };
114 static const asn_TYPE_tag2member_t asn_MAP_InterfaceID_X2_tag2el_1[] = {
115     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* nodeType */
116 };
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 */
124 };
125 asn_TYPE_descriptor_t asn_DEF_InterfaceID_X2 = {
126         "InterfaceID-X2",
127         "InterfaceID-X2",
128         &asn_OP_SEQUENCE,
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 */
135         {
136 #if !defined(ASN_DISABLE_OER_SUPPORT)
137                 0,
138 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
139 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
140                 0,
141 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
142                 SEQUENCE_constraint
143         },
144         asn_MBR_InterfaceID_X2_1,
145         1,      /* Elements count */
146         &asn_SPC_InterfaceID_X2_specs_1 /* Additional specs */
147 };
148