Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "HNBAP-IEs" |
| 4 | * found in "../../asn1/hnbap/HNBAP-IEs.asn" |
Harald Welte | ff4750f | 2015-08-31 09:55:28 +0200 | [diff] [blame] | 5 | * `asn1c -gen-PER` |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
Neels Hofmeyr | f1f2d7c | 2016-01-05 12:00:06 +0100 | [diff] [blame] | 8 | #include <osmocom/hnbap/HNB-RNL-Identity.h> |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 9 | |
| 10 | static asn_per_constraints_t asn_PER_type_HNB_RNL_Identity_constr_1 GCC_NOTUSED = { |
| 11 | { APC_CONSTRAINED | APC_EXTENSIBLE, 0, 0, 0l, 0l } /* (0..0,...) */, |
| 12 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 13 | 0, 0 /* No PER value map */ |
| 14 | }; |
| 15 | static asn_TYPE_member_t asn_MBR_HNB_RNL_Identity_1[] = { |
| 16 | { ATF_NOFLAGS, 0, offsetof(struct HNB_RNL_Identity, choice.hNB_Identity_as_Cell_Identifier), |
| 17 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 18 | -1, /* IMPLICIT tag at current level */ |
| 19 | &asn_DEF_HNB_Cell_Identifier, |
| 20 | 0, /* Defer constraints checking to the member type */ |
| 21 | 0, /* No PER visible constraints */ |
| 22 | 0, |
| 23 | "hNB-Identity-as-Cell-Identifier" |
| 24 | }, |
| 25 | }; |
| 26 | static const asn_TYPE_tag2member_t asn_MAP_HNB_RNL_Identity_tag2el_1[] = { |
| 27 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* hNB-Identity-as-Cell-Identifier */ |
| 28 | }; |
| 29 | static asn_CHOICE_specifics_t asn_SPC_HNB_RNL_Identity_specs_1 = { |
| 30 | sizeof(struct HNB_RNL_Identity), |
| 31 | offsetof(struct HNB_RNL_Identity, _asn_ctx), |
| 32 | offsetof(struct HNB_RNL_Identity, present), |
| 33 | sizeof(((struct HNB_RNL_Identity *)0)->present), |
| 34 | asn_MAP_HNB_RNL_Identity_tag2el_1, |
| 35 | 1, /* Count of tags in the map */ |
| 36 | 0, |
| 37 | 1 /* Extensions start */ |
| 38 | }; |
| 39 | asn_TYPE_descriptor_t asn_DEF_HNB_RNL_Identity = { |
| 40 | "HNB-RNL-Identity", |
| 41 | "HNB-RNL-Identity", |
| 42 | CHOICE_free, |
| 43 | CHOICE_print, |
| 44 | CHOICE_constraint, |
| 45 | CHOICE_decode_ber, |
| 46 | CHOICE_encode_der, |
| 47 | CHOICE_decode_xer, |
| 48 | CHOICE_encode_xer, |
| 49 | CHOICE_decode_uper, |
| 50 | CHOICE_encode_uper, |
| 51 | CHOICE_decode_aper, |
| 52 | CHOICE_encode_aper, |
| 53 | CHOICE_outmost_tag, |
| 54 | 0, /* No effective tags (pointer) */ |
| 55 | 0, /* No effective tags (count) */ |
| 56 | 0, /* No tags (pointer) */ |
| 57 | 0, /* No tags (count) */ |
| 58 | &asn_PER_type_HNB_RNL_Identity_constr_1, |
| 59 | asn_MBR_HNB_RNL_Identity_1, |
| 60 | 1, /* Elements count */ |
| 61 | &asn_SPC_HNB_RNL_Identity_specs_1 /* Additional specs */ |
| 62 | }; |
| 63 | |