summaryrefslogtreecommitdiffstats
path: root/lib/memtypes.c
diff options
context:
space:
mode:
authorpaul <paul>2005-04-25 16:26:42 +0000
committerpaul <paul>2005-04-25 16:26:42 +0000
commit7bf56948ad12e306e8abe8678c5a3b612b0416aa (patch)
treea7267eeec8fc70b20c9b915e456f0c302abd2534 /lib/memtypes.c
parent75e4537e2f0f3cef7dc307265626a5f298677f21 (diff)
downloadquagga-7bf56948ad12e306e8abe8678c5a3b612b0416aa.tar.bz2
quagga-7bf56948ad12e306e8abe8678c5a3b612b0416aa.tar.xz
2005-04-25 Paul Jakma <paul.jakma@sun.com>
* workqueue.{c,h}: Helper API for setting up and running queues via background threads. * command.c: install the 'show workqueues' command * memtypes.c: Add work queue mtypes, and a rib-queue type for a zebra rib work queue. * memtypes.h: Updated to match memtypes.c * Makefile.am: Add new workqueue files to build.
Diffstat (limited to 'lib/memtypes.c')
-rw-r--r--lib/memtypes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/memtypes.c b/lib/memtypes.c
index 7d78d584..ae206f1a 100644
--- a/lib/memtypes.c
+++ b/lib/memtypes.c
@@ -64,6 +64,9 @@ struct memory_list memory_list_lib[] =
{ MTYPE_PRIVS, "Privilege information" },
{ MTYPE_ZLOG, "Logging" },
{ MTYPE_ZCLIENT, "Zclient" },
+ { MTYPE_WORK_QUEUE, "Work queue" },
+ { MTYPE_WORK_QUEUE_ITEM, "Work queue item" },
+ { MTYPE_WORK_QUEUE_NAME, "Work queue name string" },
{ -1, NULL },
};
@@ -74,6 +77,7 @@ struct memory_list memory_list_zebra[] =
{ MTYPE_VRF_NAME, "VRF name" },
{ MTYPE_NEXTHOP, "Nexthop" },
{ MTYPE_RIB, "RIB" },
+ { MTYPE_RIB_QUEUE, "RIB process work queue" },
{ MTYPE_STATIC_IPV4, "Static IPv4 route" },
{ MTYPE_STATIC_IPV6, "Static IPv6 route" },
{ -1, NULL },