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

Function bridge_rtnode_destroy

freebsd/net/if_bridge.c:3089–3101  ·  view source on GitHub ↗

* bridge_rtnode_destroy: * * Destroy a bridge rtnode. */

Source from the content-addressed store, hash-verified

3087 * Destroy a bridge rtnode.
3088 */
3089static void
3090bridge_rtnode_destroy(struct bridge_softc *sc, struct bridge_rtnode *brt)
3091{
3092 BRIDGE_RT_LOCK_ASSERT(sc);
3093
3094 CK_LIST_REMOVE(brt, brt_hash);
3095
3096 CK_LIST_REMOVE(brt, brt_list);
3097 sc->sc_brtcnt--;
3098 brt->brt_dst->bif_addrcnt--;
3099
3100 NET_EPOCH_CALL(bridge_rtnode_destroy_cb, &brt->brt_epoch_ctx);
3101}
3102
3103/*
3104 * bridge_rtable_expire:

Callers 5

bridge_rttrimFunction · 0.85
bridge_rtageFunction · 0.85
bridge_rtflushFunction · 0.85
bridge_rtdaddrFunction · 0.85
bridge_rtdeleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected