summaryrefslogtreecommitdiffstats
path: root/net/dccp/dccp.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-27 03:06:35 -0300
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 16:11:38 -0700
commitd6809c12b3334a929c39bf08ea63bd819e0500f7 (patch)
tree47fc3aa37c35ae6a83bc41b1ecf4a78c1189a00b /net/dccp/dccp.h
parent75b3f207b433dcb807fcf0f47de1c8398571ba5f (diff)
downloadop-kernel-dev-d6809c12b3334a929c39bf08ea63bd819e0500f7.zip
op-kernel-dev-d6809c12b3334a929c39bf08ea63bd819e0500f7.tar.gz
[DCCP]: Introduce dccp_wait_for_ccid and use it in dccp_write_xmit
This is not quite what I think we should have long term but improves performance for now, so lets use it till we get CCID3 working well, then we can think about using sk_write_queue, perhaps using some ideas from Juwen Lai's old stack for 2.4.20. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r--net/dccp/dccp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h
index c6ba07e..6ba2150 100644
--- a/net/dccp/dccp.h
+++ b/net/dccp/dccp.h
@@ -126,8 +126,7 @@ extern void dccp_send_delayed_ack(struct sock *sk);
extern void dccp_send_sync(struct sock *sk, const u64 seq,
const enum dccp_pkt_type pkt_type);
-extern int dccp_write_xmit(struct sock *sk, struct sk_buff *skb,
- const int len);
+extern int dccp_write_xmit(struct sock *sk, struct sk_buff *skb, long *timeo);
extern void dccp_init_xmit_timers(struct sock *sk);
static inline void dccp_clear_xmit_timers(struct sock *sk)
OpenPOWER on IntegriCloud