diff options
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index a0900bf98e6b..e33a9edb4036 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -22,7 +22,7 @@ | |||
22 | * DCCP - specific warning and debugging macros. | 22 | * DCCP - specific warning and debugging macros. |
23 | */ | 23 | */ |
24 | #define DCCP_WARN(fmt, a...) LIMIT_NETDEBUG(KERN_WARNING "%s: " fmt, \ | 24 | #define DCCP_WARN(fmt, a...) LIMIT_NETDEBUG(KERN_WARNING "%s: " fmt, \ |
25 | __FUNCTION__, ##a) | 25 | __FUNCTION__, ##a) |
26 | #define DCCP_CRIT(fmt, a...) printk(KERN_CRIT fmt " at %s:%d/%s()\n", ##a, \ | 26 | #define DCCP_CRIT(fmt, a...) printk(KERN_CRIT fmt " at %s:%d/%s()\n", ##a, \ |
27 | __FILE__, __LINE__, __FUNCTION__) | 27 | __FILE__, __LINE__, __FUNCTION__) |
28 | #define DCCP_BUG(a...) do { DCCP_CRIT("BUG: " a); dump_stack(); } while(0) | 28 | #define DCCP_BUG(a...) do { DCCP_CRIT("BUG: " a); dump_stack(); } while(0) |
@@ -34,7 +34,7 @@ | |||
34 | #ifdef MODULE | 34 | #ifdef MODULE |
35 | #define DCCP_PRINTK(enable, fmt, args...) do { if (enable) \ | 35 | #define DCCP_PRINTK(enable, fmt, args...) do { if (enable) \ |
36 | printk(fmt, ##args); \ | 36 | printk(fmt, ##args); \ |
37 | } while(0) | 37 | } while(0) |
38 | #else | 38 | #else |
39 | #define DCCP_PRINTK(enable, fmt, args...) printk(fmt, ##args) | 39 | #define DCCP_PRINTK(enable, fmt, args...) printk(fmt, ##args) |
40 | #endif | 40 | #endif |
@@ -128,7 +128,7 @@ enum { | |||
128 | DCCP_MIB_ACTIVEOPENS, /* ActiveOpens */ | 128 | DCCP_MIB_ACTIVEOPENS, /* ActiveOpens */ |
129 | DCCP_MIB_ESTABRESETS, /* EstabResets */ | 129 | DCCP_MIB_ESTABRESETS, /* EstabResets */ |
130 | DCCP_MIB_CURRESTAB, /* CurrEstab */ | 130 | DCCP_MIB_CURRESTAB, /* CurrEstab */ |
131 | DCCP_MIB_OUTSEGS, /* OutSegs */ | 131 | DCCP_MIB_OUTSEGS, /* OutSegs */ |
132 | DCCP_MIB_OUTRSTS, | 132 | DCCP_MIB_OUTRSTS, |
133 | DCCP_MIB_ABORTONTIMEOUT, | 133 | DCCP_MIB_ABORTONTIMEOUT, |
134 | DCCP_MIB_TIMEOUTS, | 134 | DCCP_MIB_TIMEOUTS, |
@@ -372,7 +372,7 @@ static inline void dccp_update_gss(struct sock *sk, u64 seq) | |||
372 | (dp->dccps_gss - | 372 | (dp->dccps_gss - |
373 | dccp_msk(sk)->dccpms_sequence_window + 1)); | 373 | dccp_msk(sk)->dccpms_sequence_window + 1)); |
374 | } | 374 | } |
375 | 375 | ||
376 | static inline int dccp_ack_pending(const struct sock *sk) | 376 | static inline int dccp_ack_pending(const struct sock *sk) |
377 | { | 377 | { |
378 | const struct dccp_sock *dp = dccp_sk(sk); | 378 | const struct dccp_sock *dp = dccp_sk(sk); |