summaryrefslogtreecommitdiffstats
path: root/zebra/debug.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2018-06-08 15:35:07 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-09-20 00:34:25 +0200
commit6582b002016100ef44e48c3810023e599322d37b (patch)
treed3072af382cdfa0ba1d7fd832e888171b000d0b1 /zebra/debug.h
parentzebra: Start abstraction of zebra_dplane_info for context passing (diff)
downloadfrr-6582b002016100ef44e48c3810023e599322d37b.tar.xz
frr-6582b002016100ef44e48c3810023e599322d37b.zip
zebra: add 'debug dplane' support and cli
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/debug.h')
-rw-r--r--zebra/debug.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/debug.h b/zebra/debug.h
index e74afe476..cd15441ec 100644
--- a/zebra/debug.h
+++ b/zebra/debug.h
@@ -48,6 +48,9 @@
#define ZEBRA_DEBUG_PW 0x01
+#define ZEBRA_DEBUG_DPLANE 0x01
+#define ZEBRA_DEBUG_DPLANE_DETAILED 0x02
+
/* Debug related macro. */
#define IS_ZEBRA_DEBUG_EVENT (zebra_debug_event & ZEBRA_DEBUG_EVENT)
@@ -72,6 +75,10 @@
#define IS_ZEBRA_DEBUG_VXLAN (zebra_debug_vxlan & ZEBRA_DEBUG_VXLAN)
#define IS_ZEBRA_DEBUG_PW (zebra_debug_pw & ZEBRA_DEBUG_PW)
+#define IS_ZEBRA_DEBUG_DPLANE (zebra_debug_dplane & ZEBRA_DEBUG_DPLANE)
+#define IS_ZEBRA_DEBUG_DPLANE_DETAIL \
+ (zebra_debug_dplane & ZEBRA_DEBUG_DPLANE_DETAILED)
+
extern unsigned long zebra_debug_event;
extern unsigned long zebra_debug_packet;
extern unsigned long zebra_debug_kernel;
@@ -81,6 +88,7 @@ extern unsigned long zebra_debug_nht;
extern unsigned long zebra_debug_mpls;
extern unsigned long zebra_debug_vxlan;
extern unsigned long zebra_debug_pw;
+extern unsigned long zebra_debug_dplane;
extern void zebra_debug_init(void);