summaryrefslogtreecommitdiff
path: root/sys/net/bpf.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2005-02-28 12:35:52 +0000
committerRobert Watson <rwatson@FreeBSD.org>2005-02-28 12:35:52 +0000
commitd1a67300e295d533b9bb89ebe2913efba4032966 (patch)
tree649ed36a771f3a514dc0394786f8e89c608e82e9 /sys/net/bpf.c
parent1d0a2376602935b03fd1768f6422e1a0ab33d789 (diff)
downloadsrc-test2-d1a67300e295d533b9bb89ebe2913efba4032966.tar.gz
src-test2-d1a67300e295d533b9bb89ebe2913efba4032966.zip
Notes
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r--sys/net/bpf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 234e414c820e..a9734ab5b5d7 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -89,7 +89,10 @@ SYSCTL_INT(_debug, OID_AUTO, bpf_maxbufsize, CTLFLAG_RW,
&bpf_maxbufsize, 0, "");
/*
- * bpf_iflist is the list of interfaces; each corresponds to an ifnet
+ * bpf_iflist is a list of BPF interface structures, each corresponding to a
+ * specific DLT. The same network interface might have several BPF interface
+ * structures registered by different layers in the stack (i.e., 802.11
+ * frames, ethernet frames, etc).
*/
static LIST_HEAD(, bpf_if) bpf_iflist;
static struct mtx bpf_mtx; /* bpf global lock */