]> git.tuebingen.mpg.de Git - paraslash.git/commit
FEC: Change the default slice size from 1490 to 1472.
authorAndre Noll <maan@systemlinux.org>
Tue, 20 Apr 2010 09:51:31 +0000 (11:51 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 20 Apr 2010 09:51:31 +0000 (11:51 +0200)
commit4e979d91dc967b241a0f034a5600447eb7826eef
treef81ebe82aa4a6e467149c5bdcbf4d41b4fb0ebb7
parent45b4e8b0ba410fd929a341a9bf84b1ac3995d734
FEC: Change the default slice size from 1490 to 1472.

1472 is the maximal possible size that does not result in fragmentation
on networks with 1500 MTU size (1500 = 1472 payload + 8 UDP header +
20 IP header).

This can be verified using

tcpdump -nv -i eth0 udp

The output must contain a zero offset value, and the "Don't Fragment"
IP flag (DF) should be set.

Thanks to Gerrit Renker for pointing this out.
send_common.c