Added config.h
This commit is contained in:
parent
b0b199fc66
commit
7f4cb3ffce
1 changed files with 14 additions and 0 deletions
14
config.h
Normal file
14
config.h
Normal 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
|
Loading…
Reference in a new issue