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

Function alias_mod_handler

freebsd/netinet/libalias/alias_db.c:346–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344MODULE_VERSION(libalias, 1);
345
346static int
347alias_mod_handler(module_t mod, int type, void *data)
348{
349
350 switch (type) {
351 case MOD_QUIESCE:
352 case MOD_UNLOAD:
353 finishoff();
354 case MOD_LOAD:
355 return (0);
356 default:
357 return (EINVAL);
358 }
359}
360
361static moduledata_t alias_mod = {
362 "alias", alias_mod_handler, NULL

Callers

nothing calls this directly

Calls 1

finishoffFunction · 0.85

Tested by

no test coverage detected