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

Function vxlan_ftable_flush

freebsd/net/if_vxlan.c:586–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584}
585
586static void
587vxlan_ftable_flush(struct vxlan_softc *sc, int all)
588{
589 struct vxlan_ftable_entry *fe, *tfe;
590 int i;
591
592 for (i = 0; i < VXLAN_SC_FTABLE_SIZE; i++) {
593 LIST_FOREACH_SAFE(fe, &sc->vxl_ftable[i], vxlfe_hash, tfe) {
594 if (all || VXLAN_FE_IS_DYNAMIC(fe))
595 vxlan_ftable_entry_destroy(sc, fe);
596 }
597 }
598}
599
600static void
601vxlan_ftable_expire(struct vxlan_softc *sc)

Callers 2

vxlan_ctrl_flushFunction · 0.85
vxlan_clone_destroyFunction · 0.85

Calls 1

Tested by

no test coverage detected