Lines Matching refs:this

54 setSyncBridge (STATE_MACH_T *this)  in setSyncBridge()  argument
58 for (port = this->owner.port->owner->ports; port; port = port->next) { in setSyncBridge()
64 setReRootBridge (STATE_MACH_T *this) in setReRootBridge() argument
68 for (port = this->owner.port->owner->ports; port; port = port->next) { in setReRootBridge()
74 compute_all_synced (PORT_T* this) in compute_all_synced() argument
78 for (port = this->owner->ports; port; port = port->next) { in compute_all_synced()
79 if (port->port_index == this->port_index) continue; in compute_all_synced()
89 compute_re_rooted (PORT_T* this) in compute_re_rooted() argument
93 for (port = this->owner->ports; port; port = port->next) { in compute_re_rooted()
94 if (port->port_index == this->port_index) continue; in compute_re_rooted()
103 STP_roletrns_enter_state (STATE_MACH_T* this) in STP_roletrns_enter_state() argument
105 register PORT_T* port = this->owner.port; in STP_roletrns_enter_state()
110 switch (this->State) { in STP_roletrns_enter_state()
126 if (this->debug) in STP_roletrns_enter_state()
147 setSyncBridge (this); in STP_roletrns_enter_state()
150 if (this->debug) in STP_roletrns_enter_state()
159 if (this->debug) in STP_roletrns_enter_state()
164 setReRootBridge (this); in STP_roletrns_enter_state()
166 if (this->debug) in STP_roletrns_enter_state()
174 if (this->debug) in STP_roletrns_enter_state()
181 if (this->debug) in STP_roletrns_enter_state()
189 if (this->debug) in STP_roletrns_enter_state()
197 if (this->debug) in STP_roletrns_enter_state()
207 if (this->debug) in STP_roletrns_enter_state()
216 if (this->debug) in STP_roletrns_enter_state()
223 if (this->debug) in STP_roletrns_enter_state()
230 if (this->debug) in STP_roletrns_enter_state()
238 if (this->debug) in STP_roletrns_enter_state()
246 if (this->debug) in STP_roletrns_enter_state()
254 if (this->debug) in STP_roletrns_enter_state()
262 STP_roletrns_check_conditions (STATE_MACH_T* this) in STP_roletrns_check_conditions() argument
264 register PORT_T *port = this->owner.port; in STP_roletrns_check_conditions()
271 if (BEGIN == this->State) { in STP_roletrns_check_conditions()
272 return STP_hop_2_state (this, INIT_PORT); in STP_roletrns_check_conditions()
283 if (this->debug) { in STP_roletrns_check_conditions()
288 return STP_hop_2_state (this, BLOCK_PORT); in STP_roletrns_check_conditions()
290 return STP_hop_2_state (this, ROOT_PORT); in STP_roletrns_check_conditions()
292 return STP_hop_2_state (this, DESIGNATED_PORT); in STP_roletrns_check_conditions()
298 switch (this->State) { in STP_roletrns_check_conditions()
301 return STP_hop_2_state (this, BLOCK_PORT); in STP_roletrns_check_conditions()
305 return STP_hop_2_state (this, BLOCKED_PORT); in STP_roletrns_check_conditions()
314 return STP_hop_2_state (this, BLOCKED_PORT); in STP_roletrns_check_conditions()
318 return STP_hop_2_state (this, BACKUP_PORT); in STP_roletrns_check_conditions()
322 return STP_hop_2_state (this, BLOCKED_PORT); in STP_roletrns_check_conditions()
326 return STP_hop_2_state (this, ROOT_PORT); in STP_roletrns_check_conditions()
328 return STP_hop_2_state (this, ROOT_PORT); in STP_roletrns_check_conditions()
330 return STP_hop_2_state (this, ROOT_PORT); in STP_roletrns_check_conditions()
334 return STP_hop_2_state (this, REROOT); in STP_roletrns_check_conditions()
339 return STP_hop_2_state (this, ROOT_AGREED); in STP_roletrns_check_conditions()
342 return STP_hop_2_state (this, ROOT_PROPOSED); in STP_roletrns_check_conditions()
349 return STP_hop_2_state (this, ROOT_FORWARD); in STP_roletrns_check_conditions()
354 return STP_hop_2_state (this, ROOT_LEARN); in STP_roletrns_check_conditions()
358 return STP_hop_2_state (this, REROOTED); in STP_roletrns_check_conditions()
361 return STP_hop_2_state (this, ROOT_PORT); in STP_roletrns_check_conditions()
365 return STP_hop_2_state (this, ROOT_PORT); in STP_roletrns_check_conditions()
367 return STP_hop_2_state (this, ROOT_PORT); in STP_roletrns_check_conditions()
369 return STP_hop_2_state (this, ROOT_PORT); in STP_roletrns_check_conditions()
373 return STP_hop_2_state (this, DESIGNATED_PORT); in STP_roletrns_check_conditions()
375 return STP_hop_2_state (this, DESIGNATED_PORT); in STP_roletrns_check_conditions()
377 return STP_hop_2_state (this, DESIGNATED_PORT); in STP_roletrns_check_conditions()
382 return STP_hop_2_state (this, DESIGNATED_PROPOSE); in STP_roletrns_check_conditions()
386 return STP_hop_2_state (this, DESIGNATED_RETIRED); in STP_roletrns_check_conditions()
390 return STP_hop_2_state (this, DESIGNATED_SYNCED); in STP_roletrns_check_conditions()
394 return STP_hop_2_state (this, DESIGNATED_SYNCED); in STP_roletrns_check_conditions()
397 return STP_hop_2_state (this, DESIGNATED_SYNCED); in STP_roletrns_check_conditions()
400 return STP_hop_2_state (this, DESIGNATED_SYNCED); in STP_roletrns_check_conditions()
407 return STP_hop_2_state (this, DESIGNATED_FORWARD); in STP_roletrns_check_conditions()
412 return STP_hop_2_state (this, DESIGNATED_LEARN); in STP_roletrns_check_conditions()
417 return STP_hop_2_state (this, DESIGNATED_LISTEN); in STP_roletrns_check_conditions()
421 return STP_hop_2_state (this, DESIGNATED_PORT); in STP_roletrns_check_conditions()
423 return STP_hop_2_state (this, DESIGNATED_PORT); in STP_roletrns_check_conditions()
425 return STP_hop_2_state (this, DESIGNATED_PORT); in STP_roletrns_check_conditions()