From owner-freebsd-arch@FreeBSD.ORG Sat May 6 03:44:24 2006 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 953B016A400; Sat, 6 May 2006 03:44:24 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mrout1-b.corp.dcn.yahoo.com (mrout1-b.corp.dcn.yahoo.com [216.109.112.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AA0643D45; Sat, 6 May 2006 03:44:24 +0000 (GMT) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (proxy8.corp.yahoo.com [216.145.48.13]) by mrout1-b.corp.dcn.yahoo.com (8.13.6/8.13.4/y.out) with ESMTP id k463iE9g018878; Fri, 5 May 2006 20:44:14 -0700 (PDT) Date: Sat, 06 May 2006 12:44:12 +0900 Message-ID: From: gnn@FreeBSD.org To: Mario Sergio Fujikawa Ferreira In-Reply-To: <20060505033749.76815.qmail@exxodus.fedaykin.here> References: <20060505033749.76815.qmail@exxodus.fedaykin.here> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-apple-darwin8.5.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-arch@FreeBSD.org Subject: Re: RFC {get,set}socktopt SO_DONTFRAGMENT X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 May 2006 03:44:24 -0000 At Fri, 5 May 2006 00:37:26 -0300, Mario Sergio Fujikawa Ferreira wrote: > > I would like to propose a new socket option: SO_DONTFRAGMENT > on the lines of IP_DONTFRAG. > > I was trying to tell a socket that it should not fragment > the packets. However, I found out that I could only do it if I had > a "struct socket". If I had a "struct socket" I could set INP_DONTFRAG > which would solve all my problems. > The important question is, "What kind of packets." If you want a sequential packet stream you should use SCTP (www.sctp.org) which has been ported to FreeBSD but is not part of the base system as yet. For packet based streams you should be able to use what is already there. Best, George