diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index e601da197361..867557b4244a 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1289,6 +1289,15 @@ extern int tcp_md5_hash_skb_data(struct tcp_md5sig_pool *, const struct sk_buff | |||
1289 | extern int tcp_md5_hash_key(struct tcp_md5sig_pool *hp, | 1289 | extern int tcp_md5_hash_key(struct tcp_md5sig_pool *hp, |
1290 | const struct tcp_md5sig_key *key); | 1290 | const struct tcp_md5sig_key *key); |
1291 | 1291 | ||
1292 | struct tcp_fastopen_request { | ||
1293 | /* Fast Open cookie. Size 0 means a cookie request */ | ||
1294 | struct tcp_fastopen_cookie cookie; | ||
1295 | struct msghdr *data; /* data in MSG_FASTOPEN */ | ||
1296 | u16 copied; /* queued in tcp_connect() */ | ||
1297 | }; | ||
1298 | |||
1299 | void tcp_free_fastopen_req(struct tcp_sock *tp); | ||
1300 | |||
1292 | /* write queue abstraction */ | 1301 | /* write queue abstraction */ |
1293 | static inline void tcp_write_queue_purge(struct sock *sk) | 1302 | static inline void tcp_write_queue_purge(struct sock *sk) |
1294 | { | 1303 | { |