fast initial bufsize increase
[cor.git] / net / cor / settings.h
blobed983419044e5a06712a55247c25763623bbb9be
1 #define MAX_NEIGHBORS 128
3 #define NEIGHBOR_DISCOVERY_TIMEOUT_SEC 15
5 #define MAX_PACKETS_IN_ANNOUNCE_RCVQUEUE 32
7 #define SMALL_OOO_PACKET_MAXSIZE 64
8 #define MAX_SMALL_OOO_PACKETS_PER_CONN 128
10 #define MAX_CMSGS 4096
11 #define MAX_CMSGS_PER_NEIGH 1024
12 #define GUARANTEED_CMSGS_PER_NEIGH 64
14 #define MAX_PONG_CMSGS_PER_NEIGH 8
15 #define MAX_PONG_CMSGS_RETRANS_PER_NEIGH 8
17 #define CMSG_MAXDELAY_ACK_MS 20
18 #define CMSG_MAXDELAY_ACKCONN_MS 20
19 #define CMSG_MAXDELAY_CONNDATA_MS 20
20 #define CMSG_MAXDELAY_OTHER_MS 20
23 #define ANNOUNCE_SEND_PACKETINTELVAL_MS 1000
24 #define ANNOUNCE_SEND_UNICAST_MAXCNT 10
26 #define PING_COOKIES_PER_NEIGH 16
27 #define PING_COOKIES_THROTTLESTART 4
28 #define PING_FORCETIME_MS 250
29 #define PING_FORCETIME_ACTIVE_FAST_MS 500
30 #define PING_FORCETIME_ACTIVE_MS 5000
31 #define PING_FORCETIME_ACTIVEIDLE_MS 30000
32 #define PING_ACTIVE_FASTINITIAL_COUNT 64
33 #define PING_GUESSLATENCY_MS 100
34 #define PING_PONGLIMIT 2
36 #define INITIAL_TIME_LIMIT_SEC 15
37 #define PING_SUCCESS_CNT_INIT 10
38 #define PING_SUCCESS_CNT_STALLED 2
40 #define NB_STALL_MINPINGS 10
41 #define NB_STALL_TIME_MS 10000
42 #define NB_KILL_TIME_MS 60000
44 #define QOS_BESTCNT 4
45 #define QOS_ANALYSECNT 4
46 #define QOS_ANALYSECNT_NOTHINGFOUND 16
48 #define MAX_CONNS 1024
50 #define WINDOW_ENCODE_MIN 64
52 #define WINDOW_MAX_PER_CONN_MIN 64
53 #define WINDOW_MAX_PER_CONN_MAX 1048576
54 #define WINDOW_MAX_PER_CONN_MIN_OUT_WINOK 1024
56 #define BUFSIZE_INITIAL_LOWLAT 512
57 #define BUFSIZE_INITIAL_HIGHLAT 4096
59 #define BUF_OUT_WIN_NOK_NOINCR 512
61 #define BUFUSAGE_PER_CONN_MAX 2097152
62 #define BUFUSAGE_GLOBAL_MAX 4194304
65 #define CD_RESP_BIN_MAXSIZE 4096
67 #define BUFFERLIMIT_CPACKETS 64
69 #define CONN_ACTIVITY_UPDATEINTERVAL_SEC 60
70 #define CONN_INACTIVITY_TIMEOUT_SEC 3600
72 #define CONNID_REUSE_RTTS 8
74 #define SOCK_SNDSPEED_MAX (2 * 1024 * 1024)
77 /* #define DEBUG_QOS_SLOWSEND */
78 #define COR_DEBUG
79 #define COR_NBCONGWIN