Debian Codegraph @

net/smc/smc_inet.h

raw
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 <[email protected]>
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 */