summaryrefslogtreecommitdiffstats
path: root/zebra/debug.h
diff options
context:
space:
mode:
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);