From c8cb2f0c11349d36c889327ff032faf391fe8896 Mon Sep 17 00:00:00 2001 From: rwatson Date: Mon, 29 Jan 2007 14:41:03 +0000 Subject: Update comment for struct bpf_d: we now store buffered packets for BPF in malloc'd storage, not in mbuf clusters. --- sys/net/bpfdesc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/net/bpfdesc.h') 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 */ -- cgit v1.1