aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-12-28 12:59:33 +0100
committerDavid S. Miller <davem@davemloft.net>2013-01-09 23:08:46 -0800
commit318cd0b1809e203ab57b6c1afe4928bc439ea7ee (patch)
tree6739df8944f617b45aaf267cd3be481e2445a45a
parent37cf37d946486fd9f26d09a84d95098471665ffe (diff)
downloadglibc-318cd0b1809e203ab57b6c1afe4928bc439ea7ee.zip
glibc-318cd0b1809e203ab57b6c1afe4928bc439ea7ee.tar.gz
glibc-318cd0b1809e203ab57b6c1afe4928bc439ea7ee.tar.bz2
Add new defines from Linux 3.7 to <netinet/tcp.h>
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/gnu/netinet/tcp.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4bab19c..53cdfa1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-09 Andreas Jaeger <aj@suse.de>
+
+ * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
+ (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
+
2013-01-01 David S. Miller <davem@davemloft.net>
* po/fr.po: Update from translation team.
diff --git a/sysdeps/gnu/netinet/tcp.h b/sysdeps/gnu/netinet/tcp.h
index 06e8414..278fc9d 100644
--- a/sysdeps/gnu/netinet/tcp.h
+++ b/sysdeps/gnu/netinet/tcp.h
@@ -173,7 +173,9 @@ enum
# define TCPI_OPT_TIMESTAMPS 1
# define TCPI_OPT_SACK 2
# define TCPI_OPT_WSCALE 4
-# define TCPI_OPT_ECN 8
+# define TCPI_OPT_ECN 8 /* ECN was negociated at TCP session init */
+# define TCPI_OPT_ECN_SEEN 16 /* we received at least one packet with ECT */
+# define TCPI_OPT_SYN_DATA 32 /* SYN-ACK acked data in SYN sent or rcvd */
/* Values for tcpi_state. */
enum tcp_ca_state