summaryrefslogtreecommitdiffstats
path: root/zebra/debug.h
diff options
context:
space:
mode:
authorpaul <paul>2006-07-27 21:35:33 +0000
committerpaul <paul>2006-07-27 21:35:33 +0000
commit361e230a2ba8d27d832fab073046a8b1d380d73f (patch)
tree717fb559450461f177d9fc1c97afa3087d3a5a45 /zebra/debug.h
parentdc96de65bcdaca5346e7a4b3c11846ad3a6272d3 (diff)
downloadquagga-361e230a2ba8d27d832fab073046a8b1d380d73f.tar.bz2
quagga-361e230a2ba8d27d832fab073046a8b1d380d73f.tar.xz
[zebra] Add 'debug zebra rib' commands
2006-07-27 Paul Jakma <paul.jakma@sun.com> * debug.{c,h}: Add 'debug zebra rib' and 'debug zebra rib queue'.
Diffstat (limited to 'zebra/debug.h')
-rw-r--r--zebra/debug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/debug.h b/zebra/debug.h
index 96b7d8fc..9d9412bc 100644
--- a/zebra/debug.h
+++ b/zebra/debug.h
@@ -33,6 +33,9 @@
#define ZEBRA_DEBUG_KERNEL 0x01
+#define ZEBRA_DEBUG_RIB 0x01
+#define ZEBRA_DEBUG_RIB_Q 0x02
+
/* Debug related macro. */
#define IS_ZEBRA_DEBUG_EVENT (zebra_debug_event & ZEBRA_DEBUG_EVENT)
@@ -43,9 +46,13 @@
#define IS_ZEBRA_DEBUG_KERNEL (zebra_debug_kernel & ZEBRA_DEBUG_KERNEL)
+#define IS_ZEBRA_DEBUG_RIB (zebra_debug_rib & ZEBRA_DEBUG_RIB)
+#define IS_ZEBRA_DEBUG_RIB_Q (zebra_debug_rib & ZEBRA_DEBUG_RIB_Q)
+
extern unsigned long zebra_debug_event;
extern unsigned long zebra_debug_packet;
extern unsigned long zebra_debug_kernel;
+extern unsigned long zebra_debug_rib;
extern void zebra_debug_init (void);