aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/feat.h
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-12-02 02:33:18 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-02 02:33:18 -0500
commitb1ad00422ecba0449f8e3a8f2ec9267bc994bf8f (patch)
tree6a3923ca76d60dd0e39b7323c8abaa74bbc7db20 /net/dccp/feat.h
parente77b8363b2ea7c0d89919547c1a8b0562f298b57 (diff)
dccp: Processing Confirm options
Analogous to the previous patch, this adds code to interpret incoming Confirm feature-negotiation options. Both functions operate on the feature-negotiation list of either the request_sock (server) or the dccp_sock (client). Thanks to Wei Yongjun for pointing out that it is overly restrictive to check the entire list of confirmed SP values. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/feat.h')
-rw-r--r--net/dccp/feat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/dccp/feat.h b/net/dccp/feat.h
index 8dc4b42ef172..f749610ae383 100644
--- a/net/dccp/feat.h
+++ b/net/dccp/feat.h
@@ -118,8 +118,6 @@ extern int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local,
118extern 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);
119extern int dccp_feat_parse_options(struct sock *, struct dccp_request_sock *, 119extern int dccp_feat_parse_options(struct sock *, struct dccp_request_sock *,
120 u8 mand, u8 opt, u8 feat, u8 *val, u8 len); 120 u8 mand, u8 opt, u8 feat, u8 *val, u8 len);
121extern int dccp_feat_confirm_recv(struct sock *sk, u8 type, u8 feature,
122 u8 *val, u8 len);
123extern void dccp_feat_clean(struct dccp_minisock *dmsk); 121extern void dccp_feat_clean(struct dccp_minisock *dmsk);
124extern int dccp_feat_clone(struct sock *oldsk, struct sock *newsk); 122extern int dccp_feat_clone(struct sock *oldsk, struct sock *newsk);
125extern int dccp_feat_clone_list(struct list_head const *, struct list_head *); 123extern int dccp_feat_clone_list(struct list_head const *, struct list_head *);