/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_SMC_DIAG_H_ #define _UAPI_SMC_DIAG_H_ #include <linux/types.h> #include <linux/inet_diag.h> #include <rdma/ib_user_verbs.h> /* Request structure */ struct smc_diag_req { … }; /* Base info structure. It contains socket identity (addrs/ports/cookie) based * on the internal clcsock, and more SMC-related socket data */ struct smc_diag_msg { … }; /* Mode of a connection */ enum { … }; /* Extensions */ enum { … }; #define SMC_DIAG_MAX … /* SMC_DIAG_CONNINFO */ struct smc_diag_cursor { … }; struct smc_diag_conninfo { … }; /* SMC_DIAG_LINKINFO */ struct smc_diag_linkinfo { … }; struct smc_diag_lgrinfo { … }; struct smc_diag_fallback { … }; struct smcd_diag_dmbinfo { … }; #endif /* _UAPI_SMC_DIAG_H_ */