blob: 5f1ab9a7f46733a80f3dce3b3c37f8eef028b69d [file] [log] [blame]
Harald Welte49695572015-12-16 17:26:05 +01001/*
2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RANAP-PDU"
4 * found in "../../asn1/ranap/RANAP-PDU.asn"
5 */
6
Neels Hofmeyrf1f2d7c2016-01-05 12:00:06 +01007#include <osmocom/ranap/RANAP_ProtocolIE-FieldPair.h>
Harald Welte49695572015-12-16 17:26:05 +01008
9static asn_TYPE_member_t asn_MBR_RANAP_ProtocolIE_FieldPair_1[] = {
10 { ATF_NOFLAGS, 0, offsetof(struct RANAP_ProtocolIE_FieldPair, id),
11 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
12 -1, /* IMPLICIT tag at current level */
13 &asn_DEF_RANAP_ProtocolIE_ID,
14 0, /* Defer constraints checking to the member type */
15 0, /* No PER visible constraints */
16 0,
17 "id"
18 },
19 { ATF_NOFLAGS, 0, offsetof(struct RANAP_ProtocolIE_FieldPair, firstCriticality),
20 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
21 -1, /* IMPLICIT tag at current level */
22 &asn_DEF_RANAP_Criticality,
23 0, /* Defer constraints checking to the member type */
24 0, /* No PER visible constraints */
25 0,
26 "firstCriticality"
27 },
28 { ATF_NOFLAGS, 0, offsetof(struct RANAP_ProtocolIE_FieldPair, firstValue),
29 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
30 +1, /* EXPLICIT tag at current level */
31 &asn_DEF_ANY,
32 0, /* Defer constraints checking to the member type */
33 0, /* No PER visible constraints */
34 0,
35 "firstValue"
36 },
37 { ATF_NOFLAGS, 0, offsetof(struct RANAP_ProtocolIE_FieldPair, secondCriticality),
38 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
39 -1, /* IMPLICIT tag at current level */
40 &asn_DEF_RANAP_Criticality,
41 0, /* Defer constraints checking to the member type */
42 0, /* No PER visible constraints */
43 0,
44 "secondCriticality"
45 },
46 { ATF_NOFLAGS, 0, offsetof(struct RANAP_ProtocolIE_FieldPair, secondValue),
47 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
48 +1, /* EXPLICIT tag at current level */
49 &asn_DEF_ANY,
50 0, /* Defer constraints checking to the member type */
51 0, /* No PER visible constraints */
52 0,
53 "secondValue"
54 },
55};
56static const ber_tlv_tag_t asn_DEF_RANAP_ProtocolIE_FieldPair_tags_1[] = {
57 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
58};
59static const asn_TYPE_tag2member_t asn_MAP_RANAP_ProtocolIE_FieldPair_tag2el_1[] = {
60 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* id */
61 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* firstCriticality */
62 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* firstValue */
63 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* secondCriticality */
64 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* secondValue */
65};
66static asn_SEQUENCE_specifics_t asn_SPC_RANAP_ProtocolIE_FieldPair_specs_1 = {
67 sizeof(struct RANAP_ProtocolIE_FieldPair),
68 offsetof(struct RANAP_ProtocolIE_FieldPair, _asn_ctx),
69 asn_MAP_RANAP_ProtocolIE_FieldPair_tag2el_1,
70 5, /* Count of tags in the map */
71 0, 0, 0, /* Optional elements (not needed) */
72 -1, /* Start extensions */
73 -1 /* Stop extensions */
74};
75asn_TYPE_descriptor_t asn_DEF_RANAP_ProtocolIE_FieldPair = {
76 "RANAP_ProtocolIE-FieldPair",
77 "RANAP_ProtocolIE-FieldPair",
78 SEQUENCE_free,
79 SEQUENCE_print,
80 SEQUENCE_constraint,
81 SEQUENCE_decode_ber,
82 SEQUENCE_encode_der,
83 SEQUENCE_decode_xer,
84 SEQUENCE_encode_xer,
85 SEQUENCE_decode_uper,
86 SEQUENCE_encode_uper,
87 SEQUENCE_decode_aper,
88 SEQUENCE_encode_aper,
89 0, /* Use generic outmost tag fetcher */
90 asn_DEF_RANAP_ProtocolIE_FieldPair_tags_1,
91 sizeof(asn_DEF_RANAP_ProtocolIE_FieldPair_tags_1)
92 /sizeof(asn_DEF_RANAP_ProtocolIE_FieldPair_tags_1[0]), /* 1 */
93 asn_DEF_RANAP_ProtocolIE_FieldPair_tags_1, /* Same as above */
94 sizeof(asn_DEF_RANAP_ProtocolIE_FieldPair_tags_1)
95 /sizeof(asn_DEF_RANAP_ProtocolIE_FieldPair_tags_1[0]), /* 1 */
96 0, /* No PER visible constraints */
97 asn_MBR_RANAP_ProtocolIE_FieldPair_1,
98 5, /* Elements count */
99 &asn_SPC_RANAP_ProtocolIE_FieldPair_specs_1 /* Additional specs */
100};
101