From owner-freebsd-net Sat Nov 3 11:44:37 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 2655737B416 for ; Sat, 3 Nov 2001 11:44:36 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id fA3JexF57038; Sat, 3 Nov 2001 11:40:59 -0800 (PST) (envelope-from rizzo) Date: Sat, 3 Nov 2001 11:40:59 -0800 From: "'Luigi Rizzo'" To: Jim McGrath Cc: net@FreeBSD.ORG, mjacob@feral.com Subject: Re: softc, ifnet and arpcom overlay Message-ID: <20011103114059.A56950@iguana.aciri.org> References: <31269226357BD211979E00A0C9866DAB01BE79AD@rios.sitaranetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31269226357BD211979E00A0C9866DAB01BE79AD@rios.sitaranetworks.com> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Nov 03, 2001 at 02:32:18PM -0500, Jim McGrath wrote: > It makes the assumption that the ifnet/arpcom structure is at the beginning > of the softc structure. In needs to do this to maintain media independence. whoops, you are right... it is really bad that dev->softc is a void* and there is no static or dynamic type information associated with it. thanks luigi > Also see http://www.freebsd.org/cgi/query-pr.cgi?pr=29249 > > Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message