Added config.h

This commit is contained in:
Daniele Lacamera 2024-11-10 20:53:01 +01:00
parent b0b199fc66
commit 7f4cb3ffce

14
config.h Normal file
View file

@ -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