Harald Welte | ee09189 | 2015-09-10 10:22:03 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "RANAP-IEs" |
| 4 | * found in "../../asn1/ranap/RANAP-IEs.asn" |
| 5 | */ |
| 6 | |
| 7 | #include "RANAP_RIMRoutingAddress.h" |
| 8 | |
| 9 | static asn_per_constraints_t asn_PER_type_RANAP_RIMRoutingAddress_constr_1 GCC_NOTUSED = { |
| 10 | { APC_CONSTRAINED | APC_EXTENSIBLE, 1, 1, 0l, 1l } /* (0..1,...) */, |
| 11 | { APC_UNCONSTRAINED, -1, -1, 0, 0 }, |
| 12 | 0, 0 /* No PER value map */ |
| 13 | }; |
| 14 | static asn_TYPE_member_t asn_MBR_RANAP_RIMRoutingAddress_1[] = { |
| 15 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_RIMRoutingAddress, choice.targetRNC_ID), |
| 16 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 17 | -1, /* IMPLICIT tag at current level */ |
| 18 | &asn_DEF_RANAP_TargetRNC_ID, |
| 19 | 0, /* Defer constraints checking to the member type */ |
| 20 | 0, /* No PER visible constraints */ |
| 21 | 0, |
| 22 | "targetRNC-ID" |
| 23 | }, |
| 24 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_RIMRoutingAddress, choice.gERAN_Cell_ID), |
| 25 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 26 | -1, /* IMPLICIT tag at current level */ |
| 27 | &asn_DEF_RANAP_GERAN_Cell_ID, |
| 28 | 0, /* Defer constraints checking to the member type */ |
| 29 | 0, /* No PER visible constraints */ |
| 30 | 0, |
| 31 | "gERAN-Cell-ID" |
| 32 | }, |
| 33 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_RIMRoutingAddress, choice.targeteNB_ID), |
| 34 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 35 | -1, /* IMPLICIT tag at current level */ |
| 36 | &asn_DEF_RANAP_TargetENB_ID, |
| 37 | 0, /* Defer constraints checking to the member type */ |
| 38 | 0, /* No PER visible constraints */ |
| 39 | 0, |
| 40 | "targeteNB-ID" |
| 41 | }, |
| 42 | }; |
| 43 | static const asn_TYPE_tag2member_t asn_MAP_RANAP_RIMRoutingAddress_tag2el_1[] = { |
| 44 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* targetRNC-ID */ |
| 45 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* gERAN-Cell-ID */ |
| 46 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* targeteNB-ID */ |
| 47 | }; |
| 48 | static asn_CHOICE_specifics_t asn_SPC_RANAP_RIMRoutingAddress_specs_1 = { |
| 49 | sizeof(struct RANAP_RIMRoutingAddress), |
| 50 | offsetof(struct RANAP_RIMRoutingAddress, _asn_ctx), |
| 51 | offsetof(struct RANAP_RIMRoutingAddress, present), |
| 52 | sizeof(((struct RANAP_RIMRoutingAddress *)0)->present), |
| 53 | asn_MAP_RANAP_RIMRoutingAddress_tag2el_1, |
| 54 | 3, /* Count of tags in the map */ |
| 55 | 0, |
| 56 | 2 /* Extensions start */ |
| 57 | }; |
| 58 | asn_TYPE_descriptor_t asn_DEF_RANAP_RIMRoutingAddress = { |
| 59 | "RANAP_RIMRoutingAddress", |
| 60 | "RANAP_RIMRoutingAddress", |
| 61 | CHOICE_free, |
| 62 | CHOICE_print, |
| 63 | CHOICE_constraint, |
| 64 | CHOICE_decode_ber, |
| 65 | CHOICE_encode_der, |
| 66 | CHOICE_decode_xer, |
| 67 | CHOICE_encode_xer, |
| 68 | CHOICE_decode_uper, |
| 69 | CHOICE_encode_uper, |
| 70 | CHOICE_decode_aper, |
| 71 | CHOICE_encode_aper, |
| 72 | CHOICE_outmost_tag, |
| 73 | 0, /* No effective tags (pointer) */ |
| 74 | 0, /* No effective tags (count) */ |
| 75 | 0, /* No tags (pointer) */ |
| 76 | 0, /* No tags (count) */ |
| 77 | &asn_PER_type_RANAP_RIMRoutingAddress_constr_1, |
| 78 | asn_MBR_RANAP_RIMRoutingAddress_1, |
| 79 | 3, /* Elements count */ |
| 80 | &asn_SPC_RANAP_RIMRoutingAddress_specs_1 /* Additional specs */ |
| 81 | }; |
| 82 | |