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);
465 return STP_hop_2_state (this, UPDATE);
469 return STP_hop_2_state (this, CURRENT);
474 return STP_hop_2_state (this, UPDATE);
481 return STP_hop_2_state (this, AGED);
484 return STP_hop_2_state (this, RECEIVE);
490 return STP_hop_2_state (this, SUPERIOR);
492 return STP_hop_2_state (this, REPEAT);
494 return STP_hop_2_state (this, AGREEMENT);
496 return STP_hop_2_state (this, CURRENT);
501 return STP_hop_2_state (this, CURRENT);
505 return STP_hop_2_state (this, CURRENT);
509 return STP_hop_2_state (this, CURRENT);