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

Function if_link_ifnet

freebsd/net/if.c:477–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475#endif
476
477static void
478if_link_ifnet(struct ifnet *ifp)
479{
480
481 IFNET_WLOCK();
482 CK_STAILQ_INSERT_TAIL(&V_ifnet, ifp, if_link);
483#ifdef VIMAGE
484 curvnet->vnet_ifcnt++;
485#endif
486 IFNET_WUNLOCK();
487}
488
489static bool
490if_unlink_ifnet(struct ifnet *ifp, bool vmove)

Callers 1

if_attach_internalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected