Peter Szilagyi | fbc56f9 | 2019-07-23 19:29:46 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) |
| 3 | * From ASN.1 module "X2AP-IEs" |
| 4 | * found in "Spec/e2ap-v031ex.asn" |
| 5 | * `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER` |
| 6 | */ |
| 7 | |
| 8 | #include "ProSeAuthorized.h" |
| 9 | |
| 10 | #include "ProtocolExtensionContainer.h" |
| 11 | static asn_TYPE_member_t asn_MBR_ProSeAuthorized_1[] = { |
| 12 | { ATF_POINTER, 3, offsetof(struct ProSeAuthorized, proSeDirectDiscovery), |
| 13 | (ASN_TAG_CLASS_CONTEXT | (0 << 2)), |
| 14 | -1, /* IMPLICIT tag at current level */ |
| 15 | &asn_DEF_ProSeDirectDiscovery, |
| 16 | 0, |
| 17 | { 0, 0, 0 }, |
| 18 | 0, 0, /* No default value */ |
| 19 | "proSeDirectDiscovery" |
| 20 | }, |
| 21 | { ATF_POINTER, 2, offsetof(struct ProSeAuthorized, proSeDirectCommunication), |
| 22 | (ASN_TAG_CLASS_CONTEXT | (1 << 2)), |
| 23 | -1, /* IMPLICIT tag at current level */ |
| 24 | &asn_DEF_ProSeDirectCommunication, |
| 25 | 0, |
| 26 | { 0, 0, 0 }, |
| 27 | 0, 0, /* No default value */ |
| 28 | "proSeDirectCommunication" |
| 29 | }, |
| 30 | { ATF_POINTER, 1, offsetof(struct ProSeAuthorized, iE_Extensions), |
| 31 | (ASN_TAG_CLASS_CONTEXT | (2 << 2)), |
| 32 | -1, /* IMPLICIT tag at current level */ |
| 33 | &asn_DEF_ProtocolExtensionContainer_9566P179, |
| 34 | 0, |
| 35 | { 0, 0, 0 }, |
| 36 | 0, 0, /* No default value */ |
| 37 | "iE-Extensions" |
| 38 | }, |
| 39 | }; |
| 40 | static const int asn_MAP_ProSeAuthorized_oms_1[] = { 0, 1, 2 }; |
| 41 | static const ber_tlv_tag_t asn_DEF_ProSeAuthorized_tags_1[] = { |
| 42 | (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) |
| 43 | }; |
| 44 | static const asn_TYPE_tag2member_t asn_MAP_ProSeAuthorized_tag2el_1[] = { |
| 45 | { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* proSeDirectDiscovery */ |
| 46 | { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* proSeDirectCommunication */ |
| 47 | { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */ |
| 48 | }; |
| 49 | static asn_SEQUENCE_specifics_t asn_SPC_ProSeAuthorized_specs_1 = { |
| 50 | sizeof(struct ProSeAuthorized), |
| 51 | offsetof(struct ProSeAuthorized, _asn_ctx), |
| 52 | asn_MAP_ProSeAuthorized_tag2el_1, |
| 53 | 3, /* Count of tags in the map */ |
| 54 | asn_MAP_ProSeAuthorized_oms_1, /* Optional members */ |
| 55 | 3, 0, /* Root/Additions */ |
| 56 | 3, /* First extension addition */ |
| 57 | }; |
| 58 | asn_TYPE_descriptor_t asn_DEF_ProSeAuthorized = { |
| 59 | "ProSeAuthorized", |
| 60 | "ProSeAuthorized", |
| 61 | &asn_OP_SEQUENCE, |
| 62 | asn_DEF_ProSeAuthorized_tags_1, |
| 63 | sizeof(asn_DEF_ProSeAuthorized_tags_1) |
| 64 | /sizeof(asn_DEF_ProSeAuthorized_tags_1[0]), /* 1 */ |
| 65 | asn_DEF_ProSeAuthorized_tags_1, /* Same as above */ |
| 66 | sizeof(asn_DEF_ProSeAuthorized_tags_1) |
| 67 | /sizeof(asn_DEF_ProSeAuthorized_tags_1[0]), /* 1 */ |
| 68 | { 0, 0, SEQUENCE_constraint }, |
| 69 | asn_MBR_ProSeAuthorized_1, |
| 70 | 3, /* Elements count */ |
| 71 | &asn_SPC_ProSeAuthorized_specs_1 /* Additional specs */ |
| 72 | }; |
| 73 | |