Lines Matching defs:bs
2398 struct bstp_state *bs = &sc->sc_stp;
2400 param->ifbrp_prio = bs->bs_bridge_priority;
2421 struct bstp_state *bs = &sc->sc_stp;
2423 param->ifbrp_hellotime = bs->bs_bridge_htime >> 8;
2444 struct bstp_state *bs = &sc->sc_stp;
2446 param->ifbrp_fwddelay = bs->bs_bridge_fdelay >> 8;
2467 struct bstp_state *bs = &sc->sc_stp;
2469 param->ifbrp_maxage = bs->bs_bridge_max_age >> 8;
2629 struct bstp_state *bs = &sc->sc_stp; \
2632 req->ifbop_maxage = bs->bs_bridge_max_age >> 8; \
2633 req->ifbop_hellotime = bs->bs_bridge_htime >> 8; \
2634 req->ifbop_fwddelay = bs->bs_bridge_fdelay >> 8; \
2636 root_port = bs->bs_root_port; \
2642 req->ifbop_holdcount = bs->bs_txholdcount; \
2643 req->ifbop_priority = bs->bs_bridge_priority; \
2644 req->ifbop_protocol = bs->bs_protover; \
2645 req->ifbop_root_path_cost = bs->bs_root_pv.pv_cost; \
2646 req->ifbop_bridgeid = bs->bs_bridge_pv.pv_dbridge_id; \
2647 req->ifbop_designated_root = bs->bs_root_pv.pv_root_id; \
2648 req->ifbop_designated_bridge = bs->bs_root_pv.pv_dbridge_id; \
2649 req->ifbop_last_tc_time.tv_sec = bs->bs_last_tc_time.tv_sec; \
2650 req->ifbop_last_tc_time.tv_usec = bs->bs_last_tc_time.tv_usec; \