diff options
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 7b859a723826..2990bfb12587 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -155,18 +155,7 @@ extern const char *dccp_state_name(const int state); | |||
155 | extern void dccp_set_state(struct sock *sk, const int state); | 155 | extern void dccp_set_state(struct sock *sk, const int state); |
156 | extern void dccp_done(struct sock *sk); | 156 | extern void dccp_done(struct sock *sk); |
157 | 157 | ||
158 | static inline void dccp_openreq_init(struct request_sock *req, | 158 | extern void dccp_reqsk_init(struct request_sock *req, struct sk_buff *skb); |
159 | struct dccp_sock *dp, | ||
160 | struct sk_buff *skb) | ||
161 | { | ||
162 | /* | ||
163 | * FIXME: fill in the other req fields from the DCCP options | ||
164 | * received | ||
165 | */ | ||
166 | inet_rsk(req)->rmt_port = dccp_hdr(skb)->dccph_sport; | ||
167 | inet_rsk(req)->acked = 0; | ||
168 | req->rcv_wnd = 0; | ||
169 | } | ||
170 | 159 | ||
171 | extern int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb); | 160 | extern int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb); |
172 | 161 | ||