From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 3 08:00:21 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 756671065672 for ; Fri, 3 Apr 2009 08:00:21 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 3668A8FC15 for ; Fri, 3 Apr 2009 08:00:21 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id n3380KSO017293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 3 Apr 2009 01:00:20 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id n3380KFL017292; Fri, 3 Apr 2009 01:00:20 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA17979; Thu, 2 Apr 09 23:56:51 PST Date: Fri, 03 Apr 2009 00:55:10 -0700 From: perryh@pluto.rain.com To: lists.br@gmail.com Message-Id: <49d5c0de.E5bkeKr+p+fg4K00%perryh@pluto.rain.com> References: <3FD46C21A487490FB15B89E890790121@adnote989> In-Reply-To: <3FD46C21A487490FB15B89E890790121@adnote989> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Setting the mss for socket X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2009 08:00:22 -0000 "Luiz Otavio O Souza" wrote: > 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. Depending on exactly what you need to accomplish, you may find something useful in this thread from last August in freebsd-questions@ setting the other end's TCP segment size