femtoTCP/config.h
2024-12-15 17:05:37 +01:00

18 lines
332 B
C

#ifndef FEMTO_CONFIG_H
#define FEMTO_CONFIG_H
#define ETHERNET
#define LINK_MTU 1536
#define MAX_TCPSOCKETS 20
#define MAX_UDPSOCKETS 2
#define RXBUF_SIZE LINK_MTU * 4
#define TXBUF_SIZE LINK_MTU * 16
#define MAX_NEIGHBORS 16
/* Linux test configuration */
#define FEMTOTCP_IP "10.10.10.2"
#define LINUX_IP "10.10.10.1"
#endif