summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2015-06-26 20:27:37 +0000
committerRich Felker <dalias@aerifal.cx>2016-01-24 19:18:02 -0500
commitea4fc27d28d878e50b3ca609681bbececd1f9622 (patch)
treed007f7a0edb7315d9a1a6e10af15743ce148732d /include/sys
parentbc443c3fe3bf6aceaa6278c4516f4654bdcd97b4 (diff)
downloadmusl-ea4fc27d28d878e50b3ca609681bbececd1f9622.tar.gz
add MSG_FASTOPEN sendmsg/sendto flag to socket.h
This was new in linux 3.5 in commit cf60af03ca4e71134206809ea892e49b92a88896, needed for tcp fastopen feature (sending data in TCP SYN packet).
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 40de3369..8a015a86 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -255,6 +255,7 @@ struct linger
#define MSG_NOSIGNAL 0x4000
#define MSG_MORE 0x8000
#define MSG_WAITFORONE 0x10000
+#define MSG_FASTOPEN 0x20000000
#define MSG_CMSG_CLOEXEC 0x40000000
#define __CMSG_LEN(cmsg) (((cmsg)->cmsg_len + sizeof(long) - 1) & ~(long)(sizeof(long) - 1))