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
41
struct
m0_fop_fol_frag
{
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
62
struct
m0_fop_generic_reply
{
63
int32_t
gr_rc
;
64
struct
m0_fop_str
gr_msg
;
65
} M0_XCA_RECORD
M0_XCA_DOMAIN
(rpc);
66
70
struct
m0_be_tx_remid
{
71
uint64_t
tri_txid
;
72
uint64_t
tri_locality
;
73
} M0_XCA_RECORD
M0_XCA_DOMAIN
(
be
|rpc);
74
78
struct
m0_fop_mod_rep
{
80
struct
m0_be_tx_remid
fmr_remid
;
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
*/
m0_fop_fol_frag::ffrp_rep_code
uint32_t ffrp_rep_code
Definition:
wire.h:45
types.h
m0_fop_generic_reply::gr_rc
int32_t gr_rc
Definition:
wire.h:63
M0_XCA_DOMAIN
struct m0_fop_str M0_XCA_DOMAIN(rpc)
xcode_attr.h
m0_fop_str
Definition:
wire.h:50
m0_fop_generic_reply
Definition:
wire.h:62
m0_fop_str::s_buf
uint8_t * s_buf
Definition:
wire.h:52
m0_be_tx_remid::tri_txid
uint64_t tri_txid
Definition:
wire.h:71
m0_fop_generic_reply::gr_msg
struct m0_fop_str gr_msg
Definition:
wire.h:64
m0_be_tx_remid
Definition:
wire.h:70
m0_be_tx_remid::tri_locality
uint64_t tri_locality
Definition:
wire.h:72
m0_fop_mod_rep
Definition:
wire.h:78
m0_fop_fol_frag
Definition:
wire.h:41
m0_fop_fol_frag::M0_XCA_OPAQUE
void *ffrp_fop M0_XCA_OPAQUE("m0_fop_xc_type")
m0_fop_str::s_len
uint32_t s_len
Definition:
wire.h:51
m0_fop_mod_rep::fmr_remid
struct m0_be_tx_remid fmr_remid
Definition:
wire.h:80
be
static struct m0_be_ut_backend be
Definition:
service_ut.c:59
m0_fop_fol_frag::ffrp_fop_code
uint32_t ffrp_fop_code
Definition:
wire.h:43
fop
wire.h
Generated on Fri May 27 2022 00:01:58 for Motr by
1.8.14