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

Function me_reassign

freebsd/net/if_me.c:217–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215
216#ifdef VIMAGE
217static void
218me_reassign(struct ifnet *ifp, struct vnet *new_vnet __unused,
219 char *unused __unused)
220{
221 struct me_softc *sc;
222
223 sx_xlock(&me_ioctl_sx);
224 sc = ifp->if_softc;
225 if (sc != NULL)
226 me_delete_tunnel(sc);
227 sx_xunlock(&me_ioctl_sx);
228}
229#endif /* VIMAGE */
230
231static void

Callers

nothing calls this directly

Calls 1

me_delete_tunnelFunction · 0.85

Tested by

no test coverage detected