diff options
author | Octavian Purdila <octavian.purdila@intel.com> | 2014-06-25 10:10:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-27 18:53:36 -0400 |
commit | 695da14eb0af21129187ed3810e329b21262e45f (patch) | |
tree | 34f1cdc6d14ce7e4da6d7139853847acfc20b352 /include/net/tcp.h | |
parent | 2aec4a297b21f3690486bbf8f7d5d29281ba6a48 (diff) |
tcp: add queue_add_hash to tcp_request_sock_ops
Add queue_add_hash member to tcp_request_sock_ops so that we can later
unify tcp_v4_conn_request and tcp_v6_conn_request.
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 30fe98bc8957..cec6e2cf0610 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1615,6 +1615,8 @@ struct tcp_request_sock_ops { | |||
1615 | int (*send_synack)(struct sock *sk, struct dst_entry *dst, | 1615 | int (*send_synack)(struct sock *sk, struct dst_entry *dst, |
1616 | struct flowi *fl, struct request_sock *req, | 1616 | struct flowi *fl, struct request_sock *req, |
1617 | u16 queue_mapping, struct tcp_fastopen_cookie *foc); | 1617 | u16 queue_mapping, struct tcp_fastopen_cookie *foc); |
1618 | void (*queue_hash_add)(struct sock *sk, struct request_sock *req, | ||
1619 | const unsigned long timeout); | ||
1618 | }; | 1620 | }; |
1619 | 1621 | ||
1620 | #ifdef CONFIG_SYN_COOKIES | 1622 | #ifdef CONFIG_SYN_COOKIES |