diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-30 17:53:32 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-30 17:53:32 -0400 |
commit | 65fb0d23fcddd8697c871047b700c78817bdaa43 (patch) | |
tree | 119e6e5f276622c4c862f6c9b6d795264ba1603a /net/dccp/feat.h | |
parent | 8c083f081d0014057901c68a0a3e0f8ca7ac8d23 (diff) | |
parent | dfbbe89e197a77f2c8046a51c74e33e35f878080 (diff) |
Merge branch 'linus' into cpumask-for-linus
Conflicts:
arch/x86/kernel/cpu/common.c
Diffstat (limited to 'net/dccp/feat.h')
-rw-r--r-- | net/dccp/feat.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/net/dccp/feat.h b/net/dccp/feat.h index 9b46e2a7866e..f96721619def 100644 --- a/net/dccp/feat.h +++ b/net/dccp/feat.h | |||
@@ -100,26 +100,21 @@ struct ccid_dependency { | |||
100 | u8 val; | 100 | u8 val; |
101 | }; | 101 | }; |
102 | 102 | ||
103 | #ifdef CONFIG_IP_DCCP_DEBUG | 103 | /* |
104 | extern const char *dccp_feat_typename(const u8 type); | 104 | * Sysctls to seed defaults for feature negotiation |
105 | extern const char *dccp_feat_name(const u8 feat); | 105 | */ |
106 | 106 | extern unsigned long sysctl_dccp_sequence_window; | |
107 | static inline void dccp_feat_debug(const u8 type, const u8 feat, const u8 val) | 107 | extern int sysctl_dccp_rx_ccid; |
108 | { | 108 | extern int sysctl_dccp_tx_ccid; |
109 | dccp_pr_debug("%s(%s (%d), %d)\n", dccp_feat_typename(type), | ||
110 | dccp_feat_name(feat), feat, val); | ||
111 | } | ||
112 | #else | ||
113 | #define dccp_feat_debug(type, feat, val) | ||
114 | #endif /* CONFIG_IP_DCCP_DEBUG */ | ||
115 | 109 | ||
110 | extern int dccp_feat_init(struct sock *sk); | ||
111 | extern void dccp_feat_initialise_sysctls(void); | ||
116 | extern int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, | 112 | extern int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, |
117 | u8 const *list, u8 len); | 113 | u8 const *list, u8 len); |
118 | extern int dccp_feat_register_nn(struct sock *sk, u8 feat, u64 val); | 114 | extern int dccp_feat_register_nn(struct sock *sk, u8 feat, u64 val); |
119 | extern int dccp_feat_parse_options(struct sock *, struct dccp_request_sock *, | 115 | extern int dccp_feat_parse_options(struct sock *, struct dccp_request_sock *, |
120 | u8 mand, u8 opt, u8 feat, u8 *val, u8 len); | 116 | u8 mand, u8 opt, u8 feat, u8 *val, u8 len); |
121 | extern int dccp_feat_clone_list(struct list_head const *, struct list_head *); | 117 | extern int dccp_feat_clone_list(struct list_head const *, struct list_head *); |
122 | extern int dccp_feat_init(struct sock *sk); | ||
123 | 118 | ||
124 | /* | 119 | /* |
125 | * Encoding variable-length options and their maximum length. | 120 | * Encoding variable-length options and their maximum length. |