Lines Matching defs:this

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