Lines Matching refs:this

118 txTcn (STATE_MACH_T* this)  in txTcn()  argument
124 if (this->owner.port->skip_tx > 0) { in txTcn()
125 if (1 == this->owner.port->skip_tx) in txTcn()
127 this->owner.port->port_name); in txTcn()
128 this->owner.port->skip_tx--; in txTcn()
133 if (this->owner.port->admin_non_stp) return 1; in txTcn()
134 port_index = this->owner.port->port_index; in txTcn()
135 vlan_id = this->owner.port->owner->vlan_id; in txTcn()
142 if (this->debug) in txTcn()
143 stp_trace ("port %s txTcn", this->owner.port->port_name); in txTcn()
172 txConfig (STATE_MACH_T* this) in txConfig() argument
179 if (this->owner.port->skip_tx > 0) { in txConfig()
180 if (1 == this->owner.port->skip_tx) in txConfig()
182 this->owner.port->port_name); in txConfig()
183 this->owner.port->skip_tx--; in txConfig()
188 port = this->owner.port; in txConfig()
199 if (this->debug) in txConfig()
210 txRstp (STATE_MACH_T* this) in txRstp() argument
218 if (this->owner.port->skip_tx > 0) { in txRstp()
219 if (1 == this->owner.port->skip_tx) in txRstp()
221 this->owner.port->port_name); in txRstp()
224 this->owner.port->port_name, this->owner.port->skip_tx); in txRstp()
226 this->owner.port->skip_tx--; in txRstp()
231 port = this->owner.port; in txRstp()
279 if (this->debug) in txRstp()
291 STP_transmit_enter_state (STATE_MACH_T* this) in STP_transmit_enter_state() argument
293 register PORT_T* port = this->owner.port; in STP_transmit_enter_state()
295 switch (this->State) { in STP_transmit_enter_state()
312 (void) txConfig (this); in STP_transmit_enter_state()
318 (void) txTcn (this); in STP_transmit_enter_state()
323 (void) txRstp (this); in STP_transmit_enter_state()
331 STP_transmit_check_conditions (STATE_MACH_T* this) in STP_transmit_check_conditions() argument
333 register PORT_T* port = this->owner.port; in STP_transmit_check_conditions()
335 switch (this->State) { in STP_transmit_check_conditions()
337 return STP_hop_2_state (this, TRANSMIT_INIT); in STP_transmit_check_conditions()
339 return STP_hop_2_state (this, IDLE); in STP_transmit_check_conditions()
341 return STP_hop_2_state (this, IDLE); in STP_transmit_check_conditions()
343 if (!port->helloWhen) return STP_hop_2_state (this, TRANSMIT_PERIODIC); in STP_transmit_check_conditions()
348 return STP_hop_2_state (this, TRANSMIT_CONFIG); in STP_transmit_check_conditions()
353 return STP_hop_2_state (this, TRANSMIT_TCN); in STP_transmit_check_conditions()
358 return STP_hop_2_state (this, TRANSMIT_RSTP); in STP_transmit_check_conditions()
361 return STP_hop_2_state (this, IDLE); in STP_transmit_check_conditions()
363 return STP_hop_2_state (this, IDLE); in STP_transmit_check_conditions()
365 return STP_hop_2_state (this, IDLE); in STP_transmit_check_conditions()