From owner-freebsd-mips@FreeBSD.ORG Tue Jan 18 05:24:50 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF2B1106564A for ; Tue, 18 Jan 2011 05:24:50 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 32EBC8FC08 for ; Tue, 18 Jan 2011 05:24:50 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id p0I5NbFh096531 for ; Mon, 17 Jan 2011 22:23:38 -0700 (MST) (envelope-from imp@bsdimp.com) Message-ID: <4D3523D9.5000901@bsdimp.com> Date: Mon, 17 Jan 2011 22:23:37 -0700 From: Warner Losh User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101211 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-mips@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: capturing packet from wlan0 with netgraph? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2011 05:24:50 -0000 On 01/17/2011 18:55, Adrian Chadd wrote: > On 18 January 2011 02:03, Monthadar Al Jaberi wrote: >> filed a PR http://www.freebsd.org/cgi/query-pr.cgi?pr=154091 > Thanks. > > Network-stack and MIPS guys - what's the best way to handle this kind > of stuff? This isn't the first time I've come across weird alignment > stuff in the network stack that just doesn't seem to get much > attention. Is it perhaps worth adding some debugging macros that > account/log unaligned-ness? So people playing at home on i386/amd64 > can play along? That can be hard, since the interface is to get a pointer and dereference it... Warner