1 #define MAX_PACKETS_IN_RCVQUEUE 32
3 #define MAX_TOTAL_OOO_PACKETS 128
4 #define MAX_TOTAL_OOO_PER_NEIGH 32
5 #define MAX_TOTAL_OOO_PER_CONN 12
7 #define MAX_TOTAL_BUFFER_SIZE 256
10 #define MAX_CMSGS_PER_NEIGH 64
11 #define GUARANTEED_CMSGS_PER_NEIGH 16
13 #define MAX_URGENT_CMSGS_PER_NEIGH 8
14 #define MAX_URGENT_CMSGS_PER_NEIGH_RETRANSALLOW 6
16 #define CMSG_INTERVAL_MS 100
18 #define ANNOUNCE_SEND_PACKETINTELVAL_MS 2000
20 #define PING_ALL_CONNS_TIMEOUT 5000
22 #define PING_COOKIES_PER_NEIGH 16
23 #define PING_COOKIES_NOTHROTTLE 3
24 #define PING_COOKIES_FIFO 5
25 #define PING_PONGLIMIT 2
26 #define PING_THROTTLE_LIMIT_MS 1000
27 #define PING_FORCETIME_MS 1000
28 #define PING_FORCETIME_ACTIVE_MS 5000
29 #define PING_FORCETIME_ACTIVEIDLE_MS 30000
31 #define INITIAL_TIME_MS 10000
32 #define PING_SUCCESS_CNT 10
34 #define NB_STALL_MINPINGS 10
35 #define NB_STALL_TIME_MS 10000
36 #define NB_KILL_TIME_MS 300000
37 #define CONN_STALL_DEFAULT_TIMEOUT_MS 30000
39 #define STALL_TIMER_INTERVAL_MS 1000
41 #define CREDIT_RATE_INITIAL 10000
42 #define MAX_CREDITRATE_SOCK 268435465
43 #define CREDIT_REFRESHINTERVAL_SEC 30
45 #define BUFFERASSIGN_INIT 4194304
46 #define BUFFERASSIGN_SPEED 2097152
48 #define BUFFERSPACE_INIT 1048576
49 #define BUFFERSPACE_SPEED 1048576
50 #define BUFFERSPACE_ATA 1048576
51 #define BUFFERSPACE_RESERVE 1048576
53 #define MAX_ANNOUNCE_WINDOW 262144
55 #define BUFFERLIMIT_CONNDATA_GLOBAL 65536
56 #define BUFFERLIMIT_CONNDATA_PERCONN 4096
58 #define BUFFERLIMIT_SOCK_GLOBAL 262144
59 #define BUFFERLIMIT_SOCK_USER 131072
60 #define BUFFERLIMIT_SOCK_SOCK 65536