Enhanced SIM for E2AP v1 for TS UC
[sim/e2-interface.git] / e2sim / e2apv1sim / ASN1c / 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 "/home/rshacham/e2sm_kpm_approved.asn"
5  *      `asn1c -fcompound-names`
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         { ATF_NOFLAGS, 0, offsetof(struct GlobalKPMnode_ID, choice.ng_eNB),
38                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
39                 -1,     /* IMPLICIT tag at current level */
40                 &asn_DEF_GlobalKPMnode_ng_eNB_ID,
41                 0,
42                 { 0, 0, 0 },
43                 0, 0, /* No default value */
44                 "ng-eNB"
45                 },
46         { ATF_NOFLAGS, 0, offsetof(struct GlobalKPMnode_ID, choice.eNB),
47                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
48                 -1,     /* IMPLICIT tag at current level */
49                 &asn_DEF_GlobalKPMnode_eNB_ID,
50                 0,
51                 { 0, 0, 0 },
52                 0, 0, /* No default value */
53                 "eNB"
54                 },
55 };
56 static const asn_TYPE_tag2member_t asn_MAP_GlobalKPMnode_ID_tag2el_1[] = {
57     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gNB */
58     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* en-gNB */
59     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ng-eNB */
60     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* eNB */
61 };
62 asn_CHOICE_specifics_t asn_SPC_GlobalKPMnode_ID_specs_1 = {
63         sizeof(struct GlobalKPMnode_ID),
64         offsetof(struct GlobalKPMnode_ID, _asn_ctx),
65         offsetof(struct GlobalKPMnode_ID, present),
66         sizeof(((struct GlobalKPMnode_ID *)0)->present),
67         asn_MAP_GlobalKPMnode_ID_tag2el_1,
68         4,      /* Count of tags in the map */
69         0, 0,
70         4       /* Extensions start */
71 };
72 asn_TYPE_descriptor_t asn_DEF_GlobalKPMnode_ID = {
73         "GlobalKPMnode-ID",
74         "GlobalKPMnode-ID",
75         &asn_OP_CHOICE,
76         0,      /* No effective tags (pointer) */
77         0,      /* No effective tags (count) */
78         0,      /* No tags (pointer) */
79         0,      /* No tags (count) */
80         { &asn_OER_type_GlobalKPMnode_ID_constr_1, &asn_PER_type_GlobalKPMnode_ID_constr_1, CHOICE_constraint },
81         asn_MBR_GlobalKPMnode_ID_1,
82         4,      /* Elements count */
83         &asn_SPC_GlobalKPMnode_ID_specs_1       /* Additional specs */
84 };
85