Add new defines from Linux 3.7 to <netinet/tcp.h>

This commit is contained in:
Andreas Jaeger 2012-12-28 12:59:33 +01:00
parent 91998e449e
commit 4c4febf544
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-12-28 Andreas Jaeger <aj@suse.de>
* sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
(TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
* misc/sys/cdefs.h(__glibc_likely): Wrap __builtin_expect for

View File

@ -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