Searched refs:bd_sbuf (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/sys/net/
H A Dbpf_buffer.c135 if (d->bd_sbuf != NULL)
136 free(d->bd_sbuf, M_BPF);
143 d->bd_sbuf = d->bd_hbuf = d->bd_fbuf = (caddr_t)~0;
190 if (d->bd_sbuf != NULL)
191 free(d->bd_sbuf, M_BPF);
196 d->bd_sbuf = sbuf;
H A Dbpf_zerocopy.c364 zb = (struct zbuf *)d->bd_sbuf;
457 zb = (struct zbuf *)d->bd_sbuf;
458 KASSERT(zb != NULL, ("bpf_zerocopy_canwritebuf: bd_sbuf NULL"));
476 zb = (struct zbuf *)d->bd_sbuf;
569 if (d->bd_hbuf != NULL || d->bd_sbuf != NULL || d->bd_fbuf != NULL ||
582 d->bd_sbuf = (caddr_t)zba;
H A Dbpfdesc.h67 caddr_t bd_sbuf; /* store slot */ member in struct:bpf_d
H A Dbpf.h399 (d)->bd_hbuf = (d)->bd_sbuf; \
401 (d)->bd_sbuf = (d)->bd_fbuf; \
H A Dbpf.c1603 d->bd_sbuf == NULL)
1880 if (d->bd_sbuf != NULL || d->bd_hbuf != NULL ||
2073 if (d->bd_sbuf == NULL)
2576 bpf_append_bytes(d, d->bd_sbuf, curlen, &hdr32_old,
2589 bpf_append_bytes(d, d->bd_sbuf, curlen, &hdr_old,
2605 bpf_append_bytes(d, d->bd_sbuf, curlen, &hdr, sizeof(hdr));
2613 (*cpfn)(d, d->bd_sbuf, curlen + hdrlen, pkt, caplen);

Completed in 111 milliseconds