MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bpf_buffull

Function bpf_buffull

freebsd/net/bpf.c:465–476  ·  view source on GitHub ↗

* Notify buffer model that an attempt to write to the store buffer has * resulted in a dropped packet, in which case the buffer may be considered * full. */

Source from the content-addressed store, hash-verified

463 * full.
464 */
465static void
466bpf_buffull(struct bpf_d *d)
467{
468
469 BPFD_LOCK_ASSERT(d);
470
471 switch (d->bd_bufmode) {
472 case BPF_BUFMODE_ZBUF:
473 bpf_zerocopy_buffull(d);
474 break;
475 }
476}
477
478/*
479 * Notify the buffer model that a buffer has moved into the hold position.

Callers 1

catchpacketFunction · 0.85

Calls 1

bpf_zerocopy_buffullFunction · 0.85

Tested by

no test coverage detected