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 _TransportInfo_H_ |
| 9 | #define _TransportInfo_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/TransportLayerAddress.h> |
| 16 | #include <osmocom/hnbap/GTP-TEI.h> |
| 17 | #include <osmocom/hnbap/BindingID.h> |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 18 | #include <constr_CHOICE.h> |
| 19 | #include <constr_SEQUENCE.h> |
| 20 | |
| 21 | #ifdef __cplusplus |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
| 25 | /* Dependencies */ |
| 26 | typedef enum transportAssociation_PR { |
| 27 | transportAssociation_PR_NOTHING, /* No components present */ |
| 28 | transportAssociation_PR_gtp_TEI, |
| 29 | transportAssociation_PR_bindingID, |
| 30 | /* Extensions may appear below */ |
| 31 | |
| 32 | } transportAssociation_PR; |
| 33 | |
| 34 | /* Forward declarations */ |
| 35 | struct IE_Extensions; |
| 36 | |
| 37 | /* TransportInfo */ |
| 38 | typedef struct TransportInfo { |
| 39 | TransportLayerAddress_t transportLayerAddress; |
| 40 | struct transportAssociation { |
| 41 | transportAssociation_PR present; |
| 42 | union TransportInfo__transportAssociation_u { |
| 43 | GTP_TEI_t gtp_TEI; |
| 44 | BindingID_t bindingID; |
| 45 | /* |
| 46 | * This type is extensible, |
| 47 | * possible extensions are below. |
| 48 | */ |
| 49 | } choice; |
| 50 | |
| 51 | /* Context for parsing across buffer boundaries */ |
| 52 | asn_struct_ctx_t _asn_ctx; |
| 53 | } transportAssociation; |
| 54 | struct IE_Extensions *iE_Extensions /* OPTIONAL */; |
| 55 | /* |
| 56 | * This type is extensible, |
| 57 | * possible extensions are below. |
| 58 | */ |
| 59 | |
| 60 | /* Context for parsing across buffer boundaries */ |
| 61 | asn_struct_ctx_t _asn_ctx; |
| 62 | } TransportInfo_t; |
| 63 | |
| 64 | /* Implementation */ |
| 65 | extern asn_TYPE_descriptor_t asn_DEF_TransportInfo; |
| 66 | |
| 67 | #ifdef __cplusplus |
| 68 | } |
| 69 | #endif |
| 70 | |
| 71 | /* Referred external types */ |
Neels Hofmeyr | f1f2d7c | 2016-01-05 12:00:06 +0100 | [diff] [blame] | 72 | #include <osmocom/hnbap/IE-Extensions.h> |
Harald Welte | d523a69 | 2015-08-30 23:11:19 +0200 | [diff] [blame] | 73 | |
| 74 | #endif /* _TransportInfo_H_ */ |
| 75 | #include <asn_internal.h> |