Working TCP fastopen for connect-send.

This commit is contained in:
Ian Gulliver
2016-02-27 12:41:56 -08:00
parent 79fc645fa0
commit 2c5b6419d6
7 changed files with 51 additions and 32 deletions

View File

@@ -2,8 +2,10 @@
#include <stdint.h>
struct buf;
struct peer;
void incoming_cleanup(void);
typedef void (*incoming_connection_handler)(int fd, void *, struct peer *);
void incoming_new(char *, char *, incoming_connection_handler, void *, uint32_t *);
typedef void (*incoming_get_hello)(struct buf **, void *);
void incoming_new(char *, char *, incoming_connection_handler, incoming_get_hello, void *, uint32_t *);