author | Szabolcs Nagy <nsz@port70.net> | 2017年11月26日 22:53:48 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018年02月22日 18:45:24 -0500 |
commit | 986bc21713b1c9b38d37356033c02aec188333bf (patch) | |
tree | 2fbea27ea79de23c6bbe8e353bdb4c5e4b1ecd15 /include/sys/socket.h | |
parent | 404097a4ef4e5e776d6f7bf16e319e69e880469c (diff) | |
download | musl-986bc21713b1c9b38d37356033c02aec188333bf.tar.gz |
-rw-r--r-- | include/sys/socket.h | 2 |
diff --git a/include/sys/socket.h b/include/sys/socket.h index 26d16bdf..507da5cc 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -232,6 +232,7 @@ struct linger { #define SO_COOKIE 57 #define SCM_TIMESTAMPING_PKTINFO 58 #define SO_PEERGROUPS 59 +#define SO_ZEROCOPY 60 #ifndef SOL_SOCKET #define SOL_SOCKET 1 @@ -285,6 +286,7 @@ struct linger { #define MSG_MORE 0x8000 #define MSG_WAITFORONE 0x10000 #define MSG_BATCH 0x40000 +#define MSG_ZEROCOPY 0x4000000 #define MSG_FASTOPEN 0x20000000 #define MSG_CMSG_CLOEXEC 0x40000000 |