diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-10-02 18:08:34 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-10-02 18:08:34 +0000 |
commit | 531fdd5ce2b53bc6d651e40ea25ece37c4abbe42 (patch) | |
tree | 87b64338d6534946ab073595ed8645f135207823 /sys/net/if_var.h | |
parent | 1dcfa4df379e8af4301bb952410ab1094c46d7b5 (diff) | |
download | FreeBSD-src-531fdd5ce2b53bc6d651e40ea25ece37c4abbe42.zip FreeBSD-src-531fdd5ce2b53bc6d651e40ea25ece37c4abbe42.tar.gz |
Documentation comment: note that the each NIC's softc is assumed to start
with an ifnet structure.
MFC after: 1 week
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r-- | sys/net/if_var.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 0d69791..b3d4900 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -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'' */ |