aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/dccp.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2006-03-21 01:32:06 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-21 01:32:06 -0500
commit2d0817d11eaec57435feb61493331a763f732a2b (patch)
tree7c42229b1cc64e67efe8ed21b82cdc513e638f82 /net/dccp/dccp.h
parent110bae4efb5ed5565257a0fb9f6d26e6125a1c4b (diff)
[DCCP] options: Make dccp_insert_options & friends yell on error
And not the silly LIMIT_NETDEBUG and silently return without inserting the option requested. Also drop some old debugging messages associated to option insertion. 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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h
index 7f5be0822f3a..34e70fb89d4a 100644
--- a/net/dccp/dccp.h
+++ b/net/dccp/dccp.h
@@ -326,13 +326,13 @@ static inline int dccp_ack_pending(const struct sock *sk)
326 inet_csk_ack_scheduled(sk); 326 inet_csk_ack_scheduled(sk);
327} 327}
328 328
329extern void dccp_insert_options(struct sock *sk, struct sk_buff *skb); 329extern int dccp_insert_options(struct sock *sk, struct sk_buff *skb);
330extern void dccp_insert_option_elapsed_time(struct sock *sk, 330extern int dccp_insert_option_elapsed_time(struct sock *sk,
331 struct sk_buff *skb, 331 struct sk_buff *skb,
332 u32 elapsed_time); 332 u32 elapsed_time);
333extern void dccp_insert_option_timestamp(struct sock *sk, 333extern int dccp_insert_option_timestamp(struct sock *sk,
334 struct sk_buff *skb); 334 struct sk_buff *skb);
335extern void dccp_insert_option(struct sock *sk, struct sk_buff *skb, 335extern int dccp_insert_option(struct sock *sk, struct sk_buff *skb,
336 unsigned char option, 336 unsigned char option,
337 const void *value, unsigned char len); 337 const void *value, unsigned char len);
338 338