mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 09:22:03 +00:00
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>
This commit is contained in:
parent
fe08ba7e11
commit
c2b2356701
@ -37,6 +37,8 @@ struct agg_node {
|
|||||||
*/
|
*/
|
||||||
ROUTE_NODE_FIELDS
|
ROUTE_NODE_FIELDS
|
||||||
|
|
||||||
|
/* Aggregation. */
|
||||||
|
void *aggregate;
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline struct route_node *agg_node_to_rnode(struct agg_node *node)
|
static inline struct route_node *agg_node_to_rnode(struct agg_node *node)
|
||||||
|
@ -126,9 +126,6 @@ struct route_table {
|
|||||||
\
|
\
|
||||||
/* Each node of route. */ \
|
/* Each node of route. */ \
|
||||||
void *info; \
|
void *info; \
|
||||||
\
|
|
||||||
/* Aggregation. */ \
|
|
||||||
void *aggregate;
|
|
||||||
|
|
||||||
|
|
||||||
/* Each routing entry. */
|
/* Each routing entry. */
|
||||||
|
Loading…
Reference in New Issue
Block a user