summary refs log tree commit diff
path: root/config-farshd.h
blob: 3a6e48e92f906b81b5fc3ae63f0dd76cd4d71d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 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