Harald Welte | 019830c | 2015-09-10 10:20:56 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "RUA-PDU" |
| 4 | * found in "../../asn1/rua/RUA-PDU.asn" |
| 5 | */ |
| 6 | |
Neels Hofmeyr | b042937 | 2016-01-04 15:30:51 +0100 | [diff] [blame^] | 7 | #include <osmocom/osmo-iuh/rua/RUA_IE.h> |
Harald Welte | 019830c | 2015-09-10 10:20:56 +0200 | [diff] [blame] | 8 | |
| 9 | static asn_TYPE_member_t asn_MBR_RUA_IE_1[] = { |
| 10 | { ATF_NOFLAGS, 0, offsetof(struct RUA_IE, id), |
| 11 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 12 | -1, /* IMPLICIT tag at current level */ |
| 13 | &asn_DEF_RUA_ProtocolIE_ID, |
| 14 | 0, /* Defer constraints checking to the member type */ |
| 15 | 0, /* No PER visible constraints */ |
| 16 | 0, |
| 17 | "id" |
| 18 | }, |
| 19 | { ATF_NOFLAGS, 0, offsetof(struct RUA_IE, criticality), |
| 20 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 21 | -1, /* IMPLICIT tag at current level */ |
| 22 | &asn_DEF_RUA_Criticality, |
| 23 | 0, /* Defer constraints checking to the member type */ |
| 24 | 0, /* No PER visible constraints */ |
| 25 | 0, |
| 26 | "criticality" |
| 27 | }, |
| 28 | { ATF_NOFLAGS, 0, offsetof(struct RUA_IE, value), |
| 29 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 30 | +1, /* EXPLICIT tag at current level */ |
| 31 | &asn_DEF_ANY, |
| 32 | 0, /* Defer constraints checking to the member type */ |
| 33 | 0, /* No PER visible constraints */ |
| 34 | 0, |
| 35 | "value" |
| 36 | }, |
| 37 | }; |
| 38 | static const ber_tlv_tag_t asn_DEF_RUA_IE_tags_1[] = { |
| 39 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 40 | }; |
| 41 | static const asn_TYPE_tag2member_t asn_MAP_RUA_IE_tag2el_1[] = { |
| 42 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */ |
| 43 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* criticality */ |
| 44 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* value */ |
| 45 | }; |
| 46 | static asn_SEQUENCE_specifics_t asn_SPC_RUA_IE_specs_1 = { |
| 47 | sizeof(struct RUA_IE), |
| 48 | offsetof(struct RUA_IE, _asn_ctx), |
| 49 | asn_MAP_RUA_IE_tag2el_1, |
| 50 | 3, /* Count of tags in the map */ |
| 51 | 0, 0, 0, /* Optional elements (not needed) */ |
| 52 | -1, /* Start extensions */ |
| 53 | -1 /* Stop extensions */ |
| 54 | }; |
| 55 | asn_TYPE_descriptor_t asn_DEF_RUA_IE = { |
| 56 | "RUA_IE", |
| 57 | "RUA_IE", |
| 58 | SEQUENCE_free, |
| 59 | SEQUENCE_print, |
| 60 | SEQUENCE_constraint, |
| 61 | SEQUENCE_decode_ber, |
| 62 | SEQUENCE_encode_der, |
| 63 | SEQUENCE_decode_xer, |
| 64 | SEQUENCE_encode_xer, |
| 65 | SEQUENCE_decode_uper, |
| 66 | SEQUENCE_encode_uper, |
| 67 | SEQUENCE_decode_aper, |
| 68 | SEQUENCE_encode_aper, |
| 69 | 0, /* Use generic outmost tag fetcher */ |
| 70 | asn_DEF_RUA_IE_tags_1, |
| 71 | sizeof(asn_DEF_RUA_IE_tags_1) |
| 72 | /sizeof(asn_DEF_RUA_IE_tags_1[0]), /* 1 */ |
| 73 | asn_DEF_RUA_IE_tags_1, /* Same as above */ |
| 74 | sizeof(asn_DEF_RUA_IE_tags_1) |
| 75 | /sizeof(asn_DEF_RUA_IE_tags_1[0]), /* 1 */ |
| 76 | 0, /* No PER visible constraints */ |
| 77 | asn_MBR_RUA_IE_1, |
| 78 | 3, /* Elements count */ |
| 79 | &asn_SPC_RUA_IE_specs_1 /* Additional specs */ |
| 80 | }; |
| 81 | |