Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2005 19:06:03 +0300 (MSK)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        lbland <lbland@vvi.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: TCP window scale option setting?
Message-ID:  <20050304190529.A23172@mp2.macomnet.net>
In-Reply-To: <69ec4799a574aeae723c687c3c2db15f@vvi.com>
References:  <69ec4799a574aeae723c687c3c2db15f@vvi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Mar 2005, 08:47-0500, lbland wrote:

> hi-
>
> In section 2.5 of the Stevens book it says "we wil see how to effect this
> [window scale] option with SO_RCVBUF socket option (Section 7.5)".
>
> But, when I get to Section 7.5 it doesn't say anything about it that I can
> find. I searched the whole book, and then googled and then grep'd the header
> files to hack it. I see some related macros, but nothing definitive. I can't
> find enough to figure it out. It seems I can use setsockopt() to implicitly
> maybe or maybe not define it, but then I have no way of checking to make sure
> it stuck during the initial negotiation.
>
> How do I get the current TCP window scale setting?
>
> How do I set the TCP window scale setting?

man 4 tcp, sysctl net.inet.tcp.rfc1323

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050304190529.A23172>