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

Function nd6_destroy

freebsd/netinet6/nd6.c:245–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243
244#ifdef VIMAGE
245void
246nd6_destroy()
247{
248
249 callout_drain(&V_nd6_slowtimo_ch);
250 callout_drain(&V_nd6_timer_ch);
251 if (IS_DEFAULT_VNET(curvnet)) {
252 EVENTHANDLER_DEREGISTER(ifnet_link_event, ifnet_link_event_eh);
253 EVENTHANDLER_DEREGISTER(lle_event, lle_event_eh);
254 EVENTHANDLER_DEREGISTER(iflladdr_event, iflladdr_event_eh);
255 }
256 rw_destroy(&V_nd6_lock);
257 mtx_destroy(&V_nd6_onlink_mtx);
258}
259#endif
260
261struct nd_ifinfo *

Callers 1

ip6_destroyFunction · 0.85

Calls 1

rw_destroyFunction · 0.85

Tested by

no test coverage detected