smc_inet.h 477 B

12345678910111213141516171819202122
  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. * Copyright IBM Corp. 2016
  7. * Copyright (c) 2024, Alibaba Inc.
  8. *
  9. * Author: D. Wythe <alibuda@linux.alibaba.com>
  10. */
  11. #ifndef __INET_SMC
  12. #define __INET_SMC
  13. /* Initialize protocol registration on IPPROTO_SMC,
  14. * @return 0 on success
  15. */
  16. int smc_inet_init(void);
  17. void smc_inet_exit(void);
  18. #endif /* __INET_SMC */