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

Function inet6_ctor

tools/ifconfig/af_inet6.c:604–618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602};
603
604static __constructor void
605inet6_ctor(void)
606{
607 size_t i;
608#ifndef FSTACK
609#ifndef RESCUE
610 if (!feature_present("inet6"))
611 return;
612#endif
613#endif
614 for (i = 0; i < nitems(inet6_cmds); i++)
615 cmd_register(&inet6_cmds[i]);
616 af_register(&af_inet6);
617 opt_register(&in6_Lopt);
618}

Callers

nothing calls this directly

Calls 4

feature_presentFunction · 0.85
cmd_registerFunction · 0.85
af_registerFunction · 0.85
opt_registerFunction · 0.85

Tested by

no test coverage detected