Lines Matching refs:this

61 rcvBpdu (STATE_MACH_T* this)  in rcvBpdu()  argument
64 register PORT_T* port = this->owner.port; in rcvBpdu()
68 if (this->debug) { in rcvBpdu()
91 if (this->debug) { in rcvBpdu()
105 if (this->debug) { in rcvBpdu()
119 if (this->debug) { in rcvBpdu()
127 if (this->debug) { in rcvBpdu()
148 recordProposed (STATE_MACH_T* this, char* reason) in recordProposed() argument
150 register PORT_T* port = this->owner.port; in recordProposed()
161 setTcFlags (STATE_MACH_T* this) in setTcFlags() argument
163 register PORT_T* port = this->owner.port; in setTcFlags()
167 if (this->debug) { in setTcFlags()
175 if (this->debug) { in setTcFlags()
185 if (this->debug) { in setTcFlags()
197 updtBPDUVersion (STATE_MACH_T* this) in updtBPDUVersion() argument
199 register PORT_T* port = this->owner.port; in updtBPDUVersion()
217 updtRcvdInfoWhile (STATE_MACH_T* this) in updtRcvdInfoWhile() argument
221 register PORT_T* port = this->owner.port; in updtRcvdInfoWhile()
337 void STP_info_enter_state (STATE_MACH_T* this) in STP_info_enter_state() argument
339 register PORT_T* port = this->owner.port; in STP_info_enter_state()
341 switch (this->State) { in STP_info_enter_state()
380 if (this->debug) { in STP_info_enter_state()
391 port->rcvdMsg = rcvBpdu (this); in STP_info_enter_state()
392 updtBPDUVersion (this); in STP_info_enter_state()
393 setTcFlags (this); in STP_info_enter_state()
399 updtRcvdInfoWhile (this); in STP_info_enter_state()
405 port->proposed = recordProposed (this, "SUPERIOR"); in STP_info_enter_state()
410 if (this->debug) { in STP_info_enter_state()
421 port->proposed = recordProposed (this, "REPEAT"); in STP_info_enter_state()
422 updtRcvdInfoWhile (this); in STP_info_enter_state()
439 Bool STP_info_check_conditions (STATE_MACH_T* this) in STP_info_check_conditions() argument
441 register PORT_T* port = this->owner.port; in STP_info_check_conditions()
443 if ((! port->portEnabled && port->infoIs != Disabled) || BEGIN == this->State) { in STP_info_check_conditions()
444 return STP_hop_2_state (this, DISABLED); in STP_info_check_conditions()
447 switch (this->State) { in STP_info_check_conditions()
450 return STP_hop_2_state (this, DISABLED); in STP_info_check_conditions()
453 return STP_hop_2_state (this, ENABLED); in STP_info_check_conditions()
456 return STP_hop_2_state (this, DISABLED); in STP_info_check_conditions()
460 return STP_hop_2_state (this, AGED); in STP_info_check_conditions()
463 return STP_hop_2_state (this, UPDATE); in STP_info_check_conditions()
467 return STP_hop_2_state (this, CURRENT); in STP_info_check_conditions()
470 return STP_hop_2_state (this, UPDATE); in STP_info_check_conditions()
477 return STP_hop_2_state (this, AGED); in STP_info_check_conditions()
480 return STP_hop_2_state (this, RECEIVE); in STP_info_check_conditions()
486 return STP_hop_2_state (this, SUPERIOR); in STP_info_check_conditions()
488 return STP_hop_2_state (this, REPEAT); in STP_info_check_conditions()
490 return STP_hop_2_state (this, AGREEMENT); in STP_info_check_conditions()
492 return STP_hop_2_state (this, CURRENT); in STP_info_check_conditions()
495 return STP_hop_2_state (this, CURRENT); in STP_info_check_conditions()
497 return STP_hop_2_state (this, CURRENT); in STP_info_check_conditions()
499 return STP_hop_2_state (this, CURRENT); in STP_info_check_conditions()