337a3cb6c899a85bdcd73d09b8915c6414b3305f
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / e2ap_engine / E2SM-gNB-X2-indicationHeader.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 "E2SM-gNB-X2-indicationHeader.h"
32
33 static asn_TYPE_member_t asn_MBR_E2SM_gNB_X2_indicationHeader_1[] = {
34         { ATF_NOFLAGS, 0, offsetof(struct E2SM_gNB_X2_indicationHeader, interface_ID),
35                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
36                 +1,     /* EXPLICIT tag at current level */
37                 &asn_DEF_Interface_ID,
38                 0,
39                 { 0, 0, 0 },
40                 0, 0, /* No default value */
41                 "interface-ID"
42                 },
43         { ATF_NOFLAGS, 0, offsetof(struct E2SM_gNB_X2_indicationHeader, interfaceDirection),
44                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
45                 -1,     /* IMPLICIT tag at current level */
46                 &asn_DEF_InterfaceDirection,
47                 0,
48                 { 0, 0, 0 },
49                 0, 0, /* No default value */
50                 "interfaceDirection"
51                 },
52         { ATF_POINTER, 1, offsetof(struct E2SM_gNB_X2_indicationHeader, timestamp),
53                 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
54                 -1,     /* IMPLICIT tag at current level */
55                 &asn_DEF_TimeStamp,
56                 0,
57                 { 0, 0, 0 },
58                 0, 0, /* No default value */
59                 "timestamp"
60                 },
61 };
62 static const int asn_MAP_E2SM_gNB_X2_indicationHeader_oms_1[] = { 2 };
63 static const ber_tlv_tag_t asn_DEF_E2SM_gNB_X2_indicationHeader_tags_1[] = {
64         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
65 };
66 static const asn_TYPE_tag2member_t asn_MAP_E2SM_gNB_X2_indicationHeader_tag2el_1[] = {
67     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* interface-ID */
68     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* interfaceDirection */
69     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* timestamp */
70 };
71 static asn_SEQUENCE_specifics_t asn_SPC_E2SM_gNB_X2_indicationHeader_specs_1 = {
72         sizeof(struct E2SM_gNB_X2_indicationHeader),
73         offsetof(struct E2SM_gNB_X2_indicationHeader, _asn_ctx),
74         asn_MAP_E2SM_gNB_X2_indicationHeader_tag2el_1,
75         3,      /* Count of tags in the map */
76         asn_MAP_E2SM_gNB_X2_indicationHeader_oms_1,     /* Optional members */
77         1, 0,   /* Root/Additions */
78         3,      /* First extension addition */
79 };
80 asn_TYPE_descriptor_t asn_DEF_E2SM_gNB_X2_indicationHeader = {
81         "E2SM-gNB-X2-indicationHeader",
82         "E2SM-gNB-X2-indicationHeader",
83         &asn_OP_SEQUENCE,
84         asn_DEF_E2SM_gNB_X2_indicationHeader_tags_1,
85         sizeof(asn_DEF_E2SM_gNB_X2_indicationHeader_tags_1)
86                 /sizeof(asn_DEF_E2SM_gNB_X2_indicationHeader_tags_1[0]), /* 1 */
87         asn_DEF_E2SM_gNB_X2_indicationHeader_tags_1,    /* Same as above */
88         sizeof(asn_DEF_E2SM_gNB_X2_indicationHeader_tags_1)
89                 /sizeof(asn_DEF_E2SM_gNB_X2_indicationHeader_tags_1[0]), /* 1 */
90         { 0, 0, SEQUENCE_constraint },
91         asn_MBR_E2SM_gNB_X2_indicationHeader_1,
92         3,      /* Elements count */
93         &asn_SPC_E2SM_gNB_X2_indicationHeader_specs_1   /* Additional specs */
94 };
95