aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r--include/linux/tcp.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index b6c62d294380..4e90e6ae79df 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -106,6 +106,16 @@ enum {
106#define TCP_THIN_LINEAR_TIMEOUTS 16 /* Use linear timeouts for thin streams*/ 106#define TCP_THIN_LINEAR_TIMEOUTS 16 /* Use linear timeouts for thin streams*/
107#define TCP_THIN_DUPACK 17 /* Fast retrans. after 1 dupack */ 107#define TCP_THIN_DUPACK 17 /* Fast retrans. after 1 dupack */
108#define TCP_USER_TIMEOUT 18 /* How long for loss retry before timeout */ 108#define TCP_USER_TIMEOUT 18 /* How long for loss retry before timeout */
109#define TCP_REPAIR 19 /* TCP sock is under repair right now */
110#define TCP_REPAIR_QUEUE 20
111#define TCP_QUEUE_SEQ 21
112
113enum {
114 TCP_NO_QUEUE,
115 TCP_RECV_QUEUE,
116 TCP_SEND_QUEUE,
117 TCP_QUEUES_NR,
118};
109 119
110/* for TCP_INFO socket option */ 120/* for TCP_INFO socket option */
111#define TCPI_OPT_TIMESTAMPS 1 121#define TCPI_OPT_TIMESTAMPS 1
@@ -353,7 +363,9 @@ struct tcp_sock {
353 u8 nonagle : 4,/* Disable Nagle algorithm? */ 363 u8 nonagle : 4,/* Disable Nagle algorithm? */
354 thin_lto : 1,/* Use linear timeouts for thin streams */ 364 thin_lto : 1,/* Use linear timeouts for thin streams */
355 thin_dupack : 1,/* Fast retransmit on first dupack */ 365 thin_dupack : 1,/* Fast retransmit on first dupack */
356 unused : 2; 366 repair : 1,
367 unused : 1;
368 u8 repair_queue;
357 369
358/* RTT measurement */ 370/* RTT measurement */
359 u32 srtt; /* smoothed round trip time << 3 */ 371 u32 srtt; /* smoothed round trip time << 3 */