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

Function if_clone_addgroup

freebsd/net/if_clone.c:563–570  ·  view source on GitHub ↗

* if_clone_addgroup() decrements ifc_refcnt because it is called after * if_clone_findifc(). */

Source from the content-addressed store, hash-verified

561 * if_clone_findifc().
562 */
563void
564if_clone_addgroup(struct ifnet *ifp, struct if_clone *ifc)
565{
566 if ((ifc->ifc_flags & IFC_NOGROUP) == 0) {
567 if_addgroup(ifp, ifc->ifc_name);
568 IF_CLONE_REMREF(ifc);
569 }
570}
571
572/*
573 * A utility function to extract unit numbers from interface names of

Callers 1

if_attach_internalFunction · 0.85

Calls 1

if_addgroupFunction · 0.85

Tested by

no test coverage detected