summaryrefslogtreecommitdiffstats
path: root/sys/net/bpfdesc.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-01-29 14:41:03 +0000
committerrwatson <rwatson@FreeBSD.org>2007-01-29 14:41:03 +0000
commitc8cb2f0c11349d36c889327ff032faf391fe8896 (patch)
tree318eac59f9fc3be3c65f15fda1fdda2c45b5b6b2 /sys/net/bpfdesc.h
parent8fe23ac3fe5c4427d9125fb0bca5dfa1e5984ad6 (diff)
downloadFreeBSD-src-c8cb2f0c11349d36c889327ff032faf391fe8896.zip
FreeBSD-src-c8cb2f0c11349d36c889327ff032faf391fe8896.tar.gz
Update comment for struct bpf_d: we now store buffered packets for BPF
in malloc'd storage, not in mbuf clusters.
Diffstat (limited to 'sys/net/bpfdesc.h')
-rw-r--r--sys/net/bpfdesc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h
index a48590d..0edcaf6 100644
--- a/sys/net/bpfdesc.h
+++ b/sys/net/bpfdesc.h
@@ -51,12 +51,12 @@
struct bpf_d {
LIST_ENTRY(bpf_d) bd_next; /* Linked list of descriptors */
/*
- * Buffer slots: two mbuf clusters buffer the incoming packets.
+ * Buffer slots: two malloc buffers store the incoming packets.
* The model has three slots. Sbuf is always occupied.
* sbuf (store) - Receive interrupt puts packets here.
- * hbuf (hold) - When sbuf is full, put cluster here and
+ * hbuf (hold) - When sbuf is full, put buffer here and
* wakeup read (replace sbuf with fbuf).
- * fbuf (free) - When read is done, put cluster here.
+ * fbuf (free) - When read is done, put buffer here.
* On receiving, if sbuf is full and fbuf is 0, packet is dropped.
*/
caddr_t bd_sbuf; /* store slot */
OpenPOWER on IntegriCloud