smc_rx.h 433 B

1234567891011121314151617181920212223
  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. #ifndef SMC_RX_H
  11. #define SMC_RX_H
  12. #include <linux/socket.h>
  13. #include <linux/types.h>
  14. #include "smc.h"
  15. void smc_rx_init(struct smc_sock *smc);
  16. int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg, size_t len,
  17. int flags);
  18. #endif /* SMC_RX_H */