Motr  M0
session_fops.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2012-2020 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_RPC_SESSION_FOPS_H__
26 #define __MOTR_RPC_SESSION_FOPS_H__
27 
28 #include "fop/fop.h"
29 #include "rpc/rpc_opcodes.h"
30 #include "lib/types.h"
31 #include "lib/protocol.h"
32 #include "lib/protocol_xc.h"
33 #include "xcode/xcode_attr.h"
34 
48 };
49 
54 
63 
64 M0_INTERNAL int m0_rpc_session_fop_init(void);
65 
66 M0_INTERNAL void m0_rpc_session_fop_fini(void);
67 
80  struct m0_fop cec_fop;
81 
84 };
85 
92 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
93 
103  int32_t rcer_rc;
108  uint64_t rcer_sender_id;
109 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
110 
118  uint64_t ct_sender_id;
119 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
120 
129  int32_t ctr_rc;
133  uint64_t ctr_sender_id;
134 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
135 
136 
144  uint64_t rse_sender_id;
145 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
146 
156  int32_t rser_rc;
161  uint64_t rser_session_id;
165  uint64_t rser_sender_id;
166 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
167 
176  uint64_t rst_sender_id;
180  uint64_t rst_session_id;
181 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
182 
191  int32_t rstr_rc;
195  uint64_t rstr_session_id;
200  uint64_t rstr_sender_id;
201 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
202 
203 /* __MOTR_RPC_SESSION_FOPS_H__ */
204 
206 #endif
207 /*
208  * Local variables:
209  * c-indentation-style: "K&R"
210  * c-basic-offset: 8
211  * tab-width: 8
212  * fill-column: 80
213  * scroll-step: 1
214  * End:
215  */
struct m0_fop_type m0_rpc_fop_session_terminate_rep_fopt
Definition: session_fops.c:127
struct m0_protocol_id rce_protocol
Definition: session_fops.h:91
struct m0_fop_type m0_rpc_fop_session_establish_rep_fopt
Definition: session_fops.c:125
M0_INTERNAL int m0_rpc_session_fop_init(void)
Definition: session_fops.c:147
M0_INTERNAL void m0_rpc_session_fop_fini(void)
Definition: session_fops.c:129
struct m0_net_end_point * cec_sender_ep
Definition: session_fops.h:83
m0_rpc_conn_sess_terminate_phases
Definition: session_fops.h:44
const struct m0_fop_type_ops m0_rpc_fop_conn_establish_ops
struct m0_fop_type m0_rpc_fop_conn_terminate_fopt
Definition: session_fops.c:122
struct m0_fop_type m0_rpc_fop_session_establish_fopt
Definition: session_fops.c:124
struct m0_fop_type m0_rpc_fop_conn_establish_rep_fopt
Definition: session_fops.c:121
struct m0_rpc_fop_conn_establish M0_XCA_DOMAIN(rpc)
struct m0_fop_type m0_rpc_fop_session_terminate_fopt
Definition: session_fops.c:126
const struct m0_fop_type_ops m0_rpc_fop_session_terminate_ops
struct m0_fop_type m0_rpc_fop_conn_establish_fopt
Definition: session_fops.c:120
const struct m0_fop_type_ops m0_rpc_fop_session_establish_ops
Definition: fop.h:79
struct m0_fop_type m0_rpc_fop_conn_terminate_rep_fopt
Definition: session_fops.c:123
const struct m0_fop_type_ops m0_rpc_fop_conn_terminate_ops