rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
sandeepindia | c588f66 | 2022-12-01 22:00:11 +0530 | [diff] [blame] | 3 | * From ASN.1 module "E2SM-COMMON-IEs" |
| 4 | * found in "e2sm.asn" |
| 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example` |
rajalakshmisv | 960885a | 2022-05-31 14:59:10 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include "GlobalNGRANNodeID.h" |
| 9 | |
| 10 | #include "GlobalGNB-ID.h" |
| 11 | #include "GlobalNgENB-ID.h" |
| 12 | static asn_oer_constraints_t asn_OER_type_GlobalNGRANNodeID_constr_1 CC_NOTUSED = { |
| 13 | { 0, 0 }, |
| 14 | -1}; |
| 15 | asn_per_constraints_t asn_PER_type_GlobalNGRANNodeID_constr_1 CC_NOTUSED = { |
| 16 | { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0, 1 } /* (0..1,...) */, |
| 17 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 18 | 0, 0 /* No PER value map */ |
| 19 | }; |
| 20 | asn_TYPE_member_t asn_MBR_GlobalNGRANNodeID_1[] = { |
| 21 | { ATF_POINTER, 0, offsetof(struct GlobalNGRANNodeID, choice.gNB), |
| 22 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 23 | -1, /* IMPLICIT tag at current level */ |
| 24 | &asn_DEF_GlobalGNB_ID, |
| 25 | 0, |
| 26 | { 0, 0, 0 }, |
| 27 | 0, 0, /* No default value */ |
| 28 | "gNB" |
| 29 | }, |
| 30 | { ATF_POINTER, 0, offsetof(struct GlobalNGRANNodeID, choice.ng_eNB), |
| 31 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 32 | -1, /* IMPLICIT tag at current level */ |
| 33 | &asn_DEF_GlobalNgENB_ID, |
| 34 | 0, |
| 35 | { 0, 0, 0 }, |
| 36 | 0, 0, /* No default value */ |
| 37 | "ng-eNB" |
| 38 | }, |
| 39 | }; |
| 40 | static const asn_TYPE_tag2member_t asn_MAP_GlobalNGRANNodeID_tag2el_1[] = { |
| 41 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gNB */ |
| 42 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ng-eNB */ |
| 43 | }; |
| 44 | asn_CHOICE_specifics_t asn_SPC_GlobalNGRANNodeID_specs_1 = { |
| 45 | sizeof(struct GlobalNGRANNodeID), |
| 46 | offsetof(struct GlobalNGRANNodeID, _asn_ctx), |
| 47 | offsetof(struct GlobalNGRANNodeID, present), |
| 48 | sizeof(((struct GlobalNGRANNodeID *)0)->present), |
| 49 | asn_MAP_GlobalNGRANNodeID_tag2el_1, |
| 50 | 2, /* Count of tags in the map */ |
| 51 | 0, 0, |
| 52 | 2 /* Extensions start */ |
| 53 | }; |
| 54 | asn_TYPE_descriptor_t asn_DEF_GlobalNGRANNodeID = { |
| 55 | "GlobalNGRANNodeID", |
| 56 | "GlobalNGRANNodeID", |
| 57 | &asn_OP_CHOICE, |
| 58 | 0, /* No effective tags (pointer) */ |
| 59 | 0, /* No effective tags (count) */ |
| 60 | 0, /* No tags (pointer) */ |
| 61 | 0, /* No tags (count) */ |
| 62 | { &asn_OER_type_GlobalNGRANNodeID_constr_1, &asn_PER_type_GlobalNGRANNodeID_constr_1, CHOICE_constraint }, |
| 63 | asn_MBR_GlobalNGRANNodeID_1, |
| 64 | 2, /* Elements count */ |
| 65 | &asn_SPC_GlobalNGRANNodeID_specs_1 /* Additional specs */ |
| 66 | }; |
| 67 | |