diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-01 07:26:25 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-06-01 08:00:05 -0400 |
| commit | f0f77c9a590bf538033602a0b2da6084c9ea22e2 (patch) | |
| tree | 80113c30accb622589bcd67ef25fdda17fba0189 /zebra/zebra_memory.c | |
| parent | f0683d22277017e5a93798ce88a06fc7927dc326 (diff) | |
zebra: Refactor 'struct rib' to be 'struct route_entry'
The 'struct rib' data structure is missnamed. It really
is a 'struct route_entry' as part of the 'struct route_node'.
We have 1 'struct route_entry' per route src. As such
1 route node can have multiple route entries if multiple
protocols attempt to install the same route.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_memory.c')
| -rw-r--r-- | zebra/zebra_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_memory.c b/zebra/zebra_memory.c index 51c240ae28..b8e1a130eb 100644 --- a/zebra/zebra_memory.c +++ b/zebra/zebra_memory.c @@ -28,7 +28,7 @@ DEFINE_MGROUP(ZEBRA, "zebra") DEFINE_MTYPE(ZEBRA, RTADV_PREFIX, "Router Advertisement Prefix") DEFINE_MTYPE(ZEBRA, ZEBRA_VRF, "ZEBRA VRF") -DEFINE_MTYPE(ZEBRA, RIB, "RIB") +DEFINE_MTYPE(ZEBRA, RE, "Route Entry") DEFINE_MTYPE(ZEBRA, RIB_QUEUE, "RIB process work queue") DEFINE_MTYPE(ZEBRA, STATIC_ROUTE, "Static route") DEFINE_MTYPE(ZEBRA, RIB_DEST, "RIB destination") |
