Date: Thu, 2 Apr 2009 09:01:59 -0300 From: "Luiz Otavio O Souza" <lists.br@gmail.com> To: <freebsd-hackers@freebsd.org> Subject: Setting the mss for socket Message-ID: <3FD46C21A487490FB15B89E890790121@adnote989>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FD46C21A487490FB15B89E890790121>