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

Function bpf_detachd

freebsd/net/bpf.c:832–838  ·  view source on GitHub ↗

* Detach a file from its interface. */

Source from the content-addressed store, hash-verified

830 * Detach a file from its interface.
831 */
832static void
833bpf_detachd(struct bpf_d *d)
834{
835 BPF_LOCK();
836 bpf_detachd_locked(d, false);
837 BPF_UNLOCK();
838}
839
840static void
841bpf_detachd_locked(struct bpf_d *d, bool detached_ifp)

Callers 1

bpf_dtorFunction · 0.85

Calls 1

bpf_detachd_lockedFunction · 0.85

Tested by

no test coverage detected