diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-03-21 01:51:53 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:51:53 -0500 |
commit | 8ca0d17bd716c0aa3f496714e0e304fc6b982ae3 (patch) | |
tree | a1e3881117aa4b687bacace28c794e7cc3522827 /net/dccp/feat.h | |
parent | a4bf3902427a128455b8de299ff0918072b2e974 (diff) |
[DCCP] feat: Pass dccp_minisock ptr where only the minisock is used
This is in preparation for having a dccp_minisock embedded into
dccp_request_sock so that feature negotiation can be done prior to
creating the full blown dccp_sock.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/feat.h')
-rw-r--r-- | net/dccp/feat.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/dccp/feat.h b/net/dccp/feat.h index 67da06265f14..6048373c7186 100644 --- a/net/dccp/feat.h +++ b/net/dccp/feat.h | |||
@@ -14,15 +14,16 @@ | |||
14 | #include <linux/types.h> | 14 | #include <linux/types.h> |
15 | 15 | ||
16 | struct sock; | 16 | struct sock; |
17 | struct dccp_minisock; | ||
17 | 18 | ||
18 | extern int dccp_feat_change(struct sock *sk, u8 type, u8 feature, | 19 | extern int dccp_feat_change(struct dccp_minisock *dmsk, u8 type, u8 feature, |
19 | u8 *val, u8 len, gfp_t gfp); | 20 | u8 *val, u8 len, gfp_t gfp); |
20 | extern int dccp_feat_change_recv(struct sock *sk, u8 type, u8 feature, | 21 | extern int dccp_feat_change_recv(struct sock *sk, u8 type, u8 feature, |
21 | u8 *val, u8 len); | 22 | u8 *val, u8 len); |
22 | extern int dccp_feat_confirm_recv(struct sock *sk, u8 type, u8 feature, | 23 | extern int dccp_feat_confirm_recv(struct sock *sk, u8 type, u8 feature, |
23 | u8 *val, u8 len); | 24 | u8 *val, u8 len); |
24 | extern void dccp_feat_clean(struct sock *sk); | 25 | extern void dccp_feat_clean(struct dccp_minisock *dmsk); |
25 | extern int dccp_feat_clone(struct sock *oldsk, struct sock *newsk); | 26 | extern int dccp_feat_clone(struct sock *oldsk, struct sock *newsk); |
26 | extern int dccp_feat_init(struct sock *sk); | 27 | extern int dccp_feat_init(struct dccp_minisock *dmsk); |
27 | 28 | ||
28 | #endif /* _DCCP_FEAT_H */ | 29 | #endif /* _DCCP_FEAT_H */ |