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 "RANUEPagingIdentity.h"
10 #include "ProtocolExtensionContainer.h"
12 memb_iRNTI_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
13 asn_app_constraint_failed_f *ctfailcb, void *app_key) {
14 const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
18 ASN__CTFAIL(app_key, td, sptr,
19 "%s: value not given (%s:%d)",
20 td->name, __FILE__, __LINE__);
26 size = 8 * st->size - (st->bits_unused & 0x07);
32 /* Constraint check succeeded */
35 ASN__CTFAIL(app_key, td, sptr,
36 "%s: constraint failed (%s:%d)",
37 td->name, __FILE__, __LINE__);
42 static asn_oer_constraints_t asn_OER_memb_iRNTI_constr_2 CC_NOTUSED = {
44 40 /* (SIZE(40..40)) */};
45 static asn_per_constraints_t asn_PER_memb_iRNTI_constr_2 CC_NOTUSED = {
46 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
47 { APC_CONSTRAINED, 0, 0, 40, 40 } /* (SIZE(40..40)) */,
48 0, 0 /* No PER value map */
50 asn_TYPE_member_t asn_MBR_RANUEPagingIdentity_1[] = {
51 { ATF_NOFLAGS, 0, offsetof(struct RANUEPagingIdentity, iRNTI),
52 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
53 -1, /* IMPLICIT tag at current level */
56 { &asn_OER_memb_iRNTI_constr_2, &asn_PER_memb_iRNTI_constr_2, memb_iRNTI_constraint_1 },
57 0, 0, /* No default value */
60 { ATF_POINTER, 1, offsetof(struct RANUEPagingIdentity, iE_Extensions),
61 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
62 -1, /* IMPLICIT tag at current level */
63 &asn_DEF_ProtocolExtensionContainer_4624P75,
66 0, 0, /* No default value */
70 static const int asn_MAP_RANUEPagingIdentity_oms_1[] = { 1 };
71 static const ber_tlv_tag_t asn_DEF_RANUEPagingIdentity_tags_1[] = {
72 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
74 static const asn_TYPE_tag2member_t asn_MAP_RANUEPagingIdentity_tag2el_1[] = {
75 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* iRNTI */
76 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* iE-Extensions */
78 asn_SEQUENCE_specifics_t asn_SPC_RANUEPagingIdentity_specs_1 = {
79 sizeof(struct RANUEPagingIdentity),
80 offsetof(struct RANUEPagingIdentity, _asn_ctx),
81 asn_MAP_RANUEPagingIdentity_tag2el_1,
82 2, /* Count of tags in the map */
83 asn_MAP_RANUEPagingIdentity_oms_1, /* Optional members */
84 1, 0, /* Root/Additions */
85 -1, /* First extension addition */
87 asn_TYPE_descriptor_t asn_DEF_RANUEPagingIdentity = {
88 "RANUEPagingIdentity",
89 "RANUEPagingIdentity",
91 asn_DEF_RANUEPagingIdentity_tags_1,
92 sizeof(asn_DEF_RANUEPagingIdentity_tags_1)
93 /sizeof(asn_DEF_RANUEPagingIdentity_tags_1[0]), /* 1 */
94 asn_DEF_RANUEPagingIdentity_tags_1, /* Same as above */
95 sizeof(asn_DEF_RANUEPagingIdentity_tags_1)
96 /sizeof(asn_DEF_RANUEPagingIdentity_tags_1[0]), /* 1 */
97 { 0, 0, SEQUENCE_constraint },
98 asn_MBR_RANUEPagingIdentity_1,
99 2, /* Elements count */
100 &asn_SPC_RANUEPagingIdentity_specs_1 /* Additional specs */