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/IMSIESN.h> |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 9 | |
| 10 | static asn_TYPE_member_t asn_MBR_IMSIESN_1[] = { |
| 11 | { ATF_NOFLAGS, 0, offsetof(struct IMSIESN, iMSIDS41), |
| 12 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 13 | -1, /* IMPLICIT tag at current level */ |
| 14 | &asn_DEF_IMSIDS41, |
| 15 | 0, /* Defer constraints checking to the member type */ |
| 16 | 0, /* No PER visible constraints */ |
| 17 | 0, |
| 18 | "iMSIDS41" |
| 19 | }, |
| 20 | { ATF_NOFLAGS, 0, offsetof(struct IMSIESN, eSN), |
| 21 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 22 | -1, /* IMPLICIT tag at current level */ |
| 23 | &asn_DEF_ESN, |
| 24 | 0, /* Defer constraints checking to the member type */ |
| 25 | 0, /* No PER visible constraints */ |
| 26 | 0, |
| 27 | "eSN" |
| 28 | }, |
| 29 | }; |
| 30 | static const ber_tlv_tag_t asn_DEF_IMSIESN_tags_1[] = { |
| 31 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 32 | }; |
| 33 | static const asn_TYPE_tag2member_t asn_MAP_IMSIESN_tag2el_1[] = { |
| 34 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* iMSIDS41 */ |
| 35 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* eSN */ |
| 36 | }; |
| 37 | static asn_SEQUENCE_specifics_t asn_SPC_IMSIESN_specs_1 = { |
| 38 | sizeof(struct IMSIESN), |
| 39 | offsetof(struct IMSIESN, _asn_ctx), |
| 40 | asn_MAP_IMSIESN_tag2el_1, |
| 41 | 2, /* Count of tags in the map */ |
| 42 | 0, 0, 0, /* Optional elements (not needed) */ |
| 43 | -1, /* Start extensions */ |
| 44 | -1 /* Stop extensions */ |
| 45 | }; |
| 46 | asn_TYPE_descriptor_t asn_DEF_IMSIESN = { |
| 47 | "IMSIESN", |
| 48 | "IMSIESN", |
| 49 | SEQUENCE_free, |
| 50 | SEQUENCE_print, |
| 51 | SEQUENCE_constraint, |
| 52 | SEQUENCE_decode_ber, |
| 53 | SEQUENCE_encode_der, |
| 54 | SEQUENCE_decode_xer, |
| 55 | SEQUENCE_encode_xer, |
| 56 | SEQUENCE_decode_uper, |
| 57 | SEQUENCE_encode_uper, |
| 58 | SEQUENCE_decode_aper, |
| 59 | SEQUENCE_encode_aper, |
| 60 | 0, /* Use generic outmost tag fetcher */ |
| 61 | asn_DEF_IMSIESN_tags_1, |
| 62 | sizeof(asn_DEF_IMSIESN_tags_1) |
| 63 | /sizeof(asn_DEF_IMSIESN_tags_1[0]), /* 1 */ |
| 64 | asn_DEF_IMSIESN_tags_1, /* Same as above */ |
| 65 | sizeof(asn_DEF_IMSIESN_tags_1) |
| 66 | /sizeof(asn_DEF_IMSIESN_tags_1[0]), /* 1 */ |
| 67 | 0, /* No PER visible constraints */ |
| 68 | asn_MBR_IMSIESN_1, |
| 69 | 2, /* Elements count */ |
| 70 | &asn_SPC_IMSIESN_specs_1 /* Additional specs */ |
| 71 | }; |
| 72 | |