Luiz Otavio O Souza escreveu:
Hello hackers,
Is there a way to set the mss for a socket ? Like you can do in linux
with setsockopt(TCP_MAXSEG) ?
So i can set the maximum size of packets (or sort of) from a simple
userland program.
I've read the code and i cannot find by myself (at least from a 30minute
reading) a single point to change this. It looks like it is dynamic
calculated with interface/path mtu. Someone has a simple approach to
deal with this ? Any ideas ?
Thanks in advance,
Luiz
Good point. With something like that it could be possible to make --mss
switch from iperf work properly on FreeBSD.
--
Patrick Tracanelli
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"