| 2173 | } |
| 2174 | |
| 2175 | void |
| 2176 | bstp_init(struct bstp_state *bs) |
| 2177 | { |
| 2178 | BSTP_LOCK(bs); |
| 2179 | callout_reset(&bs->bs_bstpcallout, hz, bstp_tick, bs); |
| 2180 | bs->bs_running = 1; |
| 2181 | bstp_reinit(bs); |
| 2182 | BSTP_UNLOCK(bs); |
| 2183 | } |
| 2184 | |
| 2185 | void |
| 2186 | bstp_stop(struct bstp_state *bs) |
no test coverage detected