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

Function af_getbyfamily

tools/ifconfig/ifconfig.c:878–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

876}
877
878static struct afswtch *
879af_getbyfamily(int af)
880{
881 struct afswtch *afp;
882
883 for (afp = afs; afp != NULL; afp = afp->af_next)
884 if (afp->af_af == af)
885 return afp;
886 return NULL;
887}
888
889static void
890af_other_status(int s)

Callers 1

ifconfig.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected