cu 412 net/bridgestp.c struct bstp_config_unit *cu)
cu 416 net/bridgestp.c cu->cu_pv.pv_root_id =
cu 425 net/bridgestp.c cu->cu_pv.pv_dbridge_id =
cu 434 net/bridgestp.c cu->cu_pv.pv_cost = ntohl(cpdu->cbu_rootpathcost);
cu 435 net/bridgestp.c cu->cu_message_age = ntohs(cpdu->cbu_messageage);
cu 436 net/bridgestp.c cu->cu_max_age = ntohs(cpdu->cbu_maxage);
cu 437 net/bridgestp.c cu->cu_hello_time = ntohs(cpdu->cbu_hellotime);
cu 438 net/bridgestp.c cu->cu_forward_delay = ntohs(cpdu->cbu_forwarddelay);
cu 439 net/bridgestp.c cu->cu_pv.pv_dport_id = ntohs(cpdu->cbu_portid);
cu 440 net/bridgestp.c cu->cu_pv.pv_port_id = bp->bp_port_id;
cu 441 net/bridgestp.c cu->cu_message_type = cpdu->cbu_bpdutype;
cu 449 net/bridgestp.c cu->cu_role = BSTP_ROLE_DESIGNATED;
cu 456 net/bridgestp.c cu->cu_topology_change_ack =
cu 458 net/bridgestp.c cu->cu_proposal =
cu 460 net/bridgestp.c cu->cu_agree =
cu 462 net/bridgestp.c cu->cu_learning =
cu 464 net/bridgestp.c cu->cu_forwarding =
cu 466 net/bridgestp.c cu->cu_topology_change =
cu 471 net/bridgestp.c cu->cu_role = BSTP_ROLE_ROOT;
cu 474 net/bridgestp.c cu->cu_role = BSTP_ROLE_ALTERNATE;
cu 477 net/bridgestp.c cu->cu_role = BSTP_ROLE_DESIGNATED;
cu 663 net/bridgestp.c struct bstp_config_unit *cu = &bp->bp_msg_cu;
cu 677 net/bridgestp.c bstp_decode_bpdu(bp, &cpdu, cu);
cu 678 net/bridgestp.c bstp_received_bpdu(bs, bp, cu);
cu 688 net/bridgestp.c struct bstp_config_unit *cu = &bp->bp_msg_cu;
cu 698 net/bridgestp.c bstp_decode_bpdu(bp, &cpdu, cu);
cu 699 net/bridgestp.c bstp_received_bpdu(bs, bp, cu);
cu 712 net/bridgestp.c struct bstp_config_unit *cu)
cu 723 net/bridgestp.c type = bstp_pdu_rcvtype(bp, cu);
cu 731 net/bridgestp.c if (cu->cu_proposal && cu->cu_forwarding == 0)
cu 733 net/bridgestp.c if (cu->cu_topology_change)
cu 735 net/bridgestp.c if (cu->cu_topology_change_ack)
cu 743 net/bridgestp.c bp->bp_port_pv = cu->cu_pv;
cu 744 net/bridgestp.c bp->bp_port_msg_age = cu->cu_message_age;
cu 745 net/bridgestp.c bp->bp_port_max_age = cu->cu_max_age;
cu 746 net/bridgestp.c bp->bp_port_fdelay = cu->cu_forward_delay;
cu 748 net/bridgestp.c (cu->cu_hello_time > BSTP_MIN_HELLO_TIME ?
cu 749 net/bridgestp.c cu->cu_hello_time : BSTP_MIN_HELLO_TIME);
cu 759 net/bridgestp.c if (cu->cu_proposal && cu->cu_forwarding == 0)
cu 761 net/bridgestp.c if (cu->cu_topology_change)
cu 763 net/bridgestp.c if (cu->cu_topology_change_ack)
cu 771 net/bridgestp.c if (cu->cu_learning) {
cu 782 net/bridgestp.c if (cu->cu_agree && bp->bp_ptp_link) {
cu 788 net/bridgestp.c if (cu->cu_topology_change)
cu 790 net/bridgestp.c if (cu->cu_topology_change_ack)
cu 803 net/bridgestp.c bstp_pdu_rcvtype(struct bstp_port *bp, struct bstp_config_unit *cu)
cu 810 net/bridgestp.c switch (cu->cu_role) {
cu 812 net/bridgestp.c if (bstp_info_superior(&bp->bp_port_pv, &cu->cu_pv))
cu 815 net/bridgestp.c else if (bstp_info_cmp(&bp->bp_port_pv, &cu->cu_pv) ==
cu 817 net/bridgestp.c if (bp->bp_port_msg_age != cu->cu_message_age ||
cu 818 net/bridgestp.c bp->bp_port_max_age != cu->cu_max_age ||
cu 819 net/bridgestp.c bp->bp_port_fdelay != cu->cu_forward_delay ||
cu 820 net/bridgestp.c bp->bp_port_htime != cu->cu_hello_time)
cu 835 net/bridgestp.c if (bstp_info_cmp(&bp->bp_port_pv, &cu->cu_pv) <= INFO_SAME)