blob: 684cc0eafca0c6f7aaeca37b9ef15177e58590b2 [file] [log] [blame]
rajalakshmisv21b61dd2021-12-07 04:53:03 +00001/*
2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
rajalakshmisv960885a2022-05-31 14:59:10 +00003 * From ASN.1 module "E2SM-RC-IEs"
4 * found in "e2sm-rc-nov2021.asn"
rajalakshmisv21b61dd2021-12-07 04:53:03 +00005 * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .`
6 */
7
8#include "RANParameter-ID.h"
9
10int
11RANParameter_ID_constraint(const asn_TYPE_descriptor_t *td, const void *sptr,
12 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
13
14 if(!sptr) {
15 ASN__CTFAIL(app_key, td, sptr,
16 "%s: value not given (%s:%d)",
17 td->name, __FILE__, __LINE__);
18 return -1;
19 }
20
21
rajalakshmisv960885a2022-05-31 14:59:10 +000022 if(1 /* No applicable constraints whatsoever */) {
23 /* Nothing is here. See below */
24 }
25
26 return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
rajalakshmisv21b61dd2021-12-07 04:53:03 +000027}
28
29/*
30 * This type is implemented using NativeInteger,
31 * so here we adjust the DEF accordingly.
32 */
33static asn_oer_constraints_t asn_OER_type_RANParameter_ID_constr_1 CC_NOTUSED = {
rajalakshmisv960885a2022-05-31 14:59:10 +000034 { 0, 0 },
rajalakshmisv21b61dd2021-12-07 04:53:03 +000035 -1};
36asn_per_constraints_t asn_PER_type_RANParameter_ID_constr_1 CC_NOTUSED = {
rajalakshmisv960885a2022-05-31 14:59:10 +000037 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
rajalakshmisv21b61dd2021-12-07 04:53:03 +000038 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
39 0, 0 /* No PER value map */
40};
rajalakshmisv21b61dd2021-12-07 04:53:03 +000041static const ber_tlv_tag_t asn_DEF_RANParameter_ID_tags_1[] = {
42 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
43};
44asn_TYPE_descriptor_t asn_DEF_RANParameter_ID = {
45 "RANParameter-ID",
46 "RANParameter-ID",
47 &asn_OP_NativeInteger,
48 asn_DEF_RANParameter_ID_tags_1,
49 sizeof(asn_DEF_RANParameter_ID_tags_1)
50 /sizeof(asn_DEF_RANParameter_ID_tags_1[0]), /* 1 */
51 asn_DEF_RANParameter_ID_tags_1, /* Same as above */
52 sizeof(asn_DEF_RANParameter_ID_tags_1)
53 /sizeof(asn_DEF_RANParameter_ID_tags_1[0]), /* 1 */
54 { &asn_OER_type_RANParameter_ID_constr_1, &asn_PER_type_RANParameter_ID_constr_1, RANParameter_ID_constraint },
55 0, 0, /* No members */
rajalakshmisv960885a2022-05-31 14:59:10 +000056 0 /* No specifics */
rajalakshmisv21b61dd2021-12-07 04:53:03 +000057};
58