]>
git.proxmox.com Git - mirror_frr.git/blob - nhrpd/debug.h
3 #define NHRP_DEBUG_COMMON (1 << 0)
4 #define NHRP_DEBUG_KERNEL (1 << 1)
5 #define NHRP_DEBUG_IF (1 << 2)
6 #define NHRP_DEBUG_ROUTE (1 << 3)
7 #define NHRP_DEBUG_VICI (1 << 4)
8 #define NHRP_DEBUG_EVENT (1 << 5)
9 #define NHRP_DEBUG_ALL (0xFFFF)
11 extern unsigned int debug_flags
;
13 #define debugf(level, ...) \
15 if (unlikely(debug_flags & level)) \
16 zlog_debug(__VA_ARGS__); \