diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 01:30:19 -0400 |
---|---|---|
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-09-04 01:45:29 -0400 |
commit | d2150b7bff3d397692cf0dc890f198d23564de5f (patch) | |
tree | 6916928ec289c46bca21c8a99640048e308fef3e /net/dccp/feat.h | |
parent | 5a146b97d5e93db2df075c0d820f492bb996d0e3 (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>
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 ce97f3fe7687..618bed935b33 100644 --- a/net/dccp/feat.h +++ b/net/dccp/feat.h | |||
@@ -117,8 +117,6 @@ extern int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, | |||
117 | extern int dccp_feat_register_nn(struct sock *sk, u8 feat, u64 val); | 117 | extern int dccp_feat_register_nn(struct sock *sk, u8 feat, u64 val); |
118 | extern int dccp_feat_parse_options(struct sock *, struct dccp_request_sock *, | 118 | extern int dccp_feat_parse_options(struct sock *, struct dccp_request_sock *, |
119 | u8 mand, u8 opt, u8 feat, u8 *val, u8 len); | 119 | u8 mand, u8 opt, u8 feat, u8 *val, u8 len); |
120 | extern int dccp_feat_confirm_recv(struct sock *sk, u8 type, u8 feature, | ||
121 | u8 *val, u8 len); | ||
122 | extern void dccp_feat_clean(struct dccp_minisock *dmsk); | 120 | extern void dccp_feat_clean(struct dccp_minisock *dmsk); |
123 | extern int dccp_feat_clone(struct sock *oldsk, struct sock *newsk); | 121 | extern int dccp_feat_clone(struct sock *oldsk, struct sock *newsk); |
124 | extern int dccp_feat_clone_list(struct list_head const *, struct list_head *); | 122 | extern int dccp_feat_clone_list(struct list_head const *, struct list_head *); |