diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-11-05 02:55:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-05 02:55:49 -0500 |
commit | ac75773c2742d82cbcb078708df406e9017224b7 (patch) | |
tree | 7e7b1aa5131c4a61aabd9d86d7332eca98d66a89 /net/dccp/dccp.h | |
parent | 61e6473efbd6087e1db3aaa93a5266c5bfd8aa99 (diff) |
dccp: Per-socket initialisation of feature negotiation
This provides feature-negotiation initialisation for both DCCP sockets
and DCCP request_sockets, to support feature negotiation during
connection setup.
It also resolves a FIXME regarding the congestion control
initialisation.
Thanks to Wei Yongjun for help with the IPv6 side of this patch.
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/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index d6fed595a3ff..dee4a90886d6 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -252,7 +252,8 @@ extern const char *dccp_state_name(const int state); | |||
252 | extern void dccp_set_state(struct sock *sk, const int state); | 252 | extern void dccp_set_state(struct sock *sk, const int state); |
253 | extern void dccp_done(struct sock *sk); | 253 | extern void dccp_done(struct sock *sk); |
254 | 254 | ||
255 | extern void dccp_reqsk_init(struct request_sock *req, struct sk_buff *skb); | 255 | extern int dccp_reqsk_init(struct request_sock *rq, struct dccp_sock const *dp, |
256 | struct sk_buff const *skb); | ||
256 | 257 | ||
257 | extern int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb); | 258 | extern int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb); |
258 | 259 | ||