summaryrefslogtreecommitdiffstats
path: root/lib/agg_table.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-03 19:25:13 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-08-30 23:47:59 +0200
commitc2b2356701607af2bc0f7142eba1f5352b23f901 (patch)
tree4b5085462442a2bd406a3c954209f778d6ef486a /lib/agg_table.h
parentbgpd, ripngd: Convert to using new agg_table/route (diff)
downloadfrr-c2b2356701607af2bc0f7142eba1f5352b23f901.tar.xz
frr-c2b2356701607af2bc0f7142eba1f5352b23f901.zip
lib: Move aggregate pointer into aggregate route/table
Move the aggregate pointer from the route_node into agg_node so that people using struct route_node will see a savings in data size. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/agg_table.h')
-rw-r--r--lib/agg_table.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/agg_table.h b/lib/agg_table.h
index 65d4137bc..235f0d37a 100644
--- a/lib/agg_table.h
+++ b/lib/agg_table.h
@@ -37,6 +37,8 @@ struct agg_node {
*/
ROUTE_NODE_FIELDS
+ /* Aggregation. */
+ void *aggregate;
};
static inline struct route_node *agg_node_to_rnode(struct agg_node *node)