FreeBSD/sys/net/bpf.c
/*
 * This function gets called when the free buffer is re-assigned.
 */
This function gets called when the free buffer is re-assigned.
This function gets called when the free buffer is re - assigned .
static void
bpf_buf_reclaimed(struct bpf_d *d)
{
	BPFD_LOCK_ASSERT(d);
	switch (d->bd_bufmode) {
	case BPF_BUFMODE_BUFFER:
		return;
	case BPF_BUFMODE_ZBUF:
		bpf_zerocopy_buf_reclaimed(d);
		return;
	default:
		panic("bpf_buf_reclaimed");
	}
}
static void bpf_buf_reclaimed ( struct bpf_d * d ) { BPFD_LOCK_ASSERT ( d ) ; switch ( d -> bd_bufmode ) { case BPF_BUFMODE_BUFFER : return ; case BPF_BUFMODE_ZBUF : bpf_zerocopy_buf_reclaimed ( d ) ; return ; default : panic ( " " ) ; } }
This function gets called when the free buffer is re-assigned.
This function gets called when the free buffer is re - assigned .