summaryrefslogtreecommitdiff
path: root/bgpd/bgp_zebra.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-03-09 08:36:51 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-03-09 08:36:51 -0500
commit115ccb9acf6e9daa47c21bb6d49c1f8cab95c1ff (patch)
treec69fac8cfc0fba8069ca2967f03114577a062d25 /bgpd/bgp_zebra.h
parentedacb45c0c21f22b5652904ebb0a467eb7fe2508 (diff)
lib, bgpd: Add more debugs to GR Capability exchange
a) Make it legible what type of message is being passed back and forth instead of having to guess it from the insufficient debugs b) Make it explicit which bgp instance is sending this data c) Cleanup bgp_zebra_update to have a cleaner api Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_zebra.h')
-rw-r--r--bgpd/bgp_zebra.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_zebra.h b/bgpd/bgp_zebra.h
index 8a0203c32d..6f28f7b900 100644
--- a/bgpd/bgp_zebra.h
+++ b/bgpd/bgp_zebra.h
@@ -114,7 +114,8 @@ extern void bgp_send_pbr_iptable(struct bgp_pbr_action *pba,
extern void bgp_zebra_announce_default(struct bgp *bgp, struct nexthop *nh,
afi_t afi, uint32_t table_id, bool announce);
extern int bgp_zebra_send_capabilities(struct bgp *bgp, bool disable);
-extern int bgp_zebra_update(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type);
+extern int bgp_zebra_update(struct bgp *bgp, afi_t afi, safi_t safi,
+ enum zserv_client_capabilities);
extern int bgp_zebra_stale_timer_update(struct bgp *bgp);
extern int bgp_zebra_srv6_manager_get_locator_chunk(const char *name);
extern int bgp_zebra_srv6_manager_release_locator_chunk(const char *name);