diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 2d7b4bdc972f..70e55d200610 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -275,7 +275,6 @@ extern int sysctl_tcp_mtu_probing; | |||
275 | extern int sysctl_tcp_base_mss; | 275 | extern int sysctl_tcp_base_mss; |
276 | extern int sysctl_tcp_workaround_signed_windows; | 276 | extern int sysctl_tcp_workaround_signed_windows; |
277 | extern int sysctl_tcp_slow_start_after_idle; | 277 | extern int sysctl_tcp_slow_start_after_idle; |
278 | extern int sysctl_tcp_max_ssthresh; | ||
279 | extern int sysctl_tcp_thin_linear_timeouts; | 278 | extern int sysctl_tcp_thin_linear_timeouts; |
280 | extern int sysctl_tcp_thin_dupack; | 279 | extern int sysctl_tcp_thin_dupack; |
281 | extern int sysctl_tcp_early_retrans; | 280 | extern int sysctl_tcp_early_retrans; |
@@ -797,7 +796,7 @@ struct tcp_congestion_ops { | |||
797 | /* lower bound for congestion window (optional) */ | 796 | /* lower bound for congestion window (optional) */ |
798 | u32 (*min_cwnd)(const struct sock *sk); | 797 | u32 (*min_cwnd)(const struct sock *sk); |
799 | /* do new cwnd calculation (required) */ | 798 | /* do new cwnd calculation (required) */ |
800 | void (*cong_avoid)(struct sock *sk, u32 ack, u32 in_flight); | 799 | void (*cong_avoid)(struct sock *sk, u32 ack, u32 acked, u32 in_flight); |
801 | /* call before changing ca_state (optional) */ | 800 | /* call before changing ca_state (optional) */ |
802 | void (*set_state)(struct sock *sk, u8 new_state); | 801 | void (*set_state)(struct sock *sk, u8 new_state); |
803 | /* call when cwnd event occurs (optional) */ | 802 | /* call when cwnd event occurs (optional) */ |
@@ -824,12 +823,12 @@ void tcp_get_available_congestion_control(char *buf, size_t len); | |||
824 | void tcp_get_allowed_congestion_control(char *buf, size_t len); | 823 | void tcp_get_allowed_congestion_control(char *buf, size_t len); |
825 | int tcp_set_allowed_congestion_control(char *allowed); | 824 | int tcp_set_allowed_congestion_control(char *allowed); |
826 | int tcp_set_congestion_control(struct sock *sk, const char *name); | 825 | int tcp_set_congestion_control(struct sock *sk, const char *name); |
827 | void tcp_slow_start(struct tcp_sock *tp); | 826 | int tcp_slow_start(struct tcp_sock *tp, u32 acked); |
828 | void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w); | 827 | void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w); |
829 | 828 | ||
830 | extern struct tcp_congestion_ops tcp_init_congestion_ops; | 829 | extern struct tcp_congestion_ops tcp_init_congestion_ops; |
831 | u32 tcp_reno_ssthresh(struct sock *sk); | 830 | u32 tcp_reno_ssthresh(struct sock *sk); |
832 | void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 in_flight); | 831 | void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked, u32 in_flight); |
833 | u32 tcp_reno_min_cwnd(const struct sock *sk); | 832 | u32 tcp_reno_min_cwnd(const struct sock *sk); |
834 | extern struct tcp_congestion_ops tcp_reno; | 833 | extern struct tcp_congestion_ops tcp_reno; |
835 | 834 | ||