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:
parent
4cd80eaaaf
commit
8ec410b54a
@ -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'' */
|
||||
|
Loading…
x
Reference in New Issue
Block a user