diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 70e55d200610..56fc366da6d5 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -282,6 +282,7 @@ extern int sysctl_tcp_limit_output_bytes; | |||
282 | extern int sysctl_tcp_challenge_ack_limit; | 282 | extern int sysctl_tcp_challenge_ack_limit; |
283 | extern unsigned int sysctl_tcp_notsent_lowat; | 283 | extern unsigned int sysctl_tcp_notsent_lowat; |
284 | extern int sysctl_tcp_min_tso_segs; | 284 | extern int sysctl_tcp_min_tso_segs; |
285 | extern int sysctl_tcp_autocorking; | ||
285 | 286 | ||
286 | extern atomic_long_t tcp_memory_allocated; | 287 | extern atomic_long_t tcp_memory_allocated; |
287 | extern struct percpu_counter tcp_sockets_allocated; | 288 | extern struct percpu_counter tcp_sockets_allocated; |
@@ -467,7 +468,6 @@ struct sk_buff *tcp_make_synack(struct sock *sk, struct dst_entry *dst, | |||
467 | struct tcp_fastopen_cookie *foc); | 468 | struct tcp_fastopen_cookie *foc); |
468 | int tcp_disconnect(struct sock *sk, int flags); | 469 | int tcp_disconnect(struct sock *sk, int flags); |
469 | 470 | ||
470 | void tcp_connect_init(struct sock *sk); | ||
471 | void tcp_finish_connect(struct sock *sk, struct sk_buff *skb); | 471 | void tcp_finish_connect(struct sock *sk, struct sk_buff *skb); |
472 | int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size); | 472 | int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size); |
473 | void inet_sk_rx_dst_set(struct sock *sk, const struct sk_buff *skb); | 473 | void inet_sk_rx_dst_set(struct sock *sk, const struct sk_buff *skb); |
@@ -622,8 +622,6 @@ static inline u32 __tcp_set_rto(const struct tcp_sock *tp) | |||
622 | return (tp->srtt >> 3) + tp->rttvar; | 622 | return (tp->srtt >> 3) + tp->rttvar; |
623 | } | 623 | } |
624 | 624 | ||
625 | void tcp_set_rto(struct sock *sk); | ||
626 | |||
627 | static inline void __tcp_fast_path_on(struct tcp_sock *tp, u32 snd_wnd) | 625 | static inline void __tcp_fast_path_on(struct tcp_sock *tp, u32 snd_wnd) |
628 | { | 626 | { |
629 | tp->pred_flags = htonl((tp->tcp_header_len << 26) | | 627 | tp->pred_flags = htonl((tp->tcp_header_len << 26) | |
@@ -977,13 +975,6 @@ static inline u32 tcp_wnd_end(const struct tcp_sock *tp) | |||
977 | } | 975 | } |
978 | bool tcp_is_cwnd_limited(const struct sock *sk, u32 in_flight); | 976 | bool tcp_is_cwnd_limited(const struct sock *sk, u32 in_flight); |
979 | 977 | ||
980 | static inline void tcp_minshall_update(struct tcp_sock *tp, unsigned int mss, | ||
981 | const struct sk_buff *skb) | ||
982 | { | ||
983 | if (skb->len < mss) | ||
984 | tp->snd_sml = TCP_SKB_CB(skb)->end_seq; | ||
985 | } | ||
986 | |||
987 | static inline void tcp_check_probe_timer(struct sock *sk) | 978 | static inline void tcp_check_probe_timer(struct sock *sk) |
988 | { | 979 | { |
989 | const struct tcp_sock *tp = tcp_sk(sk); | 980 | const struct tcp_sock *tp = tcp_sk(sk); |