Add probabilistic use of TCP_FASTOPEN and close()

This commit is contained in:
Ian Gulliver
2016-03-05 15:27:11 -08:00
parent cef259f5c4
commit 46d67ca376
4 changed files with 54 additions and 14 deletions

2
rand.h
View File

@@ -1,7 +1,9 @@
#pragma once
#include <stdbool.h>
#include <stddef.h>
void rand_init(void);
void rand_cleanup(void);
void rand_fill(void *, size_t);
bool rand_yes_no(uint64_t);