Lines Matching defs:FSM
48 /* BGP FSM (finite state machine) has three types of functions. Type
50 is FSM functions. Timer functions are set by bgp_timer_set
62 /* BGP FSM functions. */
212 if (BGP_DEBUG (fsm, FSM))
214 "%s [FSM] Timer (start timer expire).", peer->host);
231 if (BGP_DEBUG (fsm, FSM))
232 zlog (peer->log, LOG_DEBUG, "%s [FSM] Timer (connect timer expire)",
250 if (BGP_DEBUG (fsm, FSM))
252 "%s [FSM] Timer (holdtime timer expire)",
270 if (BGP_DEBUG (fsm, FSM))
272 "%s [FSM] Timer (keepalive timer expire)",
289 if (BGP_DEBUG (fsm, FSM))
291 "%s [FSM] Timer (routeadv timer expire)",
525 if (BGP_DEBUG (fsm, FSM))
526 plog_info (peer->log, "%s [FSM] Connect error", peer->host);
530 if (BGP_DEBUG (fsm, FSM))
531 plog_info (peer->log, "%s [FSM] Connect immediately success",
538 if (BGP_DEBUG (fsm, FSM))
539 plog_info (peer->log, "%s [FSM] Non blocking connect waiting result",
600 if (BGP_DEBUG (fsm, FSM))
601 zlog (peer->log, LOG_DEBUG, "%s [FSM] Hold timer expire", peer->host);
703 if (BGP_DEBUG (fsm, FSM))
704 zlog (peer->log, LOG_DEBUG, "%s [FSM] bgp_ignore called", peer->host);
713 } FSM [BGP_STATUS_MAX - 1][BGP_EVENTS_MAX - 1] =
846 next = FSM [peer->status -1][event - 1].next_state;
848 if (BGP_DEBUG (fsm, FSM))
849 plog_info (peer->log, "%s [FSM] %s (%s->%s)", peer->host,
861 ret = (*(FSM [peer->status - 1][event - 1].func))(peer);