… | |
… | |
58 | #define UDP_OVERHEAD (IP_OVERHEAD + 20) // size of a (normal) ip + udp header |
58 | #define UDP_OVERHEAD (IP_OVERHEAD + 20) // size of a (normal) ip + udp header |
59 | #define MAX_OVERHEAD UDP_OVERHEAD // the max. overhead of any protocol |
59 | #define MAX_OVERHEAD UDP_OVERHEAD // the max. overhead of any protocol |
60 | #define ETH_OVERHEAD 14 // the size of an ethernet header |
60 | #define ETH_OVERHEAD 14 // the size of an ethernet header |
61 | #define MAXSIZE (MAX_MTU + VPE_OVERHEAD)// slightly too large, but who cares |
61 | #define MAXSIZE (MAX_MTU + VPE_OVERHEAD)// slightly too large, but who cares |
62 | |
62 | |
63 | #define PKTCACHESIZE 4 // the size of the memory pool for packets |
63 | #define PKTCACHESIZE 5 // the size of the memory pool for packets |
64 | |
64 | |
65 | #define QUEUEDEPTH 16 // the number of packets that will be queued (should be low) |
65 | #define QUEUEDEPTH 16 // the number of packets that will be queued (should be low) |
66 | |
66 | |
67 | #define WINDOWSIZE 512 // sliding window size |
67 | #define WINDOWSIZE 512 // sliding window size |
68 | |
68 | |