diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2004-08-02 03:05:45 -0700 |
---|---|---|
committer | David S. Miller <davem@nuts.davemloft.net> | 2004-08-02 03:05:45 -0700 |
commit | 562d6b23ee7895decf2e3dee2675b0a2a325d372 (patch) | |
tree | 7d3f134913dc64c0d0d4ac1ebbacee6e26bdb025 /include | |
parent | 7ce6d8befd73acdafe6ccfd0a2c7fe3d0db7dc8a (diff) | |
download | history-562d6b23ee7895decf2e3dee2675b0a2a325d372.tar.gz |
[TCP]: BIC tcp congestion calculation timestamp
Small change to bictcp based on the BIC 1.1 patches for web100.
Keep track of last time congestion was computed, and recompute
if cwnd changes or every 1/32 of a second.
Also changes the initialization location for the parameters.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index d95f58a553b083..9c42ac0b032279 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h @@ -420,6 +420,7 @@ struct tcp_opt { __u32 cnt; /* increase cwnd by 1 after this number of ACKs */ __u32 last_max_cwnd; /* last maximium snd_cwnd */ __u32 last_cwnd; /* the last snd_cwnd */ + __u32 last_stamp; /* time when updated last_cwnd */ } bictcp; }; |