diff options
author | bisdhdh <biswajit.sadhu@gmail.com> | 2019-11-25 16:18:15 +0100 |
---|---|---|
committer | bisdhdh <biswajit.sadhu@gmail.com> | 2020-01-23 05:06:33 +0100 |
commit | 2ba1fe69519fdd42f2e8656d203bf68f884a21f7 (patch) | |
tree | d792fff05ee320fcc5bdbd71a7b21a6b2f3cea16 /bgpd/bgp_fsm.h | |
parent | bgpd: BGP Graceful Restart documentation. (diff) | |
download | frr-2ba1fe69519fdd42f2e8656d203bf68f884a21f7.tar.xz frr-2ba1fe69519fdd42f2e8656d203bf68f884a21f7.zip |
bgpd: BGP Garaceful Restart debug logs.
Reorganizing bgp gr debug logs and code review comments.
Signed-off-by: Biswajit Sadhu <sadhub@vmware.com>
Diffstat (limited to 'bgpd/bgp_fsm.h')
-rw-r--r-- | bgpd/bgp_fsm.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bgpd/bgp_fsm.h b/bgpd/bgp_fsm.h index ced4f292a..b6abaf3e9 100644 --- a/bgpd/bgp_fsm.h +++ b/bgpd/bgp_fsm.h @@ -142,9 +142,9 @@ extern void bgp_adjust_routeadv(struct peer *); DECLARE_HOOK(peer_backward_transition, (struct peer *peer), (peer)) DECLARE_HOOK(peer_established, (struct peer *peer), (peer)) -int bgp_gr_update_all(struct bgp *bgp, int global_GR_Cmd); +int bgp_gr_update_all(struct bgp *bgp, int global_gr_cmd); int bgp_neighbor_graceful_restart(struct peer *peer, - int peer_GR_Cmd); + int peer_gr_cmd); unsigned int bgp_peer_gr_action(struct peer *peer, int old_peer_state, int new_peer_state); void bgp_peer_move_to_gr_mode(struct peer *peer, int new_state); @@ -160,4 +160,8 @@ int bgp_gr_lookup_n_update_all_peer(struct bgp *bgp, enum global_mode global_new_state, enum global_mode global_old_state); void bgp_peer_gr_flags_update(struct peer *peer); +const char *print_peer_gr_mode(enum peer_mode pr_mode); +const char *print_peer_gr_cmd(enum peer_gr_command pr_gr_cmd); +const char *print_global_gr_mode(enum global_mode gl_mode); +const char *print_global_gr_cmd(enum global_gr_command gl_gr_cmd); #endif /* _QUAGGA_BGP_FSM_H */ |