summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2017-11-26 22:21:31 +0000
committerRich Felker <dalias@aerifal.cx>2018-02-22 18:45:16 -0500
commit709bbf51758a23e5c85b9247fe2b2a558ed31bbb (patch)
tree9f61b16e0896267f3c8a0c32fbb2298ad588637b /include
parent55df09bfccbfe21fc9dd7d8f94550c0ff25ace04 (diff)
downloadmusl-709bbf51758a23e5c85b9247fe2b2a558ed31bbb.tar.gz
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)
Diffstat (limited to 'include')
-rw-r--r--include/sys/socket.h4
1 files changed, 3 insertions, 1 deletions
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