summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_nhg.h
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-10-04 20:28:33 +0200
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-25 17:13:43 +0200
commit53ac1fbbe05665005f83a802ebe302e21dec720e (patch)
tree85d0fe053d91e0278d32479effac64ae030ba0fc /zebra/zebra_nhg.h
parentlib,pbrd,zebra: Use one api to delete nexthops/group (diff)
downloadfrr-53ac1fbbe05665005f83a802ebe302e21dec720e.tar.xz
frr-53ac1fbbe05665005f83a802ebe302e21dec720e.zip
zebra: Comment to indicate where nhg hashtables live
Add a comment to the header of `zebra_nhg.c` to point the reader to where the hashtables containing the nhg entries are held. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_nhg.h')
-rw-r--r--zebra/zebra_nhg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/zebra_nhg.h b/zebra/zebra_nhg.h
index 812d9a1a9..d3c63cff3 100644
--- a/zebra/zebra_nhg.h
+++ b/zebra/zebra_nhg.h
@@ -41,6 +41,11 @@ struct nh_grp {
PREDECL_RBTREE_UNIQ(nhg_connected_tree);
+
+/*
+ * Hashtables contiaining entries found in `zebra_router`.
+ */
+
struct nhg_hash_entry {
uint32_t id;
afi_t afi;