Lines Matching defs:this
44 _is_backup_port (PORT_T* port, STPM_T* this)
47 (&port->portPrio.design_bridge, &this->BrId)) {
52 STP_VECT_br_id_print (" this->BrId",
53 &this->BrId, True);
55 stp_dbg_break_point (port, this);
127 updtRoleDisableBridge (STPM_T* this)
131 for (port = this->ports; port; port = port->next) {
137 clearReselectBridge (STPM_T* this)
141 for (port = this->ports; port; port = port->next) {
147 updtRootPrio (STATE_MACH_T* this)
154 stpm = this->owner.stpm;
193 updtRolesBridge (STATE_MACH_T* this)
201 stpm = this->owner.stpm;
210 updtRootPrio (this);
274 /* Note: this important piece has been inserted after
298 setSelectedBridge (STPM_T* this)
302 for (port = this->ports; port; port = port->next) {
311 for (port = this->ports; port; port = port->next) {
319 STP_rolesel_enter_state (STATE_MACH_T* this)
323 stpm = this->owner.stpm;
325 switch (this->State) {
332 updtRolesBridge (this);
375 STP_rolesel_update_stpm (STPM_T* this)
381 STP_VECT_create (&rootPathPrio, &this->BrId, 0, &this->BrId, 0, 0);
383 if (!this->rootPortId ||
384 STP_VECT_compare_vector (&rootPathPrio, &this->rootPrio) < 0) {
385 STP_VECT_copy (&this->rootPrio, &rootPathPrio);
388 for (port = this->ports; port; port = port->next) {
390 &this->rootPrio.root_bridge,
391 this->rootPrio.root_path_cost,
392 &this->BrId, port->port_id, port->port_id);
393 if (Received != port->infoIs || this->rootPortId == port->port_id) {