mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-01 16:57:18 +09:00
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>
This commit is contained in:
committed by
David S. Miller
parent
936b8bdb53
commit
d6274bd8d6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user