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

Function ifc_simple_destroy

freebsd/net/if_clone.c:730–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728}
729
730static int
731ifc_simple_destroy(struct if_clone *ifc, struct ifnet *ifp)
732{
733 int unit;
734
735 unit = ifp->if_dunit;
736
737 if (unit < ifc->ifcs_minifs)
738 return (EINVAL);
739
740 ifc->ifcs_destroy(ifp);
741
742 ifc_free_unit(ifc, unit);
743
744 return (0);
745}
746
747const char *
748ifc_name(struct if_clone *ifc)

Callers 1

if_clone_destroyifFunction · 0.85

Calls 1

ifc_free_unitFunction · 0.85

Tested by

no test coverage detected