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

Function ipsec_reassign

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

ipsec_delete_tunnelFunction · 0.85

Tested by

no test coverage detected