From owner-freebsd-net Wed Jul 17 11:51:15 2002 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 7FCE137B400 for ; Wed, 17 Jul 2002 11:51:11 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id D41E443E9E for ; Wed, 17 Jul 2002 11:51:10 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.3) with ESMTP id g6HICnRC097765; Wed, 17 Jul 2002 14:12:49 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.3/Submit) id g6HICmm8097762; Wed, 17 Jul 2002 14:12:48 -0400 (EDT) (envelope-from wollman) Date: Wed, 17 Jul 2002 14:12:48 -0400 (EDT) From: Garrett Wollman Message-Id: <200207171812.g6HICmm8097762@khavrinen.lcs.mit.edu> To: Bill Baumann Cc: freebsd-net@FreeBSD.ORG Subject: Re: Inconsistency between net/if.c and several ethernet drivers In-Reply-To: References: <20020716180110.E4709-100000@gateway.posi.net> 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 < said: > Why bother with a if_softc field when the interface and softc pointer are > supposed to be the same? Also, the very old Lance driver (lnc) has this > problem. It makes me wonder how true we are to TCP/IP Illustrated... if_softc was added to pacify those who either didn't understand the C language, or thought they had a good reason why the softc structure had to begin with some other structure than ifnet. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message