From 7f4cb3ffce37e87d03dd1bae375f2054bb262209 Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Sun, 10 Nov 2024 20:53:01 +0100 Subject: [PATCH] Added config.h --- config.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 config.h diff --git a/config.h b/config.h new file mode 100644 index 0000000..eef8360 --- /dev/null +++ b/config.h @@ -0,0 +1,14 @@ +#ifndef FEMTO_CONFIG_H +#define FEMTO_CONFIG_H +/* Config (TODO: move to some config.h later) */ + +#define LINK_MTU 1536 + +#define MAX_TCPSOCKETS 4 +#define MAX_UDPSOCKETS 2 +#define RXBUF_SIZE LINK_MTU * 8 +#define TXBUF_SIZE LINK_MTU * 2 + +#define MAX_NEIGHBORS 16 + +#endif