summaryrefslogtreecommitdiff
path: root/pathd/path_pcep.h
diff options
context:
space:
mode:
authorFarid Mihoub <farid.mihoub@6wind.com>2023-11-03 13:53:43 +0100
committerFarid Mihoub <farid.mihoub@6wind.com>2023-11-03 17:09:11 +0100
commita9ba982472caaceb88ac5bee6cb8312579898cb3 (patch)
treeec54732bfa407258fc72e05e71dff2c3ac845f2e /pathd/path_pcep.h
parentad44b541ef84adfdfb97460ea0de50371328675b (diff)
pathd: rework debug pathd pcep command
Rework "debug pathd pcep [...]" command to support the following configurations: - configure one debugging log type at a time. - deconfigure one debugging log type at a time. - configure all debugging logs in one shot. - deconfigure all debugging logs in one shot. Signed-off-by: Farid Mihoub <farid.mihoub@6wind.com>
Diffstat (limited to 'pathd/path_pcep.h')
-rw-r--r--pathd/path_pcep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pathd/path_pcep.h b/pathd/path_pcep.h
index 5c6a02372f..d6dbcb5c08 100644
--- a/pathd/path_pcep.h
+++ b/pathd/path_pcep.h
@@ -25,6 +25,7 @@ DECLARE_MTYPE(PCEP);
#define PCEP_DEBUG_MODE_PATH 0x02
#define PCEP_DEBUG_MODE_PCEP 0x04
#define PCEP_DEBUG_MODE_PCEPLIB 0x08
+#define PCEP_DEBUG_MODE_ALL 0x0F
#define PCEP_DEBUG(fmt, ...) \
do { \
if (DEBUG_FLAGS_CHECK(&pcep_g->dbg, PCEP_DEBUG_MODE_BASIC)) \