femtoTCP/config.h
Daniele Lacamera 1490f8dba1
All checks were successful
/ unit_test (push) Successful in 51s
Added posix non-blocking sockets, new tests
2024-11-17 07:11:00 +01:00

18 lines
330 B
C

#ifndef FEMTO_CONFIG_H
#define FEMTO_CONFIG_H
#define ETHERNET
#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
/* Linux test configuration */
#define FEMTOTCP_IP "10.10.10.2"
#define LINUX_IP "10.10.10.1"
#endif