aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/feat.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/feat.h')
-rw-r--r--net/dccp/feat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/dccp/feat.h b/net/dccp/feat.h
index 5e7b8481cd04..40aa7a10bd5f 100644
--- a/net/dccp/feat.h
+++ b/net/dccp/feat.h
@@ -100,6 +100,13 @@ struct ccid_dependency {
100 u8 val; 100 u8 val;
101}; 101};
102 102
103/*
104 * Sysctls to seed defaults for feature negotiation
105 */
106extern unsigned long sysctl_dccp_sequence_window;
107extern int sysctl_dccp_rx_ccid;
108extern int sysctl_dccp_tx_ccid;
109
103#ifdef CONFIG_IP_DCCP_DEBUG 110#ifdef CONFIG_IP_DCCP_DEBUG
104extern const char *dccp_feat_typename(const u8 type); 111extern const char *dccp_feat_typename(const u8 type);
105extern const char *dccp_feat_name(const u8 feat); 112extern const char *dccp_feat_name(const u8 feat);
@@ -114,6 +121,7 @@ static inline void dccp_feat_debug(const u8 type, const u8 feat, const u8 val)
114#endif /* CONFIG_IP_DCCP_DEBUG */ 121#endif /* CONFIG_IP_DCCP_DEBUG */
115 122
116extern int dccp_feat_init(struct sock *sk); 123extern int dccp_feat_init(struct sock *sk);
124extern void dccp_feat_initialise_sysctls(void);
117extern int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, 125extern int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local,
118 u8 const *list, u8 len); 126 u8 const *list, u8 len);
119extern int dccp_feat_register_nn(struct sock *sk, u8 feat, u64 val); 127extern int dccp_feat_register_nn(struct sock *sk, u8 feat, u64 val);