--- gvpe/src/global.h 2003/03/17 15:20:18 1.2 +++ gvpe/src/global.h 2003/03/22 02:35:57 1.5 @@ -28,7 +28,7 @@ #define RSA_KEYLEN ((RSA_KEYBITS) >> 3) #define RSA_OVERHEAD (41 + 1) // well, no define for OAEP -#define CHALLENGE_TTL 30 // challenge bytes timeout after 30 seconds +#define CHALLENGE_TTL 30 // challenge bytes timeout after n seconds #define CIPHER ENABLE_CIPHER () #define CIPHER_KEYLEN (EVP_CIPHER_key_length (CIPHER)) @@ -47,19 +47,15 @@ #define ETH_OVERHEAD 14 // the size of an ethernet header #define MAXSIZE (MAX_MTU + VPE_OVERHEAD)// slightly too large, but who cares -#define TIMER_GRANULARITY 5 // check for events at least every 5 seconds - #define PKTCACHESIZE 4 // the size of the memory pool for packets #define QUEUEDEPTH 16 // the number of packets that will be queued (should be low) -#define WINDOWSIZE 256 // sliding window size +#define WINDOWSIZE 512 // sliding window size extern char *confbase; // directory in which all config files are extern char *thisnode; // config for current node (TODO: remove) extern char *pidfilename; // pid file location -extern time_t now; // globale now variable - #endif