diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-05-01 11:17:27 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-05-01 11:17:27 +0000 |
commit | 773f2cdd3c288b6881986c32d8dbe24d4d8af4e1 (patch) | |
tree | 09750a13e7c75441efae77f6b9cd05d6497b4d4f | |
parent | fedc54adaa4c36da28a726a1f56e1db53f699a50 (diff) |
set TCP_MSS to 1460 (Ed Swierk)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1881 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | slirp/tcp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/slirp/tcp.h b/slirp/tcp.h index 3e0b4dd8f..cd7e89110 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 */ |