Add version 0.5.0
[ric-plt/submgr.git] / e2ap / lib / AllocationAndRetentionPriority.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "Spec/e2ap-v031ex.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER`
6  */
7
8 #include "AllocationAndRetentionPriority.h"
9
10 #include "ProtocolExtensionContainer.h"
11 asn_TYPE_member_t asn_MBR_AllocationAndRetentionPriority_1[] = {
12         { ATF_NOFLAGS, 0, offsetof(struct AllocationAndRetentionPriority, priorityLevel),
13                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
14                 -1,     /* IMPLICIT tag at current level */
15                 &asn_DEF_PriorityLevel,
16                 0,
17                 { 0, 0, 0 },
18                 0, 0, /* No default value */
19                 "priorityLevel"
20                 },
21         { ATF_NOFLAGS, 0, offsetof(struct AllocationAndRetentionPriority, pre_emptionCapability),
22                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
23                 -1,     /* IMPLICIT tag at current level */
24                 &asn_DEF_Pre_emptionCapability,
25                 0,
26                 { 0, 0, 0 },
27                 0, 0, /* No default value */
28                 "pre-emptionCapability"
29                 },
30         { ATF_NOFLAGS, 0, offsetof(struct AllocationAndRetentionPriority, pre_emptionVulnerability),
31                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
32                 -1,     /* IMPLICIT tag at current level */
33                 &asn_DEF_Pre_emptionVulnerability,
34                 0,
35                 { 0, 0, 0 },
36                 0, 0, /* No default value */
37                 "pre-emptionVulnerability"
38                 },
39         { ATF_POINTER, 1, offsetof(struct AllocationAndRetentionPriority, iE_Extensions),
40                 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
41                 -1,     /* IMPLICIT tag at current level */
42                 &asn_DEF_ProtocolExtensionContainer_9566P109,
43                 0,
44                 { 0, 0, 0 },
45                 0, 0, /* No default value */
46                 "iE-Extensions"
47                 },
48 };
49 static const int asn_MAP_AllocationAndRetentionPriority_oms_1[] = { 3 };
50 static const ber_tlv_tag_t asn_DEF_AllocationAndRetentionPriority_tags_1[] = {
51         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
52 };
53 static const asn_TYPE_tag2member_t asn_MAP_AllocationAndRetentionPriority_tag2el_1[] = {
54     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* priorityLevel */
55     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* pre-emptionCapability */
56     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* pre-emptionVulnerability */
57     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* iE-Extensions */
58 };
59 asn_SEQUENCE_specifics_t asn_SPC_AllocationAndRetentionPriority_specs_1 = {
60         sizeof(struct AllocationAndRetentionPriority),
61         offsetof(struct AllocationAndRetentionPriority, _asn_ctx),
62         asn_MAP_AllocationAndRetentionPriority_tag2el_1,
63         4,      /* Count of tags in the map */
64         asn_MAP_AllocationAndRetentionPriority_oms_1,   /* Optional members */
65         1, 0,   /* Root/Additions */
66         4,      /* First extension addition */
67 };
68 asn_TYPE_descriptor_t asn_DEF_AllocationAndRetentionPriority = {
69         "AllocationAndRetentionPriority",
70         "AllocationAndRetentionPriority",
71         &asn_OP_SEQUENCE,
72         asn_DEF_AllocationAndRetentionPriority_tags_1,
73         sizeof(asn_DEF_AllocationAndRetentionPriority_tags_1)
74                 /sizeof(asn_DEF_AllocationAndRetentionPriority_tags_1[0]), /* 1 */
75         asn_DEF_AllocationAndRetentionPriority_tags_1,  /* Same as above */
76         sizeof(asn_DEF_AllocationAndRetentionPriority_tags_1)
77                 /sizeof(asn_DEF_AllocationAndRetentionPriority_tags_1[0]), /* 1 */
78         { 0, 0, SEQUENCE_constraint },
79         asn_MBR_AllocationAndRetentionPriority_1,
80         4,      /* Elements count */
81         &asn_SPC_AllocationAndRetentionPriority_specs_1 /* Additional specs */
82 };
83