rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame^] | 3 | * From ASN.1 module "E2SM-RC-IEs" |
| 4 | * found in "e2sm-rc-nov2021.asn" |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .` |
| 6 | */ |
| 7 | |
| 8 | #include "E2SM-RC-ControlHeader.h" |
| 9 | |
| 10 | #include "E2SM-RC-ControlHeader-Format1.h" |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame^] | 11 | static asn_oer_constraints_t asn_OER_type_ric_controlHeader_formats_constr_2 CC_NOTUSED = { |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 12 | { 0, 0 }, |
| 13 | -1}; |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame^] | 14 | static asn_per_constraints_t asn_PER_type_ric_controlHeader_formats_constr_2 CC_NOTUSED = { |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 15 | { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0, 0 } /* (0..0,...) */, |
| 16 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 17 | 0, 0 /* No PER value map */ |
| 18 | }; |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame^] | 19 | static asn_TYPE_member_t asn_MBR_ric_controlHeader_formats_2[] = { |
| 20 | { ATF_POINTER, 0, offsetof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats, choice.controlHeader_Format1), |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 21 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 22 | -1, /* IMPLICIT tag at current level */ |
| 23 | &asn_DEF_E2SM_RC_ControlHeader_Format1, |
| 24 | 0, |
| 25 | { 0, 0, 0 }, |
| 26 | 0, 0, /* No default value */ |
| 27 | "controlHeader-Format1" |
| 28 | }, |
| 29 | }; |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame^] | 30 | static const asn_TYPE_tag2member_t asn_MAP_ric_controlHeader_formats_tag2el_2[] = { |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 31 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* controlHeader-Format1 */ |
| 32 | }; |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame^] | 33 | static asn_CHOICE_specifics_t asn_SPC_ric_controlHeader_formats_specs_2 = { |
| 34 | sizeof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats), |
| 35 | offsetof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats, _asn_ctx), |
| 36 | offsetof(struct E2SM_RC_ControlHeader__ric_controlHeader_formats, present), |
| 37 | sizeof(((struct E2SM_RC_ControlHeader__ric_controlHeader_formats *)0)->present), |
| 38 | asn_MAP_ric_controlHeader_formats_tag2el_2, |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 39 | 1, /* Count of tags in the map */ |
| 40 | 0, 0, |
| 41 | 1 /* Extensions start */ |
| 42 | }; |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame^] | 43 | static /* Use -fall-defs-global to expose */ |
| 44 | asn_TYPE_descriptor_t asn_DEF_ric_controlHeader_formats_2 = { |
| 45 | "ric-controlHeader-formats", |
| 46 | "ric-controlHeader-formats", |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 47 | &asn_OP_CHOICE, |
| 48 | 0, /* No effective tags (pointer) */ |
| 49 | 0, /* No effective tags (count) */ |
| 50 | 0, /* No tags (pointer) */ |
| 51 | 0, /* No tags (count) */ |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame^] | 52 | { &asn_OER_type_ric_controlHeader_formats_constr_2, &asn_PER_type_ric_controlHeader_formats_constr_2, CHOICE_constraint }, |
| 53 | asn_MBR_ric_controlHeader_formats_2, |
| 54 | 1, /* Elements count */ |
| 55 | &asn_SPC_ric_controlHeader_formats_specs_2 /* Additional specs */ |
| 56 | }; |
| 57 | |
| 58 | static asn_TYPE_member_t asn_MBR_E2SM_RC_ControlHeader_1[] = { |
| 59 | { ATF_NOFLAGS, 0, offsetof(struct E2SM_RC_ControlHeader, ric_controlHeader_formats), |
| 60 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 61 | +1, /* EXPLICIT tag at current level */ |
| 62 | &asn_DEF_ric_controlHeader_formats_2, |
| 63 | 0, |
| 64 | { 0, 0, 0 }, |
| 65 | 0, 0, /* No default value */ |
| 66 | "ric-controlHeader-formats" |
| 67 | }, |
| 68 | }; |
| 69 | static const ber_tlv_tag_t asn_DEF_E2SM_RC_ControlHeader_tags_1[] = { |
| 70 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 71 | }; |
| 72 | static const asn_TYPE_tag2member_t asn_MAP_E2SM_RC_ControlHeader_tag2el_1[] = { |
| 73 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* ric-controlHeader-formats */ |
| 74 | }; |
| 75 | static asn_SEQUENCE_specifics_t asn_SPC_E2SM_RC_ControlHeader_specs_1 = { |
| 76 | sizeof(struct E2SM_RC_ControlHeader), |
| 77 | offsetof(struct E2SM_RC_ControlHeader, _asn_ctx), |
| 78 | asn_MAP_E2SM_RC_ControlHeader_tag2el_1, |
| 79 | 1, /* Count of tags in the map */ |
| 80 | 0, 0, 0, /* Optional elements (not needed) */ |
| 81 | 1, /* First extension addition */ |
| 82 | }; |
| 83 | asn_TYPE_descriptor_t asn_DEF_E2SM_RC_ControlHeader = { |
| 84 | "E2SM-RC-ControlHeader", |
| 85 | "E2SM-RC-ControlHeader", |
| 86 | &asn_OP_SEQUENCE, |
| 87 | asn_DEF_E2SM_RC_ControlHeader_tags_1, |
| 88 | sizeof(asn_DEF_E2SM_RC_ControlHeader_tags_1) |
| 89 | /sizeof(asn_DEF_E2SM_RC_ControlHeader_tags_1[0]), /* 1 */ |
| 90 | asn_DEF_E2SM_RC_ControlHeader_tags_1, /* Same as above */ |
| 91 | sizeof(asn_DEF_E2SM_RC_ControlHeader_tags_1) |
| 92 | /sizeof(asn_DEF_E2SM_RC_ControlHeader_tags_1[0]), /* 1 */ |
| 93 | { 0, 0, SEQUENCE_constraint }, |
rajalakshmisv | 21b61dd | 2021-12-07 04:53:03 +0000 | [diff] [blame] | 94 | asn_MBR_E2SM_RC_ControlHeader_1, |
| 95 | 1, /* Elements count */ |
| 96 | &asn_SPC_E2SM_RC_ControlHeader_specs_1 /* Additional specs */ |
| 97 | }; |
| 98 | |