summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/include/net/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/linux/linux/include/net/sock.h')
-rw-r--r--release/src/linux/linux/include/net/sock.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/release/src/linux/linux/include/net/sock.h b/release/src/linux/linux/include/net/sock.h
index 0482a102..a2824afb 100644
--- a/release/src/linux/linux/include/net/sock.h
+++ b/release/src/linux/linux/include/net/sock.h
@@ -417,7 +417,19 @@ struct tcp_opt {
unsigned int keepalive_intvl; /* time interval between keep alive probes */
int linger2;
- unsigned long last_synq_overflow;
+ unsigned long last_synq_overflow;
+
+/* Vegas variables */
+ struct {
+ __u32 beg_snd_nxt; /* right edge during last RTT */
+ __u32 beg_snd_una; /* left edge during last RTT */
+ __u32 beg_snd_cwnd; /* saves the size of the cwnd */
+ __u8 do_vegas; /* do vegas for this connection */
+ __u8 doing_vegas_now;/* if true, do vegas for this RTT */
+ __u16 cntRTT; /* # of RTTs measured within last RTT */
+ __u32 minRTT; /* min of RTTs measured within last RTT (in usec) */
+ __u32 baseRTT; /* the min of all Vegas RTT measurements seen (in usec) */
+ } vegas;
};