diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-24 14:06:34 +0100 |
---|---|---|
committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 17:13:35 +0200 |
commit | 69171da26264826c8875e402cbe6093d5e944b4f (patch) | |
tree | c3539954d4a77a51e698ed0f029ddbdbbaaff000 /zebra/zebra_router.h | |
parent | Merge pull request #5213 from mjstapp/fix_sysctl_h (diff) | |
download | frr-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.h | 5 |
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 |