*BSD News Article 90611


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!mr.net!xfer.kren.nm.kr!newsfeed.kreonet.re.kr!news.imnet.ad.jp!netnews.lab.kdd.co.jp!oribe!usenet
From: miyake@parma.hsc.lab.kdd.co.jp
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Problem with window scale option for TCP
Date: 07 Mar 1997 19:08:08 +0900
Organization: KDD R & D Laboratories, Saitama, JAPAN.
Lines: 17
Message-ID: <reendsm2uv.fsf@parma.hsc.lab.kdd.co.jp>
NNTP-Posting-Host: parma.hsc.lab.kdd.co.jp
X-Newsreader: Gnus v5.3/Emacs 19.34
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36740


I have problem about TCP for FreeBSD. FreeBSD's TCP has window scale
option (rfc1323), but total window size is always restricted under 64K
bytes.

For example, I set the socket buffer size 120K bytes using
setsockopt(). In this case, value of window scale option will be 1,
and WINDOW field in TCP header should be 60K bytes for empty receive
buffer. However, WINDOW field in TCP header is always 32K bytes, so
advertised window size is 64K bytes, not 120K bytes. NetBSD-1.2 does
not have this problem.

Is there any method to resolve this problem?
				   
-- 
				Yutaka Miyake (miyake@lab.kdd.co.jp)
				KDD R&D Laboratories.