Author: tjansen Date: Wed Sep 30 16:41:25 2009 New Revision: 1006 Log: Tweaking the MTU. Idea behind 1336 is 1370 (MTU of dummy0) - 20 (IPv4) - 8 (UDP) - 6 (MAC) = payload MTU. The larger buffer can be used to manually override the MTU without compiling a new binary. Modified: trunk/include/global.h Modified: trunk/include/global.h ============================================================================== --- trunk/include/global.h Wed Sep 30 16:11:06 2009 (r1005) +++ trunk/include/global.h Wed Sep 30 16:41:25 2009 (r1006) @@ -38,12 +38,12 @@ * - neither via hipd nor via std-ipv6 connection (PMTU in both cases was * 1500) */ -#define MTU_TUN 1000 +#define MTU_TUN 1336 /** * Size of the buffers used to receive packets. */ -#define MAX_PACKET_BUFFER_TUN MTU_TUN + 100 +#define MAX_PACKET_BUFFER_TUN MTU_TUN + 500 /** * Maximum value for a normal packet buffer