about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2013-01-11 11:53:13 +0100
committerAndreas Jaeger <aj@suse.de>2013-01-11 11:53:13 +0100
commitc6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda (patch)
tree9530e1936524f0fabc05b1db19c90906221f0656 /sysdeps
parent9e6919c8aef5a46e047c4d38cd231e6a744a57ca (diff)
downloadglibc-c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda.tar.gz
glibc-c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda.tar.xz
glibc-c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda.zip
Add MSG_FASTOPEN
	[BZ #15003]
	* sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
	value. Sync with Linux 3.7.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index 25b115e50f..eadd7d9326 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -207,6 +207,8 @@ enum
 #define	MSG_MORE	MSG_MORE
     MSG_WAITFORONE	= 0x10000, /* Wait for at least one packet to return.*/
 #define MSG_WAITFORONE	MSG_WAITFORONE
+    MSG_FASTOPEN	= 0x20000000, /* Send data in TCP SYN.  */
+#define MSG_FASTOPEN	MSG_FASTOPEN
 
     MSG_CMSG_CLOEXEC	= 0x40000000	/* Set close_on_exit for file
 					   descriptor received through