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

Function vlan_ctor

tools/ifconfig/ifvlan.c:325–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323};
324
325static __constructor void
326vlan_ctor(void)
327{
328 size_t i;
329
330 for (i = 0; i < nitems(vlan_cmds); i++)
331 cmd_register(&vlan_cmds[i]);
332 af_register(&af_vlan);
333 callback_register(vlan_cb, NULL);
334 clone_setdefcallback_prefix("vlan", vlan_create);
335 clone_setdefcallback_filter(vlan_match_ethervid, vlan_create);
336}

Callers

nothing calls this directly

Calls 5

cmd_registerFunction · 0.85
af_registerFunction · 0.85
callback_registerFunction · 0.85

Tested by

no test coverage detected