Home
last modified time | relevance | path

Searched refs:bp_desg_pv (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/net/
H A Dbridgestp.c199 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()
[all …]
H A Dbridgestp.h301 struct bstp_pri_vector bp_desg_pv; member
H A Dif_bridge.c1940 bpreq.ifbp_design_cost = bp->bp_desg_pv.pv_cost; in bridge_ioctl_gifsstp()
1941 bpreq.ifbp_design_port = bp->bp_desg_pv.pv_port_id; in bridge_ioctl_gifsstp()
1942 bpreq.ifbp_design_bridge = bp->bp_desg_pv.pv_dbridge_id; in bridge_ioctl_gifsstp()
1943 bpreq.ifbp_design_root = bp->bp_desg_pv.pv_root_id; in bridge_ioctl_gifsstp()