Lines Matching refs:bp_desg_pv
199 bpdu.cbu_rootpri = htons(bp->bp_desg_pv.pv_root_id >> 48); in bstp_transmit_bpdu()
200 PV2ADDR(bp->bp_desg_pv.pv_root_id, bpdu.cbu_rootaddr); in bstp_transmit_bpdu()
202 bpdu.cbu_rootpathcost = htonl(bp->bp_desg_pv.pv_cost); in bstp_transmit_bpdu()
204 bpdu.cbu_bridgepri = htons(bp->bp_desg_pv.pv_dbridge_id >> 48); in bstp_transmit_bpdu()
205 PV2ADDR(bp->bp_desg_pv.pv_dbridge_id, bpdu.cbu_bridgeaddr); in bstp_transmit_bpdu()
748 bstp_info_cmp(&bp->bp_port_pv, &bp->bp_desg_pv) >= INFO_SAME) in bstp_pdu_bettersame()
841 bp->bp_desg_pv.pv_root_id = bs->bs_root_pv.pv_root_id; in bstp_assign_roles()
842 bp->bp_desg_pv.pv_cost = bs->bs_root_pv.pv_cost; in bstp_assign_roles()
843 bp->bp_desg_pv.pv_dbridge_id = bs->bs_bridge_pv.pv_dbridge_id; in bstp_assign_roles()
844 bp->bp_desg_pv.pv_dport_id = bp->bp_port_id; in bstp_assign_roles()
845 bp->bp_desg_pv.pv_port_id = bp->bp_port_id; in bstp_assign_roles()
867 &bp->bp_desg_pv) != INFO_SAME || in bstp_assign_roles()
885 &bp->bp_desg_pv) == INFO_BETTER) { in bstp_assign_roles()
1169 bp->bp_port_pv = bp->bp_desg_pv; in bstp_update_info()