From: bellard Date: Mon, 1 May 2006 11:17:27 +0000 (+0000) Subject: set TCP_MSS to 1460 (Ed Swierk) X-Git-Tag: 0.10.0-0maemo1~4458 X-Git-Url: http://git.maemo.org/git/?a=commitdiff_plain;h=773f2cdd3c288b6881986c32d8dbe24d4d8af4e1;p=qemu set TCP_MSS to 1460 (Ed Swierk) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1881 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/slirp/tcp.h b/slirp/tcp.h index 3e0b4dd..cd7e891 100644 --- a/slirp/tcp.h +++ b/slirp/tcp.h @@ -100,8 +100,10 @@ struct tcphdr { * With an IP MSS of 576, this is 536, * but 512 is probably more convenient. * This should be defined as MIN(512, IP_MSS - sizeof (struct tcpiphdr)). + * + * We make this 1460 because we only care about Ethernet in the qemu context. */ -#define TCP_MSS 512 +#define TCP_MSS 1460 #define TCP_MAXWIN 65535 /* largest value for (unscaled) window */