blob: 59793d8b798e38bdca1cb42a89c3456def6964da [file] [log] [blame]
Harald Welteee091892015-09-10 10:22:03 +02001/*
2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RANAP-IEs"
4 * found in "../../asn1/ranap/RANAP-IEs.asn"
5 */
6
Neels Hofmeyrf1f2d7c2016-01-05 12:00:06 +01007#include <osmocom/ranap/RANAP_LA-LIST.h>
Harald Welteee091892015-09-10 10:22:03 +02008
9static asn_per_constraints_t asn_PER_type_RANAP_LA_LIST_constr_1 GCC_NOTUSED = {
10 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
11 { APC_CONSTRAINED, 16, -1, 1l, 65536l } /* (SIZE(1..65536)) */,
12 0, 0 /* No PER value map */
13};
14static asn_TYPE_member_t asn_MBR_MemberA_2[] = {
15 { ATF_NOFLAGS, 0, offsetof(struct MemberA, lAC),
16 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
17 -1, /* IMPLICIT tag at current level */
18 &asn_DEF_RANAP_LAC,
19 0, /* Defer constraints checking to the member type */
20 0, /* No PER visible constraints */
21 0,
22 "lAC"
23 },
24 { ATF_NOFLAGS, 0, offsetof(struct MemberA, listOF_SNAs),
25 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
26 -1, /* IMPLICIT tag at current level */
27 &asn_DEF_RANAP_ListOF_SNAs,
28 0, /* Defer constraints checking to the member type */
29 0, /* No PER visible constraints */
30 0,
31 "listOF-SNAs"
32 },
33 { ATF_POINTER, 1, offsetof(struct MemberA, iE_Extensions),
34 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
35 -1, /* IMPLICIT tag at current level */
36 &asn_DEF_RANAP_IE_Extensions,
37 0, /* Defer constraints checking to the member type */
38 0, /* No PER visible constraints */
39 0,
40 "iE-Extensions"
41 },
42};
43static const int asn_MAP_MemberA_oms_2[] = { 2 };
44static const ber_tlv_tag_t asn_DEF_MemberA_tags_2[] = {
45 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
46};
47static const asn_TYPE_tag2member_t asn_MAP_MemberA_tag2el_2[] = {
48 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* lAC */
49 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* listOF-SNAs */
50 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* iE-Extensions */
51};
52static asn_SEQUENCE_specifics_t asn_SPC_MemberA_specs_2 = {
53 sizeof(struct MemberA),
54 offsetof(struct MemberA, _asn_ctx),
55 asn_MAP_MemberA_tag2el_2,
56 3, /* Count of tags in the map */
57 asn_MAP_MemberA_oms_2, /* Optional members */
58 1, 0, /* Root/Additions */
59 2, /* Start extensions */
60 4 /* Stop extensions */
61};
62static /* Use -fall-defs-global to expose */
63asn_TYPE_descriptor_t asn_DEF_MemberA_2 = {
64 "SEQUENCE",
65 "SEQUENCE",
66 SEQUENCE_free,
67 SEQUENCE_print,
68 SEQUENCE_constraint,
69 SEQUENCE_decode_ber,
70 SEQUENCE_encode_der,
71 SEQUENCE_decode_xer,
72 SEQUENCE_encode_xer,
73 SEQUENCE_decode_uper,
74 SEQUENCE_encode_uper,
75 SEQUENCE_decode_aper,
76 SEQUENCE_encode_aper,
77 0, /* Use generic outmost tag fetcher */
78 asn_DEF_MemberA_tags_2,
79 sizeof(asn_DEF_MemberA_tags_2)
80 /sizeof(asn_DEF_MemberA_tags_2[0]), /* 1 */
81 asn_DEF_MemberA_tags_2, /* Same as above */
82 sizeof(asn_DEF_MemberA_tags_2)
83 /sizeof(asn_DEF_MemberA_tags_2[0]), /* 1 */
84 0, /* No PER visible constraints */
85 asn_MBR_MemberA_2,
86 3, /* Elements count */
87 &asn_SPC_MemberA_specs_2 /* Additional specs */
88};
89
90static asn_TYPE_member_t asn_MBR_RANAP_LA_LIST_1[] = {
91 { ATF_POINTER, 0, 0,
92 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
93 0,
94 &asn_DEF_MemberA_2,
95 0, /* Defer constraints checking to the member type */
96 0, /* No PER visible constraints */
97 0,
98 ""
99 },
100};
101static const ber_tlv_tag_t asn_DEF_RANAP_LA_LIST_tags_1[] = {
102 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
103};
104static asn_SET_OF_specifics_t asn_SPC_RANAP_LA_LIST_specs_1 = {
105 sizeof(struct RANAP_LA_LIST),
106 offsetof(struct RANAP_LA_LIST, _asn_ctx),
107 0, /* XER encoding is XMLDelimitedItemList */
108};
109asn_TYPE_descriptor_t asn_DEF_RANAP_LA_LIST = {
110 "RANAP_LA-LIST",
111 "RANAP_LA-LIST",
112 SEQUENCE_OF_free,
113 SEQUENCE_OF_print,
114 SEQUENCE_OF_constraint,
115 SEQUENCE_OF_decode_ber,
116 SEQUENCE_OF_encode_der,
117 SEQUENCE_OF_decode_xer,
118 SEQUENCE_OF_encode_xer,
119 SEQUENCE_OF_decode_uper,
120 SEQUENCE_OF_encode_uper,
121 SEQUENCE_OF_decode_aper,
122 SEQUENCE_OF_encode_aper,
123 0, /* Use generic outmost tag fetcher */
124 asn_DEF_RANAP_LA_LIST_tags_1,
125 sizeof(asn_DEF_RANAP_LA_LIST_tags_1)
126 /sizeof(asn_DEF_RANAP_LA_LIST_tags_1[0]), /* 1 */
127 asn_DEF_RANAP_LA_LIST_tags_1, /* Same as above */
128 sizeof(asn_DEF_RANAP_LA_LIST_tags_1)
129 /sizeof(asn_DEF_RANAP_LA_LIST_tags_1[0]), /* 1 */
130 &asn_PER_type_RANAP_LA_LIST_constr_1,
131 asn_MBR_RANAP_LA_LIST_1,
132 1, /* Single element */
133 &asn_SPC_RANAP_LA_LIST_specs_1 /* Additional specs */
134};
135