SIM-115: update simulator to use latest E2SM KPM version 3
[sim/e2-interface.git] / e2sim / asn1c / GlobalE2node-ID.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "e2ap-ied-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 "GlobalE2node-ID.h"
9
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 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
15 asn_per_constraints_t asn_PER_type_GlobalE2node_ID_constr_1 CC_NOTUSED = {
16         { APC_CONSTRAINED | APC_EXTENSIBLE,  2,  2,  0,  3 }    /* (0..3,...) */,
17         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
18         0, 0    /* No PER value map */
19 };
20 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
21 asn_TYPE_member_t asn_MBR_GlobalE2node_ID_1[] = {
22         { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.gNB),
23                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
24                 -1,     /* IMPLICIT tag at current level */
25                 &asn_DEF_GlobalE2node_gNB_ID,
26                 0,
27                 {
28 #if !defined(ASN_DISABLE_OER_SUPPORT)
29                         0,
30 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
31 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
32                         0,
33 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
34                         0
35                 },
36                 0, 0, /* No default value */
37                 "gNB"
38                 },
39         { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.en_gNB),
40                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
41                 -1,     /* IMPLICIT tag at current level */
42                 &asn_DEF_GlobalE2node_en_gNB_ID,
43                 0,
44                 {
45 #if !defined(ASN_DISABLE_OER_SUPPORT)
46                         0,
47 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
48 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
49                         0,
50 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
51                         0
52                 },
53                 0, 0, /* No default value */
54                 "en-gNB"
55                 },
56         { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.ng_eNB),
57                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
58                 -1,     /* IMPLICIT tag at current level */
59                 &asn_DEF_GlobalE2node_ng_eNB_ID,
60                 0,
61                 {
62 #if !defined(ASN_DISABLE_OER_SUPPORT)
63                         0,
64 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
65 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
66                         0,
67 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
68                         0
69                 },
70                 0, 0, /* No default value */
71                 "ng-eNB"
72                 },
73         { ATF_POINTER, 0, offsetof(struct GlobalE2node_ID, choice.eNB),
74                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
75                 -1,     /* IMPLICIT tag at current level */
76                 &asn_DEF_GlobalE2node_eNB_ID,
77                 0,
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                         0,
84 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
85                         0
86                 },
87                 0, 0, /* No default value */
88                 "eNB"
89                 },
90 };
91 static const asn_TYPE_tag2member_t asn_MAP_GlobalE2node_ID_tag2el_1[] = {
92     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gNB */
93     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* en-gNB */
94     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ng-eNB */
95     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* eNB */
96 };
97 asn_CHOICE_specifics_t asn_SPC_GlobalE2node_ID_specs_1 = {
98         sizeof(struct GlobalE2node_ID),
99         offsetof(struct GlobalE2node_ID, _asn_ctx),
100         offsetof(struct GlobalE2node_ID, present),
101         sizeof(((struct GlobalE2node_ID *)0)->present),
102         asn_MAP_GlobalE2node_ID_tag2el_1,
103         4,      /* Count of tags in the map */
104         0, 0,
105         4       /* Extensions start */
106 };
107 asn_TYPE_descriptor_t asn_DEF_GlobalE2node_ID = {
108         "GlobalE2node-ID",
109         "GlobalE2node-ID",
110         &asn_OP_CHOICE,
111         0,      /* No effective tags (pointer) */
112         0,      /* No effective tags (count) */
113         0,      /* No tags (pointer) */
114         0,      /* No tags (count) */
115         {
116 #if !defined(ASN_DISABLE_OER_SUPPORT)
117                 0,
118 #endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
119 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
120                 &asn_PER_type_GlobalE2node_ID_constr_1,
121 #endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
122                 CHOICE_constraint
123         },
124         asn_MBR_GlobalE2node_ID_1,
125         4,      /* Elements count */
126         &asn_SPC_GlobalE2node_ID_specs_1        /* Additional specs */
127 };
128