summaryrefslogtreecommitdiffstats
path: root/sys/net/if_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r--sys/net/if_var.h5
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'' */
OpenPOWER on IntegriCloud