blob: 501dab18456edd49b762e6457d453b3b410acd89 [file] [log] [blame]
Harald Welted523a692015-08-30 23:11:19 +02001/*
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 Welteff4750f2015-08-31 09:55:28 +02005 * `asn1c -gen-PER`
Harald Welted523a692015-08-30 23:11:19 +02006 */
7
8#ifndef _IP_Address_H_
9#define _IP_Address_H_
10
11
12#include <asn_application.h>
13
14/* Including external dependencies */
Neels Hofmeyrf1f2d7c2016-01-05 12:00:06 +010015#include <osmocom/hnbap/Ipv4Address.h>
16#include <osmocom/hnbap/Ipv6Address.h>
Harald Welted523a692015-08-30 23:11:19 +020017#include <constr_CHOICE.h>
18#include <constr_SEQUENCE.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24/* Dependencies */
25typedef 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 */
34struct IE_Extensions;
35
36/* IP-Address */
37typedef 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 */
63extern asn_TYPE_descriptor_t asn_DEF_IP_Address;
64
65#ifdef __cplusplus
66}
67#endif
68
69/* Referred external types */
Neels Hofmeyrf1f2d7c2016-01-05 12:00:06 +010070#include <osmocom/hnbap/IE-Extensions.h>
Harald Welted523a692015-08-30 23:11:19 +020071
72#endif /* _IP_Address_H_ */
73#include <asn_internal.h>