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-PDU" |
| 4 | * found in "../../asn1/hnbap/HNBAP-PDU.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 | b042937 | 2016-01-04 15:30:51 +0100 | [diff] [blame] | 8 | #include <osmocom/osmo-iuh/hnbap/UnsuccessfulOutcome.h> |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 9 | |
| 10 | static asn_TYPE_member_t asn_MBR_UnsuccessfulOutcome_1[] = { |
| 11 | { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, procedureCode), |
| 12 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 13 | -1, /* IMPLICIT tag at current level */ |
| 14 | &asn_DEF_ProcedureCode, |
| 15 | 0, /* Defer constraints checking to the member type */ |
| 16 | 0, /* No PER visible constraints */ |
| 17 | 0, |
| 18 | "procedureCode" |
| 19 | }, |
| 20 | { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, criticality), |
| 21 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 22 | -1, /* IMPLICIT tag at current level */ |
| 23 | &asn_DEF_Criticality, |
| 24 | 0, /* Defer constraints checking to the member type */ |
| 25 | 0, /* No PER visible constraints */ |
| 26 | 0, |
| 27 | "criticality" |
| 28 | }, |
| 29 | { ATF_NOFLAGS, 0, offsetof(struct UnsuccessfulOutcome, value), |
| 30 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 31 | +1, /* EXPLICIT tag at current level */ |
| 32 | &asn_DEF_ANY, |
| 33 | 0, /* Defer constraints checking to the member type */ |
| 34 | 0, /* No PER visible constraints */ |
| 35 | 0, |
| 36 | "value" |
| 37 | }, |
| 38 | }; |
| 39 | static const ber_tlv_tag_t asn_DEF_UnsuccessfulOutcome_tags_1[] = { |
| 40 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 41 | }; |
| 42 | static const asn_TYPE_tag2member_t asn_MAP_UnsuccessfulOutcome_tag2el_1[] = { |
| 43 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* procedureCode */ |
| 44 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ |
| 45 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ |
| 46 | }; |
| 47 | static asn_SEQUENCE_specifics_t asn_SPC_UnsuccessfulOutcome_specs_1 = { |
| 48 | sizeof(struct UnsuccessfulOutcome), |
| 49 | offsetof(struct UnsuccessfulOutcome, _asn_ctx), |
| 50 | asn_MAP_UnsuccessfulOutcome_tag2el_1, |
| 51 | 3, /* Count of tags in the map */ |
| 52 | 0, 0, 0, /* Optional elements (not needed) */ |
| 53 | -1, /* Start extensions */ |
| 54 | -1 /* Stop extensions */ |
| 55 | }; |
| 56 | asn_TYPE_descriptor_t asn_DEF_UnsuccessfulOutcome = { |
| 57 | "UnsuccessfulOutcome", |
| 58 | "UnsuccessfulOutcome", |
| 59 | SEQUENCE_free, |
| 60 | SEQUENCE_print, |
| 61 | SEQUENCE_constraint, |
| 62 | SEQUENCE_decode_ber, |
| 63 | SEQUENCE_encode_der, |
| 64 | SEQUENCE_decode_xer, |
| 65 | SEQUENCE_encode_xer, |
| 66 | SEQUENCE_decode_uper, |
| 67 | SEQUENCE_encode_uper, |
| 68 | SEQUENCE_decode_aper, |
| 69 | SEQUENCE_encode_aper, |
| 70 | 0, /* Use generic outmost tag fetcher */ |
| 71 | asn_DEF_UnsuccessfulOutcome_tags_1, |
| 72 | sizeof(asn_DEF_UnsuccessfulOutcome_tags_1) |
| 73 | /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */ |
| 74 | asn_DEF_UnsuccessfulOutcome_tags_1, /* Same as above */ |
| 75 | sizeof(asn_DEF_UnsuccessfulOutcome_tags_1) |
| 76 | /sizeof(asn_DEF_UnsuccessfulOutcome_tags_1[0]), /* 1 */ |
| 77 | 0, /* No PER visible constraints */ |
| 78 | asn_MBR_UnsuccessfulOutcome_1, |
| 79 | 3, /* Elements count */ |
| 80 | &asn_SPC_UnsuccessfulOutcome_specs_1 /* Additional specs */ |
| 81 | }; |
| 82 | |