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 | |
| 8 | #ifndef _UE_Identity_H_ |
| 9 | #define _UE_Identity_H_ |
| 10 | |
| 11 | |
| 12 | #include <asn_application.h> |
| 13 | |
| 14 | /* Including external dependencies */ |
Neels Hofmeyr | f1f2d7c | 2016-01-05 12:00:06 +0100 | [diff] [blame] | 15 | #include <osmocom/hnbap/IMSI.h> |
| 16 | #include <osmocom/hnbap/TMSILAI.h> |
| 17 | #include <osmocom/hnbap/PTMSIRAI.h> |
| 18 | #include <osmocom/hnbap/IMEI.h> |
| 19 | #include <osmocom/hnbap/ESN.h> |
| 20 | #include <osmocom/hnbap/IMSIDS41.h> |
| 21 | #include <osmocom/hnbap/IMSIESN.h> |
| 22 | #include <osmocom/hnbap/TMSIDS41.h> |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 23 | #include <constr_CHOICE.h> |
| 24 | |
| 25 | #ifdef __cplusplus |
| 26 | extern "C" { |
| 27 | #endif |
| 28 | |
| 29 | /* Dependencies */ |
| 30 | typedef enum UE_Identity_PR { |
| 31 | UE_Identity_PR_NOTHING, /* No components present */ |
| 32 | UE_Identity_PR_iMSI, |
| 33 | UE_Identity_PR_tMSILAI, |
| 34 | UE_Identity_PR_pTMSIRAI, |
| 35 | UE_Identity_PR_iMEI, |
| 36 | UE_Identity_PR_eSN, |
| 37 | UE_Identity_PR_iMSIDS41, |
| 38 | UE_Identity_PR_iMSIESN, |
| 39 | UE_Identity_PR_tMSIDS41, |
| 40 | /* Extensions may appear below */ |
| 41 | |
| 42 | } UE_Identity_PR; |
| 43 | |
| 44 | /* UE-Identity */ |
| 45 | typedef struct UE_Identity { |
| 46 | UE_Identity_PR present; |
| 47 | union UE_Identity_u { |
| 48 | IMSI_t iMSI; |
| 49 | TMSILAI_t tMSILAI; |
| 50 | PTMSIRAI_t pTMSIRAI; |
| 51 | IMEI_t iMEI; |
| 52 | ESN_t eSN; |
| 53 | IMSIDS41_t iMSIDS41; |
| 54 | IMSIESN_t iMSIESN; |
| 55 | TMSIDS41_t tMSIDS41; |
| 56 | /* |
| 57 | * This type is extensible, |
| 58 | * possible extensions are below. |
| 59 | */ |
| 60 | } choice; |
| 61 | |
| 62 | /* Context for parsing across buffer boundaries */ |
| 63 | asn_struct_ctx_t _asn_ctx; |
| 64 | } UE_Identity_t; |
| 65 | |
| 66 | /* Implementation */ |
| 67 | extern asn_TYPE_descriptor_t asn_DEF_UE_Identity; |
| 68 | |
| 69 | #ifdef __cplusplus |
| 70 | } |
| 71 | #endif |
| 72 | |
| 73 | #endif /* _UE_Identity_H_ */ |
| 74 | #include <asn_internal.h> |