2 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3 * From ASN.1 module "F1AP-IEs"
5 * `asn1c -D ./out -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
8 #include "AllocationAndRetentionPriority.h"
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,
18 0, 0, /* No default value */
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,
27 0, 0, /* No default value */
28 "pre-emptionCapability"
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,
36 0, 0, /* No default value */
37 "pre-emptionVulnerability"
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_4624P0,
45 0, 0, /* No default value */
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))
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 */
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 */
68 asn_TYPE_descriptor_t asn_DEF_AllocationAndRetentionPriority = {
69 "AllocationAndRetentionPriority",
70 "AllocationAndRetentionPriority",
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 */