/src/open5gs/lib/asn1c/ngap/NGAP_PDUSessionResourceFailedToSetupItemHOAck.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_PDUSessionResourceFailedToSetupItemHOAck.h" |
9 | | |
10 | | #include "NGAP_ProtocolExtensionContainer.h" |
11 | | static int |
12 | | memb_NGAP_handoverResourceAllocationUnsuccessfulTransfer_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr, |
13 | 0 | asn_app_constraint_failed_f *ctfailcb, void *app_key) { |
14 | 0 | const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr; |
15 | | |
16 | 0 | if(!sptr) { |
17 | 0 | ASN__CTFAIL(app_key, td, sptr, |
18 | 0 | "%s: value not given (%s:%d)", |
19 | 0 | td->name, __FILE__, __LINE__); |
20 | 0 | return -1; |
21 | 0 | } |
22 | | |
23 | | |
24 | 0 | if(1 /* No applicable constraints whatsoever */) { |
25 | 0 | (void)st; /* Unused variable */ |
26 | | /* Nothing is here. See below */ |
27 | 0 | } |
28 | | |
29 | 0 | return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key); |
30 | 0 | } |
31 | | |
32 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
33 | | static asn_per_constraints_t asn_PER_memb_NGAP_handoverResourceAllocationUnsuccessfulTransfer_constr_3 CC_NOTUSED = { |
34 | | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
35 | | { APC_SEMI_CONSTRAINED, -1, -1, 0, 0 } /* (SIZE(0..MAX)) */, |
36 | | 0, 0 /* No PER value map */ |
37 | | }; |
38 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
39 | | asn_TYPE_member_t asn_MBR_NGAP_PDUSessionResourceFailedToSetupItemHOAck_1[] = { |
40 | | { ATF_NOFLAGS, 0, offsetof(struct NGAP_PDUSessionResourceFailedToSetupItemHOAck, pDUSessionID), |
41 | | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
42 | | -1, /* IMPLICIT tag at current level */ |
43 | | &asn_DEF_NGAP_PDUSessionID, |
44 | | 0, |
45 | | { |
46 | | #if !defined(ASN_DISABLE_OER_SUPPORT) |
47 | | 0, |
48 | | #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ |
49 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
50 | | 0, |
51 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
52 | | #if !defined(ASN_DISABLE_JER_SUPPORT) |
53 | | 0, |
54 | | #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ |
55 | | 0 |
56 | | }, |
57 | | 0, 0, /* No default value */ |
58 | | "pDUSessionID" |
59 | | }, |
60 | | { ATF_NOFLAGS, 0, offsetof(struct NGAP_PDUSessionResourceFailedToSetupItemHOAck, handoverResourceAllocationUnsuccessfulTransfer), |
61 | | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
62 | | -1, /* IMPLICIT tag at current level */ |
63 | | &asn_DEF_OCTET_STRING, |
64 | | 0, |
65 | | { |
66 | | #if !defined(ASN_DISABLE_OER_SUPPORT) |
67 | | 0, |
68 | | #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ |
69 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
70 | | &asn_PER_memb_NGAP_handoverResourceAllocationUnsuccessfulTransfer_constr_3, |
71 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
72 | | #if !defined(ASN_DISABLE_JER_SUPPORT) |
73 | | 0, |
74 | | #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ |
75 | | memb_NGAP_handoverResourceAllocationUnsuccessfulTransfer_constraint_1 |
76 | | }, |
77 | | 0, 0, /* No default value */ |
78 | | "handoverResourceAllocationUnsuccessfulTransfer" |
79 | | }, |
80 | | { ATF_POINTER, 1, offsetof(struct NGAP_PDUSessionResourceFailedToSetupItemHOAck, iE_Extensions), |
81 | | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
82 | | -1, /* IMPLICIT tag at current level */ |
83 | | &asn_DEF_NGAP_ProtocolExtensionContainer_14713P280, |
84 | | 0, |
85 | | { |
86 | | #if !defined(ASN_DISABLE_OER_SUPPORT) |
87 | | 0, |
88 | | #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ |
89 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
90 | | 0, |
91 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
92 | | #if !defined(ASN_DISABLE_JER_SUPPORT) |
93 | | 0, |
94 | | #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ |
95 | | 0 |
96 | | }, |
97 | | 0, 0, /* No default value */ |
98 | | "iE-Extensions" |
99 | | }, |
100 | | }; |
101 | | static const int asn_MAP_NGAP_PDUSessionResourceFailedToSetupItemHOAck_oms_1[] = { 2 }; |
102 | | static const ber_tlv_tag_t asn_DEF_NGAP_PDUSessionResourceFailedToSetupItemHOAck_tags_1[] = { |
103 | | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
104 | | }; |
105 | | static const asn_TYPE_tag2member_t asn_MAP_NGAP_PDUSessionResourceFailedToSetupItemHOAck_tag2el_1[] = { |
106 | | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* pDUSessionID */ |
107 | | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* handoverResourceAllocationUnsuccessfulTransfer */ |
108 | | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */ |
109 | | }; |
110 | | asn_SEQUENCE_specifics_t asn_SPC_NGAP_PDUSessionResourceFailedToSetupItemHOAck_specs_1 = { |
111 | | sizeof(struct NGAP_PDUSessionResourceFailedToSetupItemHOAck), |
112 | | offsetof(struct NGAP_PDUSessionResourceFailedToSetupItemHOAck, _asn_ctx), |
113 | | asn_MAP_NGAP_PDUSessionResourceFailedToSetupItemHOAck_tag2el_1, |
114 | | 3, /* Count of tags in the map */ |
115 | | asn_MAP_NGAP_PDUSessionResourceFailedToSetupItemHOAck_oms_1, /* Optional members */ |
116 | | 1, 0, /* Root/Additions */ |
117 | | 3, /* First extension addition */ |
118 | | }; |
119 | | asn_TYPE_descriptor_t asn_DEF_NGAP_PDUSessionResourceFailedToSetupItemHOAck = { |
120 | | "PDUSessionResourceFailedToSetupItemHOAck", |
121 | | "PDUSessionResourceFailedToSetupItemHOAck", |
122 | | &asn_OP_SEQUENCE, |
123 | | asn_DEF_NGAP_PDUSessionResourceFailedToSetupItemHOAck_tags_1, |
124 | | sizeof(asn_DEF_NGAP_PDUSessionResourceFailedToSetupItemHOAck_tags_1) |
125 | | /sizeof(asn_DEF_NGAP_PDUSessionResourceFailedToSetupItemHOAck_tags_1[0]), /* 1 */ |
126 | | asn_DEF_NGAP_PDUSessionResourceFailedToSetupItemHOAck_tags_1, /* Same as above */ |
127 | | sizeof(asn_DEF_NGAP_PDUSessionResourceFailedToSetupItemHOAck_tags_1) |
128 | | /sizeof(asn_DEF_NGAP_PDUSessionResourceFailedToSetupItemHOAck_tags_1[0]), /* 1 */ |
129 | | { |
130 | | #if !defined(ASN_DISABLE_OER_SUPPORT) |
131 | | 0, |
132 | | #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */ |
133 | | #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) |
134 | | 0, |
135 | | #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */ |
136 | | #if !defined(ASN_DISABLE_JER_SUPPORT) |
137 | | 0, |
138 | | #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */ |
139 | | SEQUENCE_constraint |
140 | | }, |
141 | | asn_MBR_NGAP_PDUSessionResourceFailedToSetupItemHOAck_1, |
142 | | 3, /* Elements count */ |
143 | | &asn_SPC_NGAP_PDUSessionResourceFailedToSetupItemHOAck_specs_1 /* Additional specs */ |
144 | | }; |
145 | | |