aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/dccp.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-09 23:30:56 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:55:18 -0400
commit27258ee54f8cd4a43d09319aa5448145afc2cb8d (patch)
tree4a52d16da47f7ab0777252169406ae85e53488b1 /net/dccp/dccp.h
parent0d48d93947dd9ea21c5cdc76a8581b06a4a39281 (diff)
[DCCP]: Introduce dccp_write_xmit from code in dccp_sendmsg
This way it gets closer to the TCP flow, where congestion window checks are done, it seems we can map ccid_hc_tx_send_packet in dccp_write_xmit to tcp_snd_wnd_test in tcp_write_xmit, a CCID2 decision should just fit in here as well... 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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h
index 55b690ab61ae..8a0d7af649e4 100644
--- a/net/dccp/dccp.h
+++ b/net/dccp/dccp.h
@@ -122,6 +122,9 @@ extern void dccp_send_ack(struct sock *sk);
122extern void dccp_send_delayed_ack(struct sock *sk); 122extern void dccp_send_delayed_ack(struct sock *sk);
123extern void dccp_send_sync(struct sock *sk, u64 seq); 123extern void dccp_send_sync(struct sock *sk, u64 seq);
124 124
125extern int dccp_write_xmit(struct sock *sk, struct sk_buff *skb,
126 const int len);
127
125extern void dccp_init_xmit_timers(struct sock *sk); 128extern void dccp_init_xmit_timers(struct sock *sk);
126static inline void dccp_clear_xmit_timers(struct sock *sk) 129static inline void dccp_clear_xmit_timers(struct sock *sk)
127{ 130{
@@ -194,8 +197,6 @@ static inline void dccp_openreq_init(struct request_sock *req,
194 req->rcv_wnd = 0; 197 req->rcv_wnd = 0;
195} 198}
196 199
197extern void dccp_v4_send_check(struct sock *sk, struct dccp_hdr *dh, int len,
198 struct sk_buff *skb);
199extern int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb); 200extern int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb);
200 201
201extern struct sock *dccp_create_openreq_child(struct sock *sk, 202extern struct sock *dccp_create_openreq_child(struct sock *sk,