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

Function bridge_delete_span

freebsd/net/if_bridge.c:1127–1138  ·  view source on GitHub ↗

* bridge_delete_span: * * Delete the specified span interface. */

Source from the content-addressed store, hash-verified

1125 * Delete the specified span interface.
1126 */
1127static void
1128bridge_delete_span(struct bridge_softc *sc, struct bridge_iflist *bif)
1129{
1130 BRIDGE_LOCK_ASSERT(sc);
1131
1132 KASSERT(bif->bif_ifp->if_bridge == NULL,
1133 ("%s: not a span interface", __func__));
1134
1135 CK_LIST_REMOVE(bif, bif_next);
1136
1137 NET_EPOCH_CALL(bridge_delete_member_cb, &bif->bif_epoch_ctx);
1138}
1139
1140static int
1141bridge_ioctl_add(struct bridge_softc *sc, void *arg)

Callers 3

bridge_clone_destroyFunction · 0.85
bridge_ioctl_delspanFunction · 0.85
bridge_ifdetachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected