initial commit
[ric-app/rc.git] / e2sm / lib / GlobalKPMnode-ID.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2SM-KPM-IEs"
4  *      found in "E2SM-KPM-Prespec.asn"
5  *      `asn1c -D ./e2sm-kpm -gen-PER`
6  */
7
8 #include "GlobalKPMnode-ID.h"
9
10 static asn_oer_constraints_t asn_OER_type_GlobalKPMnode_ID_constr_1 CC_NOTUSED = {
11         { 0, 0 },
12         -1};
13 asn_per_constraints_t asn_PER_type_GlobalKPMnode_ID_constr_1 CC_NOTUSED = {
14         { APC_CONSTRAINED | APC_EXTENSIBLE,  2,  2,  0,  3 }    /* (0..3,...) */,
15         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
16         0, 0    /* No PER value map */
17 };
18 asn_TYPE_member_t asn_MBR_GlobalKPMnode_ID_1[] = {
19         { ATF_NOFLAGS, 0, offsetof(struct GlobalKPMnode_ID, choice.gNB),
20                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
21                 -1,     /* IMPLICIT tag at current level */
22                 &asn_DEF_GlobalKPMnode_gNB_ID,
23                 0,
24                 { 0, 0, 0 },
25                 0, 0, /* No default value */
26                 "gNB"
27                 },
28         { ATF_NOFLAGS, 0, offsetof(struct GlobalKPMnode_ID, choice.en_gNB),
29                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
30                 -1,     /* IMPLICIT tag at current level */
31                 &asn_DEF_GlobalKPMnode_en_gNB_ID,
32                 0,
33                 { 0, 0, 0 },
34                 0, 0, /* No default value */
35                 "en-gNB"
36                 },
37
38         { ATF_NOFLAGS, 0, offsetof(struct GlobalKPMnode_ID, choice.ng_eNB),
39                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
40                 -1,     /* IMPLICIT tag at current level */
41                 &asn_DEF_GlobalKPMnode_ng_eNB_ID,
42                 0,
43                 { 0, 0, 0 },
44                 0, 0, /* No default value */
45                 "ng-eNB"
46                 },
47
48         { ATF_NOFLAGS, 0, offsetof(struct GlobalKPMnode_ID, choice.eNB),
49                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
50                 -1,     /* IMPLICIT tag at current level */
51                 &asn_DEF_GlobalKPMnode_eNB_ID,
52                 0,
53                 { 0, 0, 0 },
54                 0, 0, /* No default value */
55                 "eNB"
56                 },
57 };
58 static const asn_TYPE_tag2member_t asn_MAP_GlobalKPMnode_ID_tag2el_1[] = {
59     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gNB */
60     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* en-gNB */
61     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ng-eNB */
62     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* eNB */
63 };
64 asn_CHOICE_specifics_t asn_SPC_GlobalKPMnode_ID_specs_1 = {
65         sizeof(struct GlobalKPMnode_ID),
66         offsetof(struct GlobalKPMnode_ID, _asn_ctx),
67         offsetof(struct GlobalKPMnode_ID, present),
68         sizeof(((struct GlobalKPMnode_ID *)0)->present),
69         asn_MAP_GlobalKPMnode_ID_tag2el_1,
70         4,      /* Count of tags in the map */
71         0, 0,
72         4       /* Extensions start */
73 };
74 asn_TYPE_descriptor_t asn_DEF_GlobalKPMnode_ID = {
75         "GlobalKPMnode-ID",
76         "GlobalKPMnode-ID",
77         &asn_OP_CHOICE,
78         0,      /* No effective tags (pointer) */
79         0,      /* No effective tags (count) */
80         0,      /* No tags (pointer) */
81         0,      /* No tags (count) */
82         { &asn_OER_type_GlobalKPMnode_ID_constr_1, &asn_PER_type_GlobalKPMnode_ID_constr_1, CHOICE_constraint },
83         asn_MBR_GlobalKPMnode_ID_1,
84         4,      /* Elements count */
85         &asn_SPC_GlobalKPMnode_ID_specs_1       /* Additional specs */
86 };
87