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

Function netdump_ifdetach

freebsd/netinet/netdump/netdump_client.c:396–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396static void
397netdump_ifdetach(void *arg __unused, struct ifnet *ifp)
398{
399
400 NETDUMP_WLOCK();
401 if (ifp == nd_ifp)
402 netdump_unconfigure();
403 NETDUMP_WUNLOCK();
404}
405
406/*
407 * td of NULL is a sentinel value that indicates a kernel caller (ddb(4) or

Callers

nothing calls this directly

Calls 1

netdump_unconfigureFunction · 0.85

Tested by

no test coverage detected