diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-09 23:07:30 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-11 03:31:36 (GMT) |
commit | 4aabd8ef8c43677cfee3e1e36c5a79edddb41942 (patch) | |
tree | a826352ad00ffcc1632edecfe4ebd77db1301e4b /include | |
parent | ad7eee98bef92481581060801bdfd1b25a6106c0 (diff) | |
download | linux-fsl-qoriq-4aabd8ef8c43677cfee3e1e36c5a79edddb41942.tar.xz |
tcp: Move dynamnic metrics handling into seperate file.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/tcp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 53fb7d8..98ca797 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -388,6 +388,8 @@ extern void tcp_enter_frto(struct sock *sk); extern void tcp_enter_loss(struct sock *sk, int how); extern void tcp_clear_retrans(struct tcp_sock *tp); extern void tcp_update_metrics(struct sock *sk); +extern void tcp_init_metrics(struct sock *sk); +extern void tcp_disable_fack(struct tcp_sock *tp); extern void tcp_close(struct sock *sk, long timeout); extern void tcp_init_sock(struct sock *sk); extern unsigned int tcp_poll(struct file * file, struct socket *sock, @@ -556,6 +558,8 @@ static inline u32 __tcp_set_rto(const struct tcp_sock *tp) return (tp->srtt >> 3) + tp->rttvar; } +extern void tcp_set_rto(struct sock *sk); + static inline void __tcp_fast_path_on(struct tcp_sock *tp, u32 snd_wnd) { tp->pred_flags = htonl((tp->tcp_header_len << 26) | |