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.32 by root, Fri Jul 19 18:21:03 2013 UTC vs.
Revision 1.33 by root, Fri Sep 20 11:57:03 2013 UTC

102#define ICMP_OVERHEAD (IP_OVERHEAD + 4) 102#define ICMP_OVERHEAD (IP_OVERHEAD + 4)
103#define UDP_OVERHEAD (IP_OVERHEAD + 20) // size of a (normal) ip + udp header (wrong, but don't care) 103#define UDP_OVERHEAD (IP_OVERHEAD + 20) // size of a (normal) ip + udp header (wrong, but don't care)
104#define TCP_OVERHEAD (IP_OVERHEAD + 22) // size of a (normal) ip + tcp header + packetlength 104#define TCP_OVERHEAD (IP_OVERHEAD + 22) // size of a (normal) ip + tcp header + packetlength
105#define MAX_OVERHEAD UDP_OVERHEAD // the max. overhead of any protocol (ok, tcp doesn't count) 105#define MAX_OVERHEAD UDP_OVERHEAD // the max. overhead of any protocol (ok, tcp doesn't count)
106#define ETH_OVERHEAD 14 // the size of an ethernet header 106#define ETH_OVERHEAD 14 // the size of an ethernet header
107#define MAXSIZE (MAX_MTU + VPE_OVERHEAD) // slightly too large, but who cares 107#define MAXSIZE (MAX_MTU + IP_OVERHEAD) // slightly too large, but who cares
108 108
109#define PKTCACHESIZE 16 // the size of the memory pool for packets 109#define PKTCACHESIZE 16 // the size of the memory pool for packets
110 110
111extern char *confbase; // directory in which all config files are 111extern char *confbase; // directory in which all config files are
112extern char *thisnode; // config for current node (TODO: remove) 112extern char *thisnode; // config for current node (TODO: remove)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines