]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add MSG_FASTOPEN
authorAndreas Jaeger <aj@suse.de>
Fri, 11 Jan 2013 10:53:13 +0000 (11:53 +0100)
committerAndreas Jaeger <aj@suse.de>
Fri, 11 Jan 2013 10:56:59 +0000 (11:56 +0100)
[BZ #15003]
* sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
value. Sync with Linux 3.7.
(cherry picked from commit c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda)

ChangeLog
sysdeps/unix/sysv/linux/bits/socket.h

index b3a214c2920758a250f877532b9804efad4391bc..8480677a152faf6759f7dad3a250351d1578848c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-01-11  Andreas Jaeger  <aj@suse.de>
+
+       [BZ #15003]
+       * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
+       value. Sync with Linux 3.7.
+
 2013-01-09  David S. Miller  <davem@davemloft.net>
 
        [BZ# 15003]
index df8f1670b095572a040c7f4e02a67a9830898078..eadd7d9326957395f4b77386ac2a945d03ad0238 100644 (file)
@@ -1,6 +1,5 @@
 /* System-specific socket constants and types.  Linux version.
-   Copyright (C) 1991, 1992, 1994-2001, 2004, 2006-2010, 2011, 2012
-   Free Software Foundation, Inc.
+   Copyright (C) 1991-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -208,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