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

Function bstp_hello_timer_expiry

freebsd/net/bridgestp.c:1951–1962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1949}
1950
1951static void
1952bstp_hello_timer_expiry(struct bstp_state *bs, struct bstp_port *bp)
1953{
1954 if ((bp->bp_flags & BSTP_PORT_NEWINFO) ||
1955 bp->bp_role == BSTP_ROLE_DESIGNATED ||
1956 (bp->bp_role == BSTP_ROLE_ROOT &&
1957 bp->bp_tc_timer.active == 1)) {
1958 bstp_timer_start(&bp->bp_hello_timer, bp->bp_desg_htime);
1959 bp->bp_flags |= BSTP_PORT_NEWINFO;
1960 bstp_transmit(bs, bp);
1961 }
1962}
1963
1964static void
1965bstp_message_age_expiry(struct bstp_state *bs, struct bstp_port *bp)

Callers 2

bstp_transmitFunction · 0.85
bstp_tickFunction · 0.85

Calls 2

bstp_timer_startFunction · 0.85
bstp_transmitFunction · 0.85

Tested by

no test coverage detected