Lines Matching defs:aggregate
43 ripng_aggregate_free (struct ripng_aggregate *aggregate)
45 XFREE (MTYPE_RIPNG_AGGREGATE, aggregate);
53 struct ripng_aggregate *aggregate;
56 if ((aggregate = np->aggregate) != NULL)
58 aggregate->count++;
68 struct ripng_aggregate *aggregate;
71 if ((aggregate = np->aggregate) != NULL)
73 aggregate->count--;
85 struct ripng_aggregate *aggregate;
91 /* Allocate new aggregate. */
92 aggregate = ripng_aggregate_new ();
93 aggregate->metric = 1;
95 top->aggregate = aggregate;
97 /* Suppress routes match to the aggregate. */
103 aggregate->count++;
106 /* Suppress aggregate route. This may not need. */
107 if (rp != top && (sub = rp->aggregate) != NULL)
109 aggregate->count++;
124 struct ripng_aggregate *aggregate;
130 /* Allocate new aggregate. */
131 aggregate = top->aggregate;
133 /* Suppress routes match to the aggregate. */
139 aggregate->count--;
143 if (rp != top && (sub = rp->aggregate) != NULL)
145 aggregate->count--;
150 top->aggregate = NULL;
151 ripng_aggregate_free (aggregate);