From: Andreas Jaeger Date: Fri, 11 Jan 2013 10:53:13 +0000 (+0100) Subject: Add MSG_FASTOPEN X-Git-Tag: glibc-2.18~834 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda;p=thirdparty%2Fglibc.git Add MSG_FASTOPEN [BZ #15003] * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New value. Sync with Linux 3.7. --- diff --git a/ChangeLog b/ChangeLog index c45a4885bdc..8bf57729073 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-01-11 Andreas Jaeger + + [BZ #15003] + * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New + value. Sync with Linux 3.7. + 2013-01-10 David S. Miller * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes. diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h index 25b115e50f9..eadd7d93269 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