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

Function gre_reassign

freebsd/net/if_gre.c:200–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198
199#ifdef VIMAGE
200static void
201gre_reassign(struct ifnet *ifp, struct vnet *new_vnet __unused,
202 char *unused __unused)
203{
204 struct gre_softc *sc;
205
206 sx_xlock(&gre_ioctl_sx);
207 sc = ifp->if_softc;
208 if (sc != NULL)
209 gre_delete_tunnel(sc);
210 sx_xunlock(&gre_ioctl_sx);
211}
212#endif /* VIMAGE */
213
214static void

Callers

nothing calls this directly

Calls 1

gre_delete_tunnelFunction · 0.85

Tested by

no test coverage detected