projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55df09b
)
sys/socket.h: add PF_SMC from linux v4.11
author
Szabolcs Nagy
<nsz@port70.net>
Sun, 26 Nov 2017 22:21:31 +0000
(22:21 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 22 Feb 2018 23:45:16 +0000
(18:45 -0500)
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
patch
|
blob
|
history
diff --git
a/include/sys/socket.h
b/include/sys/socket.h
index 051d20e033616b0c3449c5ee9bdd7016ee09b6ca..396a47ad6ed61a3963470c83319dbeddb0a9f05d 100644
(file)
--- 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