/src/open5gs/lib/asn1c/ngap/NGAP_IntersystemUnnecessaryHO.c
Line | Count | Source |
1 | | /* |
2 | | * Generated by asn1c-v1.4-43-gb7926896-2026-05-03 (https://github.com/mouse07410/asn1c) |
3 | | * From ASN.1 module "NGAP-IEs" |
4 | | * found in "../support/ngap-r19.2.0/38413-j20.asn" |
5 | | * `asn1c -pdu=all -fprefix=NGAP_ -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-CBOR -no-gen-OER -no-gen-UPER` |
6 | | */ |
7 | | |
8 | | #include "NGAP_IntersystemUnnecessaryHO.h" |
9 | | |
10 | | #include "NGAP_NGRAN-CGI.h" |
11 | | #include "NGAP_EUTRA-CGI.h" |
12 | | #include "NGAP_CandidateCellList.h" |
13 | | #include "NGAP_ProtocolExtensionContainer.h" |
14 | | #ifndef ASN1C_NO_UNSUFFIXED_PDU_ALIAS |
15 | | #if defined(__ELF__) && (defined(__GNUC__) || defined(__clang__)) |
16 | | extern asn_TYPE_descriptor_t asn_DEF_NGAP_earlyIRATHO __attribute__((weak, alias("asn_DEF_NGAP_earlyIRATHO_4"))); |
17 | | #else |
18 | | static asn_TYPE_descriptor_t asn_DEF_NGAP_earlyIRATHO_4; |
19 | | static asn_TYPE_descriptor_t asn_DEF_NGAP_earlyIRATHO; |
20 | | __attribute__((constructor)) static void asn_DEF_NGAP_earlyIRATHO_4_alias_init(void) { |
21 | | asn_DEF_NGAP_earlyIRATHO = asn_DEF_NGAP_earlyIRATHO_4; |
22 | | } |
23 | | #endif |
24 | | #endif /* ASN1C_NO_UNSUFFIXED_PDU_ALIAS */ |
25 | | /* |
26 | | * This type is implemented using NativeEnumerated, |
27 | | * so here we adjust the DEF accordingly. |
28 | | */ |
29 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
30 | | static asn_per_constraints_t asn_PER_type_NGAP_earlyIRATHO_constr_4 CC_NOTUSED = { |
31 | | { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, |
32 | | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
33 | | 0, 0 /* No PER value map */ |
34 | | }; |
35 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
36 | | static const asn_INTEGER_enum_map_t asn_MAP_NGAP_earlyIRATHO_value2enum_4[] = { |
37 | | { 0, 4, "true" }, |
38 | | { 1, 5, "false" } |
39 | | /* This list is extensible */ |
40 | | }; |
41 | | static int asn_validate_NGAP_earlyIRATHO_4(const asn_TYPE_descriptor_t *td, |
42 | | const void *sptr, |
43 | | asn_app_constraint_failed_f *ctfailcb, |
44 | 0 | void* app_key) { |
45 | 0 | if(! sptr) { return -1; } |
46 | 0 | e_NGAP_IntersystemUnnecessaryHO__earlyIRATHO value = *(e_NGAP_IntersystemUnnecessaryHO__earlyIRATHO*)sptr; |
47 | 0 | switch(value) { |
48 | 0 | case NGAP_IntersystemUnnecessaryHO__earlyIRATHO_true: |
49 | 0 | case NGAP_IntersystemUnnecessaryHO__earlyIRATHO_false: |
50 | 0 | return 0; |
51 | 0 | } |
52 | 0 | return -1; |
53 | 0 | } |
54 | | static const unsigned int asn_MAP_NGAP_earlyIRATHO_enum2value_4[] = { |
55 | | 1, /* false(1) */ |
56 | | 0 /* true(0) */ |
57 | | /* This list is extensible */ |
58 | | }; |
59 | | static const asn_INTEGER_specifics_t asn_SPC_NGAP_earlyIRATHO_specs_4 = { |
60 | | asn_MAP_NGAP_earlyIRATHO_value2enum_4, /* "tag" => N; sorted by tag */ |
61 | | asn_MAP_NGAP_earlyIRATHO_enum2value_4, /* N => "tag"; sorted by N */ |
62 | | 2, /* Number of elements in the maps */ |
63 | | 3, /* Extensions before this member */ |
64 | | 1, /* Strict enumeration */ |
65 | | 0, /* Native long size */ |
66 | | 0 |
67 | | }; |
68 | | static const ber_tlv_tag_t asn_DEF_NGAP_earlyIRATHO_tags_4[] = { |
69 | | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
70 | | (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)) |
71 | | }; |
72 | | static /* Use -fall-defs-global to expose */ |
73 | | asn_TYPE_descriptor_t asn_DEF_NGAP_earlyIRATHO_4 = { |
74 | | "earlyIRATHO", |
75 | | "earlyIRATHO", |
76 | | &asn_OP_NativeEnumerated, |
77 | | asn_DEF_NGAP_earlyIRATHO_tags_4, |
78 | | sizeof(asn_DEF_NGAP_earlyIRATHO_tags_4) |
79 | | /sizeof(asn_DEF_NGAP_earlyIRATHO_tags_4[0]) - 1, /* 1 */ |
80 | | asn_DEF_NGAP_earlyIRATHO_tags_4, /* Same as above */ |
81 | | sizeof(asn_DEF_NGAP_earlyIRATHO_tags_4) |
82 | | /sizeof(asn_DEF_NGAP_earlyIRATHO_tags_4[0]), /* 2 */ |
83 | | { |
84 | | #if !defined(ASN_DISABLE_OER_SUPPORT) |
85 | | 0, |
86 | | #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ |
87 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
88 | | &asn_PER_type_NGAP_earlyIRATHO_constr_4, |
89 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
90 | | #if !defined(ASN_DISABLE_JER_SUPPORT) |
91 | | 0, |
92 | | #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ |
93 | | asn_validate_NGAP_earlyIRATHO_4 |
94 | | }, |
95 | | 0, 0, /* Defined elsewhere */ |
96 | | &asn_SPC_NGAP_earlyIRATHO_specs_4 /* Additional specs */ |
97 | | }; |
98 | | |
99 | | asn_TYPE_member_t asn_MBR_NGAP_IntersystemUnnecessaryHO_1[] = { |
100 | | { ATF_POINTER, 0, offsetof(struct NGAP_IntersystemUnnecessaryHO, sourcecellID), |
101 | | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
102 | | +1, /* EXPLICIT tag at current level */ |
103 | | &asn_DEF_NGAP_NGRAN_CGI, |
104 | | 0, |
105 | | { |
106 | | #if !defined(ASN_DISABLE_OER_SUPPORT) |
107 | | 0, |
108 | | #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ |
109 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
110 | | 0, |
111 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
112 | | #if !defined(ASN_DISABLE_JER_SUPPORT) |
113 | | 0, |
114 | | #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ |
115 | | 0 |
116 | | }, |
117 | | 0, 0, /* No default value */ |
118 | | "sourcecellID" |
119 | | }, |
120 | | { ATF_POINTER, 0, offsetof(struct NGAP_IntersystemUnnecessaryHO, targetcellID), |
121 | | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
122 | | -1, /* IMPLICIT tag at current level */ |
123 | | &asn_DEF_NGAP_EUTRA_CGI, |
124 | | 0, |
125 | | { |
126 | | #if !defined(ASN_DISABLE_OER_SUPPORT) |
127 | | 0, |
128 | | #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ |
129 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
130 | | 0, |
131 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
132 | | #if !defined(ASN_DISABLE_JER_SUPPORT) |
133 | | 0, |
134 | | #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ |
135 | | 0 |
136 | | }, |
137 | | 0, 0, /* No default value */ |
138 | | "targetcellID" |
139 | | }, |
140 | | { ATF_NOFLAGS, 0, offsetof(struct NGAP_IntersystemUnnecessaryHO, earlyIRATHO), |
141 | | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
142 | | -1, /* IMPLICIT tag at current level */ |
143 | | &asn_DEF_NGAP_earlyIRATHO_4, |
144 | | 0, |
145 | | { |
146 | | #if !defined(ASN_DISABLE_OER_SUPPORT) |
147 | | 0, |
148 | | #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ |
149 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
150 | | 0, |
151 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
152 | | #if !defined(ASN_DISABLE_JER_SUPPORT) |
153 | | 0, |
154 | | #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ |
155 | | 0 |
156 | | }, |
157 | | 0, 0, /* No default value */ |
158 | | "earlyIRATHO" |
159 | | }, |
160 | | { ATF_POINTER, 0, offsetof(struct NGAP_IntersystemUnnecessaryHO, candidateCellList), |
161 | | (ASN_TAG_CLASS_CONTEXT | (3 << 2)), |
162 | | -1, /* IMPLICIT tag at current level */ |
163 | | &asn_DEF_NGAP_CandidateCellList, |
164 | | 0, |
165 | | { |
166 | | #if !defined(ASN_DISABLE_OER_SUPPORT) |
167 | | 0, |
168 | | #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ |
169 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
170 | | 0, |
171 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
172 | | #if !defined(ASN_DISABLE_JER_SUPPORT) |
173 | | 0, |
174 | | #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ |
175 | | 0 |
176 | | }, |
177 | | 0, 0, /* No default value */ |
178 | | "candidateCellList" |
179 | | }, |
180 | | { ATF_POINTER, 1, offsetof(struct NGAP_IntersystemUnnecessaryHO, iE_Extensions), |
181 | | (ASN_TAG_CLASS_CONTEXT | (4 << 2)), |
182 | | -1, /* IMPLICIT tag at current level */ |
183 | | &asn_DEF_NGAP_ProtocolExtensionContainer_14713P181, |
184 | | 0, |
185 | | { |
186 | | #if !defined(ASN_DISABLE_OER_SUPPORT) |
187 | | 0, |
188 | | #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ |
189 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
190 | | 0, |
191 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
192 | | #if !defined(ASN_DISABLE_JER_SUPPORT) |
193 | | 0, |
194 | | #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ |
195 | | 0 |
196 | | }, |
197 | | 0, 0, /* No default value */ |
198 | | "iE-Extensions" |
199 | | }, |
200 | | }; |
201 | | static const int asn_MAP_NGAP_IntersystemUnnecessaryHO_oms_1[] = { 4 }; |
202 | | static const ber_tlv_tag_t asn_DEF_NGAP_IntersystemUnnecessaryHO_tags_1[] = { |
203 | | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
204 | | }; |
205 | | static const asn_TYPE_tag2member_t asn_MAP_NGAP_IntersystemUnnecessaryHO_tag2el_1[] = { |
206 | | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sourcecellID */ |
207 | | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* targetcellID */ |
208 | | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* earlyIRATHO */ |
209 | | { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* candidateCellList */ |
210 | | { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* iE-Extensions */ |
211 | | }; |
212 | | asn_SEQUENCE_specifics_t asn_SPC_NGAP_IntersystemUnnecessaryHO_specs_1 = { |
213 | | sizeof(struct NGAP_IntersystemUnnecessaryHO), |
214 | | offsetof(struct NGAP_IntersystemUnnecessaryHO, _asn_ctx), |
215 | | asn_MAP_NGAP_IntersystemUnnecessaryHO_tag2el_1, |
216 | | 5, /* Count of tags in the map */ |
217 | | asn_MAP_NGAP_IntersystemUnnecessaryHO_oms_1, /* Optional members */ |
218 | | 1, 0, /* Root/Additions */ |
219 | | 5, /* First extension addition */ |
220 | | }; |
221 | | asn_TYPE_descriptor_t asn_DEF_NGAP_IntersystemUnnecessaryHO = { |
222 | | "IntersystemUnnecessaryHO", |
223 | | "IntersystemUnnecessaryHO", |
224 | | &asn_OP_SEQUENCE, |
225 | | asn_DEF_NGAP_IntersystemUnnecessaryHO_tags_1, |
226 | | sizeof(asn_DEF_NGAP_IntersystemUnnecessaryHO_tags_1) |
227 | | /sizeof(asn_DEF_NGAP_IntersystemUnnecessaryHO_tags_1[0]), /* 1 */ |
228 | | asn_DEF_NGAP_IntersystemUnnecessaryHO_tags_1, /* Same as above */ |
229 | | sizeof(asn_DEF_NGAP_IntersystemUnnecessaryHO_tags_1) |
230 | | /sizeof(asn_DEF_NGAP_IntersystemUnnecessaryHO_tags_1[0]), /* 1 */ |
231 | | { |
232 | | #if !defined(ASN_DISABLE_OER_SUPPORT) |
233 | | 0, |
234 | | #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ |
235 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
236 | | 0, |
237 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
238 | | #if !defined(ASN_DISABLE_JER_SUPPORT) |
239 | | 0, |
240 | | #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ |
241 | | SEQUENCE_constraint |
242 | | }, |
243 | | asn_MBR_NGAP_IntersystemUnnecessaryHO_1, |
244 | | 5, /* Elements count */ |
245 | | &asn_SPC_NGAP_IntersystemUnnecessaryHO_specs_1 /* Additional specs */ |
246 | | }; |
247 | | |