use value returned by atomic64_cmpxchg on retries, account unsent data for windowlimi...
[cor.git] / net / cor / settings.h
blob21ebf6ac32d8bf0f4135dbcdf40a95ad8601630f
1 #define MAX_NEIGHBORS 128
3 #define NEIGHBOR_DISCOVERY_TIMEOUT_SEC 15
5 #define MAX_PACKETS_IN_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 10
20 #define CMSG_MAXDELAY_OTHER_MS 20
21 #define CMSG_DYNAMIC_DELAY 1
22 #define CMSG_INTERVAL_MAX_US 1000000
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_MS 1000
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 10000
44 #define NB_KILL_TIME_MS 60000
46 #define QOS_BESTCNT 4
47 #define QOS_ANALYSECNT 4
48 #define QOS_ANALYSECNT_NOTHINGFOUND 16
50 #define MAX_CONNS 1024
52 #define WINDOW_MAX_PER_CONN_MIN 64
53 #define WINDOW_MAX_PER_CONN_MAX 1048576
55 #define BUFUSAGE_GLOBAL_MAX 2097152
58 #define CD_RESP_BIN_MAXSIZE 4096
60 #define BUFFERLIMIT_CONNDATA_GLOBAL 65536
61 #define BUFFERLIMIT_CONNDATA_PERCONN 1024
62 #define BUFFERLIMIT_OVERSIZERESET_SEC 60
64 #define CONN_ACTIVITY_UPDATEINTERVAL_SEC 60
65 #define CONN_INACTIVITY_TIMEOUT_SEC 3600
67 #define CONNID_REUSE_RTTS 8
70 /* #define DEBUG_QOS_SLOWSEND */
71 #define COR_DEBUG