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

Function LibAliasUnLoadAllModule

freebsd/netinet/libalias/alias.c:1735–1750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1733}
1734
1735int
1736LibAliasUnLoadAllModule(void)
1737{
1738 struct dll *t;
1739 struct proto_handler *p;
1740
1741 /* Unload all modules then reload everything. */
1742 while ((p = first_handler()) != NULL) {
1743 LibAliasDetachHandlers(p);
1744 }
1745 while ((t = walk_dll_chain()) != NULL) {
1746 dlclose(t->handle);
1747 free(t);
1748 }
1749 return (1);
1750}
1751
1752#endif
1753

Callers 1

LibAliasRefreshModulesFunction · 0.85

Calls 4

first_handlerFunction · 0.85
LibAliasDetachHandlersFunction · 0.85
walk_dll_chainFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected