Motr  M0
wire.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2012-2022 Seagate Technology LLC and/or its Affiliates
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * For any questions about this software or licensing,
18  * please email opensource@seagate.com or cortx-questions@seagate.com.
19  *
20  */
21 
22 
23 #pragma once
24 
25 #ifndef __MOTR_FOP_WIRE_H__
26 #define __MOTR_FOP_WIRE_H__
27 
28 #include "lib/types.h"
29 #include "xcode/xcode_attr.h"
30 
43  uint32_t ffrp_fop_code;
45  uint32_t ffrp_rep_code;
46  void *ffrp_fop M0_XCA_OPAQUE("m0_fop_xc_type");
47  void *ffrp_rep M0_XCA_OPAQUE("m0_fop_rep_xc_type");
48 } M0_XCA_RECORD;
49 
50 struct m0_fop_str {
51  uint32_t s_len;
52  uint8_t *s_buf;
53 } M0_XCA_SEQUENCE M0_XCA_DOMAIN(rpc);
54 
63  int32_t gr_rc;
65 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
66 
71  uint64_t tri_txid;
72  uint64_t tri_locality;
73 } M0_XCA_RECORD M0_XCA_DOMAIN(be|rpc);
74 
81 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
82 
84 #endif /* __MOTR_FOP_WIRE_H__ */
85 
86 /*
87  * Local variables:
88  * c-indentation-style: "K&R"
89  * c-basic-offset: 8
90  * tab-width: 8
91  * fill-column: 80
92  * scroll-step: 1
93  * End:
94  */
uint32_t ffrp_rep_code
Definition: wire.h:45
int32_t gr_rc
Definition: wire.h:63
struct m0_fop_str M0_XCA_DOMAIN(rpc)
uint8_t * s_buf
Definition: wire.h:52
uint64_t tri_txid
Definition: wire.h:71
struct m0_fop_str gr_msg
Definition: wire.h:64
uint64_t tri_locality
Definition: wire.h:72
void *ffrp_fop M0_XCA_OPAQUE("m0_fop_xc_type")
uint32_t s_len
Definition: wire.h:51
struct m0_be_tx_remid fmr_remid
Definition: wire.h:80
static struct m0_be_ut_backend be
Definition: service_ut.c:59
uint32_t ffrp_fop_code
Definition: wire.h:43