diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-24 08:06:34 -0500 | 
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:35 -0400 | 
| commit | 69171da26264826c8875e402cbe6093d5e944b4f (patch) | |
| tree | c3539954d4a77a51e698ed0f029ddbdbbaaff000 /zebra/zebra_router.h | |
| parent | e1a3c0effa627eb9e5d20da8782708425417f970 (diff) | |
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 25a7adac11..4bae701d2f 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  | 
