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 | d03c2c5d06a5a9d8d0f20079a86cf6bce4bc9d73 (patch) | |
tree | af5181c52a20bd982c984afd16d87d234c43789d /tcp.h | |
parent | 695b95467bb6675ff1311361708969bd3b642a54 (diff) | |
download | slirp-d03c2c5d06a5a9d8d0f20079a86cf6bce4bc9d73.zip slirp-d03c2c5d06a5a9d8d0f20079a86cf6bce4bc9d73.tar.gz slirp-d03c2c5d06a5a9d8d0f20079a86cf6bce4bc9d73.tar.bz2 |
set TCP_MSS to 1460 (Ed Swierk)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1881 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcp.h')
-rw-r--r-- | tcp.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -101,8 +101,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 */ |