summaryrefslogtreecommitdiff
path: root/zebra/debug.h
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2006-07-27 21:35:33 +0000
committerPaul Jakma <paul.jakma@sun.com>2006-07-27 21:35:33 +0000
commitb0498dc6ff0510efe9467fbaed41945f3f056af4 (patch)
tree6595c1298dd560195c126e31f2977024d651d999 /zebra/debug.h
parent457eb9af72e6e7aa85c26b65ba4d053f9ecbffac (diff)
[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);