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

Function bstp_linkstate

freebsd/net/bridgestp.c:1772–1784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1770}
1771
1772void
1773bstp_linkstate(struct bstp_port *bp)
1774{
1775 struct bstp_state *bs = bp->bp_bs;
1776
1777 if (!bp->bp_active)
1778 return;
1779
1780 bstp_ifupdstatus(bp, 0);
1781 BSTP_LOCK(bs);
1782 bstp_update_state(bs, bp);
1783 BSTP_UNLOCK(bs);
1784}
1785
1786static void
1787bstp_ifupdstatus(void *arg, int pending)

Callers 1

bridge_linkstateFunction · 0.85

Calls 2

bstp_ifupdstatusFunction · 0.85
bstp_update_stateFunction · 0.85

Tested by

no test coverage detected