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 f73b47abca93..f8456bca4eeb 100644
--- a/net/dccp/feat.h
+++ b/net/dccp/feat.h
@@ -99,6 +99,13 @@ struct ccid_dependency {
99 u8 val; 99 u8 val;
100}; 100};
101 101
102/*
103 * Sysctls to seed defaults for feature negotiation
104 */
105extern unsigned long sysctl_dccp_sequence_window;
106extern int sysctl_dccp_rx_ccid;
107extern int sysctl_dccp_tx_ccid;
108
102#ifdef CONFIG_IP_DCCP_DEBUG 109#ifdef CONFIG_IP_DCCP_DEBUG
103extern const char *dccp_feat_typename(const u8 type); 110extern const char *dccp_feat_typename(const u8 type);
104extern const char *dccp_feat_name(const u8 feat); 111extern const char *dccp_feat_name(const u8 feat);
@@ -113,6 +120,7 @@ static inline void dccp_feat_debug(const u8 type, const u8 feat, const u8 val)
113#endif /* CONFIG_IP_DCCP_DEBUG */ 120#endif /* CONFIG_IP_DCCP_DEBUG */
114 121
115extern int dccp_feat_init(struct sock *sk); 122extern int dccp_feat_init(struct sock *sk);
123extern void dccp_feat_initialise_sysctls(void);
116extern int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, 124extern int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local,
117 u8 const *list, u8 len); 125 u8 const *list, u8 len);
118extern int dccp_feat_register_nn(struct sock *sk, u8 feat, u64 val); 126extern int dccp_feat_register_nn(struct sock *sk, u8 feat, u64 val);