Motr
M0
rev_conn.h
Go to the documentation of this file.
1
/* -*- C -*- */
2
/*
3
* Copyright (c) 2013-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
24
#pragma once
25
26
#ifndef __MOTR_RPC_REV_CONN_H__
27
#define __MOTR_RPC_REV_CONN_H__
28
29
#include "
lib/chan.h
"
30
#include "
lib/tlist.h
"
31
#include "
rpc/link.h
"
32
39
enum
{
40
M0_REV_CONN_TIMEOUT
= 5,
41
M0_REV_CONN_MAX_RPCS_IN_FLIGHT
= 1,
42
};
43
44
struct
m0_reverse_connection
{
45
struct
m0_rpc_link
rcf_rlink
;
46
struct
m0_tlink
rcf_linkage
;
47
/* signalled when connection is terminated */
48
struct
m0_clink
rcf_disc_wait
;
49
struct
m0_sm_ast
rcf_free_ast
;
50
uint64_t
rcf_magic
;
51
};
52
55
#endif
/* __MOTR_RPC_REV_CONN_H__ */
56
57
58
/*
59
* Local variables:
60
* c-indentation-style: "K&R"
61
* c-basic-offset: 8
62
* tab-width: 8
63
* fill-column: 80
64
* scroll-step: 1
65
* End:
66
*/
67
/*
68
* vim: tabstop=8 shiftwidth=8 noexpandtab textwidth=80 nowrap
69
*/
m0_clink
Definition:
chan.h:274
M0_REV_CONN_MAX_RPCS_IN_FLIGHT
Definition:
rev_conn.h:41
m0_reverse_connection
Definition:
rev_conn.h:44
m0_sm_ast
Definition:
sm.h:504
M0_REV_CONN_TIMEOUT
Definition:
rev_conn.h:40
tlist.h
m0_reverse_connection::rcf_magic
uint64_t rcf_magic
Definition:
rev_conn.h:50
chan.h
m0_rpc_link
Definition:
link.h:45
m0_tlink
Definition:
tlist.h:264
m0_reverse_connection::rcf_rlink
struct m0_rpc_link rcf_rlink
Definition:
rev_conn.h:45
m0_reverse_connection::rcf_linkage
struct m0_tlink rcf_linkage
Definition:
rev_conn.h:46
m0_reverse_connection::rcf_disc_wait
struct m0_clink rcf_disc_wait
Definition:
rev_conn.h:48
m0_reverse_connection::rcf_free_ast
struct m0_sm_ast rcf_free_ast
Definition:
rev_conn.h:49
link.h
rpc
rev_conn.h
Generated on Thu Apr 14 2022 14:02:59 for Motr by
1.8.14