femtoTCP/config.h

19 lines
332 B
C
Raw Normal View History

2024-11-10 20:53:01 +01:00
#ifndef FEMTO_CONFIG_H
#define FEMTO_CONFIG_H
2024-11-16 07:34:11 +01:00
#define ETHERNET
2024-11-10 20:53:01 +01:00
#define LINK_MTU 1536
2024-11-27 21:14:02 +01:00
#define MAX_TCPSOCKETS 20
2024-12-15 01:52:09 +01:00
#define MAX_UDPSOCKETS 2
2024-11-27 21:14:02 +01:00
#define RXBUF_SIZE LINK_MTU * 4
#define TXBUF_SIZE LINK_MTU * 16
2024-11-10 20:53:01 +01:00
#define MAX_NEIGHBORS 16
/* Linux test configuration */
#define FEMTOTCP_IP "10.10.10.2"
#define LINUX_IP "10.10.10.1"
2024-11-10 20:53:01 +01:00
#endif