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" |
| 5 | * `asn1c -gen-PER -fnative-types` |
| 6 | */ |
| 7 | |
| 8 | #include "NeighbourIdentity.h" |
| 9 | |
| 10 | static asn_per_constraints_t asn_PER_type_NeighbourIdentity_constr_1 GCC_NOTUSED = { |
| 11 | { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */, |
| 12 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 13 | 0, 0 /* No PER value map */ |
| 14 | }; |
| 15 | static asn_TYPE_member_t asn_MBR_NeighbourIdentity_1[] = { |
| 16 | { ATF_NOFLAGS, 0, offsetof(struct NeighbourIdentity, choice.hNB_RNL_Identity), |
| 17 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 18 | +1, /* EXPLICIT tag at current level */ |
| 19 | &asn_DEF_HNB_RNL_Identity, |
| 20 | 0, /* Defer constraints checking to the member type */ |
| 21 | 0, /* No PER visible constraints */ |
| 22 | 0, |
| 23 | "hNB-RNL-Identity" |
| 24 | }, |
| 25 | { ATF_NOFLAGS, 0, offsetof(struct NeighbourIdentity, choice.cell_ID), |
| 26 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 27 | -1, /* IMPLICIT tag at current level */ |
| 28 | &asn_DEF_CellIdentity, |
| 29 | 0, /* Defer constraints checking to the member type */ |
| 30 | 0, /* No PER visible constraints */ |
| 31 | 0, |
| 32 | "cell-ID" |
| 33 | }, |
| 34 | }; |
| 35 | static const asn_TYPE_tag2member_t asn_MAP_NeighbourIdentity_tag2el_1[] = { |
| 36 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* hNB-RNL-Identity */ |
| 37 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* cell-ID */ |
| 38 | }; |
| 39 | static asn_CHOICE_specifics_t asn_SPC_NeighbourIdentity_specs_1 = { |
| 40 | sizeof(struct NeighbourIdentity), |
| 41 | offsetof(struct NeighbourIdentity, _asn_ctx), |
| 42 | offsetof(struct NeighbourIdentity, present), |
| 43 | sizeof(((struct NeighbourIdentity *)0)->present), |
| 44 | asn_MAP_NeighbourIdentity_tag2el_1, |
| 45 | 2, /* Count of tags in the map */ |
| 46 | 0, |
| 47 | 2 /* Extensions start */ |
| 48 | }; |
| 49 | asn_TYPE_descriptor_t asn_DEF_NeighbourIdentity = { |
| 50 | "NeighbourIdentity", |
| 51 | "NeighbourIdentity", |
| 52 | CHOICE_free, |
| 53 | CHOICE_print, |
| 54 | CHOICE_constraint, |
| 55 | CHOICE_decode_ber, |
| 56 | CHOICE_encode_der, |
| 57 | CHOICE_decode_xer, |
| 58 | CHOICE_encode_xer, |
| 59 | CHOICE_decode_uper, |
| 60 | CHOICE_encode_uper, |
| 61 | CHOICE_decode_aper, |
| 62 | CHOICE_encode_aper, |
| 63 | CHOICE_outmost_tag, |
| 64 | 0, /* No effective tags (pointer) */ |
| 65 | 0, /* No effective tags (count) */ |
| 66 | 0, /* No tags (pointer) */ |
| 67 | 0, /* No tags (count) */ |
| 68 | &asn_PER_type_NeighbourIdentity_constr_1, |
| 69 | asn_MBR_NeighbourIdentity_1, |
| 70 | 2, /* Elements count */ |
| 71 | &asn_SPC_NeighbourIdentity_specs_1 /* Additional specs */ |
| 72 | }; |
| 73 | |