Subject: Re: TCP MSS configuration
To: None <amitg@hss.hns.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 07/10/2003 22:25:21
On Thu, Jul 10, 2003 at 10:12:50AM +0530, amitg@hss.hns.com wrote:
>
>
>
>
>
> Hi All,
>
> I need to configure the TCP MSS on a netbsd router. My requirement is that
>
> 1. Either i want to configure the TCP MSS value from some ioctl and then
> use that integer value later
> 2. or i want to configure that MSS is calculated form the interface mtu and
> then use that further on.
For 2), just do
sysctl -w net.inet.tcp.mss_ifmtu=1
For 1) I don't know. Maybe you can change net.inet.tcp.mssdflt but I'm not
sure.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 24 ans d'experience feront toujours la difference
--