Documentation comment: note that the each NIC's softc is assumed to start

with an ifnet structure.

MFC after:	1 week
This commit is contained in:
Matt Jacob 2001-10-02 18:08:34 +00:00
parent 4cd80eaaaf
commit 8ec410b54a

View File

@ -105,6 +105,11 @@ struct ifqueue {
*
* (Would like to call this struct ``if'', but C isn't PL/1.)
*/
/*
* NB: For FreeBSD, it is assumed that each NIC driver's softc starts with
* one of these structures, typically held within an arpcom structure.
*/
struct ifnet {
void *if_softc; /* pointer to driver state */
char *if_name; /* name, e.g. ``en'' or ``lo'' */