[RFC PATCH net 0/3] net/smc: move some definitions to UAPI

From: Eugene Syromiatnikov
Date: Sun Oct 07 2018 - 12:34:35 EST


Hello.

As of now, it's a bit difficult to use SMC protocol, as significant part
of definitions related to it are defined in private headers and are not
part of UAPI. The following commits move some definitions to UAPI,
making them readily available to user space.


Eugene Syromiatnikov (3):
uapi, net/smc: move protocol constant definitions to UAPI
uapi, net/smc: provide fallback diagnosis codes in UAPI
uapi, net/smc: provide socket state constants in UAPI

include/uapi/linux/smc.h | 26 +++++++++++++++++++++++++-
include/uapi/linux/smc_diag.h | 17 +++++++++++++++++
net/smc/smc.h | 22 ++--------------------
net/smc/smc_clc.h | 16 ----------------
4 files changed, 44 insertions(+), 37 deletions(-)

--
2.1.4