Mercurial > dropbear
diff netio.h @ 1084:2265d7ebfdeb
separate client/server fastopen options
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 29 May 2015 23:19:11 +0800 |
parents | 686cd3e8e13e |
children | 9169e4e7cbee |
line wrap: on
line diff
--- a/netio.h Sun May 03 00:00:35 2015 +0800 +++ b/netio.h Fri May 29 23:19:11 2015 +0800 @@ -48,7 +48,7 @@ void packet_queue_to_iovec(struct Queue *queue, struct iovec *iov, unsigned int *iov_count); void packet_queue_consume(struct Queue *queue, ssize_t written); -#ifdef DROPBEAR_TCP_FAST_OPEN +#ifdef DROPBEAR_SERVER_TCP_FAST_OPEN /* Try for any Linux builds, will fall back if the kernel doesn't support it */ void set_listen_fast_open(int sock); /* Define values which may be supported by the kernel even if the libc is too old */