femtoTCP/config.h
Daniele Lacamera 44deb02802
All checks were successful
/ unit_test (push) Successful in 44s
Added telnetd to raspberry pico port
2024-11-27 21:14:02 +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 1
#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