summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.h
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_route.h')
-rw-r--r--bgpd/bgp_route.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/bgpd/bgp_route.h b/bgpd/bgp_route.h
index 232d68018..3057a4259 100644
--- a/bgpd/bgp_route.h
+++ b/bgpd/bgp_route.h
@@ -211,6 +211,9 @@ struct bgp_path_info_extra {
mpls_label_t label[BGP_MAX_LABELS];
uint32_t num_labels;
+ /* timestamp of the rib installation */
+ time_t bgp_rib_uptime;
+
/*For EVPN*/
struct bgp_path_info_extra_evpn *evpn;
@@ -295,7 +298,6 @@ struct bgp_path_info {
/* Uptime. */
time_t uptime;
- time_t rib_uptime;
/* reference count */
int lock;
@@ -678,8 +680,8 @@ DECLARE_HOOK(bgp_process,
/* called when a route is updated in the rib */
DECLARE_HOOK(bgp_route_update,
(struct bgp *bgp, afi_t afi, safi_t safi, struct bgp_dest *bn,
- struct bgp_path_info *updated_route, bool withdraw),
- (bgp, afi, safi, bn, updated_route, withdraw));
+ struct bgp_path_info *old_route, struct bgp_path_info *new_route),
+ (bgp, afi, safi, bn, old_route, new_route));
/* BGP show options */
#define BGP_SHOW_OPT_JSON (1 << 0)