xref: /openbmc/linux/net/smc/smc_rx.h (revision 239480ab)
1 /*
2  * Shared Memory Communications over RDMA (SMC-R) and RoCE
3  *
4  * Manage RMBE
5  *
6  * Copyright IBM Corp. 2016
7  *
8  * Author(s):  Ursula Braun <ubraun@linux.vnet.ibm.com>
9  */
10 
11 #ifndef SMC_RX_H
12 #define SMC_RX_H
13 
14 #include <linux/socket.h>
15 #include <linux/types.h>
16 
17 #include "smc.h"
18 
19 void smc_rx_init(struct smc_sock *smc);
20 int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, size_t len,
21 		   int flags);
22 
23 #endif /* SMC_RX_H */
24