blob: 4c529521bd35d4bb351d38bcbdc19d66a79c857e [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
Neels Hofmeyrf1f2d7c2016-01-05 12:00:06 +01008#include <osmocom/hnbap/Tunnel-Information.h>
Harald Welted523a692015-08-30 23:11:19 +02009
10static asn_TYPE_member_t asn_MBR_Tunnel_Information_1[] = {
11 { ATF_NOFLAGS, 0, offsetof(struct Tunnel_Information, iP_Address),
12 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13 -1, /* IMPLICIT tag at current level */
14 &asn_DEF_IP_Address,
15 0, /* Defer constraints checking to the member type */
16 0, /* No PER visible constraints */
17 0,
18 "iP-Address"
19 },
20 { ATF_POINTER, 2, offsetof(struct Tunnel_Information, uDP_Port_Number),
21 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
22 -1, /* IMPLICIT tag at current level */
23 &asn_DEF_UDP_Port_Number,
24 0, /* Defer constraints checking to the member type */
25 0, /* No PER visible constraints */
26 0,
27 "uDP-Port-Number"
28 },
29 { ATF_POINTER, 1, offsetof(struct Tunnel_Information, iE_Extensions),
30 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
31 -1, /* IMPLICIT tag at current level */
32 &asn_DEF_IE_Extensions,
33 0, /* Defer constraints checking to the member type */
34 0, /* No PER visible constraints */
35 0,
36 "iE-Extensions"
37 },
38};
39static const int asn_MAP_Tunnel_Information_oms_1[] = { 1, 2 };
40static const ber_tlv_tag_t asn_DEF_Tunnel_Information_tags_1[] = {
41 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
42};
43static const asn_TYPE_tag2member_t asn_MAP_Tunnel_Information_tag2el_1[] = {
44 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* iP-Address */
45 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* uDP-Port-Number */
46 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
47};
48static asn_SEQUENCE_specifics_t asn_SPC_Tunnel_Information_specs_1 = {
49 sizeof(struct Tunnel_Information),
50 offsetof(struct Tunnel_Information, _asn_ctx),
51 asn_MAP_Tunnel_Information_tag2el_1,
52 3, /* Count of tags in the map */
53 asn_MAP_Tunnel_Information_oms_1, /* Optional members */
54 2, 0, /* Root/Additions */
55 2, /* Start extensions */
56 4 /* Stop extensions */
57};
58asn_TYPE_descriptor_t asn_DEF_Tunnel_Information = {
59 "Tunnel-Information",
60 "Tunnel-Information",
61 SEQUENCE_free,
62 SEQUENCE_print,
63 SEQUENCE_constraint,
64 SEQUENCE_decode_ber,
65 SEQUENCE_encode_der,
66 SEQUENCE_decode_xer,
67 SEQUENCE_encode_xer,
68 SEQUENCE_decode_uper,
69 SEQUENCE_encode_uper,
70 SEQUENCE_decode_aper,
71 SEQUENCE_encode_aper,
72 0, /* Use generic outmost tag fetcher */
73 asn_DEF_Tunnel_Information_tags_1,
74 sizeof(asn_DEF_Tunnel_Information_tags_1)
75 /sizeof(asn_DEF_Tunnel_Information_tags_1[0]), /* 1 */
76 asn_DEF_Tunnel_Information_tags_1, /* Same as above */
77 sizeof(asn_DEF_Tunnel_Information_tags_1)
78 /sizeof(asn_DEF_Tunnel_Information_tags_1[0]), /* 1 */
79 0, /* No PER visible constraints */
80 asn_MBR_Tunnel_Information_1,
81 3, /* Elements count */
82 &asn_SPC_Tunnel_Information_specs_1 /* Additional specs */
83};
84