Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 1998 19:23:01 +0100
From:      Chrisy Luke <chrisy@flix.net>
To:        Jacques Vidrine <n@nectar.com>
Cc:        Claude Tardif <intmktg@cam.org>, freebsd-net@FreeBSD.ORG
Subject:   Re: Unknown abbreviations
Message-ID:  <19980601192301.42902@flix.net>
In-Reply-To: <199806010458.XAA27364@cerebus.nectar.com>; from Jacques Vidrine on Sun, May 31, 1998 at 11:58:02PM -0500
References:  <35721ACA.A51B7BD4@cam.org> <199806010458.XAA27364@cerebus.nectar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Claude Tardif wrote (on Jun 01):
>> I do have TCP/IP Illustrated Vol.2, please indicate on which page I can find
> the meaning for the softc and protosw abbreviations.Thanks,

For protosw, the page opposite the inside-cover, right hand column and
5 down says "protosw...188". So look on page 188. :@)

Jacques Vidrine wrote (on Jun 01):
> softc   = (I don't know, but would like to)

As for softc, it's a generic name given to a structure that exists in
almost every kernel driver. In the case of network devices they contain the
state of the driver, more or less. The network code makes more use of the
idea than most of the other drivers in the kernel.

Note that struct ifnet points to it via a "void *if_softc" - because each
device has it's own definition, but that each _softc also has a pointer
back to it's ifnet. ifnet deals with the more uniforn details, like
"device name" etc while softc has the more specific.

For some idea, the le_softc is described on page 80. This is also listed
inside the cover... :-)

Chris.
-- 
== chris@easynet.net, chrisy@flix.net, chrisy@flirble.org.
== Head of Systems for Easynet Group PLC.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980601192301.42902>