Home
last modified time | relevance | path

Searched refs:bridcmp (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/lib/librstp/common/
H A Dvector.c65 int bridcmp; in STP_VECT_compare_vector() local
67 bridcmp = STP_VECT_compare_bridge_id (&v1->root_bridge, &v2->root_bridge); in STP_VECT_compare_vector()
68 if (bridcmp < 0) return bridcmp; in STP_VECT_compare_vector()
70 if (! bridcmp) { in STP_VECT_compare_vector()
71 bridcmp = v1->root_path_cost - v2->root_path_cost; in STP_VECT_compare_vector()
72 if (bridcmp < 0) return bridcmp; in STP_VECT_compare_vector()
73 if (! bridcmp) { in STP_VECT_compare_vector()
74 bridcmp = STP_VECT_compare_bridge_id (&v1->design_bridge, &v2->design_bridge); in STP_VECT_compare_vector()
75 if (bridcmp < 0) return bridcmp; in STP_VECT_compare_vector()
76 if (! bridcmp) { in STP_VECT_compare_vector()
[all …]
H A Dportinfo.c63 int bridcmp; in rcvBpdu() local
83 bridcmp = STP_VECT_compare_vector (&port->msgPrio, &port->portPrio); in rcvBpdu()
85 if (bridcmp < 0 || in rcvBpdu()
92 stp_trace ("rcvBpdu: SuperiorDesignateMsg:bridcmp=%d", (int) bridcmp); in rcvBpdu()