aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/feat.h
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-09-04 01:30:19 -0400
committerGerrit Renker <gerrit@erg.abdn.ac.uk>2008-09-04 01:45:31 -0400
commit5d3dac267a7fd0811ec777e76a81f97f5cdcb395 (patch)
treeef57f539a5be1c7776c73a4bcffe2d840e6883f5 /net/dccp/feat.h
parentb235dc4abbc1356284bd0dc730efa711f394e0e2 (diff)
dccp: Initialisation framework for feature negotiation
This initialises feature negotiation from two tables, which are initialised from sysctls. As a novel feature, specifics of the implementation (e.g. currently short seqnos and ECN are not supported) are advertised for robustness. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Diffstat (limited to 'net/dccp/feat.h')
-rw-r--r--net/dccp/feat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/feat.h b/net/dccp/feat.h
index 177e9c39ea9f..f73b47abca93 100644
--- a/net/dccp/feat.h
+++ b/net/dccp/feat.h
@@ -112,13 +112,13 @@ static inline void dccp_feat_debug(const u8 type, const u8 feat, const u8 val)
112#define dccp_feat_debug(type, feat, val) 112#define dccp_feat_debug(type, feat, val)
113#endif /* CONFIG_IP_DCCP_DEBUG */ 113#endif /* CONFIG_IP_DCCP_DEBUG */
114 114
115extern int dccp_feat_init(struct sock *sk);
115extern int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, 116extern int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local,
116 u8 const *list, u8 len); 117 u8 const *list, u8 len);
117extern int dccp_feat_register_nn(struct sock *sk, u8 feat, u64 val); 118extern int dccp_feat_register_nn(struct sock *sk, u8 feat, u64 val);
118extern int dccp_feat_parse_options(struct sock *, struct dccp_request_sock *, 119extern int dccp_feat_parse_options(struct sock *, struct dccp_request_sock *,
119 u8 mand, u8 opt, u8 feat, u8 *val, u8 len); 120 u8 mand, u8 opt, u8 feat, u8 *val, u8 len);
120extern int dccp_feat_clone_list(struct list_head const *, struct list_head *); 121extern int dccp_feat_clone_list(struct list_head const *, struct list_head *);
121extern int dccp_feat_init(struct sock *sk);
122 122
123/* 123/*
124 * Encoding variable-length options and their maximum length. 124 * Encoding variable-length options and their maximum length.