summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_router.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-01-24 14:06:34 +0100
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-25 17:13:35 +0200
commit69171da26264826c8875e402cbe6093d5e944b4f (patch)
treec3539954d4a77a51e698ed0f029ddbdbbaaff000 /zebra/zebra_router.h
parentMerge pull request #5213 from mjstapp/fix_sysctl_h (diff)
downloadfrr-69171da26264826c8875e402cbe6093d5e944b4f.tar.xz
frr-69171da26264826c8875e402cbe6093d5e944b4f.zip
zebra: Add hash of nexthop groups
This commit does nothing more than just create a hash structure that we will use to track nexthop groups. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_router.h')
-rw-r--r--zebra/zebra_router.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h
index 25a7adac1..4bae701d2 100644
--- a/zebra/zebra_router.h
+++ b/zebra/zebra_router.h
@@ -132,6 +132,11 @@ struct zebra_router {
* Time for when we sweep the rib from old routes
*/
time_t startup_time;
+
+ /*
+ * The hash of nexthop groups associated with this router
+ */
+ struct hash *nhgs;
};
#define GRACEFUL_RESTART_TIME 60