diff options
Diffstat (limited to 'include/net/tcp.h')
-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 53fb7d814170..98ca797001a2 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -388,6 +388,8 @@ extern void tcp_enter_frto(struct sock *sk); | |||
388 | extern void tcp_enter_loss(struct sock *sk, int how); | 388 | extern void tcp_enter_loss(struct sock *sk, int how); |
389 | extern void tcp_clear_retrans(struct tcp_sock *tp); | 389 | extern void tcp_clear_retrans(struct tcp_sock *tp); |
390 | extern void tcp_update_metrics(struct sock *sk); | 390 | extern void tcp_update_metrics(struct sock *sk); |
391 | extern void tcp_init_metrics(struct sock *sk); | ||
392 | extern void tcp_disable_fack(struct tcp_sock *tp); | ||
391 | extern void tcp_close(struct sock *sk, long timeout); | 393 | extern void tcp_close(struct sock *sk, long timeout); |
392 | extern void tcp_init_sock(struct sock *sk); | 394 | extern void tcp_init_sock(struct sock *sk); |
393 | extern unsigned int tcp_poll(struct file * file, struct socket *sock, | 395 | 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) | |||
556 | return (tp->srtt >> 3) + tp->rttvar; | 558 | return (tp->srtt >> 3) + tp->rttvar; |
557 | } | 559 | } |
558 | 560 | ||
561 | extern void tcp_set_rto(struct sock *sk); | ||
562 | |||
559 | static inline void __tcp_fast_path_on(struct tcp_sock *tp, u32 snd_wnd) | 563 | static inline void __tcp_fast_path_on(struct tcp_sock *tp, u32 snd_wnd) |
560 | { | 564 | { |
561 | tp->pred_flags = htonl((tp->tcp_header_len << 26) | | 565 | tp->pred_flags = htonl((tp->tcp_header_len << 26) | |