32bit seqno, bugfixes
[cor.git] / net / cor / settings.h
blobe099e9ab0c29067c7ebb3dd16428e3855133d523
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_FAST_MS 20
18 #define CMSG_MAXDELAY_ACK_SLOW_MS 30
19 #define CMSG_MAXDELAY_ACKCONN_URGENT_MS 10
20 #define CMSG_MAXDELAY_ACKCONN_MS 20
21 #define CMSG_MAXDELAY_CONNDATA_MS 30
22 #define CMSG_MAXDELAY_OTHER_MS 30
25 #define ANNOUNCE_SEND_PACKETINTELVAL_MS 1000
26 #define ANNOUNCE_SEND_UNICAST_MAXCNT 10
28 #define PING_COOKIES_PER_NEIGH 16
29 #define PING_COOKIES_THROTTLESTART 4
30 #define PING_FORCETIME_MS 250
31 #define PING_FORCETIME_ACTIVE_FAST_MS 500
32 #define PING_FORCETIME_ACTIVE_MS 5000
33 #define PING_FORCETIME_ACTIVEIDLE_MS 30000
34 #define PING_ACTIVE_FASTINITIAL_COUNT 64
35 #define PING_GUESSLATENCY_MS 100
36 #define PING_PONGLIMIT 2
38 #define INITIAL_TIME_LIMIT_SEC 15
39 #define PING_SUCCESS_CNT_INIT 10
40 #define PING_SUCCESS_CNT_STALLED 2
42 #define NB_STALL_MINPINGS 10
43 #define NB_STALL_TIME_MS 5000
44 #define NB_KILL_TIME_MS 10000
46 #define QOS_BESTCNT 4
47 #define QOS_ANALYSECNT 4
48 #define QOS_ANALYSECNT_NOTHINGFOUND 16
50 #define MAX_CONNS 1024
52 #define WINDOW_ENCODE_MIN 64
54 #define WINDOW_MAX_PER_CONN_MIN 64
55 #define WINDOW_MAX_PER_CONN_MAX 1048576
56 #define WINDOW_MAX_PER_CONN_MIN_OUT_WINOK 1024
58 #define BUFSIZE_INITIAL_LOWLAT 1024
59 #define BUFSIZE_INITIAL_HIGHLAT 8192
61 #define BUF_OUT_WIN_NOK_NOINCR 512
63 #define BUFUSAGE_PER_CONN_MAX 2097152
64 #define BUFUSAGE_GLOBAL_MAX 4194304
66 #define BURSTPRIO_MAXIDLETIME_LOWLATENCY_SECS 30
67 #define BURSTPRIO_MAXIDLETIME_HIGHLATENCY_SECS 10
70 #define CD_RESP_BIN_MAXSIZE 4096
72 #define BUFFERLIMIT_SRC_UNCONN 64
73 #define SND_SPEED_START 16384
75 #define CONN_ACTIVITY_UPDATEINTERVAL_SEC 60
76 #define CONN_INACTIVITY_TIMEOUT_SEC 3600
78 #define CONN_BUSY_INACTIVITY_TIMEOUT_SEC 120
80 #define LOWLATENCY_LOWERMTU 0
81 #define LOWLATENCY_SEND_UNFLUSHED_DATA 0
83 #define PRIORITY_IN_MULITPLIER_PERCENT 100
84 #define PRIORITY_SUM_IN_MAX U64_MAX
86 #define CONNID_REUSE_RTTS 8
88 #define SOCK_SNDSPEED_MAX (2 * 1024 * 1024)
90 #define KEEPALIVE_INTERVAL_SECS 300
91 #define KEEPALIVE_TIMEOUT_SECS 120
93 /* #define DEBUG_QOS_SLOWSEND */
94 /* #define COR_DEBUG */
95 #define COR_NBCONGWIN