summaryrefslogtreecommitdiff
path: root/net/smc/smc_inet.h
blob: a489c8a2b8efad9ef2aca197e5fb694bbc4a9a12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0 */
/*
 *  Shared Memory Communications over RDMA (SMC-R) and RoCE
 *
 *  Definitions for the IPPROTO_SMC (socket related)

 *  Copyright IBM Corp. 2016
 *  Copyright (c) 2024, Alibaba Inc.
 *
 *  Author: D. Wythe <alibuda@linux.alibaba.com>
 */
#ifndef __INET_SMC
#define __INET_SMC

/* Initialize protocol registration on IPPROTO_SMC,
 * @return 0 on success
 */
int smc_inet_init(void);

void smc_inet_exit(void);

#endif /* __INET_SMC */