summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDavid S. Miller2005-07-06 00:18:18 +0200
committerDavid S. Miller2005-07-06 00:18:18 +0200
commit84d3e7b9573291a1ea845bdd51b74bb484597661 (patch)
treec0bd2b1721b09a21e9d44e92e2532dc79373844f /include/net
parent[TCP]: Move send test logic out of net/tcp.h (diff)
downloadkernel-qcow2-linux-84d3e7b9573291a1ea845bdd51b74bb484597661.tar.gz
kernel-qcow2-linux-84d3e7b9573291a1ea845bdd51b74bb484597661.tar.xz
kernel-qcow2-linux-84d3e7b9573291a1ea845bdd51b74bb484597661.zip
[TCP]: Move __tcp_data_snd_check into tcp_output.c
It reimplements portions of tcp_snd_check(), so it we move it to tcp_output.c we can consolidate it's logic much easier in a later change. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/tcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index f2b104532de1..4888f9d3f56b 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -849,6 +849,7 @@ extern __u32 cookie_v4_init_sequence(struct sock *sk, struct sk_buff *skb,
/* tcp_output.c */
extern int tcp_write_xmit(struct sock *, int nonagle);
+extern void __tcp_data_snd_check(struct sock *sk, struct sk_buff *skb);
extern void __tcp_push_pending_frames(struct sock *sk, struct tcp_sock *tp,
unsigned cur_mss, int nonagle);
extern int tcp_may_send_now(struct sock *sk, struct tcp_sock *tp);