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`
8 #include "HandoverRestrictionList.h"
11 #include "ForbiddenTAs.h"
12 #include "ForbiddenLAs.h"
13 #include "ProtocolExtensionContainer.h"
14 asn_TYPE_member_t asn_MBR_HandoverRestrictionList_1[] = {
15 { ATF_NOFLAGS, 0, offsetof(struct HandoverRestrictionList, servingPLMN),
16 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
17 -1, /* IMPLICIT tag at current level */
18 &asn_DEF_PLMN_Identity,
21 0, 0, /* No default value */
24 { ATF_POINTER, 5, offsetof(struct HandoverRestrictionList, equivalentPLMNs),
25 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
26 -1, /* IMPLICIT tag at current level */
30 0, 0, /* No default value */
33 { ATF_POINTER, 4, offsetof(struct HandoverRestrictionList, forbiddenTAs),
34 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
35 -1, /* IMPLICIT tag at current level */
36 &asn_DEF_ForbiddenTAs,
39 0, 0, /* No default value */
42 { ATF_POINTER, 3, offsetof(struct HandoverRestrictionList, forbiddenLAs),
43 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
44 -1, /* IMPLICIT tag at current level */
45 &asn_DEF_ForbiddenLAs,
48 0, 0, /* No default value */
51 { ATF_POINTER, 2, offsetof(struct HandoverRestrictionList, forbiddenInterRATs),
52 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
53 -1, /* IMPLICIT tag at current level */
54 &asn_DEF_ForbiddenInterRATs,
57 0, 0, /* No default value */
60 { ATF_POINTER, 1, offsetof(struct HandoverRestrictionList, iE_Extensions),
61 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
62 -1, /* IMPLICIT tag at current level */
63 &asn_DEF_ProtocolExtensionContainer_9566P155,
66 0, 0, /* No default value */
70 static const int asn_MAP_HandoverRestrictionList_oms_1[] = { 1, 2, 3, 4, 5 };
71 static const ber_tlv_tag_t asn_DEF_HandoverRestrictionList_tags_1[] = {
72 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
74 static const asn_TYPE_tag2member_t asn_MAP_HandoverRestrictionList_tag2el_1[] = {
75 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* servingPLMN */
76 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* equivalentPLMNs */
77 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* forbiddenTAs */
78 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* forbiddenLAs */
79 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* forbiddenInterRATs */
80 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 } /* iE-Extensions */
82 asn_SEQUENCE_specifics_t asn_SPC_HandoverRestrictionList_specs_1 = {
83 sizeof(struct HandoverRestrictionList),
84 offsetof(struct HandoverRestrictionList, _asn_ctx),
85 asn_MAP_HandoverRestrictionList_tag2el_1,
86 6, /* Count of tags in the map */
87 asn_MAP_HandoverRestrictionList_oms_1, /* Optional members */
88 5, 0, /* Root/Additions */
89 6, /* First extension addition */
91 asn_TYPE_descriptor_t asn_DEF_HandoverRestrictionList = {
92 "HandoverRestrictionList",
93 "HandoverRestrictionList",
95 asn_DEF_HandoverRestrictionList_tags_1,
96 sizeof(asn_DEF_HandoverRestrictionList_tags_1)
97 /sizeof(asn_DEF_HandoverRestrictionList_tags_1[0]), /* 1 */
98 asn_DEF_HandoverRestrictionList_tags_1, /* Same as above */
99 sizeof(asn_DEF_HandoverRestrictionList_tags_1)
100 /sizeof(asn_DEF_HandoverRestrictionList_tags_1[0]), /* 1 */
101 { 0, 0, SEQUENCE_constraint },
102 asn_MBR_HandoverRestrictionList_1,
103 6, /* Elements count */
104 &asn_SPC_HandoverRestrictionList_specs_1 /* Additional specs */