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 _IP_Address_H_ |
| 9 | #define _IP_Address_H_ |
| 10 | |
| 11 | |
| 12 | #include <asn_application.h> |
| 13 | |
| 14 | /* Including external dependencies */ |
| 15 | #include "Ipv4Address.h" |
| 16 | #include "Ipv6Address.h" |
| 17 | #include <constr_CHOICE.h> |
| 18 | #include <constr_SEQUENCE.h> |
| 19 | |
| 20 | #ifdef __cplusplus |
| 21 | extern "C" { |
| 22 | #endif |
| 23 | |
| 24 | /* Dependencies */ |
| 25 | typedef enum ipaddress_PR { |
| 26 | ipaddress_PR_NOTHING, /* No components present */ |
| 27 | ipaddress_PR_ipv4info, |
| 28 | ipaddress_PR_ipv6info, |
| 29 | /* Extensions may appear below */ |
| 30 | |
| 31 | } ipaddress_PR; |
| 32 | |
| 33 | /* Forward declarations */ |
| 34 | struct IE_Extensions; |
| 35 | |
| 36 | /* IP-Address */ |
| 37 | typedef struct IP_Address { |
| 38 | struct ipaddress { |
| 39 | ipaddress_PR present; |
| 40 | union IP_Address__ipaddress_u { |
| 41 | Ipv4Address_t ipv4info; |
| 42 | Ipv6Address_t ipv6info; |
| 43 | /* |
| 44 | * This type is extensible, |
| 45 | * possible extensions are below. |
| 46 | */ |
| 47 | } choice; |
| 48 | |
| 49 | /* Context for parsing across buffer boundaries */ |
| 50 | asn_struct_ctx_t _asn_ctx; |
| 51 | } ipaddress; |
| 52 | struct IE_Extensions *iE_Extensions /* OPTIONAL */; |
| 53 | /* |
| 54 | * This type is extensible, |
| 55 | * possible extensions are below. |
| 56 | */ |
| 57 | |
| 58 | /* Context for parsing across buffer boundaries */ |
| 59 | asn_struct_ctx_t _asn_ctx; |
| 60 | } IP_Address_t; |
| 61 | |
| 62 | /* Implementation */ |
| 63 | extern asn_TYPE_descriptor_t asn_DEF_IP_Address; |
| 64 | |
| 65 | #ifdef __cplusplus |
| 66 | } |
| 67 | #endif |
| 68 | |
| 69 | /* Referred external types */ |
| 70 | #include "IE-Extensions.h" |
| 71 | |
| 72 | #endif /* _IP_Address_H_ */ |
| 73 | #include <asn_internal.h> |