summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_fsm.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-08-28 16:47:41 +0200
committerDonald Sharp <sharpd@nvidia.com>2023-09-10 14:31:25 +0200
commitb57e023cc2da413990c28c8495e23e0fd06e02dc (patch)
tree3e639a4a0d48d27a3470535d50f6d33f8d4632a5 /bgpd/bgp_fsm.h
parentbgpd: bgp_packet pass connection around (diff)
downloadfrr-b57e023cc2da413990c28c8495e23e0fd06e02dc.tar.xz
frr-b57e023cc2da413990c28c8495e23e0fd06e02dc.zip
bgpd: Convert bgp_fsm_nht_update to take a connection
Convert this function over to using a connection. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_fsm.h')
-rw-r--r--bgpd/bgp_fsm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_fsm.h b/bgpd/bgp_fsm.h
index 7a99623a5..fd46b7994 100644
--- a/bgpd/bgp_fsm.h
+++ b/bgpd/bgp_fsm.h
@@ -106,7 +106,8 @@ enum bgp_fsm_state_progress {
/*
* Update FSM for peer based on whether we have valid nexthops or not.
*/
-extern void bgp_fsm_nht_update(struct peer *peer, bool has_valid_nexthops);
+extern void bgp_fsm_nht_update(struct peer_connection *connection,
+ struct peer *peer, bool has_valid_nexthops);
extern void bgp_event(struct event *event);
extern int bgp_event_update(struct peer_connection *connection,
enum bgp_fsm_events event);