| 1949 | } |
| 1950 | |
| 1951 | static void |
| 1952 | bstp_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 | |
| 1964 | static void |
| 1965 | bstp_message_age_expiry(struct bstp_state *bs, struct bstp_port *bp) |
no test coverage detected