From owner-freebsd-net@FreeBSD.ORG Tue Aug 17 16:49:01 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 415A116A4CE; Tue, 17 Aug 2004 16:49:01 +0000 (GMT) Received: from blake.polstra.com (blake.polstra.com [64.81.189.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A795443D2F; Tue, 17 Aug 2004 16:48:58 +0000 (GMT) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (dsl081-189-067.sea1.dsl.speakeasy.net [64.81.189.67]) by blake.polstra.com (8.12.11/8.12.11) with ESMTP id i7HGmvGV087201 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Aug 2004 09:48:57 -0700 (PDT) (envelope-from jdp@strings.polstra.com) Received: (from jdp@localhost) by strings.polstra.com (8.12.11/8.12.11/Submit) id i7HGmvMr017275; Tue, 17 Aug 2004 09:48:57 -0700 (PDT) (envelope-from jdp) Message-ID: X-Mailer: XFMail 1.5.5 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20040817112452.K55677@beagle.kn.op.dlr.de> Date: Tue, 17 Aug 2004 09:48:57 -0700 (PDT) From: John Polstra To: Harti Brandt X-Bogosity: No, tests=bogofilter, spamicity=0.499952, version=0.14.5 cc: freebsd-net@freebsd.org cc: "Bjoern A. Zeeb" Subject: Re: netgraph only on i386/ia64 - why ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 16:49:01 -0000 On 17-Aug-2004 Harti Brandt wrote: > On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: > > BAZ>Hi, > BAZ> > BAZ>It seems netgraph is only build on ia64 and i386. > BAZ>Can someone please explain why ? > > Until around april I used all the ATM related Ng stuff regularily (this > include ng_socket, all the stuff under netgraph/atm). I think this should > just be enabled. Unless build problems have been introduced since then, > it should just be enabled. There is one problem with netgraph on 64-bit platforms. The ng_msghdr struct is 52 bytes / 4-byte aligned (see ng_message.h). That means the message payload is not well-aligned for 64-bit platforms. It would be nice to fix that (and bump NG_VERSION, of course). Nobody ever guaranteed that the message payload would be aligned, but it makes things a lot more convenient. John