summaryrefslogtreecommitdiff
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
commit354d119a6569b2c6335ae9309e4606e5cccedb6a (patch)
treee29bb213c52bb46b3454f845fa5892df306b82e2 /lib/memtypes.c
parentb64d92a8a88e69f711976a3c12c17667ecaba4ee (diff)
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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/memtypes.c b/lib/memtypes.c
index 7caa42a1..7865f544 100644
--- a/lib/memtypes.c
+++ b/lib/memtypes.c
@@ -6,7 +6,7 @@
* The script is sensitive to the format (though not whitespace), see
* the top of memtypes.awk for more details.
*
- * $Id: memtypes.c,v 1.3 2005/04/25 14:02:44 paul Exp $
+ * $Id: memtypes.c,v 1.4 2005/04/25 16:26:43 paul Exp $
*/
#include "zebra.h"
@@ -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 },