/* server config */ #define SHELL "/bin/bash" #define LOGFILE "/tmp/farshd.log" #define MAX_PEERS 16 #define PKT_INT 32000u /* packet sending interval in microseconds */ /* ring buf size, 32kb, must be power of 2, 64kb max */ #define RB_SZ 0x8000u /* the client is not fully connected until the server receives NOT_CONNECTED * packets without the CONNECT flag */ #define NOT_CONNECTED 8