022cf370a950a682b923c1d6609a311a94ae45de
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / InterfaceProtocolIE-Item.c
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 /*
18  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
19  * platform project (RICP).
20  */
21
22
23
24 /*
25  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
26  * From ASN.1 module "E2SM-gNB-X2-IEs"
27  *      found in "../../asnFiles/e2sm-gNB-X2-release-1-v041.asn"
28  *      `asn1c -fcompound-names -fincludes-quoted -fno-include-deps -findirect-choice -gen-PER -no-gen-OER -D.`
29  */
30
31 #include "InterfaceProtocolIE-Item.h"
32
33 asn_TYPE_member_t asn_MBR_InterfaceProtocolIE_Item_1[] = {
34         { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Item, interfaceProtocolIE_ID),
35                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
36                 -1,     /* IMPLICIT tag at current level */
37                 &asn_DEF_InterfaceProtocolIE_ID,
38                 0,
39                 { 0, 0, 0 },
40                 0, 0, /* No default value */
41                 "interfaceProtocolIE-ID"
42                 },
43         { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Item, interfaceProtocolIE_Test),
44                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
45                 -1,     /* IMPLICIT tag at current level */
46                 &asn_DEF_InterfaceProtocolIE_Test,
47                 0,
48                 { 0, 0, 0 },
49                 0, 0, /* No default value */
50                 "interfaceProtocolIE-Test"
51                 },
52         { ATF_NOFLAGS, 0, offsetof(struct InterfaceProtocolIE_Item, interfaceProtocolIE_Value),
53                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
54                 +1,     /* EXPLICIT tag at current level */
55                 &asn_DEF_InterfaceProtocolIE_Value,
56                 0,
57                 { 0, 0, 0 },
58                 0, 0, /* No default value */
59                 "interfaceProtocolIE-Value"
60                 },
61 };
62 static const ber_tlv_tag_t asn_DEF_InterfaceProtocolIE_Item_tags_1[] = {
63         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
64 };
65 static const asn_TYPE_tag2member_t asn_MAP_InterfaceProtocolIE_Item_tag2el_1[] = {
66     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* interfaceProtocolIE-ID */
67     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* interfaceProtocolIE-Test */
68     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* interfaceProtocolIE-Value */
69 };
70 asn_SEQUENCE_specifics_t asn_SPC_InterfaceProtocolIE_Item_specs_1 = {
71         sizeof(struct InterfaceProtocolIE_Item),
72         offsetof(struct InterfaceProtocolIE_Item, _asn_ctx),
73         asn_MAP_InterfaceProtocolIE_Item_tag2el_1,
74         3,      /* Count of tags in the map */
75         0, 0, 0,        /* Optional elements (not needed) */
76         3,      /* First extension addition */
77 };
78 asn_TYPE_descriptor_t asn_DEF_InterfaceProtocolIE_Item = {
79         "InterfaceProtocolIE-Item",
80         "InterfaceProtocolIE-Item",
81         &asn_OP_SEQUENCE,
82         asn_DEF_InterfaceProtocolIE_Item_tags_1,
83         sizeof(asn_DEF_InterfaceProtocolIE_Item_tags_1)
84                 /sizeof(asn_DEF_InterfaceProtocolIE_Item_tags_1[0]), /* 1 */
85         asn_DEF_InterfaceProtocolIE_Item_tags_1,        /* Same as above */
86         sizeof(asn_DEF_InterfaceProtocolIE_Item_tags_1)
87                 /sizeof(asn_DEF_InterfaceProtocolIE_Item_tags_1[0]), /* 1 */
88         { 0, 0, SEQUENCE_constraint },
89         asn_MBR_InterfaceProtocolIE_Item_1,
90         3,      /* Elements count */
91         &asn_SPC_InterfaceProtocolIE_Item_specs_1       /* Additional specs */
92 };
93