diff options
author | Octavian Purdila <octavian.purdila@intel.com> | 2014-06-25 17:09:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-27 15:53:36 -0700 |
commit | d6274bd8d6ea84b7b54cc1c3fde6bcb6143b104f (patch) | |
tree | 15c41b8907768843f435e2cbe01b998970cdb06f /include | |
parent | 936b8bdb53f90840e658904530f9db8d02ac804b (diff) | |
download | blackbird-op-linux-d6274bd8d6ea84b7b54cc1c3fde6bcb6143b104f.tar.gz blackbird-op-linux-d6274bd8d6ea84b7b54cc1c3fde6bcb6143b104f.zip |
tcp: add send_synack method to tcp_request_sock_ops
Create a new tcp_request_sock_ops method to unify the IPv4/IPv6
signature for tcp_v[46]_send_synack. This allows us to later unify
tcp_v4_rtx_synack with tcp_v6_rtx_synack and tcp_v4_conn_request with
tcp_v4_conn_request.
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/tcp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 8cacf0d6ed4d..8c05c25018d5 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -1609,6 +1609,9 @@ struct tcp_request_sock_ops { const struct request_sock *req, bool *strict); __u32 (*init_seq)(const struct sk_buff *skb); + int (*send_synack)(struct sock *sk, struct dst_entry *dst, + struct flowi *fl, struct request_sock *req, + u16 queue_mapping, struct tcp_fastopen_cookie *foc); }; #ifdef CONFIG_SYN_COOKIES |