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

Function if_setinitfn

freebsd/net/if.c:4499–4503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4497}
4498
4499void
4500if_setinitfn(if_t ifp, void (*init_fn)(void *))
4501{
4502 ((struct ifnet *)ifp)->if_init = init_fn;
4503}
4504
4505void
4506if_setioctlfn(if_t ifp, int (*ioctl_fn)(if_t, u_long, caddr_t))

Callers 3

gen_attachFunction · 0.85
awg_attachFunction · 0.85
iflib_registerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected