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

Function cmd_register

tools/ifconfig/ifconfig.c:925–930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

923static struct cmd *cmds = NULL;
924
925void
926cmd_register(struct cmd *p)
927{
928 p->c_next = cmds;
929 cmds = p;
930}
931
932static const struct cmd *
933cmd_lookup(const char *name, int iscreate)

Callers 15

ifconfig_ctorFunction · 0.85
ipsec_ctorFunction · 0.85
ieee80211_ctorFunction · 0.85
gif_ctorFunction · 0.85
gre_ctorFunction · 0.85
mac_ctorFunction · 0.85
ifmedia_ctorFunction · 0.85
bridge_ctorFunction · 0.85
clone_ctorFunction · 0.85
group_ctorFunction · 0.85
lagg_ctorFunction · 0.85
vlan_ctorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected