|
@@ -279,12 +279,6 @@ static inline void inet_csk_reqsk_queue_add(struct sock *sk,
|
|
|
void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req,
|
|
|
unsigned long timeout);
|
|
|
|
|
|
-static inline void inet_csk_reqsk_queue_removed(struct sock *sk,
|
|
|
- struct request_sock *req)
|
|
|
-{
|
|
|
- reqsk_queue_removed(&inet_csk(sk)->icsk_accept_queue, req);
|
|
|
-}
|
|
|
-
|
|
|
static inline void inet_csk_reqsk_queue_added(struct sock *sk,
|
|
|
const unsigned long timeout)
|
|
|
{
|
|
@@ -306,19 +300,7 @@ static inline int inet_csk_reqsk_queue_is_full(const struct sock *sk)
|
|
|
return reqsk_queue_is_full(&inet_csk(sk)->icsk_accept_queue);
|
|
|
}
|
|
|
|
|
|
-static inline void inet_csk_reqsk_queue_unlink(struct sock *sk,
|
|
|
- struct request_sock *req)
|
|
|
-{
|
|
|
- reqsk_queue_unlink(&inet_csk(sk)->icsk_accept_queue, req);
|
|
|
-}
|
|
|
-
|
|
|
-static inline void inet_csk_reqsk_queue_drop(struct sock *sk,
|
|
|
- struct request_sock *req)
|
|
|
-{
|
|
|
- inet_csk_reqsk_queue_unlink(sk, req);
|
|
|
- inet_csk_reqsk_queue_removed(sk, req);
|
|
|
- reqsk_put(req);
|
|
|
-}
|
|
|
+void inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req);
|
|
|
|
|
|
void inet_csk_destroy_sock(struct sock *sk);
|
|
|
void inet_csk_prepare_forced_close(struct sock *sk);
|