xref: /linux/net/smc/smc_inet.h (revision a3a02a52bcfcbcc4a637d4b68bf1bc391c9fad02)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *  Shared Memory Communications over RDMA (SMC-R) and RoCE
4  *
5  *  Definitions for the IPPROTO_SMC (socket related)
6 
7  *  Copyright IBM Corp. 2016
8  *  Copyright (c) 2024, Alibaba Inc.
9  *
10  *  Author: D. Wythe <alibuda@linux.alibaba.com>
11  */
12 #ifndef __INET_SMC
13 #define __INET_SMC
14 
15 /* Initialize protocol registration on IPPROTO_SMC,
16  * @return 0 on success
17  */
18 int smc_inet_init(void);
19 
20 void smc_inet_exit(void);
21 
22 #endif /* __INET_SMC */
23