diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-12-02 02:33:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-02 02:33:18 -0500 |
commit | b1ad00422ecba0449f8e3a8f2ec9267bc994bf8f (patch) | |
tree | 6a3923ca76d60dd0e39b7323c8abaa74bbc7db20 /net/dccp/feat.h | |
parent | e77b8363b2ea7c0d89919547c1a8b0562f298b57 (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.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/dccp/feat.h b/net/dccp/feat.h index 8dc4b42ef17..f749610ae38 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, | |||
118 | extern int dccp_feat_register_nn(struct sock *sk, u8 feat, u64 val); | 118 | 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 *, | 119 | extern 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); |
121 | extern int dccp_feat_confirm_recv(struct sock *sk, u8 type, u8 feature, | ||
122 | u8 *val, u8 len); | ||
123 | extern void dccp_feat_clean(struct dccp_minisock *dmsk); | 121 | extern void dccp_feat_clean(struct dccp_minisock *dmsk); |
124 | extern int dccp_feat_clone(struct sock *oldsk, struct sock *newsk); | 122 | extern int dccp_feat_clone(struct sock *oldsk, struct sock *newsk); |
125 | extern int dccp_feat_clone_list(struct list_head const *, struct list_head *); | 123 | extern int dccp_feat_clone_list(struct list_head const *, struct list_head *); |