Add a simple unix controller

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-01-16 16:37:01 +00:00
parent 69bcf664a8
commit 70086d295a
7 changed files with 284 additions and 26 deletions

View File

@@ -6,6 +6,14 @@
#include <unistd.h>
#include <errno.h>
#ifndef PACKAGE_NAME
#define PACKAGE_NAME "glorytun"
#endif
#ifndef PACKAGE_VERSION
#define PACKAGE_VERSION "0.0.0"
#endif
#define COUNT(x) (sizeof(x)/sizeof(x[0]))
#define ALIGN_SIZE (1<<4)