aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 225e9561af35..a6be56d5f0e3 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -462,7 +462,8 @@ int tcp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len);
462int tcp_connect(struct sock *sk); 462int tcp_connect(struct sock *sk);
463struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst, 463struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst,
464 struct request_sock *req, 464 struct request_sock *req,
465 struct tcp_fastopen_cookie *foc); 465 struct tcp_fastopen_cookie *foc,
466 bool attach_req);
466int tcp_disconnect(struct sock *sk, int flags); 467int tcp_disconnect(struct sock *sk, int flags);
467 468
468void tcp_finish_connect(struct sock *sk, struct sk_buff *skb); 469void tcp_finish_connect(struct sock *sk, struct sk_buff *skb);
@@ -1715,7 +1716,8 @@ struct tcp_request_sock_ops {
1715 __u32 (*init_seq)(const struct sk_buff *skb); 1716 __u32 (*init_seq)(const struct sk_buff *skb);
1716 int (*send_synack)(const struct sock *sk, struct dst_entry *dst, 1717 int (*send_synack)(const struct sock *sk, struct dst_entry *dst,
1717 struct flowi *fl, struct request_sock *req, 1718 struct flowi *fl, struct request_sock *req,
1718 u16 queue_mapping, struct tcp_fastopen_cookie *foc); 1719 u16 queue_mapping, struct tcp_fastopen_cookie *foc,
1720 bool attach_req);
1719}; 1721};
1720 1722
1721#ifdef CONFIG_SYN_COOKIES 1723#ifdef CONFIG_SYN_COOKIES