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