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

Function ff_veth_init

lib/ff_veth.c:208–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206
207
208static void
209ff_veth_init(void *arg)
210{
211 struct ff_veth_softc *sc = arg;
212 struct ifnet *ifp = sc->ifp;
213
214 ifp->if_drv_flags |= IFF_DRV_RUNNING;
215 ifp->if_drv_flags &= ~IFF_DRV_OACTIVE;
216 ifp->if_flags |= IFF_UP;
217}
218
219static void
220ff_veth_start(struct ifnet *ifp)

Callers 2

ff_veth_ioctlFunction · 0.85
ff_veth_setup_interfaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected