From 709bbf51758a23e5c85b9247fe2b2a558ed31bbb Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 26 Nov 2017 22:21:31 +0000 Subject: sys/socket.h: add PF_SMC from linux v4.11 add AF_SMC and PF_SMC for the IBM shared memory communication protocol. new in linux commit ac7138746e14137a451f8539614cdd349153e0c0 (linux socket.h is not in uapi so this update was missed earlier) --- include/sys/socket.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/sys/socket.h b/include/sys/socket.h index 051d20e0..396a47ad 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -108,7 +108,8 @@ struct linger { #define PF_VSOCK 40 #define PF_KCM 41 #define PF_QIPCRTR 42 -#define PF_MAX 43 +#define PF_SMC 43 +#define PF_MAX 44 #define AF_UNSPEC PF_UNSPEC #define AF_LOCAL PF_LOCAL @@ -156,6 +157,7 @@ struct linger { #define AF_VSOCK PF_VSOCK #define AF_KCM PF_KCM #define AF_QIPCRTR PF_QIPCRTR +#define AF_SMC PF_SMC #define AF_MAX PF_MAX #ifndef SO_DEBUG -- cgit v1.2.1