ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/global.h
(Generate patch)

Comparing gvpe/src/global.h (file contents):
Revision 1.3 by pcg, Mon Mar 17 15:23:15 2003 UTC vs.
Revision 1.4 by pcg, Fri Mar 21 23:17:01 2003 UTC

45#define VPE_OVERHEAD (4 + 4 + 4 + RAND_SIZE + HMACLENGTH - 6 - 6) 45#define VPE_OVERHEAD (4 + 4 + 4 + RAND_SIZE + HMACLENGTH - 6 - 6)
46#define UDP_OVERHEAD 40 // size of a (normal) ip + udp header 46#define UDP_OVERHEAD 40 // size of a (normal) ip + udp header
47#define ETH_OVERHEAD 14 // the size of an ethernet header 47#define ETH_OVERHEAD 14 // the size of an ethernet header
48#define MAXSIZE (MAX_MTU + VPE_OVERHEAD)// slightly too large, but who cares 48#define MAXSIZE (MAX_MTU + VPE_OVERHEAD)// slightly too large, but who cares
49 49
50#define TIMER_GRANULARITY 5 // check for events at least every 5 seconds
51
52#define PKTCACHESIZE 4 // the size of the memory pool for packets 50#define PKTCACHESIZE 4 // the size of the memory pool for packets
53 51
54#define QUEUEDEPTH 16 // the number of packets that will be queued (should be low) 52#define QUEUEDEPTH 16 // the number of packets that will be queued (should be low)
55 53
56#define WINDOWSIZE 1024 // sliding window size 54#define WINDOWSIZE 1024 // sliding window size
57 55
58extern char *confbase; // directory in which all config files are 56extern char *confbase; // directory in which all config files are
59extern char *thisnode; // config for current node (TODO: remove) 57extern char *thisnode; // config for current node (TODO: remove)
60extern char *pidfilename; // pid file location 58extern char *pidfilename; // pid file location
61 59
62extern time_t now; // globale now variable
63
64#endif 60#endif
65 61

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines