aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorOctavian Purdila <octavian.purdila@intel.com>2014-06-25 17:09:58 +0300
committerDavid S. Miller <davem@davemloft.net>2014-06-27 15:53:36 -0700
commitd6274bd8d6ea84b7b54cc1c3fde6bcb6143b104f (patch)
tree15c41b8907768843f435e2cbe01b998970cdb06f /include/net/tcp.h
parenttcp: add init_seq method to tcp_request_sock_ops (diff)
downloadlinux-dev-d6274bd8d6ea84b7b54cc1c3fde6bcb6143b104f.tar.xz
linux-dev-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/net/tcp.h')
-rw-r--r--include/net/tcp.h3
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