aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/dccp.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r--net/dccp/dccp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h
index 62e735f1807d..270f19439964 100644
--- a/net/dccp/dccp.h
+++ b/net/dccp/dccp.h
@@ -11,14 +11,13 @@
11 * published by the Free Software Foundation. 11 * published by the Free Software Foundation.
12 */ 12 */
13 13
14#include <linux/config.h>
14#include <linux/dccp.h> 15#include <linux/dccp.h>
15#include <net/snmp.h> 16#include <net/snmp.h>
16#include <net/sock.h> 17#include <net/sock.h>
17#include <net/tcp.h> 18#include <net/tcp.h>
18 19
19#define DCCP_DEBUG 20#ifdef CONFIG_IP_DCCP_DEBUG
20
21#ifdef DCCP_DEBUG
22extern int dccp_debug; 21extern int dccp_debug;
23 22
24#define dccp_pr_debug(format, a...) \ 23#define dccp_pr_debug(format, a...) \
@@ -426,7 +425,7 @@ extern int dccp_ackpkts_add(struct dccp_ackpkts *ap, u64 ackno, u8 state);
426extern void dccp_ackpkts_check_rcv_ackno(struct dccp_ackpkts *ap, 425extern void dccp_ackpkts_check_rcv_ackno(struct dccp_ackpkts *ap,
427 struct sock *sk, u64 ackno); 426 struct sock *sk, u64 ackno);
428 427
429#ifdef DCCP_DEBUG 428#ifdef CONFIG_IP_DCCP_DEBUG
430extern void dccp_ackvector_print(const u64 ackno, 429extern void dccp_ackvector_print(const u64 ackno,
431 const unsigned char *vector, int len); 430 const unsigned char *vector, int len);
432extern void dccp_ackpkts_print(const struct dccp_ackpkts *ap); 431extern void dccp_ackpkts_print(const struct dccp_ackpkts *ap);