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 | |
Neels Hofmeyr | b042937 | 2016-01-04 15:30:51 +0100 | [diff] [blame^] | 7 | #include <osmocom/osmo-iuh/ranap/RANAP_AreaIdentity.h> |
Harald Welte | ee09189 | 2015-09-10 10:22:03 +0200 | [diff] [blame] | 8 | |
| 9 | static asn_per_constraints_t asn_PER_type_RANAP_AreaIdentity_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_AreaIdentity_1[] = { |
| 15 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_AreaIdentity, choice.sAI), |
| 16 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 17 | -1, /* IMPLICIT tag at current level */ |
| 18 | &asn_DEF_RANAP_SAI, |
| 19 | 0, /* Defer constraints checking to the member type */ |
| 20 | 0, /* No PER visible constraints */ |
| 21 | 0, |
| 22 | "sAI" |
| 23 | }, |
| 24 | { ATF_NOFLAGS, 0, offsetof(struct RANAP_AreaIdentity, choice.geographicalArea), |
| 25 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 26 | +1, /* EXPLICIT tag at current level */ |
| 27 | &asn_DEF_RANAP_GeographicalArea, |
| 28 | 0, /* Defer constraints checking to the member type */ |
| 29 | 0, /* No PER visible constraints */ |
| 30 | 0, |
| 31 | "geographicalArea" |
| 32 | }, |
| 33 | }; |
| 34 | static const asn_TYPE_tag2member_t asn_MAP_RANAP_AreaIdentity_tag2el_1[] = { |
| 35 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* sAI */ |
| 36 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* geographicalArea */ |
| 37 | }; |
| 38 | static asn_CHOICE_specifics_t asn_SPC_RANAP_AreaIdentity_specs_1 = { |
| 39 | sizeof(struct RANAP_AreaIdentity), |
| 40 | offsetof(struct RANAP_AreaIdentity, _asn_ctx), |
| 41 | offsetof(struct RANAP_AreaIdentity, present), |
| 42 | sizeof(((struct RANAP_AreaIdentity *)0)->present), |
| 43 | asn_MAP_RANAP_AreaIdentity_tag2el_1, |
| 44 | 2, /* Count of tags in the map */ |
| 45 | 0, |
| 46 | 2 /* Extensions start */ |
| 47 | }; |
| 48 | asn_TYPE_descriptor_t asn_DEF_RANAP_AreaIdentity = { |
| 49 | "RANAP_AreaIdentity", |
| 50 | "RANAP_AreaIdentity", |
| 51 | CHOICE_free, |
| 52 | CHOICE_print, |
| 53 | CHOICE_constraint, |
| 54 | CHOICE_decode_ber, |
| 55 | CHOICE_encode_der, |
| 56 | CHOICE_decode_xer, |
| 57 | CHOICE_encode_xer, |
| 58 | CHOICE_decode_uper, |
| 59 | CHOICE_encode_uper, |
| 60 | CHOICE_decode_aper, |
| 61 | CHOICE_encode_aper, |
| 62 | CHOICE_outmost_tag, |
| 63 | 0, /* No effective tags (pointer) */ |
| 64 | 0, /* No effective tags (count) */ |
| 65 | 0, /* No tags (pointer) */ |
| 66 | 0, /* No tags (count) */ |
| 67 | &asn_PER_type_RANAP_AreaIdentity_constr_1, |
| 68 | asn_MBR_RANAP_AreaIdentity_1, |
| 69 | 2, /* Elements count */ |
| 70 | &asn_SPC_RANAP_AreaIdentity_specs_1 /* Additional specs */ |
| 71 | }; |
| 72 | |