ASN compiled code for E2AP v1.1 in kpm e2sm
[sim/e2-interface.git] / e2sim / e2sm_examples / kpm_e2sm / src / ASN1c / E2nodeComponentID.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2AP-IEs"
4  *      found in "e2ap-v01.01.00.asn"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
6  */
7
8 #include "E2nodeComponentID.h"
9
10 #include "E2nodeComponentGNB-CU-UP-ID.h"
11 #include "E2nodeComponentGNB-DU-ID.h"
12 asn_per_constraints_t asn_PER_type_E2nodeComponentID_constr_1 CC_NOTUSED = {
13         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
14         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
15         0, 0    /* No PER value map */
16 };
17 asn_TYPE_member_t asn_MBR_E2nodeComponentID_1[] = {
18         { ATF_POINTER, 0, offsetof(struct E2nodeComponentID, choice.e2nodeComponentTypeGNB_CU_UP),
19                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
20                 -1,     /* IMPLICIT tag at current level */
21                 &asn_DEF_E2nodeComponentGNB_CU_UP_ID,
22                 0,
23                 { 0, 0, 0 },
24                 0, 0, /* No default value */
25                 "e2nodeComponentTypeGNB-CU-UP"
26                 },
27         { ATF_POINTER, 0, offsetof(struct E2nodeComponentID, choice.e2nodeComponentTypeGNB_DU),
28                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
29                 -1,     /* IMPLICIT tag at current level */
30                 &asn_DEF_E2nodeComponentGNB_DU_ID,
31                 0,
32                 { 0, 0, 0 },
33                 0, 0, /* No default value */
34                 "e2nodeComponentTypeGNB-DU"
35                 },
36 };
37 static const asn_TYPE_tag2member_t asn_MAP_E2nodeComponentID_tag2el_1[] = {
38     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* e2nodeComponentTypeGNB-CU-UP */
39     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* e2nodeComponentTypeGNB-DU */
40 };
41 asn_CHOICE_specifics_t asn_SPC_E2nodeComponentID_specs_1 = {
42         sizeof(struct E2nodeComponentID),
43         offsetof(struct E2nodeComponentID, _asn_ctx),
44         offsetof(struct E2nodeComponentID, present),
45         sizeof(((struct E2nodeComponentID *)0)->present),
46         asn_MAP_E2nodeComponentID_tag2el_1,
47         2,      /* Count of tags in the map */
48         0, 0,
49         2       /* Extensions start */
50 };
51 asn_TYPE_descriptor_t asn_DEF_E2nodeComponentID = {
52         "E2nodeComponentID",
53         "E2nodeComponentID",
54         &asn_OP_CHOICE,
55         0,      /* No effective tags (pointer) */
56         0,      /* No effective tags (count) */
57         0,      /* No tags (pointer) */
58         0,      /* No tags (count) */
59         { 0, &asn_PER_type_E2nodeComponentID_constr_1, CHOICE_constraint },
60         asn_MBR_E2nodeComponentID_1,
61         2,      /* Elements count */
62         &asn_SPC_E2nodeComponentID_specs_1      /* Additional specs */
63 };
64